You are not logged in.

#1 2008-12-22 20:36:41

Arm-the-Homeless
Member
Registered: 2008-12-22
Posts: 273

[SOLVED] Adjusting Ubuntu's /boot/grub/menu.lst for Arch Linux

Since I don't really want to overwrite Ubuntu's GRUB which has everything else on it, I chose not to install the bootloader when setting up Arch.

So I want to change Ubuntu's /boot/grub/menu.lst to add in Arch Linux.

Assuming that Arch is installed on /dev/sda3, would this be right:

## ## End Default Options ##

title        Ubuntu 8.10, kernel 2.6.27.10-grsec
uuid        56d199b6-d48d-431e-83ed-ab8f7d1dc2a6
kernel        /boot/vmlinuz-2.6.27.10-grsec root=UUID=56d199b6-d48d-431e-83ed-ab8f7d1dc2a6 ro quiet splash vga=769 
initrd        /boot/initrd.img-2.6.27.10-grsec

title        Ubuntu 8.10, kernel 2.6.27.10-grsec (recovery mode)
uuid        56d199b6-d48d-431e-83ed-ab8f7d1dc2a6
kernel        /boot/vmlinuz-2.6.27.10-grsec root=UUID=56d199b6-d48d-431e-83ed-ab8f7d1dc2a6 ro  single
initrd        /boot/initrd.img-2.6.27.10-grsec

title        Arch Linux
root       (hd0,2)
kernel    /boot/vmlinux26 root=/dev/sda3 ro
initrd      /boot/kernel26.img

title          Arch Linux Fallback
root         (hd0,2)
kernel      /boot/vmlinuz26 root=/dev/sda3 ro
initrd        /boot/kernel26-fallback.img

title        Ubuntu 8.10, kernel 2.6.27-11-generic
uuid        56d199b6-d48d-431e-83ed-ab8f7d1dc2a6
kernel        /boot/vmlinuz-2.6.27-11-generic root=UUID=56d199b6-d48d-431e-83ed-ab8f7d1dc2a6 ro quiet splash vga=769 
initrd        /boot/initrd.img-2.6.27-11-generic

title        Ubuntu 8.10, kernel 2.6.27-11-generic (recovery mode)
uuid        56d199b6-d48d-431e-83ed-ab8f7d1dc2a6
kernel        /boot/vmlinuz-2.6.27-11-generic root=UUID=56d199b6-d48d-431e-83ed-ab8f7d1dc2a6 ro  single
initrd        /boot/initrd.img-2.6.27-11-generic

title        Ubuntu 8.10, kernel 2.6.27-10-generic
uuid        56d199b6-d48d-431e-83ed-ab8f7d1dc2a6
kernel        /boot/vmlinuz-2.6.27-10-generic root=UUID=56d199b6-d48d-431e-83ed-ab8f7d1dc2a6 ro quiet splash vga=769 
initrd        /boot/initrd.img-2.6.27-10-generic

title        Ubuntu 8.10, kernel 2.6.27-10-generic (recovery mode)
uuid        56d199b6-d48d-431e-83ed-ab8f7d1dc2a6
kernel        /boot/vmlinuz-2.6.27-10-generic root=UUID=56d199b6-d48d-431e-83ed-ab8f7d1dc2a6 ro  single
initrd        /boot/initrd.img-2.6.27-10-generic

title        Ubuntu 8.10, kernel 2.6.27-9-generic
uuid        56d199b6-d48d-431e-83ed-ab8f7d1dc2a6
kernel        /boot/vmlinuz-2.6.27-9-generic root=UUID=56d199b6-d48d-431e-83ed-ab8f7d1dc2a6 ro quiet splash vga=769 
initrd        /boot/initrd.img-2.6.27-9-generic

title        Ubuntu 8.10, kernel 2.6.27-9-generic (recovery mode)
uuid        56d199b6-d48d-431e-83ed-ab8f7d1dc2a6
kernel        /boot/vmlinuz-2.6.27-9-generic root=UUID=56d199b6-d48d-431e-83ed-ab8f7d1dc2a6 ro  single
initrd        /boot/initrd.img-2.6.27-9-generic

title        memtest86+
uuid        56d199b6-d48d-431e-83ed-ab8f7d1dc2a6
kernel        /boot/memtest86+.bin

### END DEBIAN AUTOMAGIC KERNELS LIST

I probably messed up the spaces in the Arch section. I dunno if it matters but...

Last edited by Arm-the-Homeless (2008-12-22 23:49:04)

Offline

#2 2008-12-22 21:18:59

pogeymanz
Member
Registered: 2008-03-11
Posts: 1,020

Re: [SOLVED] Adjusting Ubuntu's /boot/grub/menu.lst for Arch Linux

Your root lines might be wrong I think it might be (hd0,4). Here is my menu.lst

# (0) Arch Linux
title  Arch Linux
root   (hd0,8)
kernel /vmlinuz26 root=/dev/sda7 ro noapic
initrd /kernel26.img

# (1) Arch Linux
title  Arch Linux Fallback
root   (hd0,8)
kernel /vmlinuz26 root=/dev/sda7 ro
initrd /kernel26-fallback.img

Last edited by pogeymanz (2008-12-22 21:20:15)

Offline

#3 2008-12-22 21:24:03

tesjo
Member
Registered: 2007-11-30
Posts: 164

Re: [SOLVED] Adjusting Ubuntu's /boot/grub/menu.lst for Arch Linux

It looks OK me. If you want to use UUID and you've installed using a newer disk you could copy the uuid from /etc/fstab.

Offline

#4 2008-12-22 21:37:26

windtalker
Member
Registered: 2008-03-17
Posts: 220

Re: [SOLVED] Adjusting Ubuntu's /boot/grub/menu.lst for Arch Linux

nope:

kernel    /boot/vmlinux26 root=/dev/sda3 ro


That should be vmlinuz26

Offline

Board footer

Powered by FluxBB