Re: F10 mounting USB Harddrive via fstab

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2008-11-28 at 08:02 +0100, Patrick Steiner wrote:
> Hi,
> 
> i have some problems mounting my 500gb usb hard drive during boot.
> 
> here is my fstab entry:
> 
> LABEL=USB320HD          /mnt/backup_hd          ext3    defaults,auto   1 1
> 
> if i active this entry fedora 10 doesn't boot anymore.
> 
> could it be, that the usbdrive gets detected after fstab tries to mount
> the disc?

Do you get an fsck error just before the failure message? If so, this is
a known problem, see https://bugzilla.redhat.com/show_bug.cgi?id=471217

When the system fails to boot, I do the following:
1) Give the root password and get a Shell
2) "mount -o remount /" (to enable writing to the root filesystem)
3) Edit /etc/fstab and comment out the line corresponding to the
external drive.
4) Ctrl-D to reboot.
5) After a successful boot, but *before* logging in, get a console
(Ctrl-Aft-F2).
6) Log into the console as root.
7) Edit /etc/vstab to remove the comment.
8) Mount the external drive.
9) Ctrl-Alt-F1 to get back to the graphical login.
10) Log in to the system as myself.

This is a bit complicated because I have some stuff on the external
drive that needs to be there when I log in to my account. You might be
able to simplify it. Also, parts of it could probably be automated, I
just can't be bothered. And of course you could save some time by
remembering to comment out the offending line before shutting down your
system instead of going through the failed boot first.

It's a major PITA but it works.

poc

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux