[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gNewSense-users] Trying to re-build fstab to read usb port drives
From: |
Sam Geeraerts |
Subject: |
Re: [gNewSense-users] Trying to re-build fstab to read usb port drives |
Date: |
Sat, 13 Mar 2010 20:48:42 +0100 |
User-agent: |
Thunderbird 2.0.0.23 (X11/20090824) |
Adrian van Egmond schreef:
Recently, I wiped out my fstab using chmod 666 command on /dev and
/media while making a liveusb. Idiotic, I know! I can get the usb to
recognize but not much more. Perhaps someone can see the problem?
Here is some info:
/dev/sdd1 /media/Sugar ext3 auto user,noauto 0 0
So you're trying to mount /dev/sdd1.
sudo dmesg | tail
[164908.860000] usb-storage: device scan complete
[164908.872000] sd 16:0:0:0: [sdo] 625142448 512-byte logical blocks:
(320 GB/298 GiB)
[164908.872000] sd 16:0:0:0: [sdo] Write Protect is off
[164908.872000] sd 16:0:0:0: [sdo] Mode Sense: 1c 00 00 00
[164908.872000] sd 16:0:0:0: [sdo] Assuming drive cache: write through
[164908.872000] sd 16:0:0:0: [sdo] Assuming drive cache: write through
[164908.872000] sdo: sdo1
The system assigns /dev/sdo1 to the USB partition.
mounted (not really) write permissions error
tail -f /var/log/messages
Mar 11 05:16:30 gnewsense kernel: [169466.264000] scsi 17:0:0:0:
Direct-Access Seagate FreeAgent Go 102F PQ: 0 ANSI: 4
Mar 11 05:16:30 gnewsense kernel: [169466.288000] sd 17:0:0:0: [sdp]
625142448 512-byte logical blocks: (320 GB/298 GiB)
Mar 11 05:16:30 gnewsense kernel: [169466.292000] sd 17:0:0:0: [sdp]
Write Protect is off
Mar 11 05:16:30 gnewsense kernel: [169466.292000] sdp: sdp1
Mar 11 05:16:30 gnewsense kernel: [169466.348000] sd 17:0:0:0: [sdp]
Attached SCSI disk
The system assigns /dev/sdp1 this time.
To always mount that device to the same mount point it's best to do it
by UUID. Find out the UUID of the USB partition by plugging it in and
then running
sudo blkid
Pick the USB partition from that list (compare with dmesg output if
needed) and replace the "/dev/sdd1" in you fstab with "UUID=..." (fill
in the UUID you found).