help changing from lilo to grub
Lennart Sorensen
lsorense-1wCw9BSqJbv44Nm34jS7GywD8/FfD2ys at public.gmane.org
Fri Feb 29 21:36:09 UTC 2008
On Fri, Feb 29, 2008 at 09:01:54AM -0500, Neil Watson wrote:
> I've started training myself in Xen. So far I've discovered that my
> boot loader, Lilo, does not appear to like the Xen kernel. I decided to
> switch to Grub. Grub and I have some baggage together and we still have
> conflict. I tried to setup grub and install it to the MBR. Grub would
> launch at boot but claim that it could not find the file system.
> Perhaps some here can help me out:
>
> #LILO.CONF
> menu-scheme=Wb
> boot = /dev/hdb
> prompt
> map = /boot/System.map
> lba32
> timeout=150
> delay = 50
> vga = normal # Normal VGA console
> default = sedebian
>
> # End LILO global section
> # Linux bootable partition config begins
>
> image = /boot/vmlinuz
> append = " selinux=1"
> initrd = /boot/initrd.img
> root = /dev/hdb1
> label = sedebian
> read-only
>
> #GRUB MENU.LST
> default 0
> timeout 5
> color cyan/blue white/blue
>
> title Debian GNU/Linux, kernel 2.6.22-1-686 Default
> root (hd1,0)
> kernel /boot/vmlinuz root=/dev/hdb1 ro
> initrd /boot/initrd.img
>
> title Debian GNU/Linux, kernel 2.6.22-1-686 (single-user mode)
> root (hd1,0)
> kernel /boot/vmlinuz root=/dev/hdb1 ro single
> initrd /boot/initrd.img
>
> title Debian Xen
> root (hd1,0)
> kernel /boot/vmlinuz-2.6.24-1-xen-686 root=/dev/hdb1 ro
> initd /boot/initrd.img-2.6.24-1-xen-686
>
> title Debian Xen (single-user mode)
> root (hd1,0)
> kernel /boot/vmlinuz-2.6.24-1-xen-686 root=/dev/hdb1 ro single
> initd /boot/initrd.img-2.6.24-1-xen-686
> #EOF
>
> I ran 'grub-install hd1' and no errors were reported. The directory
> /boot/grub contains:
>
> total 244
> -rw-r--r--+ 1 root root 197 2008-02-29 08:17 default
> -rw-r--r--+ 1 root root 45 2008-02-28 15:04 device.map
> -rw-r--r--+ 1 root root 7620 2008-02-29 08:17 e2fs_stage1_5
> -rw-r--r--+ 1 root root 7456 2008-02-29 08:17 fat_stage1_5
> -rw-r--r--+ 1 root root 8172 2008-02-29 08:17 jfs_stage1_5
> -rw-r--r--+ 1 root root 4160 2008-02-28 15:11 menu.lst
> -rw-r--r--+ 1 root root 4201 2008-02-28 15:02 menu.lst~
> -rw-r--r--+ 1 root root 6892 2008-02-29 08:17 minix_stage1_5
> -rw-r--r--+ 1 root root 9200 2008-02-29 08:17 reiserfs_stage1_5
> -rw-r--r--+ 1 root root 512 2008-02-29 08:17 stage1
> -rw-r--r--+ 1 root root 107588 2008-02-29 08:17 stage2
> -rw-r--r--+ 1 root root 8852 2008-02-29 08:17 xfs_stage1_5
What is in device.map?
What is hda?
I am more used to installing linux from linux by doing
grub-install /dev/sda (or similar) instead.
Who deals with jumping to boot to the second HD to start grub?
--
Len Sorensen
--
The Toronto Linux Users Group. Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists
More information about the Legacy
mailing list