Skip to contentSkip to conversation

problem with lilo

DISCUSSION dhammika 2 participants 2 messages Jul 14, 2001 – Jul 16, 2001 Memory technology devices (MTD)

lore
Share & tools
lore

dhammika

author
#0 lore raw

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

#1 lore raw
Quoted 3 lines · [email protected] said:

Reading boot sector from /dev/nftla1
Merging with /boot/bootsect.b
Fatal: First boot sector is version 20.0. Expecting version 21.7.

The file /boot/bootsect.b appears to be from a different version of LILO.

--
dwmw2