You are not logged in.

#1 2017-07-26 15:23:34

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,362

Gparted recognizing gpt partition as one big UFS partition

Fdisk clearly states that it is gpt partition table, but gparted treats it as one big UFS partition.  Can't resize any partitions because it has no support for UFS filesystems.  My partition table doesn't look like that.  I have several partitions.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#2 2017-07-26 16:19:03

seth
Member
Registered: 2012-09-03
Posts: 50,957

Re: Gparted recognizing gpt partition as one big UFS partition

fdisk -l
parted -l
lsblk -f

Offline

#3 2017-07-26 16:24:07

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,362

Re: Gparted recognizing gpt partition as one big UFS partition

seth wrote:
fdisk -l
parted -l
lsblk -f

lsblk -f is reporting my disk as ufs because I have a couple of ufs partitions, but usually gparted is able to separate those from the rest of the partitions.
It is calling /dev/sda and /dev/sda1 the same UUID and ufs type.  Shouldn't be calling sda anything, any ideas?


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#4 2017-07-26 16:25:30

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,541

Re: Gparted recognizing gpt partition as one big UFS partition

So you're not going to post any of the requested info?

Personally, I would prefer gdisk -l vs fdisk -l. Gives more info about gpt disks.

Last edited by Scimmia (2017-07-26 16:32:24)

Offline

#5 2017-07-26 16:26:10

seth
Member
Registered: 2012-09-03
Posts: 50,957

Offline

#6 2017-07-27 19:01:28

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,362

Re: Gparted recognizing gpt partition as one big UFS partition

Scimmia wrote:

So you're not going to post any of the requested info?

Personally, I would prefer gdisk -l vs fdisk -l. Gives more info about gpt disks.

NAME    FSTYPE LABEL UUID                                 MOUNTPOINT
sda     ufs          52d9bbbb416b61d4                     
├─sda1  ufs          52d9bbbb416b61d4                     
├─sda2  ufs          52e40e849e31926e                     
├─sda3  ext3         b7b4ff36-474f-4f26-b431-eafc572bc5ba /
├─sda4  ext3         c43694f1-f4b9-4423-8b80-ca937fbd7057 /usr
├─sda5  xfs          9ccc627b-f97d-493b-9515-812f6f1753c3 /home
├─sda6  ext4         9ec15912-4a2e-427c-9964-f953da8a8f1e /srv/tftp/arch32
├─sda7  ext3         b9258c50-1e73-4206-a530-2e721b0fd588 /srv/tftp/arch64
├─sda8  ext4         f2b48e5b-abd7-405e-ada0-75c0c71f69c0 /usr/share/.cxoffice
├─sda9  swap         d98f1dea-cb1d-41d1-a2ae-e9677256a4d6 [SWAP]
├─sda10 ext4         282e5fc3-9ed1-4952-b5dd-2c0a90ca2bed /opt
└─sda11 ext4         65d9b326-2ec7-455c-a883-f54f8d11d1d6 /usr/share/stellarium
sr0                                                       

How did it do that to my sda, all the other machines leave sda blank?

Last edited by nomorewindows (2017-07-27 19:03:23)


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#7 2017-07-28 07:19:47

seth
Member
Registered: 2012-09-03
Posts: 50,957

Re: Gparted recognizing gpt partition as one big UFS partition

Please get the other outputs (fdsik, gdisk - whichever at hand, but gdisk indeed provides more info)

Looks like something went wrong last time you wrote the partition table, the sda seems conflated with sda1.
Since there're two UFS partitions, do you have a multiboot with BSD or OSX? (I mean, why are there UFS partitions itfp?)
Did you alter the partition table there?

Offline

#8 2017-07-28 14:43:53

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,362

Re: Gparted recognizing gpt partition as one big UFS partition

seth wrote:

Please get the other outputs (fdsik, gdisk - whichever at hand, but gdisk indeed provides more info)

