Results 1 to 7 of 7

Thread: Can I use ubuntu to repair XP on the same computer ?

  1. #1
    Join Date
    Apr 2006
    Beans
    Hidden!

    Can I use ubuntu to repair XP on the same computer ?

    My windows xp seems to not load anymore. Is there a way I can recover it using ubuntu ? (which loads fine). Even if I could just get my music files.

    it doesn't seem to attempt to load, even in safe mode
    can get the dos choices
    windows recovery console : can't recall password (don't remember setting
    one.)
    safemode, it seems to stop at pavsysboot. i don't have panda antivirus, but
    did use the online scan a few times.
    boot with last good settings : nothing
    i don't recall anything that would corrupt it

  2. #2
    Join Date
    Oct 2005
    Location
    Jacksonville, FL
    Beans
    29,420

    Re: Can I use ubuntu to repair XP on the same computer ?

    I am not sure if you can fix your windows from Ubuntu. However, you can still access that ntfs partition to backup your files though. You just need to mount it before you can access it.

    Open a terminal and post the output of this command.

    Applications -> Accessories -> Terminal
    Code:
    sudo fdisk -l
    That would be a lower case letter L, not number 1.
    In the world of Linux, who needs Windows and Gates...

    Got most of my golden beans at an auction on eBay (with a couple of free drinks).

  3. #3
    Join Date
    Apr 2006
    Beans
    Hidden!

    Re: Can I use ubuntu to repair XP on the same computer ?

    Thanks. I will try that.

  4. #4
    Join Date
    Apr 2006
    Beans
    Hidden!

    Re: Can I use ubuntu to repair XP on the same computer ?

    it says ( minus the disk identifier)

    Disk /dev/sda: 80.0 GB, 80026361856 bytes
    255 heads, 63 sectors/track, 9729 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier:

    Device Boot Start End Blocks Id System
    /dev/sda1 1 653 5245191 1b Hidden W95 FAT32
    /dev/sda2 * 654 9728 72894937+ 7 HPFS/NTFS

  5. #5
    Join Date
    Oct 2005
    Location
    Jacksonville, FL
    Beans
    29,420

    Re: Can I use ubuntu to repair XP on the same computer ?

    You can try to mount those two partitions while in Ubuntu. From a terminal, run

    Code:
    sudo mkdir /media/sda1 /media/sda2
    sudo mount -t vfat /dev/sda1 /media/sda2 -o umask=000
    sudo mount -t ntfs-3g /dev/sda2 /media/sda2
    df -h
    If there is an error message, especially mounting /dev/sda2, post the whole message here.
    In the world of Linux, who needs Windows and Gates...

    Got most of my golden beans at an auction on eBay (with a couple of free drinks).

  6. #6
    Join Date
    Apr 2006
    Beans
    Hidden!

    Re: Can I use ubuntu to repair XP on the same computer ?

    I think that first file may be returnil program, which i installed but never used. it made a new section on the disk

    I got this back:

    :~$ sudo mkdir /media/sda1 /media/sda2
    mkdir: cannot create directory `/media/sda1': File exists
    mkdir: cannot create directory `/media/sda2': File exists
    x@ubuntu:~$ sudo mount -t vfat /dev/sda1 /media/sda2 -o umask=000
    x@ubuntu:~$ sudo mount -t ntfs-3g /dev/sda2 /media/sda2
    x@ubuntu:~$ df -h

  7. #7
    Join Date
    Apr 2006
    Beans
    Hidden!

    Re: Can I use ubuntu to repair XP on the same computer ?

    Quote Originally Posted by horseradish View Post
    My windows xp seems to not load anymore. Is there a way I can recover it using ubuntu ? (which loads fine). Even if I could just get my music files.

    it doesn't seem to attempt to load, even in safe mode
    can get the dos choices
    windows recovery console : can't recall password (don't remember setting
    one.)
    safemode, it seems to stop at pavsysboot. i don't have panda antivirus, but
    did use the online scan a few times.
    boot with last good settings : nothing
    i don't recall anything that would corrupt it
    someone posted the following on the xp forums. is this worth a go to recover my xp ? and if so how do i do this with ubuntu ?

    Here's an inexpensive trick that sometimes fixes this. Power down, and
    attach the drive to another running system, or, reboot with a Linux boot
    disk or anything else that recognises NTFS and doesn't lock the drive.

    From the root of the drive, delete the hidden/system file "pagefile.sys".
    You may also want to delete "hiberfil.sys". Empty the wastebasket, put the
    drive back in its place, and reboot. The first boot may be slow and you
    may have to power off, then on again.

    I've used this a number of times to successfully restart systems that behave
    the way you describe.
    Last edited by horseradish; March 4th, 2009 at 07:59 AM.

Bookmarks

Posting Permissions

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