Skip to contentSkip to conversation

mtd lilo

DISCUSSION dhammika 3 participants 5 messages Aug 6, 2001 – Aug 7, 2001 Memory technology devices (MTD)

lore
Share & tools
lore

dhammika

author
#0 lore raw

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

#1 lore raw
Quoted 1 line · [email protected] 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

author
#2 lore raw
Quoted 8 lines · David Woodhouse
Quoted 1 line · [email protected] 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

#3 lore raw
Quoted 2 lines · [email protected] 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

#4 lore raw

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

Quoted 18 lines · David Woodhouse
Quoted 2 lines · [email protected] 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/

Signature · 3 lines
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.