Opened 23 years ago

Closed 22 years ago

Last modified 16 years ago

#3 closed defect (fixed)

creating a custom bootdisk

Reported by: markh@… Owned by: thaz@…
Priority: normal Milestone:
Component: BOOK Version: ~CVS
Severity: normal Keywords:
Cc:

Description

Relevant file is BLFS/part2/chapter2a/bootdisk.xml

Basically this is so people can create a bookdisk for when they sod up their system by forgetting to run lilo or something

Attachments (2)

bootdisk.xml (5.4 KB ) - added by mike@… 22 years ago.
Bootdisk howto
bootdisk.2.xml (5.4 KB ) - added by mike@… 22 years ago.
Bootdisk howto

Download all attachments as: .zip

Change History (8)

comment:1 by thaz@…, 23 years ago

Owner: changed from blfs-book@… to thaz@…
Status: newassigned

2 ways I know to do this, dd if={kernel image} of=/dev/fd0 or lilo -b /dev/fd0 Are we looking for linux on a floppy here, or just a boot disk?

comment:2 by thaz@…, 23 years ago

Resolution: fixed
Status: assignedclosed

Here it is, not sure which way we want to go here, I've used all of these successfully. Last one may be the most failsafe, as it uses a lilo.conf that already works, and just changes a few things.

Boot disk instructions

To make a boot disk with kernel on floppy - loads slower - better chance of booting failed system. Type dd if=vmlinuz of=/dev/fd0 <enter> Type rdev /dev/fd0 /dev/hdax<enter> note: where x is the "/" root partition number

To make a boot floppy with kernel on hard drive lilo -b /dev/fd0

get mkbootdisk script - better to work around 'customized' lfs systems

download http://rpmfind.net/linux/Kondara/Jirai/SOURCES/mkbootdisk-1.2.8.tar.gz su to root make

To create floppy type mkbootdisk --device=/dev/fd0 lfskernel

The way I've done it is as follows:

fdformat /dev/fd0H1440 mkfs.ext2 /dev/fd0 mount -t ext2 /dev/fd0 /mnt

cp -dp /boot/* /mnt

Copy /etc/lilo.conf /mnt/lilo.conf Change the boot=/dev/hda(or whichever device you have) to read boot=/dev/fd0

Make the floppy bootable with: /sbin/lilo -C /mnt/lilo.conf

umount /mnt

comment:3 by markh@…, 23 years ago

Resolution: fixed
Status: closedreopened

This needs actually putting into the book.

comment:4 by markh@…, 22 years ago

Milestone: 1.0

by mike@…, 22 years ago

Attachment: bootdisk.xml added

Bootdisk howto

by mike@…, 22 years ago

Attachment: bootdisk.2.xml added

Bootdisk howto

comment:5 by larry@…, 22 years ago

Resolution: fixed
Status: reopenedclosed

comment:6 by (none), 16 years ago

Milestone: 1.0

Milestone 1.0 deleted

Note: See TracTickets for help on using tickets.