creating a bootdisk without using a floppy

Fernando Arbeiza arbeizaf at ono.com
Mon Oct 8 23:41:10 PDT 2001


On Tue 09 Oct 2001 01:03, Chris Lingard wrote:

> Hello again.
>
> Yes.  You have to fool the CD to think its a floppy.  You should have used
> my package :-)
>
> What you need to do is to modify your lilo.conf stuff to something like:
>
> cat > $TOPDIR/lilo.conf <<EOF
> disk=/dev/loop1
> bios=0x00 # bios ID from drive A, we need that here because lilo
> # need to know which boot device to use
> sectors=36 # 2.88MB disk geometry
> heads=2
> cylinders=80
> timeout=30
>
>  boot=/dev/loop1
>  message=/mnt/loop1/boot/boot.msg
>  install=/mnt/loop1/boot/boot.b
>  map=/mnt/loop1/boot/map
>
> But then you will need to put a 2.88 Mb image on the CD; your
> kernel/RAMDISK will have to be put into this image
>
> Then, when you burn the CD you tell mkisofs
>
> echo -n "Creating the CD iso image, $TOPDIR/bootcd.iso... "
> mkisofs -b boot/boot.img -c boot.catalog \
>                -o $TOPDIR/bootcd.iso \
>                -J -r -T \
>                -p "chris at stockwith.co.uk" \
>                -P "Chris Lingard" \
>                -A "LFS Disk" \
>                .
> Where boot/boot.img is the 2.88mB floppy
>
> Chris

Thanks a lot (again). I'm going to try it right now.

> > Fernando Arbeiza,
> > Cantabria, Spain
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe blfs-support' in the subject header of the message



More information about the blfs-support mailing list