You are not logged in.

#1 2010-07-04 10:08:58

goulabf9
Member
Registered: 2010-07-04
Posts: 8

gparted refuse to format one partition because error on another part ?

Hi,

just after booting arch or ubuntu, a fdisk-l returs the following:
Disque /dev/sda: 160.0 Go, 160041885696 octets
255 têtes, 63 secteurs/piste, 19457 cylindres
Unités = cylindres de 16065 * 512 = 8225280 octets
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Identifiant de disque : 0xe41dfeb7

Périphérique Amorce Début Fin Blocs Id Système
/dev/sda1 1 13411 107723795 5 Etendue
/dev/sda2 13412 15968 20535670+ 83 Linux
/dev/sda3 17756 19457 13671315 83 Linux
/dev/sda4 15969 17755 14353408 83 Linux
/dev/sda5 1 12419 99755554+ 83 Linux
/dev/sda6 12420 13346 7446096 83 Linux
/dev/sda7 13347 13404 465853+ 82 Linux swap / Solaris
/dev/sda8 13405 13411 56196 83 Linux


I actually want to format sda4 so I launch gparted. It shows me sda4 with an exclamation mark (type unknown). Well I don't care, want to format anyway. Click on it, select format in ext4, I then get a libparted message: "fail to add partition 1".
So Gparted cancels the operation and reread the partition table and now sda2 and sda8 are marked with an exclamation mark as well as sda4.
Klicking on sda8 gives me the typical e2label message "couldn't find a valid superblock system".

I tried a lot and especially mke2fs -S to rebuild the superblock, just followed by e2fschk -f -y . Everything was allright but everytime I tried again to format sda4, no way.

And I have top say that all the logical partitions are mounted at booting and I can read the data wihtout problems. Just sda4 is useless.

Thanks for any tip you could provide.

Regards,

Fabien

Offline

#2 2010-07-04 13:07:22

Mektub
Member
From: Lisbon /Portugal
Registered: 2008-01-02
Posts: 647

Re: gparted refuse to format one partition because error on another part ?

goulabf9,

a couple of months ago I had a similar problem with gparted. Most of the times it would show an exclamation mark
and fail the formatting.

I never found out what was going on. It seems to have disappeared after some upgrade (gparted 0.6.0-1).

At the time I solved the problem by booting from the gparted livecd:

http://gparted.sourceforge.net/download.php

and doing the partitioning/formatting from there.

Mektub


Follow me on twitter: https://twitter.com/johnbina

Offline

Board footer

Powered by FluxBB