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

Re: must.. surpress ... murderous rage.... (simple boot floppy qveshtion)



* Victor Stan (victor@argilent.com) [Mar 06. 2003 13:52]:

> Actually I WANT something that only does one thing with no options
> whatsoever, as long as it boots my new kernel that is all I care.

If you don't mind using syslinux, something along the lines of:

fdformat /dev/fd0
mkfs -t msdos /dev/fd0
(you might need mtools to get mkfs.msdos)
mkdir /floppy
mount -t msdos /dev/fd0 /floppy
cp /boot/vmlinuz-2.4.20 /floppy/linux
echo 'TIMEOUT 40' >> /floppy/syslinux.cfg
echo 'PROMPT 1' >> /floppy/syslinux.cfg
echo 'DEFAULT linux' >> /floppy/syslinux.cfg
echo 'APPEND root=/dev/hda7 ro' >> /floppy/syslinux.cfg
umount /floppy
syslinux /dev/fd0
reboot


YMMV (= man syslinux)

-- 
Brian Clark | Debian GNU/Linux: 3950 packages to keep you busy.
Fingerprint: 07CE FA37 8DF6 A109 8119 076B B5A2 E5FB E4D0 C7C8
Of all the things I've lost, I miss my mind the most



Reply to: