Results 1 to 9 of 9

Thread: Bootloader and ATA-Raid

  1. #1
    Junior Member
    Join Date
    Apr 2003
    Posts
    7

    Bootloader and ATA-Raid

    Hi Guys,

    I have a problem with my Bootloaders(lilo, XP-Boot)! I have a ata-raid system wich is not supportetd by Linux, where my Xp is installed! And a second HD (samsung 120GB) where Linux ist stored! I can't manage that one Bootloader boot both OS! Lilo don't load Xp because the raid...and Xp-Loader (with the bootsec.lin from lilo) only says L 99 99...with linear, cylinders, heads and so on, too!
    The only way to boot Linux without Floppy ist writing The MBR from Linux to the 2 HD...but how cann i tell the XP-Loader to start (search) a other MBR???
    Whats wrong (with me)???

  2. #2
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    872
    just curious, how can you know that putting lilo at the MBR of the second HD works ?

  3. #3
    Junior Member
    Join Date
    Apr 2003
    Posts
    7
    I tried it already! Made the 2 HD to the first boot device...and voila, BOOTING! (But only linux)

  4. #4
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    872
    If that is the case, it may have something to do with the disk ID when you are configuring LILO. You may need to read the LILO documentation about this.

    I assume you have already tried dd the MBR(on the second HD) and allows NT boot loader to load it.

  5. #5
    Junior Member
    Join Date
    Apr 2003
    Posts
    7
    Yes i already tried "dd if=/dev/hda1 bs=512 count=1 of=/boot/bootsec.lin" (right syntax?)
    hda1=second Linux HD
    hdg+hde=Xp Raid!

    Wich type of ID you mean? I tried everything i think...bios=0x81-0x86!
    But the problem is...i don't know which ID exactly it is!

  6. #6
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    872
    My WAG:

    When you boot with XP, your Linux disk is no longer hda but being pushed to say hdb/hdc/hdd etc.(I believe bios=0x80 is hda)

    I think this is similar to the case of bootable SCSI card. you may google and see if there is additional information.

    May be just set a number of lilo entries with something like the following :

    disk=/dev/hda
    bios=0x80-5

    such that you have 6 LILO entries and see if any one of them works, without running the lilo again and again.

    BTW , you said if=/dev/hda1, shouldn't it be if=/dev/hda if you ask LILO to write to MBR ?

    Quote Originally Posted by RealNeo
    Yes i already tried "dd if=/dev/hda1 bs=512 count=1 of=/boot/bootsec.lin" (right syntax?)
    hda1=second Linux HD
    hdg+hde=Xp Raid!

    Wich type of ID you mean? I tried everything i think...bios=0x81-0x86!
    But the problem is...i don't know which ID exactly it is!

  7. #7
    Junior Member
    Join Date
    Apr 2003
    Posts
    7
    that was the code to read out the bootsec.lin from the rootpart. which is hda1! I try now the different ID...again

  8. #8
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    555
    Quote Originally Posted by RealNeo
    that was the code to read out the bootsec.lin from the
    rootpart. which is hda1! I try now the different ID...again
    What does the line "boot=XYZ" look like in your /etc/lilo.conf look like?
    That's the device where lilo wrote its boot sector. MBR would be hdX,
    a partition would add a number to this, eg hdXn.

    Look at that "XYZ", value and use it in your dd command, as "if" parameter.
    You probably cannot copy this bootsector directly to your XP C: drive,
    not if it is formatted as NTFS. Instead send the boot sector to a (FAT) floppy:
    dd if=/dev/XYZ bs=512 count=1 of=/dev/fd0/knoppix.bs
    Then boot under XP, copy the floppy file to C:\knoppix.bs, and add
    an entry for it in your C:\boot.ini file:
    C:\knoppix.bs="Knoppix"

    These are generic instructions, which might be thwarted by the RAID
    controller affecting your device names, and the boot disk switching...

    Anyway, since you'll only be writing to floppy, there's no risk involved.
    It may be worth a try....

  9. #9
    Junior Member
    Join Date
    Apr 2003
    Posts
    7
    I tried both boot=hda and hda1 (hda1 for non MBR install with a bootsctor file)! And both is not working....again and again L 99 99 99....
    And ID, Sector and Head adresses won't work!!!....and the biggest problem is...i have smoked 30 cigartettes since the beginging of this s**t!

Similar Threads

  1. bootloader
    By bluenose50 in forum General Support
    Replies: 2
    Last Post: 01-28-2005, 10:15 PM
  2. nt bootloader with image from dd?
    By Alterscape in forum Hdd Install / Debian / Apt
    Replies: 8
    Last Post: 12-29-2004, 01:54 AM
  3. bootloader timeout
    By rrfish72 in forum General Support
    Replies: 12
    Last Post: 07-17-2004, 05:25 PM
  4. no BootLoader with knoppix 3.4
    By mschievano in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 05-12-2004, 06:34 PM
  5. Windows partions and the bootloader
    By in forum Hdd Install / Debian / Apt
    Replies: 3
    Last Post: 01-27-2003, 09:42 AM

Posting Permissions

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


Fanxiang 4TB 2TB 1TB SSD 550MB/s 2.5'' SATA III Internal Solid State Drive lot picture

Fanxiang 4TB 2TB 1TB SSD 550MB/s 2.5'' SATA III Internal Solid State Drive lot

$219.99



Fanxiang SSD 4TB 2TB 1TB PS5 SSD M.2 NVME SSD 7300MBS PCIe 4.0 Solid State Drive picture

Fanxiang SSD 4TB 2TB 1TB PS5 SSD M.2 NVME SSD 7300MBS PCIe 4.0 Solid State Drive

$269.99



Fanxiang 4TB 2TB 1TB SSD 2.5'' SATA III 560MB/s Internal Solid State Drive lot picture

Fanxiang 4TB 2TB 1TB SSD 2.5'' SATA III 560MB/s Internal Solid State Drive lot

$188.09



Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot picture

Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot

$119.99



Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5

Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot

$15.50



WD BLUE 3D NAND 250GB 2.5

WD BLUE 3D NAND 250GB 2.5" SATA Laptop SSD Solid State Tested,Wiped -WDS250G2B0A

$16.00



1080PRO 4TB SSD Solid State Hard Drive Ngff M.2 SSD Gaming Internal Hard Disk picture

1080PRO 4TB SSD Solid State Hard Drive Ngff M.2 SSD Gaming Internal Hard Disk

$32.99



Samsung 860 EVO 250GB,Internal,2.5 inch (MZ-76E250) Solid State Drive picture

Samsung 860 EVO 250GB,Internal,2.5 inch (MZ-76E250) Solid State Drive

$20.00



Fanxiang M.2 SATA SSD 2TB 1TB 512GB 256GB SSD Internal M2 Solid State Drive Lot picture

Fanxiang M.2 SATA SSD 2TB 1TB 512GB 256GB SSD Internal M2 Solid State Drive Lot

$109.99



Fanxiang 4TB 2TB 1TB SSD 2.5'' SATA III Internal Solid State Drive 512GB 256 lot picture

Fanxiang 4TB 2TB 1TB SSD 2.5'' SATA III Internal Solid State Drive 512GB 256 lot

$178.69