Professional Web Applications Themes

how to make system bootable? - Linux Setup, Configuration & Administration

Hi, I have a dual boot system with Windows XP and Red Hat Linux in separate partitions. When I first installed Linux on its partition, using the Red Hat v9 CD-ROM, I chose not to install a boot loader on the the hard disk. I decided to make a bootable diskette instead. Now, that everything seems to be running well, I would like to be able to boot Linux also from the hard disk. To this end I have tried to use the RedHat distribution CD to install LILO onto the MBR, but without success. The installation programme refuses to ...

  1. #1

    Default how to make system bootable?

    Hi,

    I have a dual boot system with Windows XP and Red Hat Linux in separate
    partitions.

    When I first installed Linux on its partition, using the Red Hat v9 CD-ROM,
    I chose
    not to install a boot loader on the the hard disk. I decided to make a
    bootable
    diskette instead.

    Now, that everything seems to be running well, I would like to be able to
    boot Linux
    also from the hard disk. To this end I have tried to use the RedHat
    distribution CD
    to install LILO onto the MBR, but without success. The installation
    programme refuses
    to do this, and I am not sure why:
    as far as I can see, because I am not changing anything in the current
    installation, the installer
    finalises by saying "the boot loader will not be installed" or something
    else to the same effect.

    How can I install a boot loader on my hard disk MBR so that I can choose
    what OS to boot from?

    Thanks a lot for any help

    Jorge


    Jorge Guest

  2. #2

    Default Re: how to make system bootable?

    U wrote
    <snip> 
    If lilo is installed on the harddrive the program not the bootloader on
    /dev/hdX's MBR there would be the command lilo under /sbin/lilo or
    /usr/sbin/lilo or something like that. If u want to install lilo on MBR of
    /dev/hda
    simply write as root in a bash lilo /dev/hda. Then if /etc/lilo.conf exsist
    and is properly written then everything should be ok.
    my lilo.conf
    boot=/dev/hda
    map=/boot/map
    vga=normal
    default="linux"
    keytable=/boot/dk-latin1.klt
    prompt
    nowarn
    timeout=100
    message=/boot/message
    menu-scheme=wb:bw:wb:bw
    image=/boot/vmlinuz
    label="linux"
    root=/dev/hda5
    initrd=/boot/initrd.img
    append="devfs=mount acpi=off"
    read-only
    image=/boot/vmlinuz
    label="failsafe"
    root=/dev/hda5
    initrd=/boot/initrd.img
    append="failsafe devfs=nomount acpi=off"
    read-only
    other=/dev/fd0
    label="floppy"
    unsafe
    #end of lilo.conf
    if lilo is not on your HD then rpm -ivh lilo-something.654.321-54.rpm from
    the cd. To run instalation again is overkill (but i also sometime use the
    windows user approach and rerun installation to fix something... ;-) )
    Tux Guest

  3. #3

    Default Re: how to make system bootable?

    > also from the hard disk. To this end I have tried to use the RedHat 
    not be installed" or something 
     

    depends what you are doing wrong.

    I think you have , in lilo.conf, boot=/dev/hda1, and /dev/hda1 is for
    windows or its an XFS .
    you want to install boot sector on /dev/hda, so thats boot=/dev/hda

    when you are running an emergency linux system, such as "rescue" on a redhat
    or mandrake CD, you should run lilo something like this ...

    chroot /mnt/new /sbin/lilo -v

    Where /mnt/new is where the INSTALLED linux system is mounted.





    Leon. Guest

  4. #4

    Default Re: how to make system bootable?

    "Jorge Castro" <org> wrote in message news:<news.uk.tiscali.com>... 

    When I need to install lilo onto the MBR of a disk that's already got
    a linux installation on it, I boot from my slackware CD. This brings
    me to a boot: prompt, and there I type:

    bare.i root=/dev/hda1 noinitrd ro

    When it finishes booting, I log in to the system, run lilo one time
    without any arguments, and that does it. Remove the CD, reboot, and
    then the hard disk boots.

    -Anthony
    http://nodivisions.com/
    Anthony Guest

Similar Threads

  1. how to make a hit point system in director
    By Unregistered in forum Brainstorming Area
    Replies: 0
    Last Post: April 2nd, 05:00 PM
  2. Replies: 2
    Last Post: November 12th, 04:50 PM
  3. How to make hard-driver bootable?
    By JXL in forum Linux Setup, Configuration & Administration
    Replies: 1
    Last Post: August 28th, 02:24 PM
  4. How do I make a System 7.6.1 boot disk?
    By B'ichela in forum Mac Applications & Software
    Replies: 7
    Last Post: August 25th, 06:53 PM
  5. Replies: 2
    Last Post: July 3rd, 12:00 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