LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 01-25-2014, 03:40 PM   #1
Arch Stanton
LQ Newbie
 
Registered: Nov 2004
Location: Halifax, Nova Scotia
Distribution: elementaryOS
Posts: 23

Rep: Reputation: 15
harddrives assigned in /dev change on boot up


I'm having an issue where I can't mount drives with fstab because the drives seem to be randomly assigned in /dev everytime I reboot.

I go to gparted get /dev/sdd1 for example and mount it with /etc/fstab
then reboot and mount fails on start up.

i'm stumped on this one, any ideas?

Setting up a new install of elementary os btw
 
Old 01-25-2014, 04:01 PM   #2
camorri
Senior Member
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.0 + 14.1
Posts: 4,834

Rep: Reputation: 431Reputation: 431Reputation: 431Reputation: 431Reputation: 431
You can use the UUID for the partition to mount the drive. Then it doesn't matter if the device name changes. Here is a short tutorial.

-->http://www.cyberciti.biz/faq/linux-f...-update-fstab/
 
Old 01-25-2014, 04:40 PM   #3
Arch Stanton
LQ Newbie
 
Registered: Nov 2004
Location: Halifax, Nova Scotia
Distribution: elementaryOS
Posts: 23

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by camorri View Post
You can use the UUID for the partition to mount the drive. Then it doesn't matter if the device name changes. Here is a short tutorial.

-->http://www.cyberciti.biz/faq/linux-f...-update-fstab/


I had to use blkid because i don't have vol_id installed but that did the trick ;}


Thank you !!!!!
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
RAID card assigned to /dev/sda1 wigglytoes Linux - Software 1 01-05-2014 12:28 AM
what command will identify which dev file my device was assigned kevmcool Linux - Newbie 3 02-02-2010 06:54 AM
external cdrw assigned to /dev/uba instead of /dev/sr0 gchew Slackware 0 11-14-2004 03:22 AM
contents of /dev change at every boot? rgiggs Slackware 2 07-02-2004 11:33 PM
SATA problem, hdd is detected but no dev is assigned cubus Slackware 1 03-18-2004 03:57 PM


All times are GMT -5. The time now is 12:25 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 Google+: linuxquestions
Open Source Consulting | Domain Registration