Библиотека сайта rus-linux.net
5.4. Implementation
5.4.1. System startup
Start the system using the following procedure:
Boot the PC using the floppy labeled "boot disk".
At the
grub>
prompt, type the usual kernel and boot commands, but without therw
parameter this time. In other words, typekernel (fd0)/boot/vmlinuz init=/bin/sh root=/dev/fd0 load_ramdisk=1 prompt_ramdisk=1
, press Enter then typeboot
and press Enter.Put in the recently created root disk when prompted.
The output should resemble the example below:
GNU GRUB version 0.95 grub> kernel (fd0)/boot/vmlinuz init=/bin/sh root=/dev/fd0 load_ramdisk=1 prompt_ramdisk=1 [Linux-bzImage, setup=0xc00, size=0xce29b] grub> boot Linux version 2.4.26 .. .. [various kernel messages] .. VFS: Insert root floppy disk to be loaded into RAM disk and press ENTER RAMDISK: Compressed image found at block 0 VFS: Mounted root (ext2 filesystem) readonly. Freeing unused kernel memory: 178k freed # _ |
5.4.2. Test the local_fs script
Run the script by typing the following commands at the shell prompt:
|
If everything is working properly, then the screen output should look something like the example below.
|
5.4.3. Create and mount additional filesystems
Procure a blank floppy disk and label it as "home". Remove the root disk floppy and insert the "home" diskette. Type the following commands:
|