public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* problem with lilo
@ 2001-07-14  5:41 dhammika
  2001-07-16 10:30 ` David Woodhouse
  0 siblings, 1 reply; 2+ messages in thread
From: dhammika @ 2001-07-14  5:41 UTC (permalink / raw)
  To: linux-mtd, david woodhouse

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: problem with lilo
  2001-07-14  5:41 problem with lilo dhammika
@ 2001-07-16 10:30 ` David Woodhouse
  0 siblings, 0 replies; 2+ messages in thread
From: David Woodhouse @ 2001-07-16 10:30 UTC (permalink / raw)
  To: dhammika; +Cc: linux-mtd

dpathirana@sri.crossvue.com 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-07-16 10:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-14  5:41 problem with lilo dhammika
2001-07-16 10:30 ` David Woodhouse

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox