I use the VirtualBox UI to add a second virtual disk (belonging another VM) to my Xubuntu 18.04 guest. After I boot the guest I see a desktop icon named "20 GB Volume" with the tooltip "Removable Volume. Not mounted yet.". At this point df shows me    Filesystem     1K-blocks      Used Available Use% Mounted on udev             1989308         0   1989308   0% /dev tmpfs             403956      1044    402912   1% /run /dev/sda1       61663020   6819780  51681232  12% / tmpfs            2019768         0   2019768   0% /dev/shm tmpfs               5120         4      5116   1% /run/lock tmpfs            2019768         0   2019768   0% /sys/fs/cgroup tmpfs             403952        12    403940   1% /run/user/1000   Double-clicking the desktop icon mounts the volume, after which it shows up in the df output as /dev/sdb1  Filesystem     1K-blocks      Used Available Use% Mounted on udev             1989308         0   1989308   0% /dev tmpfs             403956      1048    402908   1% /run /dev/sda1       61663020   6819456  51681556  12% / tmpfs            2019768         0   2019768   0% /dev/shm tmpfs               5120         4      5116   1% /run/lock tmpfs            2019768         0   2019768   0% /sys/fs/cgroup tmpfs             403952        12    403940   1% /run/user/1000 /dev/sdb1       19478204   9814968   8650756  54% /media/gord/4554a2b5-26d3-4568-8127-41418ca654f4   My question: If I wanted to mount the volume on a guest running Ubuntu Server (no GUI) how would I do it without Xfce available to do the magic for me? I assume that it would involve the mount command, but    where would I find the necessary information about the second virtual disk in the guest OS environment, and what would the mount command look like?
120743
There are many questions on automatically mounting or problems encountered during mounting that I've read here. But none on how to manually mount a partition.
75771
I am trying to run the command sudo mount -t vboxsf SharedUbuntuWindows SharedUbuntuWindows but I get the error unknown filesystem type 'vboxsf' on my guest Ubuntu machine. I am following  but I cannot find 'Install Guest Additions' under 'Devices'. Instead, I see 'Insert Guest Additions CD image'. Am I even on the proper path to solve the issue?    This is what I see when I select 'Insert Guest Additions CD image...'. Pressing 'Force Unmount' only makes the pop-up dialog disappear, but I still am unable to run the command sudo mount -t vboxsf SharedUbuntuWindows SharedUbuntuWindows.
57979
I followed the steps for sharing folders between Windows 7 and Ubuntu in VirtualBox.  Despite that the folder appears with a X sign and gives me the following message when a try to open it:     The folder content could not be displayed   When I choose Shared Folder from the VirtualBox Device menu, the following warning is displayed:     On the system page, you have assigned more than 50% of your computer's memory (2.93 GB) to the virtual machine...   How can I successfully share folders between Windows and Ubuntu using VirtualBox?
6990
I have installed VirtualBox OSE on Ubuntu 11.04 and Windows XP pro as the virtual machine. Now I want to have a shared folder which can be accessed on both, my host Ubuntu machine, and my WinXP guest virtual machine.  How can I do that?
74679
In FHS-2.3, we have /media that holds mount points for removable media such as CD-ROMs and we have /mnt that holds temporarily mounted filesystems.  On the other hand, we have /run/media and /run/mount. For me, the CDs and USBs are mounted on /run/media.  I don't see any clear distinction between them(/media, /mnt, /run/mount) . What are their differences?     I have seen similar trend (mount on /run/media) in fedora 20 - GNOME 3.10.4 and ubuntu 14.04.1 (installed on virtual box) with GNOME 3.10.4. But when I plugged in a USB flash (with auto-mounter script) on a system with Centos 6 and GNOME 2.28.2 it was mounted on /media
56143
I've just had a message today from Ubuntu 11.04 that I have only 100 MB left, so I cleaned up some files, and I got 200 MB. Then, after a couple of hours, suddenly I have only 26 MB?! I tried df, du via mount --bind, /forcefsck with reboot - nothing could should what the culprit is - finally I searched big files, realized /var/log/syslog is 100MB+ and /var/log/kern.log is 200MB+ - blanked them with sudo bash -c 'echo &gt; ...' and rebooted, and now I have some spare MB.  But now, I realize I have another problem with df:  $ df -h Filesystem            Size  Used Avail Use% Mounted on /dev/sda5             9,7G  8,8G  385M  96% / none                  963M  696K  962M   1% /dev none                  969M   12K  969M   1% /dev/shm none                  969M  252K  969M   1% /var/run none                  969M     0  969M   0% /var/lock /dev/sda6             9,7G  8,1G  1,1G  89% /media/disk  $ df -h --block-size M Filesystem           1M-blocks      Used Available Use% Mounted on /dev/sda5                9845M     8960M      385M  96% / none                      963M        1M      962M   1% /dev none                      969M        1M      969M   1% /dev/shm none                      969M        1M      969M   1% /var/run none                      969M        0M      969M   0% /var/lock /dev/sda6                9845M     8235M     1110M  89% /media/disk   Note so for /, it says there are 9845M total; and Used 8960M - then remaining would be 9845-8960 = 885 M, however, here I have only 385M Available.  Also, for /media/disk, it says total 9845M, Used 8235M - then remaining would be 9845-8235 = 1610, however, here I have only 1110M Available.  In both cases, there is exactly 500 MB difference.  Where did this difference come from - and can I reclaim it?  Here is also lsof | grep 'deleted' - can't see nothing suspicious here:  $ lsof | grep 'deleted' nautilus  1911 user   21u      REG        8,5   142760     260562 /home/user/.local/share/gvfs-metadata/home (deleted) nautilus  1911 user   22w      REG        8,5    32768     268807 /home/user/.local/share/gvfs-metadata/home-fe882154.log (deleted) python    1919 user    8u      REG        8,5     4096     392258 /tmp/ffiqRK968 (deleted) python    2165 user    5w      REG        8,5        0     132261 /home/user/.[SNIP].lock (deleted) python    2166 user    5w      REG        8,5        0     132261 /home/user/.[SNIP].lock (deleted) python    2185 user   21r      REG        8,5   142760     260562 /home/user/.local/share/gvfs-metadata/home (deleted) python    2185 user   22r      REG        8,5    32768     268807 /home/user/.local/share/gvfs-metadata/home-fe882154.log (deleted) gnome-ter 2279 user   27u      REG        8,5      640     392575 /tmp/vte5KDX2X (deleted) gnome-ter 2279 user   28u      REG        8,5     4936     392605 /tmp/vteKRDX2X (deleted) gnome-ter 2279 user   29u      REG        8,5      648     392947 /tmp/vteMZDX2X (deleted) ubuntuone 2544 user   17u      REG        8,5     4096     392335 /tmp/ffiMErq0V (deleted) bamfdaemo 3235 user   12r      REG        8,5   143868     269077 /home/user/.local/share/gvfs-metadata/root (deleted) bamfdaemo 3235 user   13r      REG        8,5    32768     272310 /home/user/.local/share/gvfs-metadata/root-18092a02.log (deleted) firefox   5291 user   59u      REG        8,5    33288     132262 /var/tmp/etilqs_YdeZiWSd5iQwJ4U (deleted) firefox   5291 user   60w      REG        8,5    32768     132271 /var/tmp/etilqs_MNLXhEaEqoXMm9b (deleted) firefox   5291 user   70u      REG        8,5    34952     132297 /var/tmp/etilqs_yXDdwVeMxmmdpNz (deleted)
73763
I am trying to install Guest Additions in VirtualBox with Windows XP host and Ubuntu 12.04 guest. I followed the above steps:  Devices-&gt; Insert Guest Additions CD Image. After that I locate the folder /media/VBoxAdditions4.3.4_91027/ and run sudo ./VBoxLinuxAdditions.run   I want to be able to create shared folders and adjust the resolution of the screen. I achieved to do the first issue, but I couldn't do the second one. I didn't get any message, however it is not possible to change the resolution of the screen and I cannot switch to fullscreen. What am I doing wrong?  I found in the instal log the following message: unknown version of the X Window System. I've tried the solution of the proposed link but I got the following message:  Building dependency tree        Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:  The following packages have unmet dependencies: virtualbox-guest-x11 : Depends: xorg-video-abi-11                     Depends: xserver-xorg-core (&gt;= 2:1.10.99.901) E: Unable to correct problems, you have held broken packages.   I tried also to install with the command sudo apt-get install virtualbox-guest-dkms but nothing is changing. During the installation of dkms I got the message: Error! Bad return status for module build on kernel 3.13.0-32-generic(i686).
96909
I mount /tmp on tmpfs using:  sudo systemctl enable tmp.mount sudo systemctl start tmp.mount   But this way /tmp takes up all the free RAM:  $ df -h /tmp Filesystem      Size  Used Avail Use% Mounted on tmpfs           3.9G   12K  3.9G   1% /tmp $   How do I tell systemd tmp.mount to use only 1G? I know I can alternatively not use systemd and manually add an entry to /etc/fstab and specify the size there. But I don't want to do that. I want to use systemd backed tmpfs.
77950
I read some resources about the mount command for mounting devices on Linux, but none of them is clear enough (at least for me).  On the whole this what most guides state:  $ mount (lists all currently mounted devices)  $ mount -t type device directory (mounts that device)  for example (to mount a USB drive): $ mount -t vfat /dev/sdb1 /media/disk   What's not clear to me:   How do I know what to use for "device" as in $ mount -t type device directory? That is, how do I know that I should use "/dev/sdb1" in this command $ mount -t vfat /dev/sdb1 /media/disk to mount my USB drive? what does the "-t" parameter define here? type?   I read the man page ($ man mount) a couple of times, but I am still probably missing something. Please clarify.
36551
I have installed an Ubuntu server on a VMWare workstation with a space of 20GB storage as seen below;    After the installation I've attached another 40GB worth storage to the existing Ubuntu server installation (seen below);    Now I want to add this 40GB to my / (root) directory or to /var/ directory but my df -h result shows;  root@Userver:~# df -h Filesystem      Size  Used Avail Use% Mounted on /dev/sda1        18G  900M   16G   6% / udev            990M  4.0K  990M   1% /dev tmpfs           400M  308K  399M   1% /run none            5.0M     0  5.0M   0% /run/lock none            999M     0  999M   0% /run/shm none            100M     0  100M   0% /run/user root@Userver:~#   What should I do now? Further, I have only ssh access to the server.
86611
I ran these commands:  VBoxManage clonehd d6b9f0a5-98df-48ca-83c8-91a0809ec349 --format RAW Debian.raw sudo dd if=~/.VirtualBox/HardDisks/Debian.raw of=/dev/sda5   When I try to mount the partition, I get this complaint:  EXT4-fs (sda5): VFS: Can't find ext4 filesystem   Now I know that the VM had an ext4 partition. What did I do wrong?
25248
I have Ubuntu 18.04 installed on a SSD with a larger separate HDD with 1 partition that contains Windows 10 and another NTFS partition that I use for storing all sorts of data. I have added the NTFS data partition to mount at startup using the Disks Utility in Ubuntu, it auto mounts just fine but only has read access. I would like to have this partition also have write access from Ubuntu. But I cant figure out how. (Fast Startup in Windows 10 is disabled)  Heres my fstab file (The last entry, dev/sdb4, is the NTFS data partition):  # /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # &lt;file system&gt; &lt;mount point&gt;   &lt;type&gt;  &lt;options&gt;       &lt;dump&gt;  &lt;pass&gt; # / was on /dev/sda3 during installation UUID=0e4a3e97-171f-4c96-9260-e2eb217f4302 /               ext4    errors=remount-ro 0       1 # /boot/efi was on /dev/sda2 during installation #UUID=1022-A48D  /boot/efi       vfat    umask=0077      0       1 # swap was on /dev/sda1 during installation UUID=c59f57b3-26c6-4fb1-82ae-29e676a973b1 none            swap    sw              0       0 UUID=1022-A48D  /boot/efi   vfat    defaults    0   1 /dev/sdb4 /mnt/sdb4 auto defaults,x-gvfs-show 0 0   These are the permissions for this partition    Also please explain how this drive can be added to the Favorites (the side bar which shows the running apps or apps that you have marked as favorite) in 18.04?
42898
I'm using Ubuntu 10.10 and using a usb drive but I'm finding that I can't chmod any programs on the drive to +x. It is being auto-mounted by Gnome (using udev, I think?) so I imagine the problem is a mount option but I can't seem to find a way to modify the default mount options any where. There are no entries in fstab. Anybody encounter this problem?
94267
Ive been tearing my hair out for about a week now trying to figure out how to do this.  I have two HDD's in my server, both 250gig. They both have ubuntu installed, one is currently booted. I want to mount the second (old) drive to /mnt/external  If I mount through /dev/disk/by-uuid It just mounts the boot partition, and not my actual data.  I also tried vgs-v to determine, but the names are the same, and don't know where to go from here.  root@onlinelabtests:~# vgs -v Finding all volume groups Finding volume group "SysVolGroup" Archiving volume group "SysVolGroup" metadata (seqno 3). Archiving volume group "SysVolGroup" metadata (seqno 3). Creating volume group backup "/etc/lvm/backup/SysVolGroup" (seqno 3). Finding volume group "SysVolGroup" Archiving volume group "SysVolGroup" metadata (seqno 3). Archiving volume group "SysVolGroup" metadata (seqno 3).` Creating volume group backup "/etc/lvm/backup/SysVolGroup" (seqno 3). VG          Attr   Ext   #PV #LV #SN VSize   VFree VG UUID       SysVolGroup wz--n- 4.00m   1   2   0 233.72g    0  812dMv-qSf3-xnpP-khlB-mkIf-q64l-Z2Rawf      SysVolGroup wz--n- 4.00m   1   2   0 233.72g    0  Z3IbWM-FEvq-n6fs-lhm9-5uQq-mdxj-QNfDLJ   and this  root@onlinelabtests:~# vgchange -a y 2 logical volume(s) in volume group "SysVolGroup" now active 2 logical volume(s) in volume group "SysVolGroup" now active   But /dev/disk/by-uuid still doesnt show anything else. Any help appreciated.
27060
Sorry if this question is already solved.  I changed my Operating System, from Windows to Linux Ubuntu 13.04.   I have 2 partitions:   C: (system) and  M: It's NTFS; there I have my information, music, photos. When I want to access the Disk to use the information, I can't get past this error:   Error mounting /dev/sda2 at /media/love/Mis Archiivos: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177" "/dev/sda2" "/media/love/Mis Archiivos"' exited with non-zero exit status 14:  The disk contains an unclean file system (0, 0).  Metadata kept in Windows cache, refused to mount.  Failed to mount '/dev/sda2': Operation not permitted The NTFS partition is in an unsafe state. Please resume and shutdown  Windows fully (no hibernation or fast restarting), or mount the volume  read-only with the 'ro' mount option.    Clarification: I don't have 2 OSes. I only have Linux installed.
95441
I just thought how neat it would be to pipe my /etc/fstab through column -te to get a nicely formatted table. But column of course has no way to discern comment lines and mountpoint definitions, so the comments are also split at every whitespace and formatted into table columns:  #                                          /etc/fstab:                  static   file                                      system     information. # #                                          Use                          'blkid'  to                                        print      the           universally   unique      identifier  for       a #                                          device;                      this     may                                       be         used          with          UUID=       as          a         more  robust     way  to  name  devices #                                          that                         works    even                                      if         disks         are           added       and         removed.  See   fstab(5). # #                                          &lt;file                        system&gt;  &lt;mount                                    point&gt;     &lt;type&gt;        &lt;options&gt;     &lt;dump&gt;      &lt;pass&gt;  #                                          /                            was      on                                        /dev/sda2  during        installation UUID=8fa99d69-8dac-4aca-bb61-90f753ba5169  /                            btrfs    defaults,subvol=@rootfs,metadata_ratio=6  0          1 #                                          /home                        was      on                                        /dev/sda2  during        installation UUID=8fa99d69-8dac-4aca-bb61-90f753ba5169  /home                        btrfs    defaults,subvol=@home                     0          2   Is there a way to make column only format lines that don't start with a #?    Edit: It seems I need to clarify that the example above is in fact a valid fstab. Btrfs has  that can be mounted separately with the subvol and subvolid mount options. That also means that the devices in the first column of the fstab are not necessarily unique.
56437
I was not able to access the VirtualBox shared folder, so I made the user part of the vboxsf group. But, still not able to access it. Rebooting the guest resolved the problem. Is it a bug? A reboot is not required to add a user to a group.   sudo usermod -a -G vboxsf praveensripati   There was similar query .  I am using 11.10 and don't remember seeing similar behavior in 11.04.