When mounting the drive /dev/sda1 (mount -o remount,rw /dev/sda1 -t ext4 /mnt
)from a rescue cd, I get mount: /mnt not mounted already, or bad option
. I don't know what to do here because I've searched forums for hours and no-one had a fix that worked. I need this solution because i'm using it to chroot into an old machine with some files on it and a password I need to recover.

- 11
- 1
- 1
- 5
2 Answers
It's simpler than you think. You can find docs of mount in man page of mount command.
man mount
There is a way to do search inside man page but this is another subject.
Mount's man pages specifies that remount option is used to attempt to remount an already-mounted filesystem. So you should only use that option if the filesystem is already mounted.
Also, in most cases, you don't need to specify filesystem type. It should be automatically detected unless the partition table is damaged.
That should work:
mount -o rw /dev/sda1 /mnt
Also please note that you can create folders in /mnt when nothing yet is mounted in order to have mount points for multiple devices/partitions.
Just mkdir /mnt/sda1 and mount sda1 in there, not in the /mnt root.

- 1,709
- 3
- 17
- 31

- 41
- 4
If there is a wrong option in fstab which keeps the filesystem in read-only after reboot, this had helped for me to make it rw:
mount /dev/md127 / -o remount,rw
(adjust /dev/md127 to any block device as needed)
per idea from https://bugzilla.redhat.com/show_bug.cgi?id=573548

- 583
- 3
- 11

- 11
- 1
tmpfs on /dev/shm type tmpfs (Rw,mode=1777) Proc on /proc type proc (rw) Sysfs on /sys type sysfs (rw) Debugfs on /sys/kernel/debug type debugfs (rw) Udev on /dev type tmpfs (rw,mode=0755) devpts on /dev/pts type devpts (rw,mode=0620,gid=5
each 4-space gap represents a line break. I was writing this on a phone so the enter button was send, sorry. – orbitwar Aug 17 '17 at 15:07