![](https://secure.gravatar.com/avatar/5e41ffa36d7be4c406e1e014bd7378b1.jpg?s=120&d=mm&r=g)
Wawrzyniec NiewodniczaĆski wrote:
I guess my mixture of RAID and LVM cause the issue for LILO.
What I have
RAID on whole disks sda and sdb. on that I have two partition
/dev/md0p1 - boot /dev/md0p2 - LVM2 with volume group main and partition - root - local
lilo -m
returns [...] Using BIOS devices code 0x80 for RAID boot blocks Reading boot sector from /dev/md0 Fatal: Sorry, don't know how to handle device 0x10300
I have mad additional research I it might be udev error:
ls -l /dev/md0*
brw-rw---- 1 root disk 9, 0 Oct 25 12:41 /dev/md0 brw-rw---- 1 root disk 259, 0 Oct 25 12:27 /dev/md0p1 brw-rw---- 1 root disk 259, 1 Oct 25 12:41 /dev/md0p2
And I have found following message [1]:
"Almost certainly some udev configuration going wrong. What distro are you running? Is there are file in /lib/udev/rules.d or /etc/udev/rules.d with 'md' in the name? What is in that file?
Prior to 2.6.28, normal md devices (major number 9) could not be partitioned. You needed to use "mdp" devices (major number close to 254). To get autodetect to create these use the kernel parameter "raid=partitionable".
In 2.6.28, partitions don't have to have the same major number as the base device. In you case, md0 is 9,0 md1 is 9,1
md1p1 is 259,0 md1p2 is 259.1 md1p3 is 259,2
as you can see, the device nodes have been created with the wrong name. In each case the name used is md followed by the last digit of what should have been used. udev is the only thing that could have done that."
Do you think this is the issue?
Wawrzek
[1] http://lists-archives.org/linux-kernel/19776613-mdadm-software-raid-woes.htm...
Hi, Why do you use partitioned raid? you should use metadata version 0.90 for the raid 1 metadata location, it is the only one that lilo and grub supports. I would of partitoned the disk into 2 partitons use old metadata 0.90 for md0 for boot and metadata version 1.1 for md1 then pvcrate on md1, you have to install lilo/grub to both disks as per that crux wiki says still. the bios can remove a disk that has been removed and the next disk in the system becomes the boot disk. the only part of the raid1 you do use in boot is for writing new initramfs files to etc... BTW I have a lot of experience with LVM2 if you need help with anything. Regards, Danny