Tag Info

Hot answers tagged

5

Use parted instead, possibly coupled with your filesystem's resizing command. parted is the engine underneath the GParted GUI. You can use it in either interactive command mode or directly from the command line. Before parted 3.0, the following command does what you are probably expecting, having learned about GParted: $ sudo parted /dev/sdb resize 1 1 ...


2

There are several things mixed here mounting a filesystem by user and superuser, accessing files on a mounted file system and accessing the data on the "raw" device. mounting a file system root can always mount a file system, provided he can access the device that carries it - which it can when the kernel recognizes it. Users are only allowed to mount a ...


2

It depends on if blah is a root on your sda3 installation. If no: By default can only root mounting anything, so you don't need even get out them from the /etc/fstab. Only what you should check: They need the noauto flag (to not mount them on boot) And shouldn't have the user flag (or they were mountable by user). If he is a root, or have (or can make) ...


2

UUID=913aedd1-9c06-46fa-a26e-32bf5ef0a150 /media/Schijf-2 ext4 rw,relatime,discard 0 2 See man fstab for the complete list and description of the options.


1

To backup DOS label (MBR) use this: dd if=/dev/sdX of=mbr bs=512 count=1 To backup GPT label use this: dummy=$(parted -ms /dev/sdX print | tail -1| cut -b1) size=$((128 * dummy + 1024)) dd if=/dev/sdX of=gpt bs=1 count=$size To wipeout the labels use this: dd if=/dev/zero of=/dev/sdX bs=Y count=Z partprobe /dev/sdX HTH


1

You need to add a label to the partition. To do this, either use a filesystem specific tool, such as e2label for ext2/3/4 or use gparted. For example: #e2label /dev/sda2 Schijf-2 Do NOT mount the partition on a mount point (such as /home/Schijf-2) as it will then be part of that directory tree in your file manager and consequently will not show up. The ...


1

By default, if your fstab entry is: UUID=913aedd1... /media/Schijf-2 ext4 rw,relatime 0 2 your partition will not be shown as Schijf-2 in your sidebar, unless it is labelled Schijf-2. You have two options: Leave the fstab entry as is and label your partition (e.g. if sda2 is your partition): e2label /dev/sda2 Schijf-2 Leave the partition ...


1

Quoting the Ubuntu UEFI Community Wiki. The same Rules apply regardless of Distribution. Creating an EFI partition If you are manually partitioning your disk in the Ubuntu installer, you need to make sure you have an EFI partition set up. If your disk already contains an EFI partition (eg if your computer had Windows8 preinstalled), it can be used for ...


1

It seems that the drive has been formatted by Windows - which is not surprising, since Windows definitely must have been unable to use the disk which had very likely been formatted by OS X for sole use under OS X. Now the problem is exactly the same, just with the sides swapped. If you want to mount the Windows partition, you can try blindly guess the file ...


1

You can share a partition (NTFS, FAT formatted is the easiest) and share that between reboots. Much easier, and not requiring reboots of the machine is to install a VM (VirtualBox, VMware) on the windows machine, run Linux as a guest VM and share the directories on the Windows drive. You do need more memory for this setup (as Windows and Linux run at the ...


1

The reason why the two other partitions aren't showing in MBR is because they are based on the extended partition (the type for the second partition is 0x05. Reference: http://en.wikipedia.org/wiki/Partition_type#PID_0Fh


1

You want to delete a partition based on its label ? What if you have two or more partitions with the same label ? You can delete a partition with parted in command line mode (non-interactive) but it won't take partition label as an argument. You have to invoke parted with a device name as argument and pass the partition number to rm command: parted $device ...



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