Thanks for your reply. But, the method doesn't work. I also tried to
append 'noinitrd' to the lilo boot command, it didn't help either.
The command 'rdev bzImage' returns '/dev/hda1 /' which seems to
be right, but the kernel doesn't work as expected. It seems that the
settings in isolinux.cfg (which mounts root file system to the ram disk)
overwrite all other settings.
"David" <thunderbolt01netscape.net> wrote in message
news:Itf3b.217751$It4.102301rwcrnsc51.ops.asp.att .net...> JXL wrote:>> > Hi everyone,
> > I have created bootable ISO CD (with isolinux.bin) and started
> > Linux with it. Then I formated my hard driver /dev/hda, created
> > a new root file system on it.
> > How can I make my hard-driver bootable?
> > I tried to use the lilo command to install LILO on it, but it didn't
> > work properly. When I rebooted the system from hard-driver, the
> > system has the exact mounting configuration as I called the lilo
> > command, e.g. the / is mounted on /dev/ram0. But I want to
> > mount / to /dev/hda1. I tried, upo the lilo prompt, to specify the root
> > device
> > explicitely, but it doesn't work.
> > How can I tell the Linux kernel or LILO to mount the root file system
> > to my hard-disk /dev/hda1?
> > Is there another way to make a hard driver bootable?
> At the lilo prompt enter:
> linux root=/dev/hdaX # where hdaX is correct root partition
> Confucius: He who play in root, eventually kill tree.
> Registered with The Linux Counter. [url]http://counter.li.org/[/url]
> Slackware 9.0 Kernel 2.4.22 i686 (GCC) 3.3
> Uptime: 2 days, 5:00, 1 user, load average: 1.76, 1.43, 1.31