Which partitions are safe to delete?
- Inicie sesión o regístrese para enviar comentarios
Hello,
I need advice on deleting unnecessary partitions (and Windows, BTW).
There is one 500 GB hard disk in my computer; on this disk I have Windows 10 which was installed first, and of course Trisquel :-)
I was installing Trisquel to this disk on another computer.
To boot Trisquel, I keep my BIOS boot mode set to Legacy (CSM); to boot Windows I switch it to UEFI.
Now I want to get rid of Windows and delete the unnecessary partitions.
The graphical view of my partitions is attached to this post.
This is the output of sudo parted -l:
Model: ATA ST500DM002-1BD14 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Number Start End Size File system Name Flags
1 1049kB 1050MB 1049MB ntfs hidden, diag
2 1050MB 1322MB 273MB fat32 EFI system partition boot
3 1322MB 1456MB 134MB Microsoft reserved partition msftres
4 1456MB 389GB 388GB ntfs Basic data partition msftdata
6 389GB 409GB 20,0GB ext4
7 409GB 412GB 2406MB linux-swap(v1)
8 412GB 486GB 74,1GB xfs
5 486GB 500GB 14,1GB ntfs hidden, diag
My question is: which of these partitions are safe to delete and be able to properly boot Trisquel?
I'd like to keep only partitions: 4, 6, 7 and 8 + of course GRUB/boot partition, but I don't know which is it.
From partition 4 (388 GB NTFS) I'd like to delete Windows folders manually and leave my data on it.
Best regards,
Marek
Adjunto | Tamaño |
---|---|
disk.png | 32.5 KB |
GRUB's stage 1 must be stored in the MBR (the first sector, not a partition), GRUB's stage 1.5 still is before the first partition (that starts at sector 63) and GRUB's stage 2 is in /boot/grub, i.e., in files inside your partition number 6.
So, you can only keep the partitions numbered 6, 7 (not actually required, you could have a swap file or no swap at all) and 8 for a working Trisquel. If you keep the partition number 4, I guess you want to enlarge it a little, taking the space currently occupied by partitions number 1, 2 and 3. Partition number 8 would take the space currently occupied by partition number 5.
All that is easily done from Trisquel's live system, which includes GParted .
An alternative is to backup all data in partitions 4 and 8 (you want backups anyway), redo the install choosing this time to take the whole disk and, once in the new system, restore the whole backup in the large (maybe 470 GB) /home partition that was created.
Congratulations!
Thank you, everything worked :-)
- Inicie sesión o regístrese para enviar comentarios