You are not logged in.

#1 2009-06-13 06:23:59

NexusX
Member
Registered: 2009-06-13
Posts: 13

Dual booting Arch - trouble configuring Grub

Hello,

I wanted to try Arch out after using Ubuntu for a few years, and today I finally got a around to get getting it installed. The install went ok for the most part, but was complicated by the fact that I have a RAID 0 fakeRAID that I was installing Arch to and I was trying to dual boot it with Ubuntu. I got Arch to install fine from what I see, but now I can't configure the GRUB menu.lst on Ubuntu to point to Arch. I should note that when I was installing Arch, under the options for installing a bootloader I selected NONE since the wiki said if you already had one, you didn't need to install it.

Some info about my set up:
I have GRUB installed to MBR
nvidia fakeRAID 0
4 partitions:
- /  (Ubuntu root)
- Swap
- /home
-- Extended Partition
--- / (Arch root)

sudo dmraid -ay
[sudo] password for fox:
RAID set "nvidia_ghhhfege" already active
RAID set "nvidia_ghhhfege1" already active
RAID set "nvidia_ghhhfege2" already active
RAID set "nvidia_ghhhfege3" already active
RAID set "nvidia_ghhhfege5" already active
sudo dmraid -r
/dev/sdb: nvidia, "nvidia_ghhhfege", stripe, ok, 488397166 sectors, data@ 0
/dev/sda: nvidia, "nvidia_ghhhfege", stripe, ok, 488397166 sectors, data@ 0

/boot/grub/menu.lst

title           Ubuntu 9.04, kernel 2.6.28-11-generic
root            (hd0,0)
kernel          /boot/vmlinuz-2.6.28-11-generic root=/dev/mapper/nvidia_ghhhfege1 ro quiet splash
initrd          /boot/initrd.img-2.6.28-11-generic

title           Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode)
root            (hd0,0)
kernel          /boot/vmlinuz-2.6.28-11-generic root=/dev/mapper/nvidia_ghhhfege1 ro  single
initrd          /boot/initrd.img-2.6.28-11-generic

title           Ubuntu 9.04, memtest86+
root            (hd0,0)
kernel          /boot/memtest86+.bin

title           Arch Linux
root            (hd0,3)
kernel          /boot/vmlinuz26 root=/dev/mapper/nvidia_ghhhfege5 ro vga=773
initrd          /boot/kernel26.img

I very much appreciate any help

Offline

#2 2009-06-13 20:27:30

NexusX
Member
Registered: 2009-06-13
Posts: 13

Re: Dual booting Arch - trouble configuring Grub

Bump

Offline

#3 2009-06-13 21:07:44

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,595
Website

Re: Dual booting Arch - trouble configuring Grub

NexusX wrote:

Some info about my set up:
I have GRUB installed to MBR
nvidia fakeRAID 0
4 partitions:
- /  (Ubuntu root)
- Swap
- /home
-- Extended Partition
--- / (Arch root)

/boot/grub/menu.lst

title           Ubuntu 9.04, kernel 2.6.28-11-generic
root            (hd0,0)
kernel          /boot/vmlinuz-2.6.28-11-generic root=/dev/mapper/nvidia_ghhhfege1 ro quiet splash
initrd          /boot/initrd.img-2.6.28-11-generic

title           Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode)
root            (hd0,0)
kernel          /boot/vmlinuz-2.6.28-11-generic root=/dev/mapper/nvidia_ghhhfege1 ro  single
initrd          /boot/initrd.img-2.6.28-11-generic

title           Ubuntu 9.04, memtest86+
root            (hd0,0)
kernel          /boot/memtest86+.bin

title           Arch Linux
root            (hd0,3)
kernel          /boot/vmlinuz26 root=/dev/mapper/nvidia_ghhhfege5 ro vga=773
initrd          /boot/kernel26.img

I very much appreciate any help

I could be mistaken, but hd(0,3) is your 4th partition (the extended), no?  The Arch root is your 5th.  Try 'root (hd0,4)' instead.

Last edited by graysky (2009-06-13 21:11:22)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#4 2009-06-13 21:57:30

NexusX
Member
Registered: 2009-06-13
Posts: 13

Re: Dual booting Arch - trouble configuring Grub

I could be mistaken, but hd(0,3) is your 4th partition (the extended), no?  The Arch root is your 5th.  Try 'root (hd0,4)' instead.

Yup,  you're right. However, now grub is complaing about the files kernel and initrd are pointing to. I got the boot path from the wiki, but it seems like it isn't working in my case. Does Arch come with an older kernel or initrd than 2.6? What should the correct be?

Offline

#5 2009-06-13 23:04:22

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,595
Website

Re: Dual booting Arch - trouble configuring Grub

No, the kernel you're running is 2.6.28 if you're booting from the ISO and as of 13-Jun-09, 2.6.29-4.  I dunno what to say since I've never ran with a fakeraid before.

My Arch entry in the /boot/grub/menu.lst looks like:

title  Arch Linux
root   (hd0,1)
kernel /boot/vmlinuz26 root=/dev/sda2 ro quiet vga=773
initrd /boot/kernel26.img

But I dunno how applicable that will be for your situation.  Perhaps someone with more knowledge than I can help you.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#6 2009-06-14 00:51:39

NexusX
Member
Registered: 2009-06-13
Posts: 13

Re: Dual booting Arch - trouble configuring Grub

Oh boy. Looks like I'm in a measure of trouble with the install.

I mounted my Arch partition from Ubuntu. I thought that I could mount it and look under boot for the file names and then correct Grub. Well, I think I know why Grub can't find the files

>sudo mount /dev/mapper/nvidia_ghhhfege5 /media/arch/
>cd /media/arch/
>ls -l
lost+found

Thats all that in my Arch partition install x_x  I have no idea where the rest of root is sad The installer didn't say there were any problems. I used the FTP install, and it seemed like it installed the base packages fine. Not really sure what to do from this point :\

Offline

#7 2009-06-14 08:53:23

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,595
Website

Re: Dual booting Arch - trouble configuring Grub

Run gparted from Ubuntu and post a screenshot of the hdd maps.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#8 2009-06-14 17:08:49

NexusX
Member
Registered: 2009-06-13
Posts: 13

Re: Dual booting Arch - trouble configuring Grub

Sure thing.


gparted_061409.png

Offline

#9 2009-06-14 17:20:18

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,595
Website

Re: Dual booting Arch - trouble configuring Grub

According to your map, /dev/mapper/nvidia_ghhhfege5 is your arch partition as you posted.  You used nearly 307 megs on that partition so you should definitely have more than just a lost+found directory...??  Have you tried mounting that partition from either ubuntu or your live arch cd and doing an ls -lhat which should should all files/dirs (hidden ones too)?  Beyond that, perhaps you should attempt the installation again.  Not having seen what you did, I can't offer more.

Last edited by graysky (2009-06-14 17:21:37)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#10 2009-06-14 20:46:48

eilenbeb
Member
Registered: 2009-03-08
Posts: 44

Re: Dual booting Arch - trouble configuring Grub

Don't know if this will help, but here's on old post on getting grub to boot linux on fakeraid.

www.ohioloco.ubuntuforums.org/showthread.php?t=630644

Offline

Board footer

Powered by FluxBB