mtparrish
September 28th, 2009, 06:42 PM
Just a bit of context: I'm doing a dual-boot (Windows 7 / Ubuntu 9.04) install on an intel p55 bios controlled raid 0 array. Most of the procedure I've been following comes from https://help.ubuntu.com/community/FakeRaidHowto and http://wiki.debian.org/DebianInstaller/SataRaid.
Here's what I've done to get this far:
Boot into the live cd
$ sudo apt-get install dmraid
$ sudo dmraid -ayCreate an ext3 and swap partition.
Use the ubiquity installer without installing grub.
Without restarting:
$ sudo swapoff -a
$ sudo mount /dev/mapper/isw_whatever05 /target
$ sudo mount --bind /dev /target/dev
$ sudo mount --bind /dev /target/dev
$ sudo mount -t proc proc /target/proc
$ sudo mount -t sysfs sys /target/sys
$ sudo cp /etc/resolv.conf /target/etc/resolv.conf
$ sudo chroot /target
# apt-get update
# apt-get install dmraid
# apt-get install grub
# mkdir /boot/grub
# cp /usr/lib/grub/x86_64-pc/* /boot/grub/
# grub --no-curses --device-map=/dev/null
grub> device (hd0,4) /dev/mapper/isw_whatever05
grub> device (hd0) /dev/mapper/isw_whatever0
grub> root (hd0,4)
grub> setup(hd0)All goes well and I update-grub, edit my menu.lst to add windows, update-grub again and reboot.
Grub then lets me successfully load Windows, but fails to load Ubuntu -- dmesg shows corrupt superblocks on my ext3.
This has consistently happened on several attempts. Since I'm using new hardware, I'm not sure if it's a bug or my procedure. I would consider using purely software raid (mdam) only as a last resort since I would greatly prefer to have Windows running on raid 0 as well.
Any help, suggestions, or resources would be greatly appreciated.
Here's what I've done to get this far:
Boot into the live cd
$ sudo apt-get install dmraid
$ sudo dmraid -ayCreate an ext3 and swap partition.
Use the ubiquity installer without installing grub.
Without restarting:
$ sudo swapoff -a
$ sudo mount /dev/mapper/isw_whatever05 /target
$ sudo mount --bind /dev /target/dev
$ sudo mount --bind /dev /target/dev
$ sudo mount -t proc proc /target/proc
$ sudo mount -t sysfs sys /target/sys
$ sudo cp /etc/resolv.conf /target/etc/resolv.conf
$ sudo chroot /target
# apt-get update
# apt-get install dmraid
# apt-get install grub
# mkdir /boot/grub
# cp /usr/lib/grub/x86_64-pc/* /boot/grub/
# grub --no-curses --device-map=/dev/null
grub> device (hd0,4) /dev/mapper/isw_whatever05
grub> device (hd0) /dev/mapper/isw_whatever0
grub> root (hd0,4)
grub> setup(hd0)All goes well and I update-grub, edit my menu.lst to add windows, update-grub again and reboot.
Grub then lets me successfully load Windows, but fails to load Ubuntu -- dmesg shows corrupt superblocks on my ext3.
This has consistently happened on several attempts. Since I'm using new hardware, I'm not sure if it's a bug or my procedure. I would consider using purely software raid (mdam) only as a last resort since I would greatly prefer to have Windows running on raid 0 as well.
Any help, suggestions, or resources would be greatly appreciated.