Re: Can't boot from /dev/md0 (RAID-1)

Juri Haberland
2002-06-30T12:51:46Z

Roy Sigurd Karlsbakk wrote:
>> Hi,
>> I had this once and resolved it with adding a "default" line to the
>> lilo.conf:
>> default = LinuxRaid
>>
>> Also have boot=/dev/md0, not boot=/dev/hda.
>
> hm
>
> I keep getting this one..
>
> [root@jumbo root]# lilo
> boot = /dev/hda, map = /boot/map.0301
> Added linux2419rc1 *
> Added linux2418
> Added linux-orig
> Fatal: Duplicate geometry definition for /dev/md0
>
> Any ideas?

Hm, I'm no lilo nor raid expert, but I'd suggest to strip down the
lilo.conf to the defaults. E.g. I have:
prompt
timeout=50
default=linux
boot=/dev/md2
map=/boot/map
install=/boot/boot.b
message=/boot/message

image=/boot/vmlinuz
label=linux
read-only
root=/dev/md0