Mailinglist Archive: opensuse (3513 mails)

< Previous Next >
Re: [opensuse] gparted grashing on gpt partition creation opensuse 11.0
On Thu, Jan 08, 2009 at 07:22:56PM -0800, Vahe Avedissian wrote:
Folks,

I'm trying to create a partition > 2TB on opensuse 11.0 x64 kernel
2.6.25.18-0.2-default.
As far as I know only parted and gparted understand gpt partitions (fdisk,
cfdisk, etc...
don't work).

From what I can see the kernel does have GPT support enabled. parted does
have gpt as an
argument to mklabel, but when I specify that is tells me it is an invalid
token:

Hi,
you have to do it this way:

# parted /dev/hdd
GNU Parted 1.8.8
Using /dev/hdd
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) mklabel
Warning: The existing disk label on /dev/hdd will be destroyed and all
data on this disk will be lost. Do you want to continue?
Yes/No? yes
New disk label type? [gpt]? gpt
(parted) quit
Information: You may need to update /etc/fstab.

So type 'mklabel' without any arguments and then specify that you want
the label to be 'gpt'. Not very intuitive...

HTH


GNU Parted 1.8.8
Using /dev/sda
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) mklabel gpt
Warning: The existing disk label on /dev/sda will be destroyed and all data
on this disk will be lost. Do you want to continue?
parted: invalid token: gpt
Yes/No? No
(parted) quit


When I try gparted, it simply crashes with several pages of back trace:

======================
libparted : 1.8.8
======================
*** glibc detected *** /usr/sbin/gpartedbin: double free or corruption
(!prev): 0x000000000089f400 ***
======= Backtrace: =========
/lib64/libc.so.6[0x7fbad8e80af8]
/lib64/libc.so.6(cfree+0x76)[0x7fbad8e826e6]
/usr/lib64/libparted-1.8.so.8(ped_disk_delete_partition+0xb5)[0x7fbadcd05575]
/usr/sbin/gpartedbin[0x449412]
/usr/sbin/gpartedbin[0x45667e]
/usr/sbin/gpartedbin[0x42dc69]
/lib64/libpthread.so.0[0x7fbad8bf6040]
/lib64/libc.so.6(clone+0x6d)[0x7fbad8ede08d]
======= Memory map: ========
00400000-004ce000 r-xp 00000000 08:46 183462
/usr/sbin/gpartedbin
006cd000-006ce000 r--p 000cd000 08:46 183462
/usr/sbin/gpartedbin
006ce000-006d0000 rw-p 000ce000 08:46 183462
/usr/sbin/gpartedbin
006d0000-00a08000 rw-p 006d0000 00:00 0
[heap]
40256000-40257000 ---p 40256000 00:00 0
40257000-40a57000 rw-p 40257000 00:00 0
7fbacc000000-7fbacc032000 rw-p 7fbacc000000 00:00 0
7fbacc032000-7fbad0000000 ---p 7fbacc032000 00:00 0
7fbad3508000-7fbad3535000 r--p 00000000 08:46 69458
/usr/share/fonts/truetype/albwi.ttf
7fbad3535000-7fbad355f000 r--p 00000000 08:46 69456
/usr/share/fonts/truetype/albwb.ttf
7fbad355f000-7fbad35bf000 rw-s 00000000 00:09 5570580
/SYSV00000000 (deleted)
7fbad35bf000-7fbad4372000 r--p 00000000 08:48 27037
/opt/kde3/share/icons/hicolor/icon-theme.cache
7fbad4372000-7fbad4fcd000 r--p 00000000 08:46 194187
/usr/share/icons/hicolor/icon-theme.cache
7fbad4fcd000-7fbad4ff7000 r--p 00000000 08:46 69455
/usr/share/fonts/truetype/albw.ttf
7fbad4ff7000-7fbad4ff9000 r-xp 00000000 08:46 24382
/usr/lib64/pango/1.6.0/modules/pango-basic-fc.so
7fbad4ff9000-7fbad51f8000 ---p 00002000 08:46 24382
/usr/lib64/pango/1.6.0/modules/pango-basic-fc.so


Try to report this to gparted upstream...


--
Best regards / s pozdravem

Petr Uzel, Packages maintainer
---------------------------------------------------------------------
SUSE LINUX, s.r.o. e-mail: puzel@xxxxxxx
Lihovarsk√° 1060/12 tel: +420 284 028 964
190 00 Prague 9 fax: +420 284 028 951
Czech Republic http://www.suse.cz
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References