You are not logged in.

#1 2008-01-28 18:42:35

McZ
Member
Registered: 2008-01-24
Posts: 12

grub: menu.lst and separate /boot partition

so I want to use grub and a separate /boot partition for my new install. But I can't understand how to write in my menu.lst and how to install grub. Everything is already installed using lilo.

This is my /boot/grub/menu.lst

timeout   5
default   0
color light-blue/black light-cyan/blue

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

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

My partitions:

/dev/sda1 -> /boot
/dev/sda6 -> /

and then I run
grub-install --root-directory=/boot '(hd0)'

and then when I restart I get to grub's "bash" prompt, no menu to choose from.

Offline

#2 2008-01-28 20:31:42

schivmeister
Developer/TU
From: Singapore
Registered: 2007-05-17
Posts: 971
Website

Re: grub: menu.lst and separate /boot partition

--root-directory=DIR

grub-install copies GRUB images into the DIR/boot directory specfied by --root-directory ...

Last edited by schivmeister (2008-01-28 20:32:48)


I need real, proper pen and paper for this.

Offline

Board footer

Powered by FluxBB