[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

lilo / raid1 / mbr problem



Hi All,

Running debian testing/unstable with 2.6.9

I wanted to reconfigure a server so that it used a raid 1 array instead of just one disk.

This is what I did:

Reconfigured the system so that it boots from /dev/hdc

Created a raid 1 array (/dev/md0) on /dev/hda (/dev/hda1, just one raid partition plus one swap partition). Marked the second disk as 'missing'. The idea is to add this drive to the array once the OS is transferred to the raid array.

Created a reiserfs filesystem on /dev/md0.

Mounted /dev/md0 under /mnt and copied the running OS to /dev/md0.

Changed /mnt/etc/lilo.conf:

lba32
boot=/dev/md0
raid-extra-boot=mbr
root=/dev/md0
install=/boot/boot-menu.b
map=/boot/map
message=/boot/bootmess.txt
        prompt
        #single-key
        delay=100
        timeout=100

vga=normal

default=2.6.9

image=/boot/vmlinuz-2.6.9
        label=2.6.9
        read-only

Then, when I try:

lilo -r /mnt

I get:

Warning: Int 0x13 function 8 and function 0x48 return different
head/sector geometries for BIOS drive 0x81
Fatal: Unable to open mb

I've googled around, but I can't find an answer. I've did this 'changing to raid' thing serveral times, all went OK. I've checked the disk, replaced the disk... I'm out of clues... Any hint or help would be very appreciated!

TIA,

Dirk





Reply to: