[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: putting a kernel onto a floppy (w/out kpkg...)



On Mon, Mar 25, 2002 at 02:00:46PM -0800, Alvin Oga wrote:
> 
> hi ya hans
> 
> hummm... i do the simple dumb way....
> 
> # vi /etc/lilo.conf
> 	# change the boot option
> 	#
> 	# boot=/dev/hda
> 	boot=/dev/fd0
> 	#
> 	...
> # lilo
> and reset it back to hda and rerun lilo for good measure
> 
> that lilo'd floppy sometimes boots..sometimes not.. seems
> to be hardware dependent ?? ( didnt go figure out why it fails )

This places lilo on the boot sector of the floppy, but the kernel
still resides on the harddisk. It will fail if the kernel on the
harddisk is moved, replaced or damaged. If you have another OS or
bootloader on the harddisk that you don't want to tamper with, the
above offers an easy way to give lilo the first chance to boot. But as
a backup option, it is not very useful.

> if it does fail...  as was said earlier
> 	dd if=/boot/vmlinuz-2.xxxx  of=/dev/fdo bs=1024
> 	rdev /dev/fd0 /dev/hda1   (or wherever / is located )

For backup (recovery) purposes, rdev is probably the best tool. Lilo
can also do it (a little tricker though, but offers more flexibility).

-- 
Note that I use Debian version 3.0
Linux emac140 2.4.17 #1 sön feb 10 20:21:22 CET 2002 i686 unknown

Hans Ekbrand

Attachment: pgpg_cPemqEkR.pgp
Description: PGP signature


Reply to: