Page 1 of 3 123 LastLast
Results 1 to 10 of 28

Thread: HOWTO: Iomega ATAPI/IDE Zip Drive

  1. #1
    Join Date
    Dec 2004
    Location
    LV-426
    Beans
    616
    Distro
    Ubuntu 9.10 Karmic Koala

    HOWTO: Iomega ATAPI/IDE Zip Drive

    Going through zip drive hell? Unfortunately these devices don't always work 'out-of-the-box' on some Linux systems, but it's nothing a little manual configuration can't fix. Here's a detailed how-to for mounting your zip disks in Ubuntu Hoary (for Warty there are a couple of different steps. If you are using Ubuntu Warty visit the Warty Tips & Tricks forum). First off, the basics -

    1. Create a mountpoint. The default is /media/zip0. Open up a terminal and type sudo mkdir /media/zip0 . This is the directory which will eventually contain your drive's contents.

    2. (optional) Create a symbolic link '/media/zip' - sudo ln -s /media/zip0 /media/zip . Not strictly necessary, but gives your drive a slightly shorter name to be referenced by.

    3. Establish your drive's device name. This depends on where it is connected. In Linux, IDE devices are named according to the following pattern-

    /dev/hda Primary IDE Controller Master (usually your hard drive)
    /dev/hdb Primary IDE Controller Slave
    /dev/hdc Secondary IDE Controller Master (usually your CD-ROM)
    /dev/hdd Secondary IDE Controller Slave

    Look in System>System Administration>Device Manager. Scroll down to your zip drive and click the 'Advanced' tab. Next to 'block.device' should appear your drive's device name. This will most likely be '/dev/hd*4' (where '*' depends on where your drive is connected according to the above scheme). The '4' here is the partition number. For some reason, Iomega disks formatted with the stock FAT16 filesystem use partition number 4. You can reformat them if you wish (see below), although I don't recommend using any filesystem type other than FAT16 or FAT32. Always use partition 4 on the zip disk for any FAT filesystem, however.

    5. Once you know the device name, edit /etc/fstab - sudo gedit /etc/fstab . This file controls how all your drives are mounted. You need to add a line which looks like this (my drive is the secondary slave, therefore 'hdd') -

    /dev/hdd4 /media/zip0 auto rw,user,noauto,sync 0 0

    (you will notice in Device Manager that the filesystem 'policy' for zip drives is 'auto'. Specifying the actual filesystem used usually produces an error on mounting).

    6. Refresh /etc/fstab - sudo mount -a . A zip drive icon should now appear in Places>Computer.

    You now need to create a device node for your zip drive in the /dev directory. If you look here you will see a node for device block 'hd*' (your actual zip drive , but not for the partition 'hd*4' (unlike your hard drive(s)). This is needed in order to mount your disk. It's normally the job of the module 'ide_floppy' (your zip drive's Linux device driver) to create it, but this will only get done if there is a zip disk inserted at boot-up, when the kernel loads all the modules (I don't know if this is a bug, but it's just the way it is). You can, of course, insert one each time before switching your computer on, but if you'd rather not there are a couple of simple steps you can do to get around this. They involve letting Ubuntu know about '/dev/hd*4' by running a couple of system programs-

    7. Insert a zip disk and run sudo cfdisk /dev/hdd , press 'q' to quit, then sudo fdisk -l to list all your partition tables. You will hear your disk being detected and 'dev/hd*4' will be listed (you must run both of these commands for this to work). Now, if you look in /dev, your longed for device node 'hd*4' will be there! (Once it has been created you won't have to perform this step again until your next reboot).

    8. Type 'mount /dev/hd*4' or mount <your mountpoint> and your disk will be mounted according to the fstab entry you made above. You're done!

    I haven't had any issues following the above steps but if, for some reason, you are unable to create your device node, you can tell Ubuntu to create one manually during each boot-up -

    Run sudo gedit /etc/udev/links.conf . Among other things, this file enables you to create system devices manually. To do this for a zip drive, you will need to add a line that looks similar to this -

    # Manually create a zip device.
    M hdd4 b 22 64

    What this line stands for is ' M(ake) hdd4 (a) b(lock device with major number) 22 (and minor number) 64' (your device name, major and minor numbers may differ from mine, of course) . The major and minor numbers for hd*4 are listed under your zip drive's entry in Device Manager (Advanced tab). Once you have the details, insert your line in /etc/udev/links.conf using the syntax above. Save, exit, and reboot.

    Now insert a zip disk and type mount /dev/hd*4 or mount <your mountpoint>. You will likely get an error message, but don't sweat it - Ubuntu is just 'getting used to' the device that you created manually. You may have to run the 'mount' command a couple of times before you succeed. It's messy, but it works.

    This how-to will work for ATAPI/IDE zip 100 drives (and probably zip 250). The procedure is slightly different for parallel port, SCSI etc., but there are other threads around which cover those. You will also note that your disks won't automount and open a browser window, even if other removable media is set to do so. I don't know why this is so but solutions to this are more than welcome!

    REFORMATTING ZIP DISKS -

    The following is an excellent guide on how to do this using fdisk -

    http://wls.wwco.com/lqh/iomega.php

    Follow it to the point where you write the new partition table to the disk (option 'w') then quit fdisk (and the above guide). Format it to FAT32 by running sudo mkfs -t vfat /dev/hdd4 , or, if possible, use Windows to do this. Using Linux tools to format disk partitions with Windows filesystems can be a bit buggy sometimes. It should work fine, but Windows will often read the filesystem as FAT rather than FAT32 - your call as to whether this is a problem for you.

    You can use Linux filesystems if you want but you are likely to run into problems with the file permissions and be unable to write to your zip disk. Of course, you can try changing them with chmod, but they have a curious habit of returning to their original root user state. It also chops 10MB off the disk's capacity. To avoid these headaches, just use FAT32.

    If you do choose Linux formatting, use ext2, and remember to use partition 1, otherwise your disk won't mount. Adjust accordingly for all the above instructions.

    Hope this helps!

    UNMOUNTING YOUR DISK -

    If you have problems ejecting your zip disk make sure you are following the correct procedure for doing so. First off, you need to unmount it -

    umount <YOUR DEVICE NAME> or <MOUNTPOINT>

    Properly unmounting removable media in Linux is necessary to avoid the risk of data loss.

    If you find the above still doesn't work, do what's known as a 'lazy' unmount -

    umount -l <YOUR DEVICE NAME> or <MOUNTPOINT>

    You should now be able to use the 'eject <YOUR DEVICE NAME> or <MOUNTPOINT>' command (or just press the button on your zip drive) and have it do exactly that.
    Last edited by pseudonym; April 26th, 2005 at 11:42 AM.
    AMD Athlon64 X2 5600 on Abit KN9 Ultra nForce 570
    2GB Corsair TwinX DDR2-800
    Gigabyte ATI HD4850 1GB on ASUS PW201 20" WS LCD
    Ubuntu 9.10 64-bit / Wintendo

  2. #2
    Join Date
    Oct 2004
    Location
    Denmark - Scandinavia
    Beans
    19,553
    Distro
    Ubuntu Budgie Development Release

    Re: HOWTO: Iomega ATAPI/IDE Zip Drive

    Mavelous howto!!! Great work! Diffently get my vote.

  3. #3
    Join Date
    Dec 2004
    Location
    LV-426
    Beans
    616
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: HOWTO: Iomega ATAPI/IDE Zip Drive

    Thanks I'd originally done this a while back in the Warty HOWTOS, but thought it's probably a good idea to put it in here as well. There are still a few of us diehard zip drive users out there!
    AMD Athlon64 X2 5600 on Abit KN9 Ultra nForce 570
    2GB Corsair TwinX DDR2-800
    Gigabyte ATI HD4850 1GB on ASUS PW201 20" WS LCD
    Ubuntu 9.10 64-bit / Wintendo

  4. #4
    Join Date
    Apr 2005
    Location
    South Louisiana
    Beans
    77

    Re: HOWTO: Iomega ATAPI/IDE Zip Drive

    Howabout a parallel drive?

  5. #5
    Join Date
    Dec 2004
    Location
    LV-426
    Beans
    616
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: HOWTO: Iomega ATAPI/IDE Zip Drive

    Quote Originally Posted by ignavia
    Howabout a parallel drive?
    Sorry, can't help you there. I've never used any parallel port devices apart from a printer, which never gave me any problems. I'm pretty sure other users have posted about this, though. Just do a forum search
    AMD Athlon64 X2 5600 on Abit KN9 Ultra nForce 570
    2GB Corsair TwinX DDR2-800
    Gigabyte ATI HD4850 1GB on ASUS PW201 20" WS LCD
    Ubuntu 9.10 64-bit / Wintendo

  6. #6
    Join Date
    Apr 2005
    Location
    South Louisiana
    Beans
    77

    Re: HOWTO: Iomega ATAPI/IDE Zip Drive

    Yeah, I could, but my parallel port Zip has been disconnected for quite a long time. I do have some stuff on Zip disks that I may want to retrieve one day, but until then, it's very low priority.

  7. #7
    Join Date
    May 2005
    Location
    Switzerland
    Beans
    46
    Distro
    Ubuntu 7.04 Feisty Fawn

    Re: HOWTO: Iomega ATAPI/IDE Zip Drive

    for the parallel iomega zip 100 plus you have to load the module 'imm'

    1.) create the directory where you want to mount the zip:
    sudo mkdir /media/zip

    2.) load imm module:
    sudo modprobe imm

    3.) mount it:
    sudo mount /dev/sda4 /media/zip

    afaik for the original zip 100 you'll have to use the 'ppa' module

    jakob

  8. #8
    Join Date
    Feb 2005
    Location
    England
    Beans
    250

    Re: HOWTO: Iomega ATAPI/IDE Zip Drive

    Are there any plans to add better support for zip drives in Breezy?

  9. #9
    Join Date
    Mar 2005
    Location
    Cheslyn Hay, Staffordshire, UK
    Beans
    16

    Lightbulb Re: HOWTO: Iomega ATAPI/IDE Zip Drive

    May I add a little to the previous advice about installing a parallel Zip Drive. This is how I have done it avoiding the need to modprobe manually everytime I boot up my Ubuntu/Kubuntu box.

    Open up the /etc/modules file in your favourite text editor - I used Kate in Kubuntu - while logged in as either su or root. I've set up my system to log into root which is not default in Ubuntu/Kubuntu.

    for an Iomega 250 parallel drive add the line:

    imm

    for an older Iomega 100 parallel drive you will need to add the line:

    ppa

    save and close the file.

    You may need to enter your BIOS configuration and set the parallel port properties to SPP

    At this stage you need to create a mount point in order for Ubuntu/Kubuntu to know where to mount your Zip drive

    In a terminal (again as su or root) enter

    mkdir /mnt/zip100.0 (for a Zip 100 drive) or

    mkdir /mnt/zip250.0 (for a Zip 250 drive).

    Now, in your favourite text editor (su or root remember) again, open up your fstab file and, at the end of the file enter the following line for a Zip 100:

    /dev/sda4 /mnt/zip100.0 vfat noauto,user 0 0

    or for a Zip 250:

    /dev/sda4 /mnt/zip250.0 vfat noauto,user 0 0

    That should be it however, I have found that sometimes you may need to adjust permissions.

    Good luck.
    Last edited by kevanf1; July 10th, 2006 at 02:11 PM. Reason: Edited because I erroneously assumed a newcomer would know about the fstab file....bad assumption on my part, sorry.

  10. #10
    Join Date
    Apr 2006
    Location
    California central coast
    Beans
    4
    Distro
    Ubuntu 5.10

    Re: HOWTO: Iomega ATAPI/IDE Zip Drive

    Built-in PowerPC Iomega ATAPI/IDE Zip drive (100 MB) would not mount on Breezy Badger. I tried the instructions at the beginning of this thread.

    The zip disk mounts for just an instant then disappears from the desk top. No error message is generated. If I type "eject zip0" from the command line I hear the zip disk spin, but then it stops and will not eject.

    Mac PowerPC (Old World Beige G3) updgraded to 500MHz G4 processor, RAM is maxed out, two USB PCI cards (4 ports) added. Internal read only and external (USB) read/write CD drives. Internal floppy and Iomega Zip drives. Everything works, except the Zip. (Note: Zip drive works properly under Mac OS 9)

Page 1 of 3 123 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •