just curious, how can you know that putting lilo at the MBR of the second HD works ?
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)???
just curious, how can you know that putting lilo at the MBR of the second HD works ?
I tried it already! Made the 2 HD to the first boot device...and voila, BOOTING! (But only linux)
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.
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!
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 ?
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?Originally Posted by RealNeo
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....
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!
***NEW*** BCM RX67Q Gaming Motherboard | Intel Q67 2nd/3rd Gen. | LGA1155 | DDR3
$29.77
ASUS H110M-R Motherboard Intel 6th/7th Gen LGA1151 DDR4 Micro-ATX i/o shield
$42.00
Gigabyte Z370P D3 ATX Z370 LGA1151 Motherboard (Support Intel 6/7th 8th 9th)
$59.99
Asus H110M-C Rev 1.03 mATX Desktop Motherboard LGA 1151/Socket H4 DDR4 SDRAM
$26.99
ASUS Prime Q270M-C LGA1151 DP HDMI VGA SATA 6GB/s USB 3.0 MicroATX Motherboard
$37.99
ASUS Prime Z390-A LGA 1151 Intel Z390 SATA USB 3.1 ATX Motherboard NO I/O
$99.00
Gigabyte GA-B75M-HD3 Intel LGA1155 DDR3 Desktop Motherboard MicroATX USB 3.0
$26.99
Asus H81M-C Intel LGA1150 DDR3 Desktop Motherboard MicroATX Socket H3; Works
$29.99
Gigabyte GA-B150M-D3H GSM LGA 1151 DDR4 Desktop Motherboard mATX
$60.72
ASUS TUF Gaming B550-PLUS WiFi II AMD AM4 ATX Motherboard
$114.99