If you have space on your windows partition I would mount it as suggested by AisIceEyes and then soft link your home folder to a folder on the windows mount. You could also do the same with the opt folder where I guess you installed some software.
- Start by mounting the windows partition.
- Then move your home/user folder to a folder on that partition.
- Finalize by soft link that folder as your home folder and you will be back as you where.
Step 1 - Mount windows partition
Use sudo fdisk -l
to find out what your disk is named. Normal would be /dev/sda2
on a mixed system but do NOT take my word for it, use fdisk instead.
Use ntfs-3g
to mount the partition to a mount point, a mount point is any arbitrary folder that you can create with mkdir.
$ sudo mkdir /mnt/windows # Create a mount point
$ sudo ntfs-3g /dev/sda2 /mnt/windows # Mount
$ ls -la /mnt/windows # Looks familiar?
Mount permanently
Now that we know that we mounted the correct partition we can make that permanent by entering that into the filesystem tablular file or fstab like this:
$ sudo vim /etc/fstab # You can select another editor
Go to the end and enter this row:
/dev/sda2 /mnt/windows ntfs-3g uid=1000,gid=1000,dmask=027,fmask=137,locale=en_US.utf8 0 2
Restart your system and verify that the partition is mounted as expected. The dmask and fmask sets directory permissions to 750 and files to 640. uid and gid of 1000 would give you the ownership of the directory structure.
Step 2 - Move your files
Create a folder in the windows folder where you can place your user folder. Then move your current user folder there.
$ mkdir /mnt/windows/linux_home
$ mv /home/user /mnt/windows/linux_home/.
Step 3 - Restore your home directory with a soft link
Finalize by linking your home folder to the new path.
$ sudo ln -s /mnt/windows/linux_home/user /home/user`
DONE!
A feature with this approach is that not software-proprietary-formats will be readable in the windows environment also.
/home
a separate partition? Apart from/usr
, andDesktop
, the folders you list are very small, not much point in moving them./usr
(and/home
stuff) and that shouldn't be a problem for booting as long as you have a link to it. Thekosmix, please show us the output ofdf -h
andsudo fdisk -l
./tmp
, if there are some huge files left from canceled processes. By FHS definition it is save to delete files in/tmp
, because /tmp is often not preserved between system reboots.