1 (edited by Amplitude 2010-05-24 04:56:45)

Topic: having problems with booting into NTFS partitions - Bug 601574

Hi I Decided to format and move an EISA partition, first located at the start of the hard drive, to the end of my hard drive to add it to an NTFS partition.

I used GParted V 0.5.2-9

I got the known error (partition being bigger then the size its supposed to be) and cant boot into vista anymore.
I Installed Ubuntu (where I'm posting from) on a 7GB partition that i reserved for my windows PageFile.
Also I don't know if this is relevant or not, but I mounted my partitions with ntfs-3g.

I tried to use the Tutorial of greegthegreek, but I got stuck at a point, which I'll explain later in this post.

I'm assuming that 2 of my NTFS Partitions are not accessible anymore, since I moved the partition from start to end  (C: System, D: Data) I know I can't boot to C: anymore.

this is what I got from
[fdisk -l -u]

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 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: 0xd372d8f2

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1              63    14683409     7341673+   5  Extended
/dev/sda2   *    14683410   316769669   151043130    7  HPFS/NTFS
/dev/sda3       316769670   625137344   154183837+   7  HPFS/NTFS
/dev/sda5             126    14683409     7341642   83  Linux

and
[parted /dev/sda/ unit s print]

Model: ATA WDC WD3200BEVT-2 (scsi)
Disk /dev/sda: 625142448s
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start       End         Size        Type      File system  Flags
 1      63s         14683409s   14683347s   extended
 5      126s        14683409s   14683284s   logical   ext4
 2      14683410s   316769669s  302086260s  primary   ntfs         boot
 3      316769670s  625137344s  308367675s  primary   ntfs

when I tried to use the tutorial, I hexed the partition and get only numbers (instead of mixed characters) and 8 of them instead of 7 which leaves me to question where the 0 goes in the 2 characters position
example:

root@amplitude-laptop:~# echo "obase=16;302086259"|bc
12017873

Thanks in advance,

Amplitude

2

Re: having problems with booting into NTFS partitions - Bug 601574

Amplitude wrote:

when I tried to use the tutorial, I hexed the partition and get only numbers (instead of mixed characters) and 8 of them instead of 7 which leaves me to question where the 0 goes in the 2 characters position
example:

root@amplitude-laptop:~# echo "obase=16;302086259"|bc
12017873

Since you have 8 digits, you do not need to prefix a zero "0" in front of the number.

Does that help?  If not would you be able to restate your question in a different way?