LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 05-06-2007, 07:41 PM   #1
Kapt Nemo
LQ Newbie
 
Registered: May 2007
Location: Dayton Ohio USA
Distribution: XUBUNTU
Posts: 2

Rep: Reputation: 0
FSTAB help plz?!?!


Over the weekend I decided to install XUBUNTU, and I'm having a problem getting my two extra hard drives to mount and be written to. I edited the fstab to what i thought it should be, but still no luck.

Quote:
From FSTAB file
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/hda1
UUID=3c86f6f7-0da4-43da-8edf-09f302873092 / ext3 defaults,errors=remount-ro 1 1
# /dev/hdb1
UUID=e4aa9499-ae37-4d0f-8474-61444da7d54b /mnt/datadrive ext3 defaults 1 2
# /dev/hdc1
UUID=1cc1ae5d-d1a4-4bbe-b6b1-187c515b1955 /mnt/mediadrive ext3 defaults 1 2
# /dev/hda2
UUID=a3dbebfb-cf68-42f6-b70a-4c68c85182ca swap swap sw 0 0
/dev/hdd /media/cdrom0 udf,iso9660 user,auto 0 0
/dev/scd0 /media/cdrom1 udf,iso9660 user,auto 0 0
/dev/scd1 /media/cdrom2 udf,iso9660 user,auto 0 0


From what I could find this looks ok. What is happening is hdb1 and hdc1 are my two extra hard drives they show up in /media as a 4.0kb folder... Any help would be greatly appreciated.


The Nemo...
 
Old 05-06-2007, 08:49 PM   #2
Okie
Senior Member
 
Registered: Mar 2002
Location: Oklahoma
Posts: 1,154

Rep: Reputation: 187Reputation: 187
yuppers, you can thank UUID for your problems, there was nothing wrong with /dev/hd? (the old way) the ubuntu developers should know if it ain't broke dont fix it...

UUID has made me dislike the *Ubuntus to the point i want to flame them worse than ms-windows...

you will see in the future a lot of people having problems because of UUID...
 
Old 05-07-2007, 03:05 AM   #3
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230

Rep: Reputation: 293Reputation: 293Reputation: 293
Yeah, forget the UUID stuff. Back up your fstab first, then change it back to the old way for drives #2 and #3 like this:

/dev/hdb1 /mnt/datadrive ext3 defaults 1 2

/dev/hdc1 /mnt/mediadrive ext3 defaults 1 2

Make sure you have the mountpoints /mnt/datadrive and /mnt/mediadrive setup in /mnt. See if this works.
 
Old 05-07-2007, 04:11 AM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
I don't necessarily agree. Are these "extra" drives external drives? If so, then if you were to plug them in on a latter date, they may be assigned different device numbers. Using the UUID number, you can plug in different drives and have fstab entries for them. For example, you could plug in one that you only use for backups occasionally, and have a situation where you have more external drives than usb ports.

I have my external drives mounted this way, with UUID= instead of devices in /etc/fstab. The problem may be something else.

Try using "sudo /sbin/fdisk -l /dev/sdb" & "sudo /sbin/fdisk -l /dev/sdc".
You can also use /dev/disk/by-uuid/<uuid#>/
 
Old 05-07-2007, 11:15 PM   #5
Kapt Nemo
LQ Newbie
 
Registered: May 2007
Location: Dayton Ohio USA
Distribution: XUBUNTU
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jschiwal
I don't necessarily agree. Are these "extra" drives external drives? If so, then if you were to plug them in on a latter date, they may be assigned different device numbers. Using the UUID number, you can plug in different drives and have fstab entries for them. For example, you could plug in one that you only use for backups occasionally, and have a situation where you have more external drives than usb ports.

I have my external drives mounted this way, with UUID= instead of devices in /etc/fstab. The problem may be something else.

Try using "sudo /sbin/fdisk -l /dev/sdb" & "sudo /sbin/fdisk -l /dev/sdc".
You can also use /dev/disk/by-uuid/<uuid#>/


They are both internal 3.5 drives... but unfortunately I found that as of yet there are no working sound drivers for my EM-u 0404 sound card.. looks like I'm waiting until then to give Linux another chance...
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
fstab problem: mount: can't find dvd in /etc/fstab or /etc/mtab Nikon01 Slackware 5 11-17-2006 06:15 AM
plz plz solve my route mapping problem nedian123 Linux - Networking 1 07-12-2004 09:41 PM
(version 5.1 chapter 08 fstab) vs (man fstab) rgiggs Linux From Scratch 2 06-03-2004 05:55 PM
redhat problems plz plz help sap666 Linux - Newbie 5 07-30-2003 10:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 11:18 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration