IceWalkers.com - Linux Software downloads and news
Name : Password :
Linux SoftwareLinux RPMLinux HowtosLink UsAboutAdvertise

Ftape HOWTO

Search Howtos :Match :
Next Previous Contents

8. Creating an emergency boot floppy for ftape

Comment

As of the time of this writing (August 1998) I remember that I have read about several emergency disk sets in the c.o.l.a (comp.os.linux.announce) news group since the time this section has been written. Some of those packages actually might produce rather sophisticated emergency boot floppy sets. Please check out yourself. I didn't try to create an emergency boot floppy with recent versions of ftape.

This section was written by Claus Tøndering <ct at 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 at 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:

  • You don't really need /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.
  • Find a small version of /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.
  • The /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
            
    
  • Make sure your floppy drive is not mounted when you access the streamer tape! Otherwise you may get the following error message:
            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:
    1. You place 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.)
    2. Before you start restoring from tape, copy tar (or cpio or afio or whatever) to your hard disk and load it from there.
  • Apart from your backup program, you will probably need mt on your root floppy as well.
  • Make sure your ftape device (typically /dev/nqft0) is present on your boot floppy.
  • Finally: TRY IT OUT! Of course, I don't recommend that you destroy your hard disk contents to see if you are able to restore everything. What I do recommend, however, is that you try booting from your emergency disks and make sure that you can at least make a file listing of the contents of your backup tape.


Next Previous Contents
Search Howtos :Match :
PhpMyAdmin 3.1.2 rc1
Php front-end to MySQL administration
Xine 1.1.6
Free video player
Glade 3.5.5
User interface builder for GTK+ and Gnome
Evolution 2.25.4
GNOME mailer, calendar, contact manager and communications tool
GEdit 2.25.4
Small but powerful text editor
Mutt 1.5.19
Small but very powerful text-based mail client.
Galculator 1.3.2
GTK 2 based scientific calculator
GTK2 2.14.7
GUI Toolkit
WebGUI 7.5.38
A fully featured content management system.
Brasero 0.9.0
Application to burn CD/DVD
Free IT Magazines, White Papers, eBooks, and more !
Dr. Dobb's Journal

Dr. Dobb's Journal enables programmers to write the most efficient and sophisticated programs and help in daily programming quandaries.

The 7 Things that IT Security Professionals MUST KNOW!

Gain key insight into security problem and find the safest means to protect your technological assets.

Database Trends and Applications

Provides timely coverage of the technology, intelligence and insight needed to plan, implement and manage information-rich projects.

Linux Software Map
Find Linux RPM
Best Rated Linux Software
Most Rated Linux Software
Linux Distributions
Linux Howtos
Quick Survey

Please take our survey and help us improve our website to serve you better.

Thank you.
Linux Software
Linux / IT Resources
Site Resources
Google
Privacy Policy
Contact Us
Submit Software
Advertising info