Forum Informatica Libera
[Risolto] Come modificare le partizioni senza incasinare Windows 10? - Versione stampabile

+- Forum Informatica Libera (https://www.ergosumracalmuto.org/informaticalibera/forum)
+-- Forum: Sistemi Operativi (https://www.ergosumracalmuto.org/informaticalibera/forum/forumdisplay.php?fid=5)
+--- Forum: Multiboot e partizionamento, immagini di sistema e backup (https://www.ergosumracalmuto.org/informaticalibera/forum/forumdisplay.php?fid=8)
+--- Discussione: [Risolto] Come modificare le partizioni senza incasinare Windows 10? (/showthread.php?tid=2210)



[Risolto] Come modificare le partizioni senza incasinare Windows 10? - Sargon6 - 03/09/2023

Salve a tutti.
Anni fa, sul computer di un parente, ho installato PCLinuxOS in dual boot con Windows 10, ed ora quel parente mi chiede di ampliare lo spazio a disposizione di Windows 10.
Inizialmente io pensavo bastasse:
1) eliminare le partizioni a suo tempo create per contenere Linux e dati,
2) Ingrandire di ulteriori 90 GB la partizione contenente Windows 10 in modo che diventi di 160 GB
3) Ricreare la partizione di 80 GB contenente Linux
4) Utilizzare tutto lo spazio rimasto per creare una partizione destinata a contenere dati.
5) Re-installare Linux
ma mi sono accorto che l'attuale partizionamento del disco fisso è la seguente:
Codice:
$ lsblk
NAME    MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda       8:0    0 465,8G  0 disk
├─sda1    8:1    0   260M  0 part /boot/EFI
├─sda2    8:2    0    16M  0 part
├─sda3    8:3    0    70G  0 part /Lenovo/Windows
├─sda4    8:4    0    80G  0 part /
├─sda5    8:5    0   272G  0 part /mnt/dati
├─sda6    8:6    0   4,4G  0 part [SWAP]
├─sda7    8:7    0    25G  0 part /Lenovo/LENOVO
├─sda8    8:8    0  1000M  0 part /Lenovo/WINRE_DRV
├─sda9    8:9    0  12,1G  0 part /Lenovo/LENOVO_PART
└─sda10   8:10   0  1000M  0 part /Lenovo/LRS_ESP
sr0      11:0    1  1024M  0 rom 
$ su
Password:
# fdisk -l
Disk /dev/ram0: 31,25 MiB, 32768000 bytes, 64000 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 1048576 bytes


Disk /dev/ram1: 31,25 MiB, 32768000 bytes, 64000 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 1048576 bytes


Disk /dev/ram2: 31,25 MiB, 32768000 bytes, 64000 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 1048576 bytes


Disk /dev/ram3: 31,25 MiB, 32768000 bytes, 64000 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 1048576 bytes


Disk /dev/ram4: 31,25 MiB, 32768000 bytes, 64000 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 1048576 bytes


Disk /dev/ram5: 31,25 MiB, 32768000 bytes, 64000 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 1048576 bytes


Disk /dev/ram6: 31,25 MiB, 32768000 bytes, 64000 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 1048576 bytes


Disk /dev/ram7: 31,25 MiB, 32768000 bytes, 64000 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 1048576 bytes


Disk /dev/ram8: 31,25 MiB, 32768000 bytes, 64000 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 1048576 bytes


Disk /dev/ram9: 31,25 MiB, 32768000 bytes, 64000 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 1048576 bytes


Disk /dev/ram10: 31,25 MiB, 32768000 bytes, 64000 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 1048576 bytes


Disk /dev/ram11: 31,25 MiB, 32768000 bytes, 64000 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 1048576 bytes


Disk /dev/ram12: 31,25 MiB, 32768000 bytes, 64000 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 1048576 bytes


Disk /dev/ram13: 31,25 MiB, 32768000 bytes, 64000 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 1048576 bytes


Disk /dev/ram14: 31,25 MiB, 32768000 bytes, 64000 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 1048576 bytes


Disk /dev/ram15: 31,25 MiB, 32768000 bytes, 64000 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 1048576 bytes


Disk /dev/sda: 465,76 GiB, 500107862016 bytes, 976773168 sectors
Disk model: ST500LT012-1DG14
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 1048576 bytes
Disklabel type: gpt
Disk identifier: B7ED4346-030E-40DF-972C-9978EB46E9DD

Dispositivo     Start      Fine   Settori  Size Tipo
/dev/sda1        2048    534527    532480  260M EFI System
/dev/sda2      534528    567295     32768   16M Microsoft reserved
/dev/sda3      567296 147367935 146800640   70G Microsoft basic data
/dev/sda4   147367936 315140095 167772160   80G Linux filesystem
/dev/sda5   315140096 885565439 570425344  272G Microsoft basic data
/dev/sda6   885565440 894849023   9283584  4,4G Microsoft basic data
/dev/sda7   894851072 947279871  52428800   25G Microsoft basic data
/dev/sda8   947279872 949327871   2048000 1000M Windows recovery environment
/dev/sda9   949327872 974725119  25397248 12,1G Windows recovery environment
/dev/sda10  974725120 976773119   2048000 1000M Lenovo boot partition
#
Le partizioni sda7,sda8, sda9 e sda10 non le ho create io, quindi presumo le abbia create Windows 10 in fase di aggiornamento.
Di conseguenza chiedo:
A) Qualcuno sa dirmi a cosa servono le partizioni sda7,sda8, sda9 e sda10? Se elimino anche quelle, cosa succede?
B) Nel caso in cui le partizioni sda7,sda8, sda9 e sda10 NON possano essere eliminate, faranno il loro dovere anche dopo che io avrò eliminato le partizioni sda4 e sda5?
Saluto e ringrazio chi mi risponderà.


