Re: How to make hard-driver bootable?

From: David (thunderbolt01_at_netscape.net)
Date: 08/28/03


Date: Thu, 28 Aug 2003 04:24:08 GMT

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.  http://counter.li.org/
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


Relevant Pages

  • How to make hard-driver bootable?
    ... I tried to use the lilo command to install LILO on it, ... How can I tell the Linux kernel or LILO to mount the root file system ... Is there another way to make a hard driver bootable? ...
    (comp.os.linux.setup)
  • Re: External boot problem! (please help)
    ... > when I get to the add lilo part I place it in the root file system ... I don't think you've installed LILO on the filesystem itself. ... > boot media" message on the screen ... The problem with the world is stupidity. ...
    (alt.os.linux)
  • Re: How to make hard-driver bootable?
    ... append 'noinitrd' to the lilo boot command, ... settings in isolinux.cfg (which mounts root file system to the ram disk) ...
    (comp.os.linux.setup)
  • Re: Build embedded Linux system on ARM based board
    ... we are about to move our development to ARM + Linux. ... Then you select what packages you want to have in your root file system. ... buildroot can build the Linux kernel and the U-Boot boot monitor ... linux and u-boot for you. ...
    (comp.os.linux.embedded)
  • Re: Build embedded Linux system on ARM based board
    ... we are about to move our development to ARM + Linux. ... Then you select what packages you want to have in your root file system. ... buildroot can build the Linux kernel and the U-Boot boot monitor ... linux and u-boot for you. ...
    (comp.os.linux.embedded)