Re: gpt question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/4/22 23:41, Michael D. Setzer II via users wrote:
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.

Awesome command!  Thank you!

Look like is "Windows recovery environment"

# sfdisk /dev/sda -l
Disk /dev/sda: 60 GiB, 64424509440 bytes, 125829120 sectors
Disk model: QEMU HARDDISK
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: gpt
Disk identifier: AA20003C-A3D4-40FD-AE52-C7BE154FCBBE

Device         Start       End   Sectors  Size Type
/dev/sda1       2048    206847    204800  100M EFI System
/dev/sda2     206848    239615     32768   16M Microsoft reserved
/dev/sda3     239616 124530687 124291072 59.3G Microsoft basic data
/dev/sda4  124530688 125822975   1292288  631M Windows recovery environment

_______________________________________________
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



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux