Red Hat 5.2 Loadlin HOWTO (WAS: Can't install LILO from RH 5.2)

Red Hat 5.2 Loadlin HOWTO (WAS: Can't install LILO from RH 5.2)

Post by Bloody Vikin » Sun, 11 Apr 1999 04:00:00




: Everything else seems to go well, until the very last step. I just cannot
: get LILO to install properly. It gives me an error message and lets me keep
: retying, but to no avail.

First, make sure to fix your MBR which can normally be done with DOS Fdisk
and "fdisk /mbr".

Welcome to the Bad BIOS Club! There is a solution. Install again, but this
time, make a small DOS partition that is the primary and is bootable.
Partition the rest to taste for Linux. Install normally until the LILO
part. When you get to that part, make the LILO floppy, then SHUT THE
COMPUTER OFF!!!!! Note that the next time you boot after that wanton
killing of the computer, you may have a *ed up the filesystem. In any
case, Linux will run fsck to fix it if it can.

With the LILO floppy, boot. On the CD you will find DOS utilities. Get a
DOS boot floppy and put Loadlin on it with a copy of your kernel. On the
DOS boot floppy, you will need a zero-byte CONFIG.SYS, FORMAT.COM,
EDIT.COM LOADLIN.EXE, and the kernel.

Now, with this DOS boot disk, slip it into the floppy drive and boot. Upon
booting, format /s that DOS partition. Then copy the files from the DOS
boot disk onto the hard drive. Next, using the editor, make an
AUTOEXEC.BAT with this line:

loadlin vmlinuz root=/dev/hda5 ro

Of course, for the Linux root partition, use your exact partition and to
use the filename with the kernel. The above is my standard Loadlin setup
line. Now, with this ready, hit CTRL-ALT-DELETE and watch as your
Loadlin-booted Linux box comes to life!

My normal procedure for partitioning a hard drive is for the first
partition to be a primary, partition 4 is the extended and all subsequent
partitions logical drives. Using Loadlin, this has always worked. It's
most likely not critical to do it this way. Rather, it's just my habit. :)

During the install, you can opt to mount the Loadlin partition or not. I
choose to mount it on /lightoff or on dual-boot boxes as /dos. I also
habitually make one small ext2 partition to mount under /the/x/files. You
can partition to your liking, of course. :)

--
CAUTION: Email Spam Killer in use. Leave this line in your reply! 152680
 First Law of Economics: You can't sell product to people without money.

3869387 bytes of spam mail deleted.           http://www.veryComputer.com/~nospam/

 
 
 

1. Problem installing RH 5.2, lilo won't install

Hi there,
        I was trying to install RH 5.2 on my system. The
installation process runs smoothly until it reach the stage
where lilo is to be installed. I tried to boot from floppy
and install lilo manually, but it fails as well. Id be glad
if anybody out there could give me a hand. Here is the
details:

        I have 3 HDs attached to my Promise Ultra33 PCI
controller and I intended to install RH 5.2 on the extended
partition of HD 3 (10G). Ive read those limitations on lilo,
yet I think the system commander in my MBS may be able
to boot it, so I gave it a try. It turn out that Disk Druid was
unable to mount the root on HD3 and Ive to use fdisk to
do the partitioning as follows :

hdf1 : primary (about 7G,fat32) #this one was done with dos
hdf2 : extended
hdf5 : 256Mb (linux native)  #root
hdf6 : 127Mb (linux swap)
hdf7 : 2Gb (linux native)  #/usr

The installation runs smoothly until it comes to the point
where I select to install lilo on my root partition. It keeps
failing so I restart with my installation disk, hope I could
get lilo installed manually. I start with the following
parameters :
vmlinuz root=/dev/hdf5

When Ive login as root and execute /sbin/lilo, the following
error message was displayed and lilo quit itself :
Sorry, unable to handle device 0x???? (I forgot the no. here)

Then I found a script in /usr/doc/lilo named QuickInst so
I gave that a try. A message stating somthing like :
activate was not found, run the script in your lilo source
directory is displayed but it let me continue. However,
when I typed /dev/hdf5 to store lilo on, it tells me that
it is not a valid device.......

Ive tried -b /dev/hdf5 with lilo and got the same result.
Thinking that it may really be a problem of HD3, I repeat
the installation with my HD2 (roughly the same partitioning)
and the problem repeat itself as well... And this time, whats
worse is, Win98 seems to have problem with partitions in HD 3
as I cant format the logical drives in HD 3s extended partition
(cant write to partition table, sth like that). After deleting all
linux partition on HD 2, HD 3 works flawlessly...

        I will be much appreciated if anyone out there can help
me out or point me to any resource that may be useful.

Best Regards,
Wayne

**** Posted from RemarQ - http://www.remarq.com - Discussions Start Here (tm) ****

2. installing via ports: possible to exclude development headers?

3. What HOWTO helps me to install NT and Red-Hat 5.2 on a Win98 system

4. help: compiling wd7000-asc SCSI support

5. Help: LILO refueses to install, Red Hat 5.2

6. FTP - "The parameter is incorrect."

7. Tulip Driver worked under RH 5.0, doesn't under 5.2 or SuSE 5.2, any ideas?

8. scanning and security

9. FTP RH 5.2 -> RH 5.2 = NFT (No File Transfer)

10. Can't boot Win98 after installing Linux Red Hat 5.2

11. Hard Drive install for Red Hat 5.2 won't WORK!!!

12. Can't install Red Hat 5.2 on a Win98 PC

13. Can't install LILO w/RH 5.2