public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* Request: examples of using LILO or GRUB to boot from DOC
@ 2000-07-26 19:25 Christian Lademann
  2000-07-26 20:18 ` Karl Pitrich
  0 siblings, 1 reply; 4+ messages in thread
From: Christian Lademann @ 2000-07-26 19:25 UTC (permalink / raw)
  To: mtd

I am trying hard to get a 4Mb DoC to boot something else but MS-DOS.
Could somebody please mail me her/his lilo-
or grub-configuration?
Is there currently a working way to boot Linux from a DOC using free
software, anyhow?

cu, Christian.

--
*  Christian A. Lademann, ZLS Software GmbH               mailto:cal@zls.de
*  ZLS Software GmbH
*  Frankfurter Strasse 59       Postfach 1628             mailto:zls@zls.de
*  D-65779 Kelkheim             D-65766 Kelkheim          http://www.zls.de
*  Telefon +49-6195-9902-0      Telefax +49-6195-900600
*  Geschäftsführer John A. Shuter     -     Amtsgericht Königstein HRB 3105





To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org

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

* Re: Request: examples of using LILO or GRUB to boot from DOC
  2000-07-26 19:25 Request: examples of using LILO or GRUB to boot from DOC Christian Lademann
@ 2000-07-26 20:18 ` Karl Pitrich
  2000-07-27  8:03   ` Dvir Oren
  2000-07-27 16:21   ` Christian Lademann
  0 siblings, 2 replies; 4+ messages in thread
From: Karl Pitrich @ 2000-07-26 20:18 UTC (permalink / raw)
  To: Christian Lademann; +Cc: mtd

Christian Lademann wrote:
> 
> I am trying hard to get a 4Mb DoC to boot something else but MS-DOS.
> Could somebody please mail me her/his lilo-
> or grub-configuration?
> Is there currently a working way to boot Linux from a DOC using free
> software, anyhow?

lilo works, use the patched one from the mtd package.
for a stable system it is recomended to use the DoC driver provided by
m-system, i guess.


Installation goes like this:

- mount the DoC to /mnt/doc.
- put a kernel with according driver in /mnt/doc/boot/, name it kernel;
- copy the boot.b from the mtd package to /mnt/doc/boot/
- change the rootdevice of the kernel with 'rdev /dev/fla1
/mnt/doc/boot/kernel'

- Generate /root/lilo-doc.conf similar to the following:

	boot=/dev/fla
	vga = normal  
	read-only
	prompt
	timeout=50
	image = /mnt/doc/boot/kernel
	root = /dev/fla1
	label = linux


- install lilo with
	lilo-mtd -C /root/lilo-doc.conf -I /mnt/doc/boot/boot.b -m
/mnt/doc/boot/map


-reboot

Note:
dunno about a small DoC, but on a 16mb you will need a extra boot
partition with ie. 1MB,
because otherwise lilo will see too much cylinders (>1024) and therefore
can't be installed.
if you do this, surely change /dev/fla1 to /dev/fla2, because /dev/fla1
just holds the kernel.



-- 
Best regards, Karl Pitrich. icq #81091001

pitrich information technologies
linuxsoftwareinternetworkcommunication!
hauptstraße 16-18 | 4040 linz | austria 
voice: +43 70 718884 | support: 0900 970 710 (.at only)
--
 Microsoft is prohibited from distributing this work in any form, in
 whole or in part, across any medium. Licenses for distribution are 
 available to Microsoft for $500. Posting without permission constitutes
 an agreement to these terms.


To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org

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

* Re: Request: examples of using LILO or GRUB to boot from DOC
  2000-07-26 20:18 ` Karl Pitrich
@ 2000-07-27  8:03   ` Dvir Oren
  2000-07-27 16:21   ` Christian Lademann
  1 sibling, 0 replies; 4+ messages in thread
From: Dvir Oren @ 2000-07-27  8:03 UTC (permalink / raw)
  To: MTD

Karl Pitrich writes ("Re: Request: examples of using LILO or GRUB to boot from DOC"):

> - Generate /root/lilo-doc.conf similar to the following:
> 
> 	boot=/dev/fla
> 	vga = normal  
> 	read-only
> 	prompt
> 	timeout=50
> 	image = /mnt/doc/boot/kernel
> 	root = /dev/fla1
> 	label = linux

You might also want to add a boot = /mnt/doc/boot/boot, and map =
/mnt/doc/boot/map instead of passing them in the command line.

One important thing to remember is that you MUST pass these parameters 
from the mounted flash, and not from copies in your hard disk,
otherwise LILO won't work.

-- 
Dvir Oren               <dviro@lucidvon.com>
Lucid VON Ltd.     <http://www.lucidvon.com>
9 Saloniki St.,        Tel-Aviv       Israel
Tel:  +972 3 644 3038  Fax:  +972 3 644 3039


To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org

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

* Re: Request: examples of using LILO or GRUB to boot from DOC
  2000-07-26 20:18 ` Karl Pitrich
  2000-07-27  8:03   ` Dvir Oren
@ 2000-07-27 16:21   ` Christian Lademann
  1 sibling, 0 replies; 4+ messages in thread
From: Christian Lademann @ 2000-07-27 16:21 UTC (permalink / raw)
  To: Karl Pitrich; +Cc: mtd

Thank you for your helping hand. It worked with the "DOC123.EXB"-firmware

installed and the /dev/nftla1 being the FAT12-fs created by dformat.

Repartitioning the nftla worked as well but no success booting anymore.

Using the M-Systems-driver, /dev/fla* and plilo repartitioning and

booting works well.

cu, Christian.

PS: where do I find a 'as86' that is able to compile lilo? The current

bin86-release found on metalab.unc.edu does not do the job.

--
*  Christian A. Lademann, ZLS Software GmbH               mailto:cal@zls.de
*  ZLS Software GmbH
*  Frankfurter Strasse 59       Postfach 1628             mailto:zls@zls.de
*  D-65779 Kelkheim             D-65766 Kelkheim          http://www.zls.de
*  Telefon +49-6195-9902-0      Telefax +49-6195-900600
*  Geschäftsführer John A. Shuter     -     Amtsgericht Königstein HRB 3105





To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org

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

end of thread, other threads:[~2000-07-27 16:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-07-26 19:25 Request: examples of using LILO or GRUB to boot from DOC Christian Lademann
2000-07-26 20:18 ` Karl Pitrich
2000-07-27  8:03   ` Dvir Oren
2000-07-27 16:21   ` Christian Lademann

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