public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Karl Pitrich <pit@linuxaustria.at>
To: Christian Lademann <cal@zls.de>
Cc: mtd@infradead.org
Subject: Re: Request: examples of using LILO or GRUB to boot from DOC
Date: Wed, 26 Jul 2000 22:18:00 +0200	[thread overview]
Message-ID: <397F46EF.417AD6CE@linuxaustria.at> (raw)
In-Reply-To: 397F3B15.D420B9AF@zls.de

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

  reply	other threads:[~2000-07-26 20:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2000-07-27  8:03   ` Dvir Oren
2000-07-27 16:21   ` Christian Lademann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=397F46EF.417AD6CE@linuxaustria.at \
    --to=pit@linuxaustria.at \
    --cc=cal@zls.de \
    --cc=mtd@infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox