On 4 Nov 2022 at 23:10, ToddAndMargo via users wrote:
Date sent: Fri, 4 Nov 2022 23:10:02 -0700
To: Community support for Fedora users
<users@xxxxxxxxxxxxxxxxxxxxxxx>
Subject: gpt question
Send reply to: Community support for Fedora
users <users@xxxxxxxxxxxxxxxxxxxxxxx>
From: ToddAndMargo via users
<users@xxxxxxxxxxxxxxxxxxxxxxx>
Copies to: ToddAndMargo
<ToddAndMargo@xxxxxxxx>
> Hi All,
>
> I am going to clone (Clonezilla) a Windows gpt
> mechanical drive to a smaller SSD drive. I am
> going into gparted (FEdora Xfce Live 36) and
> resizing the large partition (sda3, C:) so it
> will fit on the new ssd drive.
>
> Question: there is a tiny sda4 hanging out there,
> which is presume is the gpt partition tables. Do
> I also need to move sda4 to the end of sda3 or
> is it okay to just leave it at the end of the
> disk?
Think you need more info..
I would suggest booting from a fedora livecd or usb and
run.
sfdisk -l /dev/sda and see what it reports about
partitions.
My notebook here was originally on a regular disk, but
upgraded it to an sdd drive of the same size just using
clone option of my G4L project. Then used gparted to
reduce size of C: partition.
Sometimes windows machines have other partitions, that
contain restore partitions or partitions with programs
they add..
sfdisk /dev/sda -l
Disk /dev/sda: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: WDC WDBNCE0010P
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x7c819ab2
Device Boot Start End Sectors Size Id Type
/dev/sda1 2048 39847935 39845888 19G 27 Hidden NTFS WinRE
/dev/sda2 * 39847936 40052735 204800 100M 7 HPFS/NTFS/exFAT
/dev/sda3 40052736 379084799 339032064 161.7G 7 HPFS/NTFS/exFAT
/dev/sda4 379084800 1953523711 1574438912 750.8G 5 Extended
/dev/sda5 714633216 716730367 2097152 1G 83 Linux
/dev/sda6 716732416 724756479 8024064 3.8G 82 Linux swap / Solaris
/dev/sda7 724758528 829616127 104857600 50G 83 Linux
/dev/sda8 829618176 1953523711 1123905536 535.9G 83 Linux
/dev/sda9 379086848 714631167 335544320 160G 83 Linux
Partition table entries are not in disk order.
Recently had a user that had a windows disk with 4
primary partition, but the only was tiny 100M and had a
couple of programs dated back to 2015.. Seemed some
kind of update utilities. Copied files to C: partition, and
then removed that partition. Was then able to install
Fedora after resizing the C: partiton.
>
> Many thanks,
> -T
>
>
> --
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> When you say, "I wrote a program that
> crashed Windows," people just stare at
> you blankly and say, "Hey, I got those
> with the system, for free."
> -- Linus Torvalds
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> _______________________________________________
> users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
> Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
> Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
+------------------------------------------------------------+
Michael D. Setzer II - Computer Science Instructor (Retired)
mailto:mikes@xxxxxxxx
mailto:msetzerii@xxxxxxxxx
Guam - Where America's Day Begins
G4L Disk Imaging Project maintainer
http://sourceforge.net/projects/g4l/
+------------------------------------------------------------+
_______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue