I know Windows well but Ubuntu not so well
(or the other way around)
Both Windows and Ubuntu are POSIX compliant operating systems and they both allow you to define which user has access to which individual file, directory, partition or disk!
But they do it just a little bit differently (There are full-time jobs for people who have to clean up wrong ownership of data all day long!)
So take the average hard disk:
If you have more then 1 partition, you're probably running an UEFI system. Please, do not delete any of those partitions! Concentrate on the biggest partition you have and use that one in the following exercise...
Depending on your use case give each OS enough space for its own system and applications (the below numbers are the minimum and recommended system requirements, so you should multiply them by a factor that is comfortable for your use case)
Note: Ubuntu also needs a swap partition of a size described here.
The rest of the disk (-10%) can be given to a data partition formatted to NTFS from gparted See note below so that you arrive at the following lay-out:
- Install Windows
- Create all your users under Windows
- Install Ubuntu
- Create all your users under Ubuntu giving them both the same name and the same password as under Windows.
- Boot the Ubuntu Live CD again and run
gparted and shrink both Windows and Ubuntu partitions until they take 2*-3* the amount of the pale yellow bar. Then create the data partition and format it to "ntfs"
- mount this partition in your
The following steps credit to:user68186, copied from here
Move your data directories to the
/Data mount point by pressing Ctrl+Alt+T and copy-paste
each line followed by Enter (replace "UserName" by your
mv /home/UserName/bin /Data/UserName/bin
mv /home/UserName/Desktop /Data/UserName/Desktop
mv /home/UserName/Documents /Data/UserName/Documents
mv /home/UserName/Downloads /Data/UserName/Downloads
mv /home/UserName/Music /Data/UserName/Music
mv /home/UserName/Pictures /Data/UserName/Pictures
mv /home/UserName/Public /Data/UserName/Public
mv /home/UserName/Templates /Data/UserName/Templates
mv /home/UserName/Videos /Data/UserName/Videos
Make symbolic links.
ln -s /Data/UserName/bin/ bin
ln -s /Data/UserName/Desktop/ Desktop
ln -s /Data/UserName/Documents/ Documents
ln -s /Data/UserName/Downloads/ Downloads
ln -s /Data/UserName/Music/ Music
ln -s /Data/UserName/Pictures/ Pictures
ln -s /Data/UserName/Public/ Public
ln -s /Data/UserName/Templates/ Templates
ln -s /Data/UserName/Videos/ Videos
Go to Windows again and move the user directories to your
D: drive in the
When you boot into Windows (or Ubuntu), both Windows and Ubuntu have their own system files and applications installed in their own environment. On top of that, you don't have to worry about which file goes where: All Ubuntu files can be found under Windows in the
d:\home directory and all your Windows files can be found under the
/users directory in Ubuntu.
If you use any of the following:
- Ubuntu commands:
chmod or Windows command:
- if you use any of the file managers to right-click on directories or files to use
then please do not set permissions from inside Windows in the
D:\home nor from inside Ubuntu on the
/Users directory ever! Also, do not move files between
Only copy files!
(and then delete the original because moving will try to move the permissions from one totally different file system to another and that'll give you troubles you want to avoid)
Why is there 10% unallocated space on your drive? Well, that's a little trick when your PC is brand new: you don't need all that space, and that free space is your proverbial spare tire if you ever need to extend one of the other partitions when they run flat! ;-)
Now go back to step 5 of the How to Install Ubuntu and continue there...