[megoldva] Új pendrive-val a gparted elszáll

Ma vettem egy Kingston DataTravel 4Gb G3 típusú pendrivot.
A problémám az, hogy windows alól szépen lehet formázni de Linux alól nem tudom. A gparted elhasal a megnyitásnál:


======================
libparted : 2.3
======================
Backtrace has 16 calls on stack:
  16: /lib/libparted.so.0(ped_assert+0x2a) [0xb77a4dba]
  15: /lib/libparted.so.0(+0x43ae7) [0xb77dbae7]
  14: /lib/libparted.so.0(+0x44907) [0xb77dc907]
  13: /lib/libparted.so.0(+0x45bfc) [0xb77ddbfc]
  12: /lib/libparted.so.0(+0x11631) [0xb77a9631]
  11: /lib/libparted.so.0(ped_disk_add_partition+0x262) [0xb77acec2]
  10: /lib/libparted.so.0(+0x47bb5) [0xb77dfbb5]
  9: /lib/libparted.so.0(+0x47dbf) [0xb77dfdbf]
  8: /lib/libparted.so.0(ped_disk_new+0x75) [0xb77adc95]
  7: /usr/sbin/gpartedbin() [0x8091e96]
  6: /usr/sbin/gpartedbin() [0x80a1bf5]
  5: /usr/sbin/gpartedbin() [0x80c30f2]
  4: /usr/lib/libglibmm-2.4.so.1(+0x320c2) [0xb6f850c2]
  3: /lib/libglib-2.0.so.0(+0x656cf) [0xb6e0f6cf]
  2: /lib/i686/cmov/libpthread.so.0(+0x5955) [0xb6c5c955]
  1: /lib/i686/cmov/libc.so.6(clone+0x5e) [0xb6bdc58e]
Assertion (head_size <= 63) at ../../../libparted/labels/dos.c:662 in function probe_partition_for_geom() failed.

Van egy ugyanilyen használt pendrivom azzal semmi problémám sincs ezért vettem ugyanolyat. Mi lehet a probléma ? Másolás megy szépen. Adatok úgy néz ki megvannak.

megoldás:
snq- hozzászólása:
http://hup.hu/node/112562?comments_per_page=9999#comment-1432852

2011-03-05 utáni forrásból bildezett libgparteddel már nem assertion fail lesz az eredmény 8000 "fejes" pendrive esetén

Hozzászólások

ha már bekopizol valamit, legalább olvasd el az utolsó sorát

Akkor egy konstruktív hozzászólást is:


/* This function attempts to infer the BIOS CHS geometry of the hard disk
 * from the CHS + LBA information contained in the partition table from
 * a single partition's entry.
 *
 * This involves some maths.  Let (c,h,s,a) be the starting cylinder,
 * starting head, starting sector and LBA start address of the partition.
 * Likewise, (C,H,S,A) the end addresses.  Using both of these pieces
 * of information, we want to deduce cyl_sectors and head_sectors which
 * are the sizes of a single cylinder and a single head, respectively.
 *
 * The relationships are:
 * c*cyl_sectors + h * head_sectors + s = a
 * C*cyl_sectors + H * head_sectors + S = A
 *
 * We can rewrite this in matrix form:
 *
 * [ c h ] [ cyl_sectors  ]  =  [ s - a ]  =  [ a_ ]
 * [ C H ] [ head_sectors ]     [ S - A ]     [ A_ ].
 *
 * (s - a is abbreviated to a_to simplify the notation.)
 *
 * This can be abbreviated into augmented matrix form:
 *
 * [ c h | a_ ]
 * [ C H | A_ ].
 *
 * Solving these equations requires following the row reduction algorithm.  We
 * need to be careful about a few things though:
 *      - the equations might be linearly dependent, in which case there
 *      are many solutions.
 *      - the equations might be inconsistent, in which case there
 *      are no solutions.  (Inconsistent partition table entry!)
 *      - there might be zeros, so we need to be careful about applying
 *      the algorithm.  We know, however, that C > 0.
 */
static int
probe_partition_for_geom (const PedPartition* part, PedCHSGeometry* bios_geom)

Magyarul egy maszatolós heurisztika esik hasra. Természetesen a web tele van a hibaüzenettel, például:

https://bugzilla.redhat.com/show_bug.cgi?id=704669

Hali!

http://translate.google.com
Ahogy trollok mondanak: google a baratod vagy a manual :)
Ez meg hogy angol nem az erossegem az nem kifogas. MAstol akarsz megoldast te meg baszol utana olvasni kicsit. NE haragudj meg erte. En se vagyok egy angol tanar... sot eletembe nem tanultam angolul, de ki tudom hasznalni a net adta lehetosegeket.... translate eleg jo erre a celre. Szepen kisilabizalhato belole hogy mit is akar az a fos gparted. Amugy ajanlom inkabb cfdisk hasznalatat ha mar annyira nem szereted a parancssort.
Igaz ntfs-t en is cfdiskbol vagy lemezkezelobol csinalok, me faszom fog annyit parameterezni konzolbol :)

--
http://szolarenergia.hu

Én is használtam a fordítót, láttam, hogy bugreportok vannak a hibaüzenetemmel, de nem találtam meg a megoldást. dd- vel teleírtam, live cd ről is próbáltam, mégsem változott a helyzet. Neked is egyszerűbb lett volna annyit ideírni, hogy használj újabb gparted-et mert az a hibás, mint hogy itt okoskodsz.