Boot Device problem after replacing Linux hard drive - Setup

This is a discussion on Boot Device problem after replacing Linux hard drive - Setup ; I have a dual boot system (Win2k & Mandrake Linux). Due to S.M.A.R.T disk errors I had to replace my Linux hard drive (/dev/hdb). I just got things working, well almost. The remaining problem is that my BIOS startup doesn't ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: Boot Device problem after replacing Linux hard drive

  1. Boot Device problem after replacing Linux hard drive

    I have a dual boot system (Win2k & Mandrake Linux).
    Due to S.M.A.R.T disk errors I had to replace my
    Linux hard drive (/dev/hdb). I just got things
    working, well almost.

    The remaining problem is that my BIOS startup
    doesn't automatically find a bootable disk
    like it used to.

    BIOS churns for a few seconds then says:

    "Reboot and Select proper Boot Device
    or insert boot media in selected Boot device"

    Now if I just press enter at this point then the
    LILO boot screen pops up and offers me my choices
    for windows or Linux as normal and I can boot
    into either OS successfully. Before replacing my
    Linux disk the LILO boot screen came up automatically.

    Win2k on /dev/hda
    Mandrake 10.2 on /dev/hdb

    I have a LILO MBR on /dev/hda with the following:

    default="windows"
    boot=/dev/hda
    map=/boot/map
    keytable=/boot/us.klt
    prompt
    nowarn
    timeout=80
    message=/boot/message
    menu-scheme=wb:bw:wb:bw
    image=/boot/vmlinuz
    label="linux"
    root=/dev/hdb1
    initrd=/boot/initrd.img
    append="acpi=ht splash=silent"
    vga=788
    read-only
    image=/boot/vmlinuz
    label="linux-nonfb"
    root=/dev/hdb1
    initrd=/boot/initrd.img
    append="splash=silent acpi=ht"
    read-only
    image=/boot/vmlinuz
    label="failsafe"
    root=/dev/hdb1
    initrd=/boot/initrd.img
    append="failsafe splash=silent acpi=ht devfs=nomount"
    read-only
    other=/dev/hda1
    label="windows"
    table=/dev/hda

    I also have a LILO MBR on /dev/hdb (tried lots of
    stuff to get to this point).
    Can I even have LILO MBRs on two different drives?

    LILO MBR on /dev/hdb with the following:

    default="linux"
    boot=/dev/hdb
    map=/boot/map
    keytable=/boot/us.klt
    prompt
    nowarn
    timeout=100
    message=/boot/message
    menu-scheme=wb:bw:wb:bw
    disk=/dev/hdb bios=0x80
    image=/boot/vmlinuz
    label="linux"
    root=/dev/hdb1
    initrd=/boot/initrd.img
    append="acpi=ht splash=silent"
    vga=788
    read-only
    image=/boot/vmlinuz
    label="linux-nonfb"
    root=/dev/hdb1
    initrd=/boot/initrd.img
    append="splash=silent acpi=ht"
    read-only
    image=/boot/vmlinuz
    label="failsafe"
    root=/dev/hdb1
    initrd=/boot/initrd.img
    append="failsafe splash=silent acpi=ht devfs=nomount"
    read-only
    other=/dev/hda1
    label="windows"
    table=/dev/hda
    map-drive=0x80
    to=0x81
    map-drive=0x81
    to=0x80

    The hard disk boot order is BIOS selectable
    and I have the Windows drive (Primary Master)
    first, then the Linux drive (Primary Slave) second.
    If I change the hard disk boot order in the
    BIOS setup screen there seems to be no difference.
    Still can't find a bootable disk and when I press
    enter the system boots from LILO on /dev/hda.

    Is there something more I need to do with LILO
    or my drives to indicate a bootable disk?

    BTW, I read in sector 0 from each drive into a file
    and did a hex dump to see if each drive has
    the boot signature code "0x55 0xaa" at the end of
    the sector, and they both do.

    Thanks, Howie

    More hard disk info:

    > fdisk -l -u /dev/hda

    Disk /dev/hda: 120.0 GB, 120034123776 bytes
    255 heads, 63 sectors/track, 14593 cylinders, total 234441648 sectors
    Units = sectors of 1 * 512 = 512 bytes

    Device Boot Start End Blocks Id System
    /dev/hda1 * 63 61432559 30716248+ c W95 FAT32
    (LBA)
    /dev/hda2 61432560 234420479 86493960 f W95 Ext'd
    (LBA)
    /dev/hda5 61432623 234420479 86493928+ 7 HPFS/NTFS

    > fdisk -l -u /dev/hdb

    Disk /dev/hdb: 300.0 GB, 300069052416 bytes
    255 heads, 63 sectors/track, 36481 cylinders, total 586072368 sectors
    Units = sectors of 1 * 512 = 512 bytes

    Device Boot Start End Blocks Id System
    /dev/hdb1 * 63 19531313 9765625+ 83 Linux
    /dev/hdb2 19531314 253906314 117187500+ 5 Extended
    /dev/hdb5 19531377 20029328 248976 82 Linux swap
    /dev/hdb6 20029392 253906314 116938461+ 83 Linux


  2. Re: Boot Device problem after replacing Linux hard drive

    On Mar 27, 10:05 pm, howie.solo...@gmail.com wrote:

    > The remaining problem is that my BIOS startup
    > doesn't automatically find a bootable disk
    > like it used to.


    I finally got this to work.

    Discovered there were some motherboard BIOS
    updates available for my motherboard. After I
    updated my MB BIOS the boot device is
    detected just fine and automatically puts me
    into the the LILO boot prompt.

    Happy to get this working and sorry to bother you folks.

    Howie


+ Reply to Thread