Looks like something went wrong last time you wrote the partition table, the sda seems conflated with sda1.
Since there're two UFS partitions, do you have a multiboot with BSD or OSX? (I mean, why are there UFS partitions itfp?)
Did you alter the partition table there?

It's FreeBSD multiboot.
Oh wait, gdisk -l gives an error -2, no wonder I didn't post it.  There wasn't anything to post. 

GPT fdisk (gdisk) version 1.0.1

Problem opening -l for reading! Error is 2.
The specified file does not exist!

I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#9 2017-07-28 14:49:01

seth
Member
Registered: 2012-09-03
Posts: 50,957

Re: Gparted recognizing gpt partition as one big UFS partition

sudo gdisk -l /dev/sda

Offline

#10 2017-07-28 17:46:58

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,362

Re: Gparted recognizing gpt partition as one big UFS partition

seth wrote:
sudo gdisk -l /dev/sda
GPT fdisk (gdisk) version 1.0.1

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

Found valid GPT with protective MBR; using GPT.
Disk /dev/sda: 156301488 sectors, 74.5 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): DC76C8C4-6EE2-45D7-83D9-94CFE290DCB3
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 156301454
Partitions will be aligned on 2-sector boundaries
Total free space is 10035309 sectors (4.8 GiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1              34             161   64.0 KiB    A501  
   2             162        21600289   10.3 GiB    A503  
   3        21602304        23717887   1.0 GiB     8304  Linux filesystem
   4        23717888        79175679   26.4 GiB    8300  Linux filesystem
   5        79175680       119025663   19.0 GiB    8302  Linux filesystem
   6       119027712       123226111   2.0 GiB     8300  Linux filesystem
   7       123228160       127422463   2.0 GiB     8300  Linux filesystem
   8       127422464       134762495   3.5 GiB     8300  Linux filesystem
   9       134762496       138956799   2.0 GiB     8200  
  10       138956800       143151103   2.0 GiB     8300  
  11       143151104       146272255   1.5 GiB     8300  

I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#11 2017-07-28 20:13:47

seth
Member
Registered: 2012-09-03
Posts: 50,957

Re: Gparted recognizing gpt partition as one big UFS partition

Ok, leaving aside the 64kB partition, gdisk has no major problem with the disk layout (and there's a valid GPT)
Did you check the output of "sudo parted -l" (since this might ultimately be a bug in the frontend)

Offline

#12 2017-07-28 20:38:43

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,362

Re: Gparted recognizing gpt partition as one big UFS partition

seth wrote:

Ok, leaving aside the 64kB partition, gdisk has no major problem with the disk layout (and there's a valid GPT)
Did you check the output of "sudo parted -l" (since this might ultimately be a bug in the frontend)

64kb is the FreeBSD bootloader partition but I still have a bin file to load the mbr for FreeBSD into syslinux.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#13 2017-07-30 04:33:24

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,362

Re: Gparted recognizing gpt partition as one big UFS partition

parted -l doesn't seem to recognize ufs filesystems, only the one that are used by linux.  It still shows the partitions...


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#14 2017-07-30 06:25:10

seth
Member
Registered: 2012-09-03
Posts: 50,957

Re: Gparted recognizing gpt partition as one big UFS partition

Seems very much like a pure frontend issue then. Parted does not decode the UFS partition IDs and produces output that's "unexpected" by the frontend.
So you
1. can file a bug against gparted (please provide them the actual parted outputs of probably "parted -lm"
2. "man parted" to edit the partition (it has an online help as well)

Offline

#15 2017-07-30 13:29:05

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,362

Re: Gparted recognizing gpt partition as one big UFS partition

I was thinking I might have to zap the gpt and start over possibly don't know if this will correct the sda being a ufs filesystem though.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#16 2017-07-30 14:05:26

seth
Member
Registered: 2012-09-03
Posts: 50,957

Re: Gparted recognizing gpt partition as one big UFS partition

Rewriting the partition table (w/o actually changing it) should achieve that - if at all.
However, if your problem is that gparted does not work, but parted does, that's simply a bug in gparted, which is just a GUI frontend for parted. So your options are to call to fix it - or drop it.

Offline

#17 2017-08-28 15:39:10

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,362

Re: Gparted recognizing gpt partition as one big UFS partition

Now gparted won't even start...

terminate called after throwing an instance of 'Glib::ConvertError'
/usr/bin/gparted: line 193:  2321 Aborted                 (core dumped) $BASE_CMD

I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#18 2017-08-28 16:55:20

seth
Member
Registered: 2012-09-03
Posts: 50,957

Re: Gparted recognizing gpt partition as one big UFS partition

Your locale is bonkers

localectl
locale
locale -a
printenv | grep -E '(LC_|LANG)'

Offline

#19 2017-08-28 19:19:21

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,362

Re: Gparted recognizing gpt partition as one big UFS partition

localectl

   System Locale: LANG=en_US.UTF-8
       VC Keymap: dvorak
      X11 Layout: us
       X11 Model: pc105
     X11 Variant: dvorak

locale locale -a and printenv all complain about my environment variables:

locale: Cannot set LC_CTYPE to default locale: No such file or directory.
locale: Cannot set LC_MESSAGES to default locale: No such file or directory.
locale: Cannot set LC_ALL to default locale: No such file or directory.
LANG=en_US.UTF-8
LC_CTYPE=
LC_NUMERIC=
LC_TIME=
LC_COLLATE=
LC_MONETARY=
LC_MESSAGES=
LC_PAPER=
LC_NAME=
LC_ADDRESS=
LC_TELEPHONE=
LC_MEASUREMENT=
LC_IDENTIFICATION=
LC_ALL=
LC_MEASUREMENT=
LC_PAPER=
LC_MONETARY=

LANG=en_US.UTF-8
LC_NAME=
LC_COLLATE=
LC_CTYPE=
LC_ADDRESS=
LC_NUMERIC=
LC_MESSAGES=
LANGUAGE=
LC_TELEPHONE=
LC_IDENTIFICATION=
CSF_LANGUAGE=us
LC_TIME=

I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#20 2017-08-28 19:28:55

Fixxer
Member
From: Poland
Registered: 2011-08-29
Posts: 217

Re: Gparted recognizing gpt partition as one big UFS partition

Maybe you should renegerate locale files.

First show output of command:

grep -v "#" /etc/locale.gen
cat /etc/locale.conf

Reading:
https://wiki.archlinux.org/index.php/locale

Last edited by Fixxer (2017-08-28 19:29:16)

Offline

#21 2017-08-28 19:31:04

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,362

Re: Gparted recognizing gpt partition as one big UFS partition

locale.gen (empty)
cat /etc/locale.conf

LANG=en_US.UTF-8

I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#22 2017-08-28 19:34:47

Fixxer
Member
From: Poland
Registered: 2011-08-29
Posts: 217

Re: Gparted recognizing gpt partition as one big UFS partition

So uncomment your locale in /etc/locale.gen and run as ROOT locale-gen command. After reboot all should be fine.

Then post output of commands posted by seth:
https://bbs.archlinux.org/viewtopic.php … 3#p1733113 .

Last edited by Fixxer (2017-08-28 19:35:22)

Offline

#23 2017-08-28 19:37:27

seth
Member
Registered: 2012-09-03
Posts: 50,957

Re: Gparted recognizing gpt partition as one big UFS partition

Offline

#24 2017-08-29 19:25:18

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,362

Re: Gparted recognizing gpt partition as one big UFS partition

Fixxer wrote:

So uncomment your locale in /etc/locale.gen and run as ROOT locale-gen command. After reboot all should be fine.

Then post output of commands posted by seth:
https://bbs.archlinux.org/viewtopic.php … 3#p1733113 .

Did locale-gen and didn't even need reboot, gparted works again.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

Board footer

Powered by FluxBB