Find the answer to your Linux question:
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.
  1. #1
    Just Joined!
    Join Date
    Nov 2008
    Posts
    3

    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:

    Code:
    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).
    
    ========================================
    I can probably assume from all of this that my windows partition got corrupt at some point and can't be accessible either way.

    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?

  2. #2
    Administrator jayd512's Avatar
    Join Date
    Feb 2008
    Location
    Kentucky
    Posts
    5,023
    Ubuntu shouldn't have done anything to XP. Post the output of
    Code:
    cat /etc/grub.conf
    Jay

    New users, read this first.
    New Member FAQ
    Registered Linux User #463940
    I do not respond to private messages asking for Linux help. Please keep it on the public boards.

  3. #3
    Just Joined!
    Join Date
    Nov 2008
    Posts
    3
    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.

  4. $spacer_open
    $spacer_close
  5. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Execute this
    Code:
    sudo fdisk -l
    cat /boot/grub/menu.lst
    Post output here.
    * Its small L in fdisk -l.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •