Jazsun
July 16th, 2009, 03:26 PM
UPDATED OUTPUT/INFO IN POST DOWN BELOW
Hello folks,
Booted from Ubuntu 9 x64 live CD. I'm trying to dual boot Win 7 x64 and Ubuntu 9.* x64. Win 7 has already been installed on my two 160GB drives in nvidia RAID 0. I installed dmraid following the instructions here: https://help.ubuntu.com/community/FakeRaidHowto.
I do the following:
ubuntu@ubuntu:~$ sudo apt-get install -y dmraid
ubuntu@ubuntu:~$ sudo modprobe dm-raid4-5
ubuntu@ubuntu:~$ sudo dmraid -ay
ubuntu@ubuntu:~$ cd /dev/mapper/
ubuntu@ubuntu:/dev/mapper$ ls
Output: shows my nvidia RAID 0 as nvidia_cbcaeffb, and existing Vista partitions alredy on it (nvidia_cbcaeffb1,nvidia_cbcaeffb2 etc..)
I continue to go through the installation process are create 3 more partitions on the raid 0 drive (nvidia_cbcaeffb), one for /boot, /, and swap. I uncheck "Install bootloader" during the GUI install and then continue to follow the directions on the link above.
ubuntu@ubuntu:/dev/mapper$ sudo mount nvidia_cbcaeffb3 (my root install) /target/
ubuntu@ubuntu:/dev/mapper$ sudo mount --bind /dev /target/dev/
ubuntu@ubuntu:/dev/mapper$ sudo mount -t proc proc /target/proc/
ubuntu@ubuntu:/dev/mapper$ sudo mount -t sysfs sys /target/sys/
ubuntu@ubuntu:/dev/mapper$ sudo cp /etc/resolv.conf /target/etc/resolv.conf
ubuntu@ubuntu:/dev/mapper$ sudo chroot /target/
root@ubuntu:/# apt-get update
root@ubuntu:/# apt-get install -y dmraid
root@ubuntu:/# apt-get install -y grub
root@ubuntu:/# mkdir /boot/grub
root@ubuntu:/# cp /usr/lib/grub/x86_64-pc/* /boot/grub/
root@ubuntu:/# grub --no-curses
grub> device (hd0) /dev/mapper/nvidia_cbcaeffb
grub> find /boot/grub/stage1
^ and this is where the problem starts... I get ERROR 15: file not found. I tried device (hd1) (since I have 3 hard drives, 2 in raid 0 and one by itself), but I still get the same issue. If I: ls /target/boot/grub, it shows stage1 as being in there.
I cant get you exact printouts of fdisk nvidia_cbcaeffb3 because I'm not on my machine right now but I will tonight.
Any ideas? Is grub able to be places on a RAID 0? Is the problem because my linux root partition is not the first partition on the drive?
Thanks a lot!
Hello folks,
Booted from Ubuntu 9 x64 live CD. I'm trying to dual boot Win 7 x64 and Ubuntu 9.* x64. Win 7 has already been installed on my two 160GB drives in nvidia RAID 0. I installed dmraid following the instructions here: https://help.ubuntu.com/community/FakeRaidHowto.
I do the following:
ubuntu@ubuntu:~$ sudo apt-get install -y dmraid
ubuntu@ubuntu:~$ sudo modprobe dm-raid4-5
ubuntu@ubuntu:~$ sudo dmraid -ay
ubuntu@ubuntu:~$ cd /dev/mapper/
ubuntu@ubuntu:/dev/mapper$ ls
Output: shows my nvidia RAID 0 as nvidia_cbcaeffb, and existing Vista partitions alredy on it (nvidia_cbcaeffb1,nvidia_cbcaeffb2 etc..)
I continue to go through the installation process are create 3 more partitions on the raid 0 drive (nvidia_cbcaeffb), one for /boot, /, and swap. I uncheck "Install bootloader" during the GUI install and then continue to follow the directions on the link above.
ubuntu@ubuntu:/dev/mapper$ sudo mount nvidia_cbcaeffb3 (my root install) /target/
ubuntu@ubuntu:/dev/mapper$ sudo mount --bind /dev /target/dev/
ubuntu@ubuntu:/dev/mapper$ sudo mount -t proc proc /target/proc/
ubuntu@ubuntu:/dev/mapper$ sudo mount -t sysfs sys /target/sys/
ubuntu@ubuntu:/dev/mapper$ sudo cp /etc/resolv.conf /target/etc/resolv.conf
ubuntu@ubuntu:/dev/mapper$ sudo chroot /target/
root@ubuntu:/# apt-get update
root@ubuntu:/# apt-get install -y dmraid
root@ubuntu:/# apt-get install -y grub
root@ubuntu:/# mkdir /boot/grub
root@ubuntu:/# cp /usr/lib/grub/x86_64-pc/* /boot/grub/
root@ubuntu:/# grub --no-curses
grub> device (hd0) /dev/mapper/nvidia_cbcaeffb
grub> find /boot/grub/stage1
^ and this is where the problem starts... I get ERROR 15: file not found. I tried device (hd1) (since I have 3 hard drives, 2 in raid 0 and one by itself), but I still get the same issue. If I: ls /target/boot/grub, it shows stage1 as being in there.
I cant get you exact printouts of fdisk nvidia_cbcaeffb3 because I'm not on my machine right now but I will tonight.
Any ideas? Is grub able to be places on a RAID 0? Is the problem because my linux root partition is not the first partition on the drive?
Thanks a lot!