On Sun, Aug 13, 2006 at 07:51:42PM -0400, andy liebman wrote:
-- I copied the contents of /dev/sda1 (/ partition) and /dev/sda6 (/home partition) to /dev/sdb1 and /dev/sdb6 using rsync.
this is not really important, but you should have used the raid devices
as a target.

-- I edited fstab and lilo.conf on the the RAID1 "/" partition so that they would refer to /dev/md1
-- I ran chroot on the /dev/md1 partition
did you mount /dev, /proc and /sys before chrooting?
i.e
mount --bind /dev /newroot/dev
mount -t proc /proc /newroot/proc
mount -t sysfs /sys /newroot/sys

-- I set up an /etc/mdadm.conf file (using mdadm --detail --scan>>/etc/mdadm.conf -- that's where Mandriva puts it) -- I added to lilo.conf "raid-extra-boot= and tried both "mbr" and "/dev/sda,/dev/sdb"
mbr should do

-- I ran mkinitrd and created a new initrd in /boot on /dev/md1. I got an error about not finding the 3w_9xxx driver, but I don't need to load that in the initrd anyway so I reran with --builtin=3w_9xxx so that mkinitrd would skip that driver that I don't need.

BUT, after all of this, I get a bunch of errors when I try to run lilo:
    Fatal: Trying to map files from unnamed device 0x0000

Regards,
L.

--
Luca Berra -- [EMAIL PROTECTED]
       Communication Media & Services S.r.l.
/"\
\ /     ASCII RIBBON CAMPAIGN
 X        AGAINST HTML MAIL
/ \
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to