You are not logged in.

#1 2011-02-18 18:07:38

Open-Source
Member
Registered: 2010-11-28
Posts: 8

Problem with GParted

Hi.

this is fdisk issue:

[amir@myhost ~]$ fdisk -l

Disk /dev/sda: 160.0 GB, 160040803840 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312579695 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
Disk identifier: 0x13151314

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *          63    73400984    36700461    7  HPFS/NTFS
/dev/sda2        73401046   312580095   119589525    f  W95 Ext'd (LBA)
/dev/sda5        73401048   146801969    36700461    7  HPFS/NTFS
/dev/sda6       146802033   198017189    25607578+   7  HPFS/NTFS
/dev/sda7       198017253   249232409    25607578+   7  HPFS/NTFS
/dev/sda8       249232473   253859129     2313328+  82  Linux swap / Solaris
/dev/sda9       253859193   279032984    12586896   83  Linux
/dev/sda10      279033048   312576704    16771828+  83  Linux

But, when i run GParted is like this image:

thumb.php?id=12F9_4D5EB52D

GParted(0.8.0) dont show my harddisk and harddrive.

plz help.:(

Offline

#2 2011-02-18 22:27:46

hexanol
Member
From: Canaduh
Registered: 2009-08-04
Posts: 95

Re: Problem with GParted

And what does 'parted /dev/sda unit s print' shows ?

And what does 'od -Ax -tx1z -N512' shows ?

Offline

#3 2011-02-19 11:22:05

Open-Source
Member
Registered: 2010-11-28
Posts: 8

Re: Problem with GParted

[amir@myhost ~]$ sudo parted /dev/sda unit s print
Error: Can't have a partition outside the disk! 

AND

when does 'od -Ax -tx1z -N512' , i dont get any output.
it wait until press 'ctr+c' and end it.

sad

Offline

#4 2011-02-19 12:30:53

hexanol
Member
From: Canaduh
Registered: 2009-08-04
Posts: 95

Re: Problem with GParted

Yes sorry for the od command, that's normal nothing showed, it was missing an '/dev/sda' at the end.

But it won't be necessary to run it. I can see from the parted and fdisk output that one of your partition (the second one to be precise, i.e. the extended one) is ending at sector 312,580,095 but the last sector of your disk is at 312,579,694 (i.e. total number of sectors - 1). The fix is to set this value to something more reasonable, like 312,576,704, which is the last sector of your last partition in your extended partition.

Offline

#5 2011-02-20 20:28:31

Open-Source
Member
Registered: 2010-11-28
Posts: 8

Re: Problem with GParted

i still have some problem.
sad

Offline

#6 2011-02-21 01:17:37

hexanol
Member
From: Canaduh
Registered: 2009-08-04
Posts: 95

Re: Problem with GParted

If you don't tell us your problem, we won't be able to help you.

This said, if you just don't know how to fix your problem, there's tool like sfdisk that I think can fix your problem (be careful tough). If you have some knowledge, you can also modify your MBR 'by hand' (with an hex editor and the dd command).

Offline

#7 2011-03-21 00:26:39

Darkzom
Member
Registered: 2011-03-15
Posts: 28

Re: Problem with GParted

Hi all!

I have the same problem as him, in a partition made by gparted from ubuntu (which is hosting the root drive of my win7 install and works ok)

Error: Can't have a partition outside the disk! 

Funny thing is that ubuntu's gparted can read and modify it, however my arch gparted shows that error.

 First sector: 781420655
Last sector: 781420656

I guess I can enter ubuntu and make it smaller so this error would not appear, but how's that ubuntu's gparted can do it with no error?

Offline

Board footer

Powered by FluxBB