gparted: resized FAT32 partition no longer visible
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
gparted: resized FAT32 partition no longer visible
I'm in the process of recovering an older WinXP machine that has some software I use in my business. As a part of that project, I needed to shrink a FAT32 logical partition to make room for an NTFS partition to store a large backup image file. So I moved the HDD to my Linux machine and used gparted to do adjust the partitions. After I moved the drive back to the XP machine, I successfully restored the XP machine from the image I had copied into the new NTFS partition. However, the shrunk FAT32 partition shows in Windows as unformatted. Oops! I'm guessing I made a bad decision to use gparted to do the FAT32 resize operation.
Oddly, Easus Partition Master (a Windows program), shows the FAT32 partition with the correct label, type (logical), capacity, as well as the correct used and unused gigabytes. That gives me hope that I haven't lost the partition. I have backups of some but not all of the folders and data that reside on that partition. Any suggestions on how to fix this?
Oddly, Easus Partition Master (a Windows program), shows the FAT32 partition with the correct label, type (logical), capacity, as well as the correct used and unused gigabytes. That gives me hope that I haven't lost the partition. I have backups of some but not all of the folders and data that reside on that partition. Any suggestions on how to fix this?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Linux Mint 18.2 Xfce x64 | ASRock Z270 Extreme4 | Core i7 7700K | Cryorig H7 cooler| 32GB DDR4 2400| modded legacy Evercase LE4252 | EVGA 450W B3 | ADATA SX8200 Pro SSD
-
- Level 20
- Posts: 12337
- Joined: Sun Aug 09, 2015 10:00 am
Re: gparted: resized FAT32 partition no longer visible
It's always better to backup data before you try resize operations.
What does report?
What does
Code: Select all
sudo parted -l
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help.
Regards,
Deepak
Mint 21.1 Cinnamon 64 bit with AMD A6 / 8GB
Mint 21.1 Cinnamon AMD Ryzen3500U/8gb
Regards,
Deepak
Mint 21.1 Cinnamon 64 bit with AMD A6 / 8GB
Mint 21.1 Cinnamon AMD Ryzen3500U/8gb
Re: gparted: resized FAT32 partition no longer visible
This partition is mostly filled with old True Image backup images, old enough that I'm highly unlikely to ever need them. However, there are some other files on this partition, some of which are backed up on an external USB drive. The problem is, I can't all what's on that partition, and there may be a few files that are not backed up. So before I overwrite the partition by doing any restores, I first want to see if I can recover the partition, or at least retreive a list of folders and/or files. I'm wondering if there's a log or other file on the XP machine (where this drive lived) that might have that information?deepakdeshp wrote: ⤴Wed Nov 17, 2021 10:38 amIt's always better to backup data before you try resize operations.
#5 on the list is the one in question. If I try to MOUNT this partition in File Manager (Thunar), I get the error: Failed to Mount "OVERFLOW". No object for D-Bus interface." (OVERFLOW being the partition's label)What doesreport?Code: Select all
sudo parted -l
Code: Select all
Model: ATA WDC WD5003ABYX-0 (scsi)
Disk /dev/sdb: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 32.3kB 68.2GB 68.2GB primary fat32 boot, lba
2 68.2GB 500GB 432GB extended lba
5 68.2GB 462GB 394GB logical fat32
6 462GB 500GB 37.7GB logical ntfs
Linux Mint 18.2 Xfce x64 | ASRock Z270 Extreme4 | Core i7 7700K | Cryorig H7 cooler| 32GB DDR4 2400| modded legacy Evercase LE4252 | EVGA 450W B3 | ADATA SX8200 Pro SSD
Re: gparted: resized FAT32 partition no longer visible
I have had this problem in the past with thunar, open a terminal and
Code: Select all
systemctl --user restart gvfs-udisks2-volume-monitor
thunar
Note - not an xfce user, use cinnamon, but have a custom built iso with thunar as the file manager that was giving the same problem.
Your other option is install another file manager.
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
Re: gparted: resized FAT32 partition no longer visible
Hi Andy, here is the result:
What does that mean?
Surely a coincidence but I can now fully access the drive on my Linux machine (from Thunar) but still shows unformatted when installed on the XP machine. At least I can get the data now.
Code: Select all
david@linux-desktop ~ $ systemctl --user restart gvfs-udisks2-volume-monitor
Failed to restart gvfs-udisks2-volume-monitor.service: Unit dbus.socket not found.
david@linux-desktop ~ $ thunar
Surely a coincidence but I can now fully access the drive on my Linux machine (from Thunar) but still shows unformatted when installed on the XP machine. At least I can get the data now.
Linux Mint 18.2 Xfce x64 | ASRock Z270 Extreme4 | Core i7 7700K | Cryorig H7 cooler| 32GB DDR4 2400| modded legacy Evercase LE4252 | EVGA 450W B3 | ADATA SX8200 Pro SSD
Re: gparted: resized FAT32 partition no longer visible
No idea, or why XP is saying it is unformatted, maybe it is having trouble reading the partition table.
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
Re: gparted: resized FAT32 partition no longer visible
That makes sense... gparted obviously re-wrote the partition table when it resized the OVERFLOW partition, so XP apparently can no longer read the table. That seems fixable. Anyone know of a disk utility that can do that?
Last edited by ginahoy on Thu Nov 18, 2021 11:27 pm, edited 1 time in total.
Linux Mint 18.2 Xfce x64 | ASRock Z270 Extreme4 | Core i7 7700K | Cryorig H7 cooler| 32GB DDR4 2400| modded legacy Evercase LE4252 | EVGA 450W B3 | ADATA SX8200 Pro SSD
Re: gparted: resized FAT32 partition no longer visible
Not for XP no, sorry.
Thinkcentre M720Q - LM21.3 cinnamon, 4 x T430 - LM21.3 cinnamon, Homebrew desktop i5-8400+GTX1080 Cinnamon 19.0
Re: gparted: resized FAT32 partition no longer visible
Sorry, I realize this is the wrong forum to drill down on this issue. I just found gparted forum.
Linux Mint 18.2 Xfce x64 | ASRock Z270 Extreme4 | Core i7 7700K | Cryorig H7 cooler| 32GB DDR4 2400| modded legacy Evercase LE4252 | EVGA 450W B3 | ADATA SX8200 Pro SSD
Re: gparted: resized FAT32 partition no longer visible
if you are still there; if you gain good wisdoms from the gparted forum, do consider giving this forum a summary
Re: gparted: resized FAT32 partition no longer visible
No response yet to my post gparted forum. In the meantime, I moved the drive over to my Linux box so I can access the files. However, my LInux box is nearly silent (on-board graphics processor, SSD, intelligent PSU fan never turns on, temperature regulated CPU & fans), so the mechanical drive noise is driving me batty.
I'll eventually transfer the files once I get a larger SSD but in the meantime, how do I disable a drive from within Linux? On my XP machine, I can easily disable & enable a non-OS drive in Device Manager.
I'll eventually transfer the files once I get a larger SSD but in the meantime, how do I disable a drive from within Linux? On my XP machine, I can easily disable & enable a non-OS drive in Device Manager.
Linux Mint 18.2 Xfce x64 | ASRock Z270 Extreme4 | Core i7 7700K | Cryorig H7 cooler| 32GB DDR4 2400| modded legacy Evercase LE4252 | EVGA 450W B3 | ADATA SX8200 Pro SSD
Re: gparted: resized FAT32 partition no longer visible
Are you sure that the drive not only deactivated but really spins down on XP motherboard - it depends on the controller.
You can go to BIOS on your Asus board and disable SATA controller in the BIOS Storage Cconfiguration
Or just unplug SATA power connector (after power PC down).
-=t42=-
Re: gparted: resized FAT32 partition no longer visible
With XP, the 2nd drive definitely spins down when I disable from Device Manager. I rarely need to access that drive and as I said, the reason I disable it is so I don't have to listen to it. Disabling the drive in BIOS or pulling the connector would be last resort if there's no way to disable within Linux. If not possible, I would at least like to know that.t42 wrote: ⤴Sun Nov 28, 2021 3:11 amAre you sure that the drive not only deactivated but really spins down on XP motherboard - it depends on the controller. You can go to BIOS on your Asus board and disable SATA controller in the BIOS Storage Cconfiguration Or just unplug SATA power connector (after power PC down).
Last edited by ginahoy on Sun Nov 28, 2021 11:56 pm, edited 1 time in total.
Linux Mint 18.2 Xfce x64 | ASRock Z270 Extreme4 | Core i7 7700K | Cryorig H7 cooler| 32GB DDR4 2400| modded legacy Evercase LE4252 | EVGA 450W B3 | ADATA SX8200 Pro SSD
Re: gparted: resized FAT32 partition no longer visible
it's possible to compile and use hd-idle utility hd-idle.sourceforge.net . It can work or not as you have RE4 server disk made to work 24/7
-=t42=-
Re: gparted: resized FAT32 partition no longer visible
Thanks for that, I'll check it out.
Linux Mint 18.2 Xfce x64 | ASRock Z270 Extreme4 | Core i7 7700K | Cryorig H7 cooler| 32GB DDR4 2400| modded legacy Evercase LE4252 | EVGA 450W B3 | ADATA SX8200 Pro SSD
Re: gparted: resized FAT32 partition no longer visible
Note; hd-idle is in repo;
Moreovet, unless special drive/situation you don't need it; can just be set to spin down from power settings and/or Disks.
sudo apt-get install hd-idle
, edit /etc/default/hd-idle, also see man hd-idle
.Moreovet, unless special drive/situation you don't need it; can just be set to spin down from power settings and/or Disks.
Re: gparted: resized FAT32 partition no longer visible
As rene said the Disks spins down WD SATA drives, Green series for sure (Select the drive --> Menu --> Standby now).
I'm not sure about WD5003ABYX series. You can check that after running standby command with
an output should be
I'm not sure about WD5003ABYX series. You can check that after running standby command with
sudo hdparm -C /dev/sdX
an output should be
/dev/sdX:
drive state is: standby
-=t42=-
Re: gparted: resized FAT32 partition no longer visible
Can't sleep...
Not near spinning rust now to check but in this recent thread it was also shown that other than immediate standby a standby timer should be available as well from Disks: viewtopic.php?p=2095285#p2095285
Not near spinning rust now to check but in this recent thread it was also shown that other than immediate standby a standby timer should be available as well from Disks: viewtopic.php?p=2095285#p2095285
Re: gparted: resized FAT32 partition no longer visible
The other thread was helpful. Now I have several options to explore. In particular, I need to see if any of these methods is persistent, i.e., drive stays powered down when system is rebooted.
Linux Mint 18.2 Xfce x64 | ASRock Z270 Extreme4 | Core i7 7700K | Cryorig H7 cooler| 32GB DDR4 2400| modded legacy Evercase LE4252 | EVGA 450W B3 | ADATA SX8200 Pro SSD
Re: gparted: resized FAT32 partition no longer visible
I would feel that possibility unlikely, even if only since the BIOS will be waking up the drive (but Linux probably also already will even if there are no mounted file systems on the drive).