Professional Web Applications Themes

How to make hard-driver bootable? - Linux Setup, Configuration & Administration

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 ...

  1. #1

    Default How to make hard-driver bootable?

    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?

    Thanks in advance,

    James X. Li




    JXL Guest

  2. #2

    Default Re: How to make hard-driver bootable?

    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.

    Regards,
    JXL

    "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
    >

    James X. Li Guest

Similar Threads

  1. 5.3-release bootable cd1 crashes my pc
    By Bas Essers in forum FreeBSD
    Replies: 0
    Last Post: February 21st, 04:52 PM
  2. bootable diskettes for SCO Unix 5.0.4
    By Desperate34 in forum SCO
    Replies: 2
    Last Post: August 16th, 09:57 AM
  3. Bootable Solaris CD
    By Klemen in forum Sun Solaris
    Replies: 9
    Last Post: July 26th, 07:43 PM
  4. Replies: 7
    Last Post: July 13th, 03:05 PM
  5. Bootable Rescue CD-ROM
    By Sebastian Kapfer in forum Debian
    Replies: 8
    Last Post: July 5th, 12:30 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139