You are not logged in.

#1 2009-04-30 09:24:22

MrAllan
Member
Registered: 2008-12-08
Posts: 132

[SOLVED] Can't dual-boot Ubuntu / Arch

Hey all,

I'm trying to dual-boot Arch and Ubuntu. I installed Ubuntu, then Arch (leaving out the GRUB installation). Here's my /boot/grub/menu.lst:

title         Arch Linux
uuid        <MY_UUID>
kernel        /boot/vmlinuz26 root=UUID=<MY_UUID> ro
initrd        /boot/kernel26.img

When I try to boot into Arch, I just get a whole bunch of errors and this:

If the device '<MY_UUID>' gets created while you are here, try adding 'rootdelay=8' or higher to the kernel command line
ramfs$

I tried to do so, but then my PC would just reboot.

I've also tried editing my menu.lst to this:

title         Arch Linux
root          (hd0,5)
kernel        /boot/vmlinuz26 root=/dev/sda6
initrd        /boot/kernel26.img

When I try to boot it like that, I get "Error 15: File not found.".

Any pointers?

Last edited by MrAllan (2009-04-30 19:02:22)

Offline

#2 2009-04-30 09:51:01

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,354

Re: [SOLVED] Can't dual-boot Ubuntu / Arch

I do believe you should replace <MY_UUID> with the actual UID of the partition. Mine looks like this:-

title Arch Linux
root (hd0,5)
kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/<some long number you'll have to find from blkid or something> ro
initrd /boot/kernel26.img

If you're not sure, post up the result of blkid and sudo fdisk -l.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#3 2009-04-30 10:44:07

celettu
Member
Registered: 2007-12-01
Posts: 143
Website

Re: [SOLVED] Can't dual-boot Ubuntu / Arch

Apparently you're not pointing GRUB to the right partition...

Tip: don't leave out the grubinstall, just install it on the partition you just installed Arch on. Then you can just copy/paste from the menu.lst.


Keep it Simple, Sexy

Offline

#4 2009-04-30 11:22:08

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: [SOLVED] Can't dual-boot Ubuntu / Arch

Do you use ext4 for  your /boot in arch?


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#5 2009-04-30 11:41:18

MrAllan
Member
Registered: 2008-12-08
Posts: 132

Re: [SOLVED] Can't dual-boot Ubuntu / Arch

ngoonee wrote:

I do believe you should replace <MY_UUID> with the actual UID of the partition. Mine looks like this:-

title Arch Linux
root (hd0,5)
kernel /boot/vmlinuz26 root=/dev/disk/by-uuid/<some long number you'll have to find from blkid or something> ro
initrd /boot/kernel26.img

If you're not sure, post up the result of blkid and sudo fdisk -l.

I did put my actual UUID, I just replaced it cause it's so long smile

Mr.Elendig wrote:

Do you use ext4 for  your /boot in arch?

Yes.

celettu wrote:

don't leave out the grubinstall, just install it on the partition you just installed Arch on. Then you can just copy/paste from the menu.lst.

Then it's the same thing, just that I can't boot Ubuntu.

Offline

#6 2009-04-30 11:47:34

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: [SOLVED] Can't dual-boot Ubuntu / Arch

Ubuntu don't have the ext4 patch in place for grub, so reinstall grub from arch, and then add ubuntu to the menu.lst on arch.
Edit: It is a good paractise to use a seperate /boot partion with ext2/3

Last edited by Mr.Elendig (2009-04-30 11:50:06)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#7 2009-04-30 11:52:29

dmartins
Member
Registered: 2006-09-23
Posts: 360

Re: [SOLVED] Can't dual-boot Ubuntu / Arch

Edit: Mr. Elendig and I posted at the same time. I'd try his solution first.

root (hd0,5) is probably incorrect.
Try editing that line. You can make temporary changes to your grub config by pressing 'e' when the entry you want to edit is selected at boot.

Or, you could give us some more details like your partition set up for ubuntu and arch including device names (/dev/sda1) and your entire menu.lst.

Last edited by dmartins (2009-04-30 11:55:35)

Offline

#8 2009-04-30 16:10:03

MrAllan
Member
Registered: 2008-12-08
Posts: 132

Re: [SOLVED] Can't dual-boot Ubuntu / Arch

I did what Mr.Elendig said (reinstalled Arch, this time with GRUB, took the file I originally posted, edited it to match the new setup), and now it works. Thanks!

Last edited by MrAllan (2009-05-01 07:09:40)

Offline

Board footer

Powered by FluxBB