Alright, this all started when I did a FreeBSD install (removed that, rockin' slack atm). It screwed up the cylinder/size of my NTFS xp partition (/dev/hda2). Basically, it wont boot. Whatever bootloader I use (including just the default of windows), it hangs. No error message. This problem is consistent with the error as can be seen here: h**p://lwn.net/Articles/86835/
Also..
bash-3.00# head /dev/hda2 | strings | grep NT
NTFS
NTLDR is missing
NTLDR is compressed
Windows doesn't like changed geometry :X
Anyways, I tried the obvious.. windows recovery disks, trying fixmbr, fixboot. tried chkdisk /R for recovery - no luck with that either..
Code:
bash-3.00# sfdisk -d /dev/hda | sfdisk --no-reread -H255 /dev/hda
Disk /dev/hda: 19457 cylinders, 255 heads, 63 sectors/track
Old situation:
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0
Device Boot Start End #cyls #blocks Id System
/dev/hda1 0+ 671 672- 5397808+ 1b Hidden W95 FAT32
/dev/hda2 * 672 14262- 13591- 109166400 7 HPFS/NTFS
/dev/hda3 14262+ 19247- 4985 40042012+ 83 Linux
/dev/hda4 19311 19456 146 1172745 82 Linux swap
New situation:
Units = sectors of 512 bytes, counting from 0
Device Boot Start End #sectors Id System
/dev/hda1 63 10795679 10795617 1b Hidden W95 FAT32
/dev/hda2 * 10795680 229128479 218332800 7 HPFS/NTFS
/dev/hda3 229128480 309212504 80084025 83 Linux
/dev/hda4 310231215 312576704 2345490 82 Linux swap
Warning: partition 2 does not end at a cylinder boundary
sfdisk: I don't like these partitions - nothing changed.
(If you really want this, use the --force option.)
Tried with --force, still no luck.. says
Code:
....
Re-reading the partition table ...
BLKRRPART: Device or resource busy
The command to re-read the partition table failed
Reboot your system now, before using mkfs
If you created or changed a DOS partition, /dev/foo7, say, then use dd(1)
to zero the first 512 bytes: dd if=/dev/zero of=/dev/foo7 bs=512 count=1
(See fdisk(8).)
hmm. I know it's not my bootloader anyways. All my data on hda2 is there etc, boot.ini has correct partition.
Anyone have any ideas or fixes, really need some help!!
thanks alot
leo