You are not logged in.

#1 2017-11-09 01:38:42

bnb2235
Member
Registered: 2011-02-13
Posts: 119

[Solved]Gparted not recognizing partition scheme of external USB drive

Hello,
I often use gparted to visualize the partition scheme of a drive. Today I tried to view an external 320GB drive, but gparted believes the file system is iso9660 with label ARCH_201302
I have no idea how gparted came up with this erroneous information. Gparted recognized the internal hard drive correctly.

blkid shows the correct inforrmation:

/dev/sdb1: LABEL="NTFS" UUID="0AB615C33FBD8CA3" TYPE="ntfs" PARTUUID="000bae0d-01"
/dev/sdb2: LABEL="Backup" UUID="b4fb0e27-650b-48ab-8a87-bd0538fd706e" TYPE="ext4" PARTUUID="000bae0d-02"

Nautilus (Files) can read and write the drive normally. An old live CD with gparted can recognize the partition scheme correctly.

Any idea what could be wrong?

Thanks

Last edited by bnb2235 (2017-11-10 00:51:12)

Offline

#2 2017-11-09 09:45:54

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [Solved]Gparted not recognizing partition scheme of external USB drive

Gparted is just a frontend for parted, what does that have to say?

sudo parted -l

No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2017-11-09 10:43:31

bnb2235
Member
Registered: 2011-02-13
Posts: 119

Re: [Solved]Gparted not recognizing partition scheme of external USB drive

sudo parted -l says:

Model: Seagate FreeAgent GoFlex (scsi)
Disk /dev/sdb: 320GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags: 

Number  Start   End    Size   Type     File system  Flags
 1      1049kB  189GB  189GB  primary  ntfs
 2      189GB   320GB  131GB  primary  ext4

While gparted still insists it is a 298.09 GiB CD :-(
Screenshot here: https://ibb.co/fKU8oG

Offline

#4 2017-11-09 11:03:34

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [Solved]Gparted not recognizing partition scheme of external USB drive

What's the output of...

sudo gdisk -l /dev/sdb
sudo fdisk -l /dev/sdb

It's probably worth asking this upstream, as gparted should take its info directly from parted.
http://gparted-forum.surf4.info/


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#5 2017-11-09 11:10:30

bnb2235
Member
Registered: 2011-02-13
Posts: 119

Re: [Solved]Gparted not recognizing partition scheme of external USB drive

[bryan@nas ~]$ sudo gdisk -l /dev/sdb
GPT fdisk (gdisk) version 1.0.3

Partition table scan:
  MBR: MBR only
  BSD: not present
  APM: not present
  GPT: not present


***************************************************************
Found invalid GPT and valid MBR; converting MBR to GPT format
in memory. 
***************************************************************

Disk /dev/sdb: 625142447 sectors, 298.1 GiB
Model: FreeAgent GoFlex
Sector size (logical/physical): 512/512 bytes
Disk identifier (GUID): 2E7AF2A8-C396-4465-BFE5-60BB71C8B8FC
Partition table holds up to 128 entries
Main partition table begins at sector 2 and ends at sector 33
First usable sector is 34, last usable sector is 625142413
Partitions will be aligned on 2048-sector boundaries
Total free space is 2668 sectors (1.3 MiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048       369141759   176.0 GiB   0700  Microsoft basic data
   2       369141760       625141759   122.1 GiB   8300  Linux filesystem
[bryan@nas ~]$ sudo fdisk -l /dev/sdb
Disk /dev/sdb: 298.1 GiB, 320072932864 bytes, 625142447 sectors
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: 0x000bae0d

Device     Boot     Start       End   Sectors   Size Id Type
/dev/sdb1            2048 369141759 369139712   176G  7 HPFS/NTFS/exFAT
/dev/sdb2       369141760 625141759 256000000 122.1G 83 Linux

Offline

#6 2017-11-09 18:53:15

gedakc
Member
Registered: 2016-12-14
Posts: 2

Re: [Solved]Gparted not recognizing partition scheme of external USB drive

This problem sounds like there are still ISO signatures existing on the hard drive.  Perhaps an ISO file was copied directly to the hard drive at some time in the past???  The solution involves identifying where the ISO signatures exist and then removing ONLY those ISO signatures.

For an example of how another user accomplished this, see:

GPT disk full of partitions looks like iso9660 with no partitions

Last edited by gedakc (2017-11-09 18:57:20)

Offline

#7 2017-11-10 00:52:56

bnb2235
Member
Registered: 2011-02-13
Posts: 119

Re: [Solved]Gparted not recognizing partition scheme of external USB drive

gedakc,
You nailed it. Problem solved.

Thank you slithery and gedakc

Offline

Board footer

Powered by FluxBB