ftape
This section was written by Claus Tøndering
<ct@login.dknet.dk>
.
Once you are the happy owner of a tape drive and several tapes full of backups, you will probably ask yourself this question: ``If everything goes wrong, and I completely lose my hard disk, how do I restore my files from tape?''
What you need is an emergency floppy disk that contains enough files to enable you to boot Linux and restore your hard disk from tape.
The first thing you should do is to read ``The Linux Bootdisk HOWTO'' written by Graham Chapman <grahamc@zeta.org.au>. That document tells you almost everything you need to know about making an emergency floppy boot kit. The paragraphs below contain a few extra pieces of information that will make your life a bit easier when you follow Graham Chapman's procedures:
/etc/init
, /etc/inittab
,
/etc/getty
, and /etc/rc.d/*
on your floppy disk. If
Linux doesn't find /etc/init
, it will start /bin/sh
on your console, which is fine for restoring your system. Deleting
these files gives you extra space on your floppy, which you will
probably need./bin/sh
. They are frequently
available on the boot floppies that come with a Linux distribution.
This again will give you extra space. I'd suggest ash
, which
is extremely small (approx 62Kbytes), and yet very bash
compatible./etc/fstab
you include on your floppy disk should look
something like this:
/dev/fd0 / minix defaults
none /proc proc defaults
/dev/hda /mnt ext2 defaults
Once you have booted from your floppy, give the command:
mount -av
Unable to grab IRQ6 for ftape driver
This means that you MUST load the floppy into a RAMDISK.
This has the unfortunate consequence that the programs needed to
restore the files from the tape can not be located on a separate
floppy disk. You have two options here:
tar
(or cpio
or afio
or
whatever other backup program you use) on your root floppy
disk. (This is where you'll need all the extra space created
in the steps above.) tar
(or
cpio
or afio
or whatever) to your hard disk
and load it from there.mt
on
your root floppy as well./dev/nrft0
) is present
on your boot floppy.