LVM and lilo and kernel 2.6.8
Hi List!
I have a system running sarge with 2
SATA - disks configured with lvm.
I installed kernel-image 2.6.8-1-686
and everything worked fine. But now I need to start my old kernel (2.4.27
that is), which still resides in my /boot - partition.
My / is a partition on lvm, which works
very well.
So I decided to change my lilo.conf
and just write the new config into the mbr.
But when I change /etc/lilo.conf and
type lilo -t I get:
Fatal: open /dev/hdc: No such device
or address
So I had a look at my mounted partitions:
/dev/mapper/vg1-lv1 on / type xfs (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
tmpfs on /dev/shm type tmpfs (rw)
/dev/mapper/vg1-lv2 on /domino type
xfs (rw)
usbfs on /proc/bus/usb type usbfs (rw)
I decided to tell lilo to use /dev/mapper/vg1-lv1
as shown above by using -b, but all I get is the following:
lilo -t -b /dev/mapper/vg1-lv1
Ignoring entry 'boot'
Warning: '/proc/partitions' does not
match '/dev' directory structure.
Name change: '/dev/dm-0'
-> '/dev/fd/5'
Fatal: Filesystem would be destroyed
by LILO boot sector: /dev/mapper/vg1-lv1
therefor I tried:
lilo -t -b /dev/vg1/lv1
with the following results...
Ignoring entry 'boot'
Warning: '/proc/partitions' does not
match '/dev' directory structure.
Name change: '/dev/dm-0'
-> '/dev/fd/5'
Fatal: Filesystem would be destroyed
by LILO boot sector: /dev/vg1/lv1
my /proc/partitions says:
major minor #blocks name
8 0
78150744 sda
8 1
1951866 sda1
8 2
76196295 sda2
8 16
78150744 sdb
8 17
1951866 sdb1
8 18
76196295 sdb2
254 0 52428800
dm-0
254 1 41943040
dm-1
Which is quite strange, as I do not
have any sdX - Devices. At least I did not have any as long as I used 2.4.27!
So isn't it possible to use lilo with
2.6.8 or what do I have to do to make it work correctly?
Thanks in advance!!!
Andy
----------------------------------------------------------------------------
| Andreas Sumper
| Administration / Services / IT Security
| nimbus Development IT Consulting GmbH
| we unleash the power of domino
|
| Annenstrasse 30/1
| 8020 Graz
| Tel.: +43 (0) 316 714 255 -> DW 18
| Fax: +43 (0) 316 714 255 -> DW 4
| http://www.nimbus.at/
----------------------------------------------------------------------------
| sent through Lotus Notes 6.5.1
| using wine on a linux box
Reply to: