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

Bug#405484: Confirmed: Etch installs on fakeraid



A million thanks to Steve - I managed to complete my install a few weeks
ago using steps 1-4 outlined in my second post (9 Jan), and then the
following steps of Steve's:

- Skipped over the failing lilo, let it finish and eject the CD, flipped
over to VT2 to finish the install by hand.

(I'm not sure if allowing the install to 'finish' is important, but I
followed this precisely just in case)

- Unmounted /boot, chrooted into /target, mounted /boot under that so
it'd be aware of it, mounted /sys (required for dmraid's postinst not to
fail) and /proc.

(This I definitely hadn't done correctly before - I knew how to chroot,
but not the importance of mounting /sys)

- Installed dmraid and grub, dmraid -ay.

(This didn't work well for me - dmraid installed ok but grub installed
with errors. dmraid -ay did *not* create the /dev/mapper/sil_blah
devices, and I had to mknod them by hand)

- Did an upgrade-grub to get an initial menu.lst.

(This worked eventually but also had problems - sorry, I should have
written it up much sooner, I've forgotten now)

- Did the grub install manually as grub-install always whines about BIOS
drives - copied the stage1/stage2/stage1.5 stuff into /boot/grub, edited

devices.map so instead of hd0 and hd1 being sda and sdb, had it as (hd0)
/dev/mapper/nvidia_foo.  Ran grub, did the root (hd0,X), setup (hd0) 
stuff, updated the groot in the menu.lst for my /boot partition and
re-ran update-grub.

(I didn't have a devices.map at all and had to create it - maybe this
was one of the problems from the imperfect grub install step? Even then
I had to do the manual grub setup twice, for some reason it didn't work
the first time.)

- Removed the 'savedefault' lines produced by update-grub from menu.lst 

- Rebooted into Etch.

I hope this thread now contains all the information necessary to get
fakeraid support fully implemented in the next d-i (after Etch is
stable, of course). (Actually I think I had to do a manual
update-initramfs at some point ...)

Thanks again Steve - I now know more about grub than I ever wanted to!

CC



Reply to: