Больше места для Ubuntu - Как мне использовать GParted, чтобы увеличить раздел Ubuntu [дубликат]

Я использую Ubuntu уже несколько лет, но сейчас столкнулся с нехваткой места для раздела Ubuntu на новейшем рабочем столе, который я построил. И Windows 10, и Ubuntu 20.04 LTS находятся на диске NVME емкостью 500 ГБ. Я использую GRUB для доступа к различным операционным системам.

Я сделал последнюю версию USB-накопителя Ubuntu с Ubuntu 20.04 LTS.

Я сделал полную резервную копию раздела Windows 10. Я также сделал резервную копию нескольких файлов, которые я не хочу терять в разделе Ubuntu.

Как видите, я выделил для Ubuntu только 15 ГБ, а сейчас 95%, и я получаю предупреждения о нехватке места.

enter image description here

У меня вопрос: как мне использовать Gparted с Live USB-накопителя, чтобы увеличить пространство для Ubuntu? Нужно ли мне увеличивать устройство выше, на котором я освободил место, и перемещать его туда, где я могу прикрепить это в мой раздел Ubuntu? Есть способ попроще? Я освободил 97,66 ГБ, которые в настоящее время не распределены. Оба раздела вроде работают нормально.

Спасибо за любой вклад или указание, где на этот вопрос был ранее дан ответ.Я поискал и не мог понять, нужно ли мне просто переместить его вверх, а затем объединить, уменьшить, пока я не поднялся до раздела Ubuntu наверху. Я надеялся на более простой способ!

0
задан 12 July 2020 в 05:30

1 ответ

That is going to take a LONG time and it is going to warn you that it is risky because it has to move 3 partitions to the right (the swap and two microsoft partitions)... If the unallocated space was on the right directly next to the partition you wanted to grow, then it ('shifting it to the left') would go fairly fast and with less risk.... BUT it is an NVME, so I really dont know how long that would take there...

in gparted right clicking on the partition you want to resize and selecting "resize/move", should allow you to grow it to the size you want(based on the unallocated space on the drive).

To answer your question: Since I last used gparted I don't remember if you can just be on partition 1 and gparted just recognizes there to be some space between partition 6 and 7 and you can just grow it using that space. If it does work that way now then pretty easy, you just type the new size of the partition... But if not, I think you have to step through moving the unallocated space until it is adjacent to the right of the ubuntu partiton.

...moving the space, by setting the "free space preceding" to the size of the unallocated space.... (once for each of the 3 partitions, starting with the one to the left, adjacent to the unallocated space)

(just me personally, when I do things like that I try to get rid of or rebuild the stuff I can do without to save time... like I would delete the swap and leave 4 gigs in the unallocated space and rebuild it there afterwards. No need to wait to copy swap from one place to another... ESPECIALLY on a spinning drive. Another time I was too scared too risk moving such a large partition so I dd'ed the ubuntu partition into the larger partition i created in the unallocated space... some changes in grub entries,fstab, and blkid were involved but that warning message spooked me on that particular system)

0
ответ дан 30 July 2020 в 22:09

Другие вопросы по тегам:

Похожие вопросы: