Dear Tom,

I came accross a recent floppy linux. May-be There are elements that can
be used in tomsrtbt. It has a reduced 2.4.5 kernel. I do'nt like the
patch, but look at it.
I copy here the lsm-file: 
Begin3
Title:           RamFloppy
Version:         1.05
Entered-date:    31MAY2001
Description:     Small ram linux system for the purpose of system
booting
                 or repairing, a boot/rescue system.
                 You can put this system on a 1.44mb dos formatted
floppy
                 or cdrom disk, and or boot it from your dos/win9x
system.
                 You can also probably put it on a 1.44mb floppy in
                 a LS-120 drive and boot it.
                 It's more or less designed for non-networked stand-alone
                 home pc hard drive boot/rescue/backup!
                 It has large file support, you can use the programs
                 dd, mke2fs, mkdosfs, mkreiserfs, split, mount, tar,
                 gzip, and bzip2 for files larger than 2GB!
                 You can only have files larger than 2GB on a ext2/3 or
                 reiserfs partition.
                 It includes the fat16/32, ext2/3, and reiserfs
partition 
                 resizing programs 'parted, resize_reiserfs'.
                 It also includes the 'mc' file manager!
                 It has support for these filesystems.
                 ext2     <Linux filesystem, read-write>
                 iso9660  <Cdrom filesystem + joliet extensions,
read-only>
                 msdos    <Dos filesystem, read-write>
                 ntfs     <Windows NT filesystem, read-only>
                 reiserfs <Linux filesystem, read-write>
                 umsdos   <Linux dos filesystem, read-write>
                 ufs      <FreeBSD, NetBSD, OpenBSD, & Sun/Solaris
                           filesystems, read-write>
                 vfat     <Win9x filesystem fat16 and 32, read-write>
                 The kernel is version 2.4.5, it just has support
                 for IDE hard drives.
                 You need at least 8mb of ram and a 486dx cpu to boot it.
                 It's a rar archive you can extract it like this.
                 C:\ ramf-105.exe
                 # unrar x -cl ramf-105.exe "Using unrar or rar under
linux!"
                 zdisk-2.02.tar.gz at the site below has a similar
                 rescue system, except with zdisk you supply the
                 kernel, it then creates a boot/rescue floppy or
                 cdrom disk with the kernel of your choice.
Keywords:        Single Floppy Boot/Rescue System!
Author:          [EMAIL PROTECTED] (Kent Robotti)
Maintained-by:
Primary-site:    ftp://ibiblio.org/pub/Linux/system/recovery
Alternate-site:
Platforms:       Linux or dos/win system.
Copying-policy:  GPL
End


RamFloppy v1.05 ... (5-31-2001) Kent Robotti <[EMAIL PROTECTED]>
...

To put the rescue system on a floppy disk, do this.

C:\ramflop> mkrescue

The mkrescue.bat script will dos format the floppy if needed and do
this.

C:\ramflop> format a:
            copy syslinux\syslinux.cfg a:
            copy syslinux\message.txt a:
            copy kernel a:
            copy rescue.gz a:
            syslinux\syslinux.com a:

You can boot the floppy now!

You can extract ramf-105.exe on linux like this.

# unrar x -cl ramf-105.exe  or  rar x -cl ramf-105.exe
# cd ramflop

ramflop# chmod 755 mkrescue.sh 
       # ./mkrescue.sh -fd   "Create bootable 1.44mb floppy!"
       # ./mkrescue.sh -cd   "Create bootable cd image! (See below 
                             "Writing rescue.iso to a cd disk!").
                               
The mkrescue.sh script will format the floppy if needed and do this.

Use fdformat or superformat to format the floppy.

ramflop# superformat -f /dev/fd0u1440   "Could be fd0H1440 or fd0h1440
       # fdformat -n /dev/fd0u1440       on your system!"
       # mkdosfs /dev/fd0               "Or 'mformat a:'"
       # mount -t msdos /dev/fd0 /mnt/floppy
       # cp syslinux/syslinux.cfg /mnt/floppy
       # cp syslinux/message.txt /mnt/floppy
       # cp kernel /mnt/floppy
       # cp rescue.gz /mnt/floppy
       # syslinux/syslinux /dev/fd0
       # umount /mnt/floppy

You can boot the floppy now!

For the floppy to boot your bios must be set to boot from the
floppy drive first, this is usually the case.
.....
.....
#############################################################################

NOTE: The kernel was packed using upx v1.11 or later.

# upx --best kernel

It was 475kb, it's now 408kb.

             The Ultimate Packer for eXecutables
          Copyright (c) 1996, 1997, 1998, 1999, 2000
     Markus F.X.J. Oberhumer, Laszlo Molnar & John F. Reiser
        http://wildsau.idv.uni-linz.ac.at/mfx/upx.html
                    http://upx.tsx.org

NOTE: The kernel that comes with this system has kernel
      messages disabled to reduce it's size, you won't 
      see anything while booting or if you do 'dmesg'.

It was patched to achieve this (reduced by 47kb), you can get 
the noprintk patch here. 

ftp://ftp.tux.org/pub/people/kent-robotti/looplinux/rip "noprintk.tgz"

No news is good news?

End!
===========================================================================

Reply via email to