Re: mbr-install for Raid 1, mdadm -a /dev/md0 /dev/sda1
From: Zeno R.R. Davatz <hidden>
Date: 2004-10-06 16:34:11
Hi Bernd Thanks for your prompt reply. On Wed, 06 Oct 2004 18:16:57 +0200 Bernd Fischer wrote:
Zeno R.R. Davatz wrote:quoted
quoted
No, you would have to use boot=/dev/md0 in your lilo.conf,quoted
Do I have to run 'lilo -v' so lilo gets this?As usual, you have to run lilo everytime you install a new kernel or edit lilo.confquoted
Because whenever I run lilo -v (22.5.8) with 'boot=/dev/md0 I get the wonderful Error of: Fatal: Trying to map files from unnamed device 0x0000 (NFS ?)quoted
Any hints?I had the same problem some time ago. AFAIR it went away when I updated to lilo 22.6 As a workaround, create a symlink to /dev/md0 ( e.g. /dev/MD0 ) and use this as your boot device in lilo.conf.
I managed to boot my /dev/md2 (using find . -xdev | cpio -pm /mnt/newroot instead of cp -ax / /mnt/newroot to copy my system to Raid). Now I am doing 'mdadam -a /dev/md2 /dev/sda3' as next I would do 'mdadm -a /dev/md0 /dev/sda1' Will the lilo problem then vanish? Thanks for your Feedback. Zeno