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

Re: Problems creating a boot floppy -- w/ lilo



hi ya nick

if you wanna boot different kernels.. just add the stanza for each kernel

if you wanna make a boot floppy:
	dd that kernel to the floppy  ( don't have single user mode )
 	-or-
	lilo to the floppy ( sometimes works and have single user mode )

before playing .. make sure you can boot from floppy ... so that you
can recover if anything goes wrong

c ya
alvin

#
# dd way
#
dd if=/boot/vmlinuz-2.x.y  of=/dev/fd0 bs=1024 

#
# lilo way  -- uncomment boot for desired boot media
#	
# boot from hd --
# 	 re-lilo this after all done to make sure you can boot from hd
boot=/dev/hda
#
# boot from floppy  ( uncomment boot= and run lilo as normal  )
# boot=/dev/fd0

....

# ide
image=/boot/vmlinuz-2.4.xx
  root=/dev/hdaxx
  label=linux-2.4.xx
  ...

# scsi
image=/boot/vmlinuz-2.4.yy
  root=/dev/sdaxx
  initrd=/boot/initrd.gz
  label=linux-2.4.yy
  ..

image=/boot/vmlinuz-2.4.zz
  label=linux-2.4.zz
  ...


On Mon, 26 Nov 2001, Ian Monroe wrote:

> Not an answer to your problem, but another way to do what you're trying to
> do is to simply install lilo or grub on a floppy disk. You could then use
> a kernel off the hard drive (like you would if it was installed on the
> MBR.)
> 
> Ian Monroe
> http://mlug.missouri.edu/~eean/
> 
> On Mon, 26 Nov 2001, Nick Dodd wrote:
> 
> > Hi
> > 
> > I've been having problems booting Debian from floppy. 
> > 
> > The reason I boot from floppy is that I have 2 hard disks on my PC:
> > Windows lives on the first, and linux on the second, with my root 
> > partition on  /dev/sdb1. 
> > 
> > I installed Debian from CD, and this created a boot floppy
> > pretty straightforwardly, which has always worked. However, 
> > I'd like to recompile the kernel and install it on a new
> > floppy.
> > 
> [snip]
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 



Reply to: