LinuxQuestions.org
Register a domain and help support LQ
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 09-27-2012, 07:03 PM   #1
vonedaddy
Member
 
Registered: Aug 2004
Location: Philadelphia,PA
Posts: 177

Rep: Reputation: 17
System boots into emergency mode when USB drives in fstab


I recently installed Fedora 17 64 bit and would like to mount my USB drives on boot via fstab. The reason I like to do this is because I share the drives out and like them to be mounted.

So I put the following in my /etc/fstab:

/dev/sdb1 /drobo ext3 defaults 0 0
/dev/sdc1 /vault ext3 defaults 0 0

But then the system boots into emergency mode. If I remove the above two lines it boots fine.

Any ideas?
 
Old 09-27-2012, 08:39 PM   #2
tux9656
LQ Newbie
 
Registered: Sep 2012
Distribution: Debian
Posts: 11

Rep: Reputation: Disabled
Try mounting them by UUID instead of by device path. Instead of doing something like /dev/sdc1, do UUID="SomeUUID." To figure out the UUID of all your filesystems run the blkid command. Also, you should upgrade your filesystems to ext4 for improved performance. ext4 is just as reliable as ext3, but is much faster. The only reason to use ext3 is if you are going to use the drives with older kernels.
 
Old 09-28-2012, 06:43 AM   #3
vonedaddy
Member
 
Registered: Aug 2004
Location: Philadelphia,PA
Posts: 177

Original Poster
Rep: Reputation: 17
Thank tux.. I figured out that they are ext4 filesystems thats why they would not mount. The problem I am having is even though they are in /etc/fstab they still get automounted like a USB drive.

What I am trying to do it avoid automount in gnome mounting the filesystems. I would rather have them mounted in fstab at boot so they are available if nobody is logged in.

Is this possible?
 
Old 09-30-2012, 01:44 PM   #4
jefro
Guru
 
Registered: Mar 2008
Posts: 11,516

Rep: Reputation: 1403Reputation: 1403Reputation: 1403Reputation: 1403Reputation: 1403Reputation: 1403Reputation: 1403Reputation: 1403Reputation: 1403Reputation: 1403
If it boots to some special mode then that makes me think that some boot issue is trying to boot to data on those drives.

The suggestion of boot by device id or name or uuid is I think the way to fix it both in fstab and loader and maybe bios boot order.

Last edited by jefro; 09-30-2012 at 01:45 PM.
 
  


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
Unable to Access to Single User Mode or Emergency Mode Pinglu Linux - Newbie 3 10-17-2011 01:25 PM
Is there any way to change the "File System" filed in /etc/fstab every time it boots? cricketlong Linux From Scratch 3 04-07-2011 04:56 AM
Emergency mode can mount the HDD with FS error but not in rescue or single user-mode kayod_jj Linux - Newbie 3 12-01-2010 07:03 PM
Fedora 9 usb boots into text mode, not the gui... dwizzle13 Fedora 5 08-17-2008 07:26 PM
how to change fstab so the system can startup in multi-user mode zeta34 Linux - General 5 08-11-2007 04:07 AM


All times are GMT -5. The time now is 02:46 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