Re: The biggest linux question of the month.

From: Trog Woolley (trog_at_email.fake)
Date: 07/14/03


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


Relevant Pages

  • Re: Dual Boot with Suse 9.1 and Windows XP Pro
    ... > Windows from the boot screen nothing happens. ... > during the installation process. ... The easiest way out of this is to first boot into SuSe, ... your floppy disk, ...
    (alt.os.linux.suse)
  • Re: "kernel panic" -- any help/ideas?
    ... > drive and now Suse does not boot from LILO although I ... > tried adding it to the lilo menu during the Mandrake install). ...
    (alt.linux)
  • Re: Urgent - I am new at this, and the Suse update function wants me to
    ... display this message if you are indeed running Lilo. ... It's a bit of a problem, basically the way Lilo works if you change the ... to do this can result in a system that is unable to boot. ... Trouble is that if you are running the default bootloader in SuSE of Grub, ...
    (alt.os.linux.suse)
  • Re: "kernel panic" -- any help/ideas?
    ... > drive and now Suse does not boot from LILO although I ... > tried adding it to the lilo menu during the Mandrake install). ...
    (alt.linux)
  • Re: Dual Boot with Suse 9.1 and Windows XP Pro
    ... >> Windows from the boot screen nothing happens. ... >> during the installation process. ... > The easiest way out of this is to first boot into SuSe, ... > your floppy disk, ...
    (alt.os.linux.suse)