FC4t2 no good without LILO
Paul Iadonisi
pri.rhl3 at iadonisi.to
Thu Apr 14 20:12:42 UTC 2005
On Thu, 2005-04-14 at 12:57 -0700, Mike Bird wrote:
> On Thu, 2005-04-14 at 12:34, Paul Iadonisi wrote:
> > Oh really? So how in the world did LILO get setup to chain to grub with
> > out me EVER setting up any such configuration? Magic?
>
> Run fdisk -l. You'll find a partition marked active. LILO chained to
> the boot loader in that partition.
>
> --Mike Bird
*sigh*
One last try.
After I did this I rebooted and everything came up as normal.
If you still claim that lilo is chaining to grub, then I have a bridge
I'd like to sell you.
I wait with baited breath to hear your response, but if it's anything
other than 'okay, let me contribute to the testing process and try this
out myself,' or something like that, then I give up. Not with grub, but
with debating you on this any further. The software raid 1 bug is
fixed. Deal.
=====
va:root:498)# fdisk -l /dev/sda
Disk /dev/sda: 18.3 GB, 18361030656 bytes
64 heads, 32 sectors/track, 17510 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 128 131056 fd Linux raid
autodetect
/dev/sda2 129 17510 17799168 fd Linux raid
autodetect
va:root:499)# fdisk -l /dev/sdb
Disk /dev/sdb: 18.3 GB, 18361030656 bytes
64 heads, 32 sectors/track, 17510 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 128 131056 fd Linux raid
autodetect
/dev/sdb2 129 17510 17799168 fd Linux raid
autodetect
va:root:500)# dd if=/dev/sda bs=448 count=1 of=/root/sda.448
1+0 records in
1+0 records out
va:root:501)# dd if=/dev/sdb bs=448 count=1 of=/root/sdb.448
1+0 records in
1+0 records out
va:root:502)# dd if=/dev/zero bs=448 count=1 of=/dev/sda
1+0 records in
1+0 records out
va:root:503)# dd if=/dev/zero bs=448 count=1 of=/dev/sdb
1+0 records in
1+0 records out
va:root:504)# fdisk -l /dev/sda
Disk /dev/sda: 18.3 GB, 18361030656 bytes
64 heads, 32 sectors/track, 17510 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 128 131056 fd Linux raid
autodetect
/dev/sda2 129 17510 17799168 fd Linux raid
autodetect
va:root:505)# fdisk -l /dev/sdb
Disk /dev/sdb: 18.3 GB, 18361030656 bytes
64 heads, 32 sectors/track, 17510 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 128 131056 fd Linux raid
autodetect
/dev/sdb2 129 17510 17799168 fd Linux raid
autodetect
va:root:506)# od -c /dev/sda | head -1
0000000 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0
va:root:507)# od -c /dev/sdb | head -1
0000000 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0
va:root:508)# /sbin/grub-install /dev/md0
Installation finished. No error reported.
This is the contents of the device map /boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.
(fd0) /dev/fd0
(hd0) /dev/hdb
(hd1) /dev/sda
(hd2) /dev/sdb
va:root:509)# od -c /dev/sda | head -1
0000000 353 H 220 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0
va:root:510)# od -c /dev/sdb | head -1
0000000 353 H 220 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0 \0
--
-Paul Iadonisi
Senior System Administrator
Red Hat Certified Engineer / Local Linux Lobbyist
Ever see a penguin fly? -- Try Linux.
GPL all the way: Sell services, don't lease secrets
More information about the fedora-test-list
mailing list