We’re rewarding the question askers & reputations are being recalculated! Read more.

Hot answers tagged

4

mount --make-rprivate dev/ umount -l dev/ The first command is needed for safety. It makes sure you will not propagate an unmount to any submounts of /dev. The second command is a lazy unmount. The programs that had opened files will generally still be able to access them. Until they close them, the filesystem is still open. However, the filesystem is "...


3

For some reason the Linux kernel isn't recognizing the partition table, so it doesn't know there should be an sdh1. Unless you've done something weird (like compiling a kernel w/o DOS partition table support), that probably means the partition table format isn't exactly as expected by the kernel (fdisk is a different implementation of parsing the partition ...


2

The md5 checksums of two files are different only if their content are different. You can confirm this by comparing them with cmp or diff command. Their could be several reasons for the copy operation not working correctly: Unplugging sdcard before the disk cache is flushed. You can try using udiskctl. Filesystem corruption. You can try reformatting the ...


2

If you're trying to mount a logical HDD/SDD I dual boot: Windows 10/Ubuntu I found this searching for a way to mount my Windows drive in Linux Steps Taken show block devices ℹ️ your HDD/SDD is a block storage device sudo blkid /dev/sda5: UUID="a6aa3891-1dc2-439a-b449-b9b1848db028" TYPE="ext4" PARTUUID="e4887e0f-05" /dev/sda1: LABEL="System" UUID="...


1

There are a number of filesystems in addition to the "/" that you want as well. You can either use a bind mount or just mount them inside the chroot. For this error you want mount -t sysfs sysfs /sys I tend to use for i in dev dev/pts sys tmp run proc do mount --bind /$i /mnt/root/$i done but add and subtract from the list in the for line ...


1

Why not just place the mount in /etc/fstab, since you're RHEL 7. There are number of different configurations you can follow which, when your host is rebooted, will make sure your mount comes up with the machine, using _netdev and auto flags should take care of your use cases. fstab fstab man page You'll be using mount with a newly edited /etc/fstab.


1

System does not write all data until media is going to be unmounted. This is a common behaviour with removable (usually slow and flash memory) media because system try to limit writes. Visually, you can notice file manager (PCManFM if I well remember...) warns you about wait for the unmounting process (if you have a LED for the SD card reader, it will ...


1

Should I be using /dev/mapper/ubuntu--vg-root to mount my root image so that the mirror stays intact? Yes sir. It looks like, even if quite broken, your system launched the LVM stuff and your PV/VG/LV has been correctly detected. So just mounting your LV will work and keep your mirror synchronized.


1

Today, you have to adapt to SystemD; 90% of the traditional and complicated "rules" for partitioning are obsolete. The usr-bin "split" problem is also "normalized", thanks to systemd: Poettering explains why it has "always been broken" to have /usr split off and have a "minimal" /bin; the initrd is that "minimal root". he says. (systemd/...


1

There is a syntax error in the mount command, the space after the comma. mount -v -t cifs //<IP>/MyShare /mnt -o username=Administrator,vers=2.0 should work.


Only top voted, non community-wiki answers of a minimum length are eligible