Click to See Complete Forum and Search --> : fstab


Digit0
06-09-2003, 08:24 AM
Hi,

I used 2 have my 2 HDD on the same IDE channel and the DVD and CD-R in the other one. This was not optimal for me so I changed one of the HDD to the second IDE. i.e. now IDE 1 has got the first HDD and the DVD and the second one is got the other HDD and the CD-R. Both the DVD and the CD-R are set to slave. My problem is the following but before I start I am running Mandrake 9.1:

Even though the drives I moved around got auto detected and mounted I am having several problems (especially with K3b) with the new fstab arrangement. her is the dump:

none /mnt/cdrom supermount dev=/dev/scd0,fs=iso9660,ro,--,iocharset=iso8859-15,codepage=850,nosuid,nodev 0 0
none /mnt/cdrom2 supermount dev=/dev/hdd,fs=iso9660,ro,--,iocharset=iso8859-15,codepage=850,nosuid,nodev 0 0
/dev/ide/host0/bus1/target1/lun0/cd /mnt/cdrom2/ auto ro,noauto,user,exec 0 0
none /mnt/floppy supermount

In all honesty I am clueless of where to start and reinstalling to fix something that seems to be strait forward seems a bit daft.

I am also having problems mounting USB memory cards @ first it used to mount automatically with no problems but now I cant even find the entry in /dev/
any ideas?

Thanks.

michaelk
06-09-2003, 10:21 PM
I don't use K3b but what are your exact errors? What other errors are you having. It looks like your fstab is configured correctly so here are some things to look at.

I will also asume that you are using lilo. Edit /etc/lilo.conf and verify that you have:

hdd=ide-scsi
(cdrecord needs both drives setup for scsi emulation so you also might need hdb=ide-scsi too.)

If not then save changes and rerun
/sbin/lilo

In the fstab your /mnt/cdrom2 points to your DVD drive and your CD-R is /mnt/cdrom. Do you have any problems accessing either devices? The DVD drive is not setup for supermount so you need to mount it manually. i.e

mount /mnt/cdrom2

see man pages on supermount for additional info.

Also it might be easier to create a link to your DVD drive i.e. (as root)

ln -s /dev/ide/host0/bus1/target1/lun0/cd /dev/dvd

Change permissions
chmod 555 /dev/dvd

You can change /dev/ide/... to /dev/dvd to make things easier to understand. And change /mnt/cdrom2 to /mnt/dvd too.

Will save the USB problems for another post

Digit0
06-09-2003, 10:42 PM
Thanks for answering michaelk,

rather than wasting your time (bacause I have a hell of a lot of questions regarding mounts on the fstab), would it be possible for you to point me to any comprehensive manuals/tutorials regarding this subject?

Cheers

michaelk
06-10-2003, 07:38 AM
I haven't seen any howtos etc on fstab. There is some usefull information in the man pages for mount and fstab.

You can search list website for some help too.

dysharmonic
06-10-2003, 09:30 AM
man fstab

or

info fstab