Yes ... you are having the right idea. Boot from GParted Live media.
You as well can do it from Ubuntu install media (GParted included).
Important : Unmount all partitions (in case there are any mounted).
First move the sda6 partition to the left ... then move the sda7 partition to the left.
Now extend the sda7 ext4 partition - it is not necessary to move the sda9 partition.
After having completed these operations - reinstall the boot loader.
Boot from Ubuntu installation media - open a terminal and execute:
sudo mount /dev/sda7 /mnt
sudo mount /dev/sda1 /mnt/boot/efi
for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt$i; done
sudo chroot /mnt
grub-install /dev/sda
update-grub
After this execute :
sudo blkid
Open another terminal and execute :
sudo gedit /mnt/etc/fstab
Replace the UUID entries with those of the output given from the blkid command.
引导进入BIOS并在UEFI设置中选择Ubuntu作为默认引导系统。
笔记:
sda
=磁盘| sda1
= efi分区| sda7
=系统分区(取自屏幕截图)
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句