Re: Can't mount WinXP partition or boot to it. Will "fixboot" work?
- From: Jim <james@xxxxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 10 Jul 2006 20:05:00 GMT
ANC wrote:
Douglas Mayne wrote:
On Mon, 10 Jul 2006 14:27:59 +0000, ANC wrote:
iforone wrote:<snip>
Sounds like this common bug:
~$ sudo fdisk -l /dev/sda
(might as well post the info from fdisk for each/all your HDDs )
root@kanotix1:/home/al# fdisk -l /dev/sda
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 5264 42282268 7 HPFS/NTFS
Partition 1 does not end on cylinder boundary.
/dev/sda2 5265 6830 12578895 83 Linux
NOTICE ABOVE 'WARNING' ABOUT NOT ENDING ON A CYL BOUNDRY.
http://www.redhat.com/archives/fedora-devel-list/2004-May/msg00908.html
<snip>
I read the link but don't understand what this might have to do with not
being able to MOUNT the partition. I do understand the not booting part...
but this fs (sda1) won't even mount.
Al
Well, for a start the kernel (any kernel) does not use the same drive
geometry as the BIOS. From the looks of things here, you have used a
third-party app on some other platform (Partition Magic on Windows?) to
resize the NTFS partition, then installed Linux. Problem is, PM has the
same idea as the kernel and basically ignores the BIOS reported geometry
and reads direct from the drive controller. Therein lies the problem. PM
has different ideas again from the Linux kernel (and the NT kernel for that
matter) and fdisk in particular about drive geometries. This can result in
the Linux kernel not being able to mount a partition because it doesn't
recognise the PM partitioning geometry and tries to apply its own. End
result? You ain't mounting that baby. Not being able to boot from it either
suggests to me that your NTFS partition is hosed, or you're running XP and
have overwritten the MBR with LILO/GRUB. XP likes the MBR for itself.
The only way around it I can see, is to resize the NTFS partition by
shrinking it slightly using PM to say, 4096 blocks or 5108 blocks ("magic"
numbers that're pretty much guaranteed to land the partition end on a
boundary) and trying again. Don't forget to back up your data first!
Also, move your boot manager to the Linux root partition and use XP Recovery
console to fix the MBR. Back into Linux and add XP to the GRUB menu. Should
be dandy after that.
I hereby disavow and disclaim all responsibility for any data loss which may
occur. You were warned.
--
When all else fails...
Use a hammer.
http://www.dotware.co.uk
Some people are like Slinkies;
They serve no particular purpose,
But they bring a smile to your face
When you push them down the stairs.
.
- Follow-Ups:
- References:
- Can't mount WinXP partition or boot to it. Will "fixboot" work?
- From: ANC
- Re: Can't mount WinXP partition or boot to it. Will "fixboot" work?
- From: iforone
- Re: Can't mount WinXP partition or boot to it. Will "fixboot" work?
- From: ANC
- Re: Can't mount WinXP partition or boot to it. Will "fixboot" work?
- From: Douglas Mayne
- Re: Can't mount WinXP partition or boot to it. Will "fixboot" work?
- From: ANC
- Can't mount WinXP partition or boot to it. Will "fixboot" work?
- Prev by Date: Modular Linux Configuration and Install
- Next by Date: Re: dual processors and linux
- Previous by thread: Re: Can't mount WinXP partition or boot to it. Will "fixboot" work?
- Next by thread: Re: Can't mount WinXP partition or boot to it. Will "fixboot" work?
- Index(es):
Relevant Pages
|