Playback starts YouTube’s embedded player (privacy-enhanced mode).
How To Safely Move Space From Windows 7/8/10 to Ubuntu (GPT + UEFI Mode)
ChannelNehal J WaniDescription from the creator
Tiny tutorial to show how to move space from Windows 7/8/10 to Ubuntu when installed in UEFI Mode.
1. Make some space which you want to devote to Ubuntu.
1.1 Open disk management and shrink the partition which is just before starting of Ubuntu partitions.
1.2 In my case, I have three Ubuntu partitions (swap, /home and /). Identify yours.
1.3 As you can see, I have two Windows partitions with labels OS and Data. In this tutorial, I'll take 5GB of space from the Data partition and give it to / of Ubuntu.
1.4 Shrink the existing partition and leave the unallocated space as it is.
1.5 Turn off fast startup inside Windows.
1.6 That's it inside Windows.
2. Moving partitions
2.1 Boot using system rescue disk. If you don't have it already, get it from sysresccd.org/Download and create a bootable USB by following youtube.com/watch?v=8iqZuCmM2fg
2.2 System Rescue disk is optional. You can use any Linux 'Live' media with Gparted inside it. In this tutorial, I'll use Ubuntu Installation Media. Follow youtube.com/watch?v=XoINdNWVgYo to create a bootable USB. Boot from it.
2.3 Open gparted
2.4 Turn off swap.
2.5 Since my swap partition is in between, I'm gonna delete it. I'll recreate it again, later.
2.6 Move ubuntu_home 'backwards' so that the free space is transferred between ubuntu_home and ubuntu_root partitions.
2.7 Grow ubuntu_root 'backwards' to occupy the 5GB space.
2.8 Create the swap partition at the end, occupying the remaining free space (in my case, it was 2048MB).
3. Updating /etc/fstab
3.1 Now, we need to edit fstab to tell it about the new swap partition and also check if there is any change in the UUIDs of any partitions. If there is any, we will need to update it.
3.2 Mount the partition in which Ubuntu is installed to /mnt . Use gdisk to know where that partition is.
3.3 Use the command blkid to know about the UUIDs of the new partitions.
3.4 Update the UUIDs in /mnt/etc/fstab
4. Regenerate Grub Configuration
4.1 Mount (in bind mode) some more directories. Use the command:
for i in /dev /dev/pts /proc /sys /run; do mount -B $i /mnt/$i ; done
4.2 Find and mount the EFI partition to /mnt/boot/efi
4.3 Chroot into /mnt
4.4 Regerate Grub Configuration.
grub-mkconfig -o /boot/grub/grub.cfg
4.5 Setup grub again.
grub-install /dev/sda
5. Done. Reboot!
Music: 00:00 - 04:48
Cold Funk - Funkorama by Kevin MacLeod is licensed under a Creative Commons Attribution license (creativecommons.org/licenses/by/4.0/)
Source: incompetech.com/music/royalty-free/index.html?i…
Artist: incompetech.com/
Music: 04:49 - 10:15
Namaste by Audionautix is licensed under a Creative Commons Attribution license (creativecommons.org/licenses/by/4.0/)
Artist: audionautix.com/
Music: 10:16 - 15:13
Over Time by Audionautix is licensed under a Creative Commons Attribution license (creativecommons.org/licenses/by/4.0/)
Artist: audionautix.com/
Wanna support me? Visit: patreon.com/nehaljwani
1. Make some space which you want to devote to Ubuntu.
1.1 Open disk management and shrink the partition which is just before starting of Ubuntu partitions.
1.2 In my case, I have three Ubuntu partitions (swap, /home and /). Identify yours.
1.3 As you can see, I have two Windows partitions with labels OS and Data. In this tutorial, I'll take 5GB of space from the Data partition and give it to / of Ubuntu.
1.4 Shrink the existing partition and leave the unallocated space as it is.
1.5 Turn off fast startup inside Windows.
1.6 That's it inside Windows.
2. Moving partitions
2.1 Boot using system rescue disk. If you don't have it already, get it from sysresccd.org/Download and create a bootable USB by following youtube.com/watch?v=8iqZuCmM2fg
2.2 System Rescue disk is optional. You can use any Linux 'Live' media with Gparted inside it. In this tutorial, I'll use Ubuntu Installation Media. Follow youtube.com/watch?v=XoINdNWVgYo to create a bootable USB. Boot from it.
2.3 Open gparted
2.4 Turn off swap.
2.5 Since my swap partition is in between, I'm gonna delete it. I'll recreate it again, later.
2.6 Move ubuntu_home 'backwards' so that the free space is transferred between ubuntu_home and ubuntu_root partitions.
2.7 Grow ubuntu_root 'backwards' to occupy the 5GB space.
2.8 Create the swap partition at the end, occupying the remaining free space (in my case, it was 2048MB).
3. Updating /etc/fstab
3.1 Now, we need to edit fstab to tell it about the new swap partition and also check if there is any change in the UUIDs of any partitions. If there is any, we will need to update it.
3.2 Mount the partition in which Ubuntu is installed to /mnt . Use gdisk to know where that partition is.
3.3 Use the command blkid to know about the UUIDs of the new partitions.
3.4 Update the UUIDs in /mnt/etc/fstab
4. Regenerate Grub Configuration
4.1 Mount (in bind mode) some more directories. Use the command:
for i in /dev /dev/pts /proc /sys /run; do mount -B $i /mnt/$i ; done
4.2 Find and mount the EFI partition to /mnt/boot/efi
4.3 Chroot into /mnt
4.4 Regerate Grub Configuration.
grub-mkconfig -o /boot/grub/grub.cfg
4.5 Setup grub again.
grub-install /dev/sda
5. Done. Reboot!
Music: 00:00 - 04:48
Cold Funk - Funkorama by Kevin MacLeod is licensed under a Creative Commons Attribution license (creativecommons.org/licenses/by/4.0/)
Source: incompetech.com/music/royalty-free/index.html?i…
Artist: incompetech.com/
Music: 04:49 - 10:15
Namaste by Audionautix is licensed under a Creative Commons Attribution license (creativecommons.org/licenses/by/4.0/)
Artist: audionautix.com/
Music: 10:16 - 15:13
Over Time by Audionautix is licensed under a Creative Commons Attribution license (creativecommons.org/licenses/by/4.0/)
Artist: audionautix.com/
Wanna support me? Visit: patreon.com/nehaljwani
About this tutorial
Nehal J Wani published this 15:13 video tutorial on November 6, 2016. It has been watched 53,102 times on YouTube.
- Channel
- Nehal J Wani
- Category
- Education
- Duration
- 15:13
- Published
- November 6, 2016
- Views
- 53,102
- Likes
- 439
Tags
Share
This tutorial in other languages
- FRComment déplacer en toute sécurité l'espace à partir de Windows à Ubuntu 7/8/10 (mode TPG + UEFI)
- ESCómo mover con seguridad espacial desde Windows a Ubuntu 7/8/10 (GPT Modo + UEFI)
- PTComo mover com segurança o espaço a partir do Windows 7/8/10 para o Ubuntu (GPT Modo + UEFI)
- ITCome con la massima sicurezza Spazio Da Windows a Ubuntu 7/8/10 (GPT Mode + UEFI)
- DEWie sicher Raum im Windows 7/8/10 zu Ubuntu (GPT + UEFI-Modus) Bewegen
- NLHoe veilig verplaatsen Space Van Windows 7/8/10 tot Ubuntu (GPT + UEFI-modus)
- RUКак безопасно переместить пространство от Windows, 7/8/10 в Ubuntu (GPT Mode + UEFI)
- PLJak bezpiecznie poruszanie się Spacja z Windows do Ubuntu 7/8/10 (GPT + tryb UEFI)
- JA安全のUbuntuへのWindows 7/8/10から領域を移動する方法(GPT + UEFIモード)
- ARكيفية نقل بأمان الفضاء من ويندوز 7/8/10 إلى أوبونتو (GPT + UEFI واسطة)
- HIकैसे सुरक्षित रूप से Ubuntu करने के लिए Windows 7/8/10 से अंतरिक्ष मूव (GPT + UEFI मोड)
- IDCara Aman Bergerak Spasi dari Windows 7/8/10 ke Ubuntu (GPT + UEFI Mode)