RE: Come modificare le partizioni senza incasinare Windows 10? - dxgiusti - 03/09/2023

semplicemente devi ridurre la partizione /dev/sda5 di 90GB lasciando lo spazio ricavato alla sx della stessa.
terminato il ridimensionamento devi spostare /dev/sda4 tutta a dx
queste operazioni con gparted da live sono semplici da eseguire.
fatto questo avrai uno spazio non allocato vicino alla partizione di 10.
avvia 10 installato e con il suo programma >> crea e formatta ... ingloba lo spazio non allocato.
buon lavoro. al termine avrai tutto come era solo C più grande e dati più piccola.
il lavoro non sarà velocissimo ma credo che in una giornata si possa fare.


RE: Come modificare le partizioni senza incasinare Windows 10? - Sargon6 - 04/09/2023

(03/09/2023, 16:45)dxgiusti Ha scritto: semplicemente devi ridurre la partizione /dev/sda5 di 90GB lasciando lo spazio ricavato alla sx della stessa.
terminato il ridimensionamento devi spostare /dev/sda4 tutta a dx
queste operazioni con gparted da live sono semplici da eseguire.
fatto questo avrai uno spazio non allocato vicino alla partizione di 10.
avvia 10 installato e con il suo programma >> crea e formatta ... ingloba lo spazio non allocato.
buon lavoro. al termine avrai tutto come era solo C più grande e dati più piccola.
il lavoro non sarà velocissimo ma credo che in una giornata si possa fare.
Ha funzionato. Grazie.
Codice:
$ lsblk
NAME    MAJ:MIN RM  SIZE RO TYPE MOUNTPOINTS
sda      8:0    0 465,8G  0 disk
├─sda1    8:1    0  260M  0 part /boot/EFI
├─sda2    8:2    0    16M  0 part
├─sda3    8:3    0  160G  0 part /Lenovo/Windows
├─sda4    8:4    0    80G  0 part /
├─sda5    8:5    0  182G  0 part /mnt/dati
├─sda6    8:6    0  4,4G  0 part [SWAP]
├─sda7    8:7    0    25G  0 part /Lenovo/LENOVO
├─sda8    8:8    0  1000M  0 part /Lenovo/WINRE_DRV
├─sda9    8:9    0  12,1G  0 part /Lenovo/LENOVO_PART
└─sda10  8:10  0  1000M  0 part /Lenovo/LRS_ESP
sr0      11:0    1  1024M  0 rom 
$ su
Password:
# fdisk -l
Disk /dev/ram0: 31,25 MiB, 32768000 bytes, 64000 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 1048576 bytes


Disk /dev/ram1: 31,25 MiB, 32768000 bytes, 64000 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 1048576 bytes


Disk /dev/ram2: 31,25 MiB, 32768000 bytes, 64000 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 1048576 bytes


Disk /dev/ram3: 31,25 MiB, 32768000 bytes, 64000 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 1048576 bytes


Disk /dev/ram4: 31,25 MiB, 32768000 bytes, 64000 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 1048576 bytes


Disk /dev/ram5: 31,25 MiB, 32768000 bytes, 64000 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 1048576 bytes


Disk /dev/ram6: 31,25 MiB, 32768000 bytes, 64000 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 1048576 bytes


Disk /dev/ram7: 31,25 MiB, 32768000 bytes, 64000 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 1048576 bytes


Disk /dev/ram8: 31,25 MiB, 32768000 bytes, 64000 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 1048576 bytes


Disk /dev/ram9: 31,25 MiB, 32768000 bytes, 64000 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 1048576 bytes


Disk /dev/ram10: 31,25 MiB, 32768000 bytes, 64000 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 1048576 bytes


Disk /dev/ram11: 31,25 MiB, 32768000 bytes, 64000 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 1048576 bytes


Disk /dev/ram12: 31,25 MiB, 32768000 bytes, 64000 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 1048576 bytes


Disk /dev/ram13: 31,25 MiB, 32768000 bytes, 64000 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 1048576 bytes


Disk /dev/ram14: 31,25 MiB, 32768000 bytes, 64000 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 1048576 bytes


Disk /dev/ram15: 31,25 MiB, 32768000 bytes, 64000 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 1048576 bytes


Disk /dev/sda: 465,76 GiB, 500107862016 bytes, 976773168 sectors
Disk model: ST500LT012-1DG14
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 1048576 bytes
Disklabel type: gpt
Disk identifier: B7ED4346-030E-40DF-972C-9978EB46E9DD

Dispositivo    Start      Fine  Settori  Size Tipo
/dev/sda1        2048    534527    532480  260M EFI System
/dev/sda2      534528    567295    32768  16M Microsoft reserved
/dev/sda3      567296 336109567 335542272  160G Microsoft basic data
/dev/sda4  336111616 503883775 167772160  80G Linux filesystem
/dev/sda5  503883776 885565439 381681664  182G Microsoft basic data
/dev/sda6  885565440 894849023  9283584  4,4G Microsoft basic data
/dev/sda7  894851072 947279871  52428800  25G Microsoft basic data
/dev/sda8  947279872 949327871  2048000 1000M Windows recovery environment
/dev/sda9  949327872 974725119  25397248 12,1G Windows recovery environment
/dev/sda10  974725120 976773119  2048000 1000M Lenovo boot partition
#