LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 11-21-2002, 02:24 PM   #1
Pollux
LQ Newbie
 
Registered: Nov 2002
Posts: 6

Rep: Reputation: 0
Cannot mount usb Hd or usb CDRW


These two drives are seen by the system (MDK 9.0) but I'm having trouble mounting any of them.

After I make sure they're seen by the system:

Hd= sda
CDRW= sdc0

I try to mount them:

(Hd)
mkdir /storage

and then when I go to /etc/fstab as root and enter the /dev/sda ....
I get an access denied (as root)

What am I doing wrong?
 
Old 11-22-2002, 01:03 AM   #2
pagal
Member
 
Registered: Oct 2002
Distribution: Red Hat Phoebe!
Posts: 92

Rep: Reputation: 15
try this as root

mkdir /mnt/storage
mount /dev/sda /mnt/storage

and for cdrw...

mkdir /mnt/cdrw
mount /dev/sdc0 /mnt/cdrw

P.S: welcome to LQ!
 
Old 11-22-2002, 10:14 AM   #3
Pollux
LQ Newbie
 
Registered: Nov 2002
Posts: 6

Original Poster
Rep: Reputation: 0
I think I've already tried that but I'll try again and let you know how it turns out..

Thanks for your welcome.....
 
Old 11-22-2002, 10:15 AM   #4
Pollux
LQ Newbie
 
Registered: Nov 2002
Posts: 6

Original Poster
Rep: Reputation: 0
PS. Don't I have to tell Linux that this drive is a Dos partition?
 
Old 11-22-2002, 10:29 AM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 9,915

Rep: Reputation: 338Reputation: 338Reputation: 338Reputation: 338
Post your fstab file.
Try this as root.
mount -t vfat /dev/sda1 /mnt/storage
and for the CDRW with a data CD
mount -t iso9660 /dev/scd0 /mnt/cdrw
(The mount points /mnt/storage and /mnt/cdrw must exist before usint the mount command).
 
Old 11-22-2002, 08:56 PM   #6
Pollux
LQ Newbie
 
Registered: Nov 2002
Posts: 6

Original Poster
Rep: Reputation: 0
Here's what /etc/fstab says:

/dev/hda5 / ext3 noatime 1 1
none /dev/pts devpts mode=0620 0 0
/dev/hda8 /home ext3 noatime 1 2
none /mnt/cdrom supermount dev=/dev/hdc,fs=auto,ro,--,iocharset=iso8859-1,codepage=850 0 0
none /mnt/floppy supermount dev=/dev/fd0,fs=auto,--,iocharset=iso8859-1,sync,codepage=850 0 0
/dev/hda1 /mnt/windows vfat iocharset=iso8859-1,codepage=850 0 0
none /proc proc defaults 0 0
/dev/hda7 /usr ext3 noatime 1 2
/dev/hda6 swap swap defaults 0 0
/dev/sda1 /mnt/camera auto user,iocharset=iso8859-1,kudzu,codepage=850,noauto,exec 0 0

I have already created a directory in /mnt called "storage"
 
Old 11-23-2002, 04:52 AM   #7
Pollux
LQ Newbie
 
Registered: Nov 2002
Posts: 6

Original Poster
Rep: Reputation: 0
I've tried to copy the same setting than my C drive substituting the hda1 by sda, and I get "permission denied". And, of course I am logged in as root....
Is there anything I'm not doing right?
 
Old 11-23-2002, 07:56 AM   #8
born4linux
Senior Member
 
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
can you post the output of these commands:

fdisk -l

ls -l /dev | grep cdrom

Your /etc/fstab has an entry for /dev/sda1 which will be mounted on /mnt/camera. Can u see it if u run 'mount'?
 
Old 11-23-2002, 01:08 PM   #9
Pollux
LQ Newbie
 
Registered: Nov 2002
Posts: 6

Original Poster
Rep: Reputation: 0
Here's what my fdisk -l says:

Disk /dev/scsi/host0/bus0/target0/lun0/disc: 255 heads, 63 sectors, 14946 cylinders
Units = cylinders of 16065 * 512 bytes

Device Boot Start End Blocks Id System
/dev/scsi/host0/bus0/target0/lun0/part1 ? 119512 153402 272218546+ 20 Unknown
Partition 1 does not end on cylinder boundary:
phys=(357, 116, 40) should be (357, 254, 63)
/dev/scsi/host0/bus0/target0/lun0/part2 ? 82801 116350 269488144 6b Unknown
Partition 2 does not end on cylinder boundary:
phys=(269, 101, 57) should be (269, 254, 63)
/dev/scsi/host0/bus0/target0/lun0/part3 ? 33551 120595 699181456 53 OnTrack DM6 Aux3
Partition 3 does not end on cylinder boundary:
phys=(324, 77, 19) should be (324, 254, 63)
/dev/scsi/host0/bus0/target0/lun0/part4 * 86812 86813 10668+ 49 Unknown
Partition 4 does not end on cylinder boundary:
phys=(335, 78, 2) should be (335, 254, 63)

Partition table entries are not in disk order

Disk /dev/ide/host0/bus0/target0/lun0/disc: 255 heads, 63 sectors, 1222 cylinders
Units = cylinders of 16065 * 512 bytes

Device Boot Start End Blocks Id System
/dev/ide/host0/bus0/target0/lun0/part1 * 1 612 4915858+ b Win95 FAT32
/dev/ide/host0/bus0/target0/lun0/part2 613 1222 4899825 5 Extended
/dev/ide/host0/bus0/target0/lun0/part5 613 694 658633+ 83 Linux
/dev/ide/host0/bus0/target0/lun0/part6 695 725 248976 82 Linux swap
/dev/ide/host0/bus0/target0/lun0/part7 726 1018 2353491 83 Linux
/dev/ide/host0/bus0/target0/lun0/part8 1019 1222 1638598+ 83 Linux

Here's ls -l /dev | grep cdrom:

lr-xr-xr-x 1 root root 13 Nov 23 09:53 cdrom -> cdroms/cdrom0
lr-xr-xr-x 1 root root 13 Nov 23 09:53 cdrom0 -> cdroms/cdrom0
drwxr-xr-x 1 root root 0 Dec 31 1969 cdroms/

Thanks...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to mount usb cdrw drive sbhaid Linux - Newbie 2 11-12-2005 09:03 AM
how do i mount a usb cdrw? munkeevegetable Linux - Newbie 6 11-05-2004 01:13 AM
mount usb module then mount usb hard drive guanyu Linux - Hardware 1 10-08-2003 11:50 AM
QUE! USB CDRW, can not mount yolopollo Slackware 3 07-24-2003 05:58 PM
USB USB-CDRW Drive Mikest Linux - Hardware 24 10-22-2002 10:59 PM


All times are GMT -5. The time now is 03:19 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration