Results 1 to 4 of 4
Hey, I set up a dual-boot system with ubuntu and XP on one single drive, two partitions. Since installing ubuntu, I can't boot into Windows any more because NTLDR is ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 12-02-2008 #1
- Join Date
- Nov 2008
XP install possibly corrupt after installing ubuntu
Hey, I set up a dual-boot system with ubuntu and XP on one single drive, two partitions. Since installing ubuntu, I can't boot into Windows any more because NTLDR is missing. Using fixmbr, fixboot or bootcfg /rebuild doesn't help and if I try to use a windows boot disk, it says it can't find ntoskrnl.exe. chkdsk also can't scan the drive because of some major error and gparted can't scan it either. I can't mount or access any data on that drive from ubuntu.
This is the error from gparted after trying a disk scan:
GParted 0.3.8 Libparted 1.8.9 Check and repair filesystem (ntfs) on /dev/sdc1 00:00:00 ( ERROR ) calibrate /dev/sdc1 00:00:00 ( SUCCESS ) path: /dev/sdc1 start: 63 end: 123154289 size: 123154227 (58.72 GiB) check filesystem on /dev/sdc1 for errors and (if possible) fix them 00:00:00 ( ERROR ) ntfsresize -P -i -f -v /dev/sdc1 ntfsresize v2.0.0 (libntfs 10:0:0) Failed to startup volume: Invalid argument. ERROR(22): Opening '/dev/sdc1' as NTFS failed: Invalid argument The device '/dev/sdc1' doesn't 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). ========================================
Is there a way to recover this? Or is it just a case of reinstalling windows? and presumably if I want to use the same drive again, reinstalling ubuntu as well?
- 12-02-2008 #2
- 12-02-2008 #3
- Join Date
- Nov 2008
Output is just: cat: /etc/grub.conf: No such file or directory
I hope ubuntu didn't affect windows, the only thing I can guess that happened is that something went wrong when I created the linux partition with gparted. Although I didn't actually touch the XP partition, but only created my linux partition and swap space. No resizing was done and this was all done after installing XP.
- 12-02-2008 #4
sudo fdisk -l cat /boot/grub/menu.lst
* Its small L in fdisk -l.