help changing from lilo to grub

Neil Watson tlug-neil-8agRmHhQ+n2CxnSzwYWP7Q at public.gmane.org
Fri Feb 29 14:01:54 UTC 2008


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

-- 
Neil Watson
System Administrator for hire 
http://watson-wilson.ca
--
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