Hot answers tagged

6

This is caused by a spelling error in the definition of PARTITION. Because of this, PARTITION is empty (while PARTION contains what you want) and /dev/$PARTITION becomes /dev/. Note that the variable $USER already contains the username, so no need to set it (unless you want to do the mounting from a different user).


4

The equivalent to the Ubuntu GUI's mount action for removable media would be gvfs-mount -d device or gvfs-mount --device=device where device is a block device such as /dev/sdb. Note that this command is executed as the owner of the current desktop session, and will mount the device into a directory such as /media/<user>/<label> rather than to ...


3

The reason you cant view it is because its been allocated for swap which is a waste allocating it 500GB its good to allocate it a size equal to RAM size of your PC. Re partition that 1Tb disks 500GB extended prtition in live mode by using Gparted and allocated a memory slightly equal to your RAM size then the rest you can use it for other purposes.doing this ...


3

Use pmount instead of mount. pmount ("policy mount") is a wrapper around the standard mount program which permits normal users to mount removable devices without a matching /etc/fstab entry. Probably want the ... -w, --read-write Force the device to be mounted read/write. If neither -r nor -w is specified, the kernel will choose an ...


2

welcome, assuming you are using a 4 gb RAM computer, you will have delete that 500GB patition indicating SWAP , the right click on the unlocated new 500Gb which will appear in grey color and allocated 4 gb as swap by selecting file system as Linux-Swap in G-Parted and click add, the remaining vlume you will create a new file system by right clicking on it ...


1

Rinzwind: my stripped-down script I posted in the question above doesn't show it, but there's a problem with the 'pmount' solution. The problem is that it only appears to be able to mount to /media. The full script is more complicated: it creates a 500MB large image file (image of a USB pendrive), partitions it into 2 partitions (FAT32 and Ext3) , mounts ...



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