yang
July 12th, 2009, 01:09 AM
I'd like to install Ubuntu alongside my existing XP install onto my HP Compaq nc6400, but the live CD doesn't seem to be cooperating with my NTFS partition. I don't want to wipe out XP, so I need to resize the partition, but none of the tools seem to be working:
$ sudo fdisk -l
Disk /dev/sda: 80.0 GB, 80026361856 bytes
240 heads, 63 sectors/track, 10337 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes
Disk identifier: 0xc39a9a07
Device Boot Start End Blocks Id System
/dev/sda1 * 1 10337 78147688+ 7 HPFS/NTFS
Disk /dev/sdb: 4127 MB, 4127194624 bytes
255 heads, 63 sectors/track, 501 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x91f72d24
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 502 4030432 b W95 FAT32
Partition 1 has different physical/logical endings:
phys=(500, 254, 63) logical=(501, 196, 14)
$ sudo mount -t ntfs /dev/sda1 /mnt/sda1
NTFS signature is missing.
Failed to mount '/dev/sda1': Invalid argument
The device '/dev/sda1' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
$ sudo ntfsresize -if /dev/sda1
ntfsresize v2.0.0 (libntfs 10:0:0)
Failed to startup volume: Invalid argument.
ERROR(22): Opening '/dev/sda1' as NTFS failed: Invalid argument
The device '/dev/sda1' doesn't seem to have a valid NTFS.
Maybe you selected the wrong partition? Or the whole disk instead of a
partition (e.g. /dev/hda, not /dev/hda1)? This error might also occur
if the disk was incorrectly repartitioned (see the ntfsresize FAQ).
I also tried specifying /dev/sda instead of /dev/sda1. I also tried using GParted, but it just says I have a single partition (/dev/sda1) with an unknown filesystem. Windows XP is working fine.
Thanks in advance for any help.
$ sudo fdisk -l
Disk /dev/sda: 80.0 GB, 80026361856 bytes
240 heads, 63 sectors/track, 10337 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes
Disk identifier: 0xc39a9a07
Device Boot Start End Blocks Id System
/dev/sda1 * 1 10337 78147688+ 7 HPFS/NTFS
Disk /dev/sdb: 4127 MB, 4127194624 bytes
255 heads, 63 sectors/track, 501 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x91f72d24
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 502 4030432 b W95 FAT32
Partition 1 has different physical/logical endings:
phys=(500, 254, 63) logical=(501, 196, 14)
$ sudo mount -t ntfs /dev/sda1 /mnt/sda1
NTFS signature is missing.
Failed to mount '/dev/sda1': Invalid argument
The device '/dev/sda1' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
$ sudo ntfsresize -if /dev/sda1
ntfsresize v2.0.0 (libntfs 10:0:0)
Failed to startup volume: Invalid argument.
ERROR(22): Opening '/dev/sda1' as NTFS failed: Invalid argument
The device '/dev/sda1' doesn't seem to have a valid NTFS.
Maybe you selected the wrong partition? Or the whole disk instead of a
partition (e.g. /dev/hda, not /dev/hda1)? This error might also occur
if the disk was incorrectly repartitioned (see the ntfsresize FAQ).
I also tried specifying /dev/sda instead of /dev/sda1. I also tried using GParted, but it just says I have a single partition (/dev/sda1) with an unknown filesystem. Windows XP is working fine.
Thanks in advance for any help.