Amiga Unix Wiki

Because AmigaOS just isn't obscure enough today!

User Tools

Site Tools


tape-creation

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tape-creation [2019/11/16 19:02]
wiki_admin rewrite, moved all tape stuff here and added A3070 manual link
tape-creation [2021/09/19 18:00] (current)
Line 1: Line 1:
 ====== Compatible SCSI tape drives ====== ====== Compatible SCSI tape drives ======
  
-The "official" A3070 tape drive is an external QIC 120/150 drive, required for default scripted installation. It's believed to be identical to “Caliper CP150 SCSI QIC” and “Archive Viper 150MB Tape Streamer” (?) (some are rebadged as Connors) but case design is different (the A3070 was designed with an A3000 theme). See the [[https://www.amigaunix.com/lib/exe/fetch.php/downloads:a3070_tape_drive_installation_guide.pdf|Amiga A3070 SCSI tape drive installation manual]] (PDF).+The "official" Commodore A3070 tape drive is an external QIC 120/150 drive, designed with an A3000-themed case and is required for the default scripted installation. It's believed to be identical to “Caliper CP150 SCSI QIC” and “Archive Viper 150MB Tape Streamer” (?) (some are rebadged as Connors) but case design is different.
  
 +See [[https://www.amigaunix.com/lib/exe/fetch.php/downloads:a3070_tape_drive_installation_guide.pdf|Amiga A3070 SCSI tape drive installation manual]] (PDF).
  
-Compatible 3rd party SCSI tape drives (must be set to SCSI ID 4)+**Compatible 3rd party SCSI tape drives:**
   * Caliper, Sankyo and Wangtek brands of SCSI QIC-150 tape drives (Wangtek 5150 ES verified by user)   * Caliper, Sankyo and Wangtek brands of SCSI QIC-150 tape drives (Wangtek 5150 ES verified by user)
   * Archive Viper 150 MB (see note below)   * Archive Viper 150 MB (see note below)
  
-Note: //Drivers written by Frank Edwards for the Archive Viper tape unit are now included with Amiga Unix. Type Ctrl-D at the first prompt of the installation procedure. Type "viper_kludge". Then type Ctrl-D to resume the installation" // (Source: Amiga Unix Version 2.1 Addendum). Thanks to mark_k on EAB forums finding [[https://groups.google.com/forum/#!msg/comp.unix.amiga/DY9h44K7vEo/FGppbzz0Z50J|this old discussion]].+**Note 1:** The tape drive must always be set to SCSI ID 4 as the installation script is hard-coded for it.
  
-Not compatible SCSI drives (verified by user): Tandberg TDC4120+**Note 2:** //Drivers written by Frank Edwards for the Archive Viper tape unit are now included with Amiga Unix. Type Ctrl-D at the first prompt of the installation procedure. Type "viper_kludge". Then type Ctrl-D to resume the installation" // (Source: Amiga Unix Version 2.1 - Addendum). Thanks to mark_k on EAB forums finding [[https://groups.google.com/forum/#!msg/comp.unix.amiga/DY9h44K7vEo/FGppbzz0Z50J|this old discussion]]. 
 + 
 +__Not compatible__ SCSI drives (verified by user): Tandberg TDC4120
  
 You won't be able to get the drive to work reliably without the proper termination, so get yourself a DB25 SCSI terminator if necessary. If you need tapes, you can either find somewhere online to buy them new, or you can hit eBay. Used tapes are a dime a dozen on eBay (search for "qic tape"). You won't be able to get the drive to work reliably without the proper termination, so get yourself a DB25 SCSI terminator if necessary. If you need tapes, you can either find somewhere online to buy them new, or you can hit eBay. Used tapes are a dime a dozen on eBay (search for "qic tape").
  
 +----
  
 ====== Tape commands ====== ====== Tape commands ======
Line 33: Line 37:
  
 ====== AMIX install tape creation ====== ====== AMIX install tape creation ======
-{{ :amix_tape_sticker.png?nolink&400|}}+{{ :amix_tape_sticker.png?direct&400|}}
  
 So you want to make an install tape. This is a slightly risky proposition, due to the likely age of your tape drive as well as the tapes you happen to be using. I'll present the method that worked for me here. So you want to make an install tape. This is a slightly risky proposition, due to the likely age of your tape drive as well as the tapes you happen to be using. I'll present the method that worked for me here.
Line 47: Line 51:
 Next, unless you are using brand new tape, you should retension and zero out the tape. In AMIX issue the following commands, in some other OS you will possibly specify the device name differently. Next, unless you are using brand new tape, you should retension and zero out the tape. In AMIX issue the following commands, in some other OS you will possibly specify the device name differently.
  
-Retensioning the tape: mt retension+Retensioning the tape: **mt retension**
  
 Retensioning the tape fast-forwards and rewinds the tape in an effort to eliminate slack in the tape. It just takes a few moments. Retensioning the tape fast-forwards and rewinds the tape in an effort to eliminate slack in the tape. It just takes a few moments.
Line 53: Line 57:
 Zeroing out the tape will depend on what version of AMIX you are installing. For 2.1 (recommended), you need to use the high density device name which will handle 150MB tapes. For anything else, you need to use the low density device name which can only handle 120MB. In both cases make sure the tape is rewound before issuing the command. If you just finished retensioning the tape you're ready to go. Zeroing out the tape will depend on what version of AMIX you are installing. For 2.1 (recommended), you need to use the high density device name which will handle 150MB tapes. For anything else, you need to use the low density device name which can only handle 120MB. In both cases make sure the tape is rewound before issuing the command. If you just finished retensioning the tape you're ready to go.
  
-Zeroing out the tape for 2.1 installation: dd if=/dev/zero of=/dev/rmt/4hn bs=32k +Zeroing out the tape for 2.1 installation: **dd if=/dev/zero of=/dev/rmt/4hn bs=32k** \\ 
- +Zeroing out the tape for other versions: **dd if=/dev/zero of=/dev/rmt/4n bs=32k**
-Zeroing out the tape for other versions: dd if=/dev/zero of=/dev/rmt/4n bs=32k+
  
 The reason for doing this step is simply that the tape will be more reliable this way than if it had some data leftover on it. Once the tape is full (dd will report no more space on the device) it should automatically rewind. If it doesn't or you're not sure, just issue mt rewind. The reason for doing this step is simply that the tape will be more reliable this way than if it had some data leftover on it. Once the tape is full (dd will report no more space on the device) it should automatically rewind. If it doesn't or you're not sure, just issue mt rewind.
Line 65: Line 68:
 You need to make the tape files accessible on the machine you are writing the tape from, assumably an AMIX box. How you do this is up to you, and depends on what resources you have available. I use an NFS mount. If you have no network card, you might consider using kermit and your serial port. I've done it before…maybe I'll document it later, but there's plenty of docs on the web for it. If you've never dialed into a BBS before you may have trouble figuring this out. Your box needs to have access to the following: You need to make the tape files accessible on the machine you are writing the tape from, assumably an AMIX box. How you do this is up to you, and depends on what resources you have available. I use an NFS mount. If you have no network card, you might consider using kermit and your serial port. I've done it before…maybe I'll document it later, but there's plenty of docs on the web for it. If you've never dialed into a BBS before you may have trouble figuring this out. Your box needs to have access to the following:
  
-tape media extracted from the tar.bz2 files tape creation script (dtdist.sh)+  * tape media extracted from the tar.bz2 files  
 +  * tape creation script (dtdist.sh)
  
 If your tape media does not have a seglist file (the 2.1 image on this site does, so no worries there) you'll have to figure out the order of the files on the tape. If they are numbered sequentially already, just do ls > seglist but make sure that only tape installation files are in there, and not other things like the dtdist.sh script. If seglist is missing and the files aren't numbered, you need to figure out the order…list the cpio files you have until you encounter one with just two files in it: Version and List. cat the List file. The file containing Version and List needs to be the first onto the tape; everything else goes afterward, in the order specified in the List file. How you figure this out is up to you. The seglist just contains filenames in the order to go onto the tape. If your tape media does not have a seglist file (the 2.1 image on this site does, so no worries there) you'll have to figure out the order of the files on the tape. If they are numbered sequentially already, just do ls > seglist but make sure that only tape installation files are in there, and not other things like the dtdist.sh script. If seglist is missing and the files aren't numbered, you need to figure out the order…list the cpio files you have until you encounter one with just two files in it: Version and List. cat the List file. The file containing Version and List needs to be the first onto the tape; everything else goes afterward, in the order specified in the List file. How you figure this out is up to you. The seglist just contains filenames in the order to go onto the tape.
Line 71: Line 75:
 If and only if you are making a 2.1 tape you need to modify dtdist.sh before continuing. Change this line: If and only if you are making a 2.1 tape you need to modify dtdist.sh before continuing. Change this line:
  
-dd if=$name of=/dev/rmt/4n bs=32k+**dd if=$name of=/dev/rmt/4n bs=32k** \\ 
 +to this: \\ 
 +**dd if=$name of=/dev/rmt/4hn bs=32k** \\
  
-To this: +If you're making any other version leave it alone. Now put that file where you will remember it (/tmp maybe) and make it executable (**chmod a+x dtdist.sh**). Now you should have your tape files somewhere you can get to them, whether an NFS mount or local directory, and you have the dtdist.sh ready.
- +
-dd if=$name of=/dev/rmt/4hn bs=32k +
- +
-If you're making any other version leave it alone. Now put that file where you will remember it (/tmp maybe) and make it executable (chmod a+x dtdist.sh). Now you should have your tape files somewhere you can get to them, whether an NFS mount or local directory, and you have the dtdist.sh ready.+
  
 **Step 4: Tape creation** **Step 4: Tape creation**
  
-Enter the directory with your tape files including the seglist, and run the dtdist.sh script. If all is set up properly files will begin copying to the tape drive. This will take several minutes, so relax a while. Issue mt rewind when it's completed.+Enter the directory with your tape files including the seglist, and run the **dtdist.sh** script. If all is set up properly files will begin copying to the tape drive. This will take several minutes, so relax a while. Issue **mt rewind** when it's completed.
  
 **Step 5: Make another one!** **Step 5: Make another one!**
Line 90: Line 92:
  
 This step is also optional, but might save you some time in the long run. Take a look at the cpdist.sh script included with the tape creation script. Modify the device name to be 4hn if you have a 2.1 tape and run it in an empty directory, copying the seglist file into it before you run the script. If you get any errors, you can either try that tape again (retension, zero out, write tape) or try a new tape. No errors? You're ready to install, but it's wise to have a backup tape anyway! This step is also optional, but might save you some time in the long run. Take a look at the cpdist.sh script included with the tape creation script. Modify the device name to be 4hn if you have a 2.1 tape and run it in an empty directory, copying the seglist file into it before you run the script. If you get any errors, you can either try that tape again (retension, zero out, write tape) or try a new tape. No errors? You're ready to install, but it's wise to have a backup tape anyway!
 +
 +**Bonus:** print out a nice label and stick it on the tape to give it a professional look 8-) See [[boxed|Original Box & Manuals / Tape and disk labels]] for a download.
tape-creation.1573927351.txt.gz · Last modified: 2021/09/19 17:58 (external edit)