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

hello,

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

what i did,
        got the mtd-lilo patches from earlier list
posting,                                     
	(http://lists.infradead.org/pipermail/linux-mtd/2001-April/000049.html)
	build mtd-lilo
        ./mtd-lilo -v -C /etc/lilo.conf -i /boot/mtd.b -c /boot/map.b

now mtd-lilo runs ok, 

	Reading boot sector from /dev/nftla1
	Merging with /boot/mtd.b
	Mapping message file /boot/message
	Boot image: /boot/vmlinuz
Added linux *
	Boot other: /dev/fd0, loader /boot/chain.b
	Pseudo partition start: 0
	Added floppy
	/boot/boot.5D01 exists - no backup copy made.
	Writing boot sector.

and my lilo.conf looks like, 
	boot=/dev/nftla1
	map=/boot/map.b
	install=/boot/mtd.b
	prompt 
	timeout=50
	message=/boot/message
	image=/boot/vmlinuz
		label=linux
		root=/dev/nftla1
		read-only
	other=/dev/fd0
		label=floppy
		unsafe	

but when i try to boot with lilo nothing comes up, any ideas??

thanks 

dhammika

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

* Re: mtd lilo
  2001-08-06  2:32 mtd lilo dhammika
@ 2001-08-07 10:11 ` David Woodhouse
  2001-08-07 11:57   ` dhammika
  0 siblings, 1 reply; 5+ messages in thread
From: David Woodhouse @ 2001-08-07 10:11 UTC (permalink / raw)
  To: dhammika; +Cc: linux-mtd


dpathirana@sri.crossvue.com said:
>  but when i try to boot with lilo nothing comes up, any ideas??

Odd. LILO doesn't start at all? Not even 'LI'?

Does the DiskOnChip BIOS still work, or did you delete it with nftl_format?

--
dwmw2

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

* Re: mtd lilo
  2001-08-07 10:11 ` David Woodhouse
@ 2001-08-07 11:57   ` dhammika
  2001-08-07 13:14     ` David Woodhouse
  0 siblings, 1 reply; 5+ messages in thread
From: dhammika @ 2001-08-07 11:57 UTC (permalink / raw)
  To: David Woodhouse, linux-mtd

David Woodhouse wrote:
> 
> dpathirana@sri.crossvue.com said:
> >  but when i try to boot with lilo nothing comes up, any ideas??
> 
> Odd. LILO doesn't start at all? Not even 'LI'?
> 
> Does the DiskOnChip BIOS still work, or did you delete it with nftl_format?
> 

I formatted it with the nftl_format, how does this affect lilo??
How can I figure out if it's still there??

thanks

dhammika

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

* Re: mtd lilo
  2001-08-07 11:57   ` dhammika
@ 2001-08-07 13:14     ` David Woodhouse
  2001-08-07 18:15       ` Tim Riker
  0 siblings, 1 reply; 5+ messages in thread
From: David Woodhouse @ 2001-08-07 13:14 UTC (permalink / raw)
  To: dhammika; +Cc: linux-mtd

dpathirana@sri.crossvue.com said:
>  I formatted it with the nftl_format, how does this affect lilo?? How
> can I figure out if it's still there?? 

You probably removed the BIOS completely then. You can't use LILO without a 
BIOS to provide INT 13h functionality.

Reformat the DiskOnChip with the DFORMAT utility, and you should get the 
BIOS back. You shouldn't need to use nftl_format - I'm severely tempted to 
remove it from CVS.

--
dwmw2

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

* Re: mtd lilo
  2001-08-07 13:14     ` David Woodhouse
@ 2001-08-07 18:15       ` Tim Riker
  0 siblings, 0 replies; 5+ messages in thread
From: Tim Riker @ 2001-08-07 18:15 UTC (permalink / raw)
  To: David Woodhouse; +Cc: linux-mtd

hmmm.

Can the FAQ get updated?

ftp://ftp.uk.linux.org/pub/people/dwmw2/mtd/cvs/mtd/mtd-jffs-HOWTO.txt

The DOC section says to use nftl_format

David Woodhouse wrote:
> 
> dpathirana@sri.crossvue.com said:
> >  I formatted it with the nftl_format, how does this affect lilo?? How
> > can I figure out if it's still there??
> 
> You probably removed the BIOS completely then. You can't use LILO without a
> BIOS to provide INT 13h functionality.
> 
> Reformat the DiskOnChip with the DFORMAT utility, and you should get the
> BIOS back. You shouldn't need to use nftl_format - I'm severely tempted to
> remove it from CVS.
> 
> --
> dwmw2
> 
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/

-- 
Tim Riker - http://rikers.org/ - short SIGs! <g>
All I need to know I could have learned in Kindergarten
... if I'd just been paying attention.

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

end of thread, other threads:[~2001-08-07 18:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-06  2:32 mtd lilo dhammika
2001-08-07 10:11 ` David Woodhouse
2001-08-07 11:57   ` dhammika
2001-08-07 13:14     ` David Woodhouse
2001-08-07 18:15       ` Tim Riker

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