Re: Can't mount WinXP partition or boot to it. Will "fixboot" work?




ANC wrote:
Have dual-boot XP with Kanotix. Used Qtparted to shrink XP to install Linux.
Linux boots fine. XP won't boot at all with grub... no error at all, just
pops up another grub menu.

What is more important is that I also can't mount the Win partition sda1.
Dmesg says:

NTFS-fs error (device sda1): ntfs_fill_super(): Not an NTFS volume.
NTFS-fs warning (device sda1): is_boot_sector_ntfs(): Invalid boot sector
checksum.
NTFS-fs error (device sda1): read_ntfs_boot_sector(): Primary boot sector is
invalid.
NTFS-fs error (device sda1): read_ntfs_boot_sector(): Mount option
errors=recover not used. Aborting without trying to recover.

The cfdisk program sees the partition ok.

Someone told me to boot with XP disc and run the "fixboot" program. Why will
that fix the mount problem. Seems to me that even if I can't boot, I should
be able to mount. So what does the "fixboot" thing do to the WinXP boot
sector (not mbr) and why will it work to let me mount (and boot?)

Is it possible "fixboot" will screw up something else? (I never trust
Windows utilities.)

Just trying to learn this stuff. Thanks.

Thanks,

Al

Hi;

[ Please don't take this info below as "as far as i can recall" -- and
"from what I remember about it" ]

Otherwise: While booted to linux, Please post the output of;

~$ cat /etc/fstab

~$ cat /etc/mtab

~$ mount

~$ cat /boot/grub/menu.lst #(perhaps it's /boot/grub/grub.conf
instead)#

~$ sudo fdisk -l /dev/sda
(might as well post the info from fdisk for each/all your HDDs )

IIRC - You likely need an entry in /etc/fstab (or /mtab) for any
mounting to occur.

FIXBOOT is XPoop's tool for fixing the partition boot sector ..
FIXMBR is for fixing the MBR of the Hard disk
BOOTCFG /rebuild is for rebuilding Boot.ini (usually performed directly
after one, or both of the above).

These need to be run from Recovery console (unless, I guess, you obtain
ultimatebootcd or similar), which requires booting into XPoop CDROM
(set the BIOS to Boot from CDROM as 1st in the boot order).

Now;
QTparted - could do the resizing effectively I believe, but there are
many 'if' caveats....at one point in Knoppix 3.6, there was a tool
called CaptureNTFS (or CaptiveNTFS).

What version of Kanotix?
What was your setup like before you installed Kanotix?
How many Hard disks, and are they SCSI, IDE, SATA ?
What OS(es) are installed where on these HDDs.?
Did you install GRUB to the XPoop Boot sector as a file?
Or did you install it to the MBR

If the prior (the XP partition Boot sector area only), then you *may*
need to also modify Boot.ini as well as the GRUB file

GRUBs file (at /boot/grub/menu.lst) in Linux

Look into these sites for more info concerning NTFS support in Linux;
<http://www.linux-ntfs.org/content/view/15/29/>
<http://mlf.linux.rulez.org/mlf/ezaz/ntfsresize.html>
<http://www.jankratochvil.net/project/captive/Preview.pm>

Regards

.



Relevant Pages

  • Re: dual booting computer sheddies to the bridge
    ... I knocked up an old puter with two drives, ... The usual "duel boot" spelling is not entirely accidental. ... Kubuntu drive as master and Win drive as slave grub comes up but there`s ... If I put the winxp disk as master and the linux disk as slave, ...
    (uk.rec.sheds)
  • Re: [SLE] grub refuses to grub
    ... Note before I had Suse 9.0 with Grub and with Suse 9,2 it doesn't work ... > for Windows and 60 gig HD for Linux, a regular CDROM and a CDRW. ... > which distro I try to install and have install Grub, ... > where the actual boot sector is, and I gather, where the actual Grub ...
    (SuSE)
  • Re: GRUB boots to prompt but wont boot OS
    ... as well as a linux kernel. ... In the grub subdirectory of the boot partition the ... Yet grub will not boot the kernel. ... existing disc using gparted. ...
    (comp.os.linux.setup)
  • Re: Fedora / Windows Boot.
    ... If both hard drives were connected during the Linux installation it ... should have asked you if you wanted to use Grub as the boot loader. ... If Windows is on the primary hard drive it will show up ...
    (Fedora)
  • Re: How install GRUB into partition after Debian install?
    ... > Can Grub keep into the MBR and doesn't give a chance for XP take over ... usually I am setting up linux parts ... > be able to boot my Linux partition after windows reinstallation. ... > if Grub works like I would like to I could change the boot manager. ...
    (Debian-User)