Skip to main content

Thread: error cant have partition outside disk


plz me, partitions messed can't boot, gparted sees drive 1 unallocated space....the drive contains sensitive data in 300gb ntfs partition

tried gparted livecd test disk complicated

plz

disk /dev/sda: 500.1 gb, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
units = cylinders of 16065 * 512 = 8225280 bytes
sector size (logical/physical): 512 bytes / 512 bytes
i/o size (minimum/optimal): 512 bytes / 512 bytes
disk identifier: 0xf1f1295a

device boot start end blocks id system
/dev/sda1 * 1 1 992 83 linux
partition 1 not end on cylinder boundary.
/dev/sda2 1 12748 102396928 7 hpfs/ntfs
/dev/sda3 12749 52054 315722652+ 7 hpfs/ntfs
/dev/sda4 52055 60802 70268310 f w95 ext'd (lba)
/dev/sda5 54993 54994 6144 1 fat12
/dev/sda6 57727 60541 22603776 83 linux
/dev/sda7 60542 60802 2085880 82 linux swap / solaris

custom@custom:~$ sudo gpart /dev/sda

begin scan...
possible partition(windows nt/w2k fs), size(308322mb), offset(99998mb)
possible extended partition @ offset(408323mb)
end scan.

checking partitions...
partition(os/2 hpfs, ntfs, qnx or advanced unix): primary
ok.

guessed primary partition table:
primary partition(1)
type: 007(0x07)(os/2 hpfs, ntfs, qnx or advanced unix)
size: 308322mb #s(631445304) s(204796620-836241923)
chs: (1023/254/63)-(1023/254/63)d (12748/0/1)-(52053/166/21)r

primary partition(2)
type: 015(0x0f)(extended dos, lba)
size: 66574mb #s(136343594) s(836247510-972591103)
chs: (1023/254/63)-(1023/254/63)d (52054/0/1)-(60540/254/2)r

primary partition(3)
type: 000(0x00)(unused)
size: 0mb #s(0) s(0-0)
chs: (0/0/0)-(0/0/0)d (0/0/0)-(0/0/0)r

primary partition(4)
type: 000(0x00)(unused)
size: 0mb #s(0) s(0-0)
chs: (0/0/0)-(0/0/0)d (0/0/0)-(0/0/0)r

custom@custom:~$ sudo parted /dev/sda
gnu parted 2.3
using /dev/sda
welcome gnu parted! type 'help' view list of commands.
(parted) unit s
(parted) rescue
error: can't have partition outside disk!
(parted) rescu
error: can't have partition outside disk!
(parted) rescue print
error: can't have partition outside disk!
(parted)

you try using fixparts.
http://www.rodsbooks.com/fixparts/


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [SOLVED] error cant have partition outside disk


Ubuntu

Comments

Popular posts from this blog

Thread: Can not create raid array: mdadm: no raid-devices specified.

Thread: HOW TO: Package and theme GTK+ / Gtkmm apps in Linux for Windows

Thread: Twinview issues