problem with lilo

dhammika dpathirana at sri.crossvue.com
Sat Jul 14 01:41:49 EDT 2001


hi, 

i'm trying to boot from a 32MB DOC. but am having trouble with mtd-lilo.
here's my setup, 
	133Mhz Advantech Biscuit PC (486 SBC),
	32MB Millennium 2000 DOC,
	2.4.6 kernel

here's what i did,
	got the mtd-lilo patches from earlier list posting, 					
(http://lists.infradead.org/pipermail/linux-mtd/2001-April/000049.html)
	tar -xvzf lilo_21.7.orig.tar.gz
    	cd lilo_21.7
        cat lilo_21.7-1.diff | patch -p1
        cat mtd-lilo-21.7-1.patch | patch -p1
        make all
	copied mtd-menu.b, mtd-text.b and bootsect.b to /boot
	and map.b link to point to mtd-menu.b
	./mtd-lilo -v -C /etc/lilo.conf -i /boot/bootsect.b -c /boot/map.b

and my lilo.conf looks like this,
	boot=/dev/nftla1
	map=/boot/map.b
	install=/boot/bootsect.b
	vga=0x0f05
	default=linux
	keytable=/boot/us.klt
	prompt 
	timeout=50
	message=/boot/message
	image=/boot/vmlinuz
		label=linux
		root=/dev/nftla1
		read-only
	other=/dev/fd0
		label=floppy
		unsafe
	
but i get the following error, 
	Reading boot sector from /dev/nftla1
	Merging with /boot/bootsect.b
	Fatal: First boot sector is version 20.0. Expecting version 21.7.

any ideas??

tia

dhammika




More information about the linux-mtd mailing list