LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (http://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   System boots into emergency mode when USB drives in fstab (http://www.linuxquestions.org/questions/linux-desktop-74/system-boots-into-emergency-mode-when-usb-drives-in-fstab-4175429370/)

vonedaddy 09-27-2012 07:03 PM

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?

tux9656 09-27-2012 08:39 PM

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.

vonedaddy 09-28-2012 06:43 AM

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?

jefro 09-30-2012 01:44 PM

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.


All times are GMT -5. The time now is 12:56 AM.