[Blackpool] Colin - minimal getty

DONALD SIMPSON donaldsimpson208 at btinternet.com
Sun Jun 5 19:49:03 UTC 2011


p, li { white-space: pre-wrap; }
Hi,
Yesterday evening I tried creating the floppy disk following the instructions 
here:
http://www.tldp.org/HOWTO/Bootdisk-HOWTO/buildroot.html

This section of the manual suggests that you need to create a temporary 
filesystem to copy the files to.

4.2. Creating the filesystem
In order to build such a root filesystem, you need a spare device that is large 
enough to hold all the files before compression. You will need a device capable 
of holding about four megabytes. There are several choices:
 Use a ramdisk (DEVICE = /dev/ram0). In this case, memory is used to simulate 
a disk drive. The ramdisk must be large enough to hold a filesystem of the 
appropriate size. If you use LILO, check your configuration file 
(/etc/lilo.conf) for a line like RAMDISK = nnn which determines the maximum 
RAM that can be allocated to a ramdisk. The default is 4096K, which should be 
sufficient. You should probably not try to use such a ramdisk on a machine with 
less than 8MB of RAM. Check to make sure you have a device like /dev/ram0, 
/dev/ram or /dev/ramdisk. If not, create /dev/ram0 with mknod (major number 1, 
minor 0). 
If you have an unused hard disk partition that is large enough (several 
megabytes), this is acceptable. 
Use a loopback device, which allows a disk file to be treated as a device. 
Using a loopback device you can create a three megabyte file on your hard disk 
and build the filesystem on it.

This is so that you can compress it later and then copy it to a physical floppy 
drive once all the files are in place.

The libc files that will be required will be too big to get on a floppy disk 
without compression.

Donald.

On Sunday 05 June 2011 08:28:57 MJ Hewitt wrote:
> Hi Colin -
> 
> there is a minimal getty, called mingetty that is about 10k compared to the
> almost 400k version you tried on Saturday.
> 
> Mike


More information about the Blackpool mailing list