Re: Hosed fstab, won't boot how to edit?

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

 



Robert Moskowitz wrote:
Roger Heflin wrote:
On Tue, Jan 20, 2009 at 1:45 PM, Robert Moskowitz



mount -o rw,remount /

So I tried this (had a DAH moment after you posted this), but got an error:

mount: / not mounted already, or bad option

So I tried just 'mount' to see what the status of / is and got (amongst other pieces of info):

/dev/sda1 on / type ext3 (rw)
then edit it.


mount is not reliable to show what is mounted in some cases.

It reads /etc/mtab a file that happens to be located on a ro filesystem that won't have been updated so it won't be right when a machine is in single user mode.

do a "cat /proc/mounts" to figure out what the actual state is, I never use the mount command to see what is mounted there are just too many failures of it (it only shows the options that you used, not (in the case of nfs) the actual parameters being used).

try doing a "mount -o remount,rw /" I know I have done this several times.

--
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