#FIG 2.1 80 2 1 3 0 1 -1 0 0 21 0.00000 1 0.000 65 149 5 5 65 149 70 149 1 3 0 1 -1 0 0 21 0.00000 1 0.000 64 324 5 5 64 324 69 324 1 3 0 1 -1 0 0 21 0.00000 1 0.000 64 399 5 5 64 399 69 399 2 1 0 3 -1 0 0 0 0.000 -1 0 0 19 49 859 49 9999 9999 2 1 0 3 -1 0 0 0 0.000 -1 0 0 19 629 859 629 9999 9999 4 0 19 18 0 -1 0 0.00000 4 21 379 39 39 Troubleshooting and Repairing a Linux System 4 0 16 32 0 -1 0 0.00000 4 38 506 79 159 Two Disks: Kernel, Root Filesystem 4 0 17 24 0 -1 0 0.00000 4 27 747 119 226 The kernel should correspond to your system's hardware configuration. 4 0 17 24 0 -1 0 0.00000 4 27 747 119 194 1. Create a kernel diskette: cp /vmlinux /dev/fd0; rdev /dev/fd0 /dev/fd0 4 0 31 36 0 -1 0 0.00000 4 45 517 79 99 Creating Maintenance Diskettes 4 0 17 24 0 -1 0 0.00000 4 27 771 119 258 2. Create a root filesystem diskette: Easiest start is a Slackware rootdisk, 4 0 17 24 0 -1 0 0.00000 4 27 590 119 290 but be sure all required utilities are on it (vi, e2fsck, etc.) 4 0 16 32 0 -1 0 0.00000 4 38 714 79 334 Another diskette for mounting root from hard drive 4 0 17 24 0 -1 0 0.00000 4 27 474 119 364 cp /vmlinux /dev/fd0; rdev /dev/fd0 /dev/hda2 4 0 16 32 0 -1 0 0.00000 4 38 475 79 409 Using the maintenance diskettes  4 0 17 24 0 -1 0 0.00000 4 27 697 119 508 If root fs from floppy is mounted read-only, can't create /etc/mtab: 4 0 17 24 0 -1 0 0.00000 4 27 156 119 540 Try mount -n.  4 0 17 24 0 -1 0 0.00000 4 27 721 119 444 1. Boot kernel diskette; insert root diskette as root fs when prompted 4 0 17 24 0 -1 0 0.00000 4 27 655 119 476 2. Mount hard drive filesystems: mount -t ext2 /dev/hda2 /mnt 4 0 17 24 0 -1 0 0.00000 4 27 638 119 572 3. Should now be free to access all files from hd filesystems.