Re: The biggest linux question of the month.
From: Trog Woolley (trog_at_email.fake)
Date: 07/14/03
- Next message: anc: "Re: The biggest linux question of the month."
- Previous message: Max Bernaert: "Re: Printerport not detected on Suse 8.2"
- In reply to: Sojourner: "Re: The biggest linux question of the month."
- Next in thread: Martin Tessun: "Re: The biggest linux question of the month."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 14 Jul 2003 08:14:52 +0000 (UTC)
While stranded on the hard shoulder of the information super highway Sojourner!SEVEN!@cox.net typed:
>
> I'm talking about making one when you CAN"T boot into suse.
>
>
> ...from a command line or something in init 3....like that
>
If you've reached runlevel 3 you have can get into suse.
So, from the command line :-
fdformat /dev/fd0h1440 # formats the floppy disk
dd if=/boot/vmlinuz of=/dev/fd0 # writes the kernel to the floppy disk
rdev /dev/fd0 /dev/sdb1 # Instead of /dev/sdb1, specify your root
rdev -R /dev/fd0 1 # mount root file system readonly
or to create a boot floppy with LILO
fdformat /dev/fd0h1440 # format the floppy disk
/sbin/mkfs.minix /dev/fd0 1440 # creates minix file system
/bin/mount /dev/fd0 /mnt # mount to /mnt
cd /mnt # create three directories on floppy
mkdir etc dev boot
cp -a /boot/vmlinuz /boot/initrd /boot/*.b boot/ # copy kernel
copy device files with something like; you really only should
copy the files for devices that you have
cp -a /dev/fd* /dev/null /dev/zero /dev/hd[abcd]* /dev/sd[abcd]* dev/
Create the necessary etc/lilo.conf on the floppy disk, eg
# LILO configuration file
# Start LILO global Section
initrd=/boot/initrd
boot=/dev/fd0
#compact # faster, but won't work on all systems.
vga=normal
read-only
prompt
timeout=100
# End LILO global Section
#
image = /boot/vmlinuz
root = /dev/sdb1 # or whatever you're using as root device
label = lx
Install LILO to the floppy disk with the following command
lilo -r /mnt
The output should be just one line: Added lx*.
unmount floppy with cd / ; umount /mnt
all this info blatently stolen from :-
/usr/share/doc/sdb/en/html/kgw-bootdisketten.html
-- Trog Woolley | trog at trogwoolley dot com (A Croweater back residing in Pommie Land with Linux) Isis Astarte Diana Hecate Demeter Kali Inanna
- Next message: anc: "Re: The biggest linux question of the month."
- Previous message: Max Bernaert: "Re: Printerport not detected on Suse 8.2"
- In reply to: Sojourner: "Re: The biggest linux question of the month."
- Next in thread: Martin Tessun: "Re: The biggest linux question of the month."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|