You are not logged in.

#1 2009-07-12 13:18:00

pythonscript
Member
From: Edinburgh, Scotland
Registered: 2009-07-10
Posts: 68

Manually creating grub entry for arch

I just installed arch on a separate partition from my current ubuntu installation, and I already have grub installed on a separate 8 mb partition at the start of my disk. What would the entry in menu.lst be? I don't think I need to reinstall grub; I should just be able to add a new entry to my pre-existing installation, right? This is what I have so far:

title                Arch Linux
root               (hd0,7)

I installed arch on /dev/sda8, but I don't know what to put after that. Thanks!


Lenovo SL510 Thinkpad / Asus EEEPC 1005HA
No hables a menos que puedas mejorar el silencio. - Neruda
La sabiduría nos llega cuando ya no nos sirve de nada. - Márquez

Offline

#2 2009-07-12 13:21:52

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: Manually creating grub entry for arch

you don't need to reinstall grub. have a look at http://wiki.archlinux.org/index.php/Beg … Bootloader to set up menu.lst

Offline

#3 2009-07-12 16:09:21

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

Re: Manually creating grub entry for arch

My setup is very much like your setup; here is my menu.lst and /boot/grub/more.lst which you can adapt to your setup.  Having a manually managed grub is the way to go!

$ cat /mnt/grub/menu.lst
timeout   5
default   0
color light-blue/black light-cyan/blue
splashimage /grub/arch.xpm.gz

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

title           Windows XP Professional x64 Edition
root            (hd0,0)
makeactive
chainloader     +1

title        Shutdown Computer
halt

title More Options...
root        (hd0,7)
configfile    /grub/more.lst

And...

$ cat /mnt/grub/more.lst 
timeout         5
default         0
color light-blue/blue black/light-grey
splashimage /grub/arch.xpm.gz

title << Back to Main Menu
configfile    /grub/menu.lst

title   Arch Linux Native GRUB screen
root    (hd0,1)
chainloader +1

title   GParted live 0.4.5-3 (03-Jun-2009)
root    (hd0,7)
kernel  /live/vmlinuz1 toram boot=live union=aufs noswap noprompt vga=788 ip=frommedia
initrd  /live/initrd1.img
boot

title   Memtest86+ v2.11 (22-Dec-2008)
root            (hd0,7)
kernel          /memtest86.bin

Last edited by graysky (2009-07-12 16:10:53)


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

Offline

Board footer

Powered by FluxBB