Re: How to mount USB drive at boot time

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

 



As far as looging-boot messages is concerned:

i also thought, that they are kept in /var/log/boot.log or /var/log/boot.msg. but as i googled aroud, i read that from fedora core 6 and fedora 7 on it is no longer so.

Boot messages are maintained in /var/log/dmesg i learned, but this is only about hardware and not about started services.

suomi

Jonathan Ryshpan wrote:
On Thu, 2007-07-26 at 17:36 -0400, Bill Davidsen wrote:
Jonathan Ryshpan wrote:
I have a USB drive that is usually, though not always, connected to my
desktop system.


If it is connected to the system at boot time, the device path should be
created and the drive should be mounted immediately, i.e. BEFORE any
user logs in.

If it is not connected at boot time, there should be no serious problem.

If the drive is connected to a running system (on which it had not been
previously connected), the device path should be created, and it should
be mounted by root.

Root should be able to unmount the drive, when it is mounted.


I assume this should be done by either udev or hal -- HOW?

You may be able to do this just by putting the entry in /etc/fstab, using the UUID of the filesystem to eliminate any dependency on device name. I /think/ the hotplug will check, I can't easily go thru it myself at this moment.

I don't think so.  Here's my /etc/fstab:

LABEL=/                 /                       ext3    defaults        1 1
...
UUID=9dd976ce-a988-42a2-857d-06c3079675e7       /media/usb-disk ext3 defaults 1 2


During boot I see these messages:

Mounting local filesystems	[FAILED]
...
Mounting other filesystems: mountpoint /media/usb-disk does not exist.

And, in fact, the drive is not mounted.

BTW: Why is this so hard?  Am I the only person who wants to do it?

BTW: I thought that the messages that appear on the monitor during boot
were saved in /var/log/messages .  Apparently not.  Are they saved
anywhere?

Thanks - jon



--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[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