You are not logged in.

#1 2009-03-16 13:23:53

vlearner
Member
Registered: 2009-03-16
Posts: 52

[SOLVED] Dual boot Arch [Using existing grub (Ubuntu)]

Hi all,
I have been using Ubuntu for about a year now big_smile and couple days ago I tried Arch on my Ubuntu box via Virtualbox. I really loved it  now I want to install Arch as dual boot linux using the existing Grub from Ubuntu.
I dont know how i should config the arch grub and Ubuntu grub to achieve the obj.
Here is what i think i should do:

+ Check /ect/fstab to get UUID of partition containing /sbin/init/ or /
+ Select NONE when be asked to install type of bootloader
+ Done Arch installation
+ Reboot to Ubuntu and config menu.lst
+ Add new entry for Arch, ex (from Arch guide)

title  Arch Linux (Main)
root   (hdX,Y)
kernel /[vmlinuz path] root=/dev/disk/by-uuid/[UUID noted from fstab when installed Arch]   ro
initrd /[kernelimg]

Is it the correct method to do what i needed? If it s wrong please give me some advices
Thanks a lot. big_smile
VL

Last edited by vlearner (2009-03-16 15:25:24)


I LOVE archlinux

Offline

#2 2009-03-16 14:27:04

u_no_hu
Member
Registered: 2008-06-15
Posts: 453

Re: [SOLVED] Dual boot Arch [Using existing grub (Ubuntu)]

Right smile Welcome to Arch


Don't be a HELP VAMPIRE. Please search before you ask.

Subscribe to The Arch Daily News.

Offline

#3 2009-03-16 14:44:28

vacant
Member
From: downstairs
Registered: 2004-11-05
Posts: 816

Re: [SOLVED] Dual boot Arch [Using existing grub (Ubuntu)]

I've been using Arch for years and put archX64 on my new laptop in January. I'd thought I'd try kubuntu on a spare partition but the new grub couldn't boot Arch on ext4 filesystem. That may have changed.

Offline

#4 2009-03-16 15:06:08

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,549

Re: [SOLVED] Dual boot Arch [Using existing grub (Ubuntu)]

You could use Grub2 in Kubuntu, or a patched-with-ext4 Grub.

Personally, I just use one Grub for everything. It's a bit complex, and Arch doesn't handle it correctly yet, but I have a single /boot partition with subdirectories for each distro. I'll mount that partition to /mnt/boot in all distros, and I'll create a symlink from /mnt/boot/distroname to /boot on all the distros' root filesystems. Then I'll just use Arch's Grub to chainload the other distros. Or something...

Last edited by Ranguvar (2009-03-16 15:06:48)

Offline

#5 2009-03-16 15:15:42

vlearner
Member
Registered: 2009-03-16
Posts: 52

Re: [SOLVED] Dual boot Arch [Using existing grub (Ubuntu)]

thanks alot guys, i just made it big_smile big_smile. omg!!! Arch s really cool smile


I LOVE archlinux

Offline

#6 2009-03-16 22:59:12

perbh
Member
From: Republic of Texas
Registered: 2005-03-04
Posts: 765

Re: [SOLVED] Dual boot Arch [Using existing grub (Ubuntu)]

@Ranguvar:

he he - great minds think alike!!
I use almost _exactly_ the same - the only difference being that I never mount it unless there is a kernel upgrade.
I let the distro happily update its /boot (but mounts the sucker first):
mount /mnt/boot  # in /etc/fstab but with the 'noauto'-switch
pacman -Syu
cp /boot/*26* /mnt/boot/archlinux

Nice to see someone else doing (almost) the same.
I've been snookered a couple of times by not realizing there's a kernel upgrade and my /mnt/boot being on ext2 which is a module - I have to use  a live cd to do the copying (because the 'new' /lib/modules/2.6.28-ARCH does not have the same ext2 as the running kernel - bummers!)

Last edited by perbh (2009-03-16 23:01:11)

Offline

Board footer

Powered by FluxBB