Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Recently got and installed a Yamaha CRW2200EZ CD burner. I physically moved my ZIP drive from being a slave on IDE2 to being a slave on IDE1. I put the Yamaha where the ZIP used to be, a slave on IDE2. When I booted into linux for the first time, it detected the CD burner and ZIP fine during the boot message. When the KDE 3 desktop came up, two things happened (or didn't), no icon or way to use the cd burner, and now my ZIP drive (previously installed and working) won't mount. I get the error message,
Could not mount device.
The reported error was:
mount: /dev/hdd4: unknown device
I ran siga, and in the /var/log/boot.msg file, it's giving the ZIP drive a device name of, hdb, but in /etc/fstab, it says the ZIP is hdd4. The Yamaha was assigned as, hdd in the boot.msg and doesn't exist in fstab.
QUESTION: Suspect this is because I changed the hardware configuration in my box so how do I make these two match up? And is this related to the ZIP link on my desktop not working?
I'm quite a newbie and just don't know where to begin or even where to look for info on how to make the correction. Would just like to get the ZIP working and then tackle the cd burner after I do some more reading about them.
Thanks in advance for your help!
Before installation of CDRW:
IDE1 - Master: Hard Drive
IDE2 - Master: CD-ROM Drive Slave: ZIP
After installation of CDRW:
IDE1 - Master: Hard Drive Slave: ZIP
IDE2 - Master: CD-ROM Drive Slave: Yamaha CDRW
You will want to edit your fstab to update the resulting changes
If you type 'mount' it will show you what you have mounted and where.
Just a little go by for ya:
Before install of CDRW
IDE1 = /dev/hda
IDE2 = /dev/hdb0:/dev/hdb1 (I am guessing on the hd part for the zip drive, but it should be 0 and 1 if they are the same device type ie. hd, if not it will be 0 and 0)
IDE1 = /dev/hda0:/dev/hda1
IDE2 = /dev/hdb0:/dev/scd0 (or poss /dev/hdb1)
I think anyway, someone correct me if I am wrong here.
Anyway, if I am right, then you would (check /mnt first to see if there is already an entry, if not then...) open up a term and type:
mkdir /mnt/ZIP &&
mount -t FAT (or whatever filesystemyou used to write the files onto it with) /dev/hda1 /mnt/ZIP &&
At least that is how I would attempt it. I am probably WAYY wrong, but it's worth a shot.
But before doing that, you need to update your FSTAB (/etc/fstab.conf) to reflect the changes. So do 2 things, first open fstab and copy and paste the contents into here so we can see what's up. Second, type mount and copy and paste those results here too so we can see what's up there too. Then some can give you the lines to edit in your FSTAB. I hope anyway.
Yea, I'm afraid I still haven't totally rid myself of WinME...someday it'll happen. ;-)
Here's the contents of mount:
/dev/hda3 on / type reiserfs (rw)
proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw)
/dev/hda4 on /home type reiserfs (rw)
shmfs on /dev/shm type shm (rw)
usbdevfs on /proc/bus/usb type usbdevfs (rw)
OK, I think I see what's happening here (correct me if I'm wrong).
You added a new device to your machine and moved your ZIP drive to a new channel?
OK, lets see, you originally had:
hda = Harddisk
hdc = CD Rom
hdd = Zip
After the installation of new CDRW:
hda = Harddrive
hdb = Zip
hdc = CD Rom
hdd = CDRW
So far so good?
Now, there will probably be a couple of things needing changing:
You should first check your /etc/lilo.conf file. The reason being that Zip drives will normally need some parameters passed to the kernel. I would hazard a guess that the 'append=' section of the Linux entry in your lilo.conf file has this: hdd=ide-floppy (or it might be ide-scsi). If this is the case, then you'll first need to make the relevant changes:
Certainly Mandy used to pass hdx=ide-floppy for Zip drives, but now passes hdx=ide-scsi, which seems to work much better, so I'd do this. Edit your lilo.conf file and change the append section to include the following:
You need to use SCSI emulation in order to burn CDs within Linux.
Now, once that's done, run /sbin/lilo to put the changes in effect, and then reboot your machine. When it comes back up, you can edit your fstab to suit.
You should have an entry for the following:
/dev/sda4 /media/zip auto noauto,user 0 0
/dev/scd0 /media/cdrw auto noauto,user 0 0
/dev/hdc /media/cdrom auto noaudo,user 0 0
Your zip will be recognised as a scsi harddisk, hence the sda4, and your CDRW as a scsi CDRW, hence the scd0, and your ordinary CD rom will be recognised as a normal IDE device, hence the hdc.
Thank you all so much for your help! I would be utterly lost without a forum like this since I know no one personally who is a linux expert let alone another user.
I followed your instructions, to the letter, and they were right-on. There were however two other things I had to do before the desktop link would work. I wanted to include these items in this thread just in case another newbie has the same problem.
First, SuSE had a web help page (http://sdb.suse.de/en/sdb/html/tbraza_ide_brenner.html) that pretty much followed the instructions above except it included one more addition to the
file; that being the line, /sbin/modprobe ide-scsi
Don't know if it's SuSE specific and I'm not sure if the ZIP would have worked without it but I made the change and the ZIP worked great.
Second, in order for the link on the desktop to work, I had to right-mouse click, select properties, click the "Device" tab, and change the device to the newly named ZIP drive, /dev/sda4.
Now that the ZIP is working, I get to tackle the CDRW, wahoo! Will post a new thread if I hit a brick wall.
I think the information in this thread may solve my similar problem, but when I check my /etc/lilo/conf, I don't see any entries in there at all for:
which I am sure is the correct address of my zip drive, as slave on the first IDE channel
My question : can one of you post your lilo.conf file so I can see what else should be written up about the hdb4 besides the append statement?
Also, I see nothing in there about my regular 3.5" floppy disk. Should there be something?
My file may not have been configured ordinarily because for whatever reason, I had to run the initial installation with "safe settings" to get past the boot screens.