Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: Triple-boot problems after moving xp partition

  1. #1
    Join Date
    Dec 2006
    Location
    Toronto
    Beans
    479

    Unhappy Triple-boot problems after moving xp partition

    I have a strange mix of issues but I think the solution might be similar to the one on ubuntuforums.org/showthread.php?t=1609385.

    I have been triple-booting Linux Mint 16, Windows 7 Pro and Xp64 pro for a long time. Forgot the Linux Mint password, so I installed 14.04 MATE over Mint 15.
    But, foolishly, I tried to resize the xp partition a bit during the installation.

    Now, I can boot 14.04 Mate, or Windows 7, but the Windows 7 boot option has xp below it... yet it returns "HAL.DLL file corrupt or missing."

    I can't log into ubuntuforums.org from MATE for some reason (gives an error), but can here in Windows 7.

    My boot sector info scan shows all looked fine for most partitions but said, of the xp partition, something like:

    "Boot sector info says sda5 starts at 6018 but information from fdisk shows sda5 starts at 1819971720."

    So I downloaded a hex editor in 14.04 but don't know how to edit the boot sector info, and I don't know whether to make it match the fdisk or the other way around.

    Does this make sense?
    Last edited by konungursvia; March 29th, 2015 at 08:58 PM.
    Ubuntu Mint Mate 64-Bit
    HP Slimline AMD Turion64 | Dell D531
    Windows 7U / Winxp [gaming] Mint16

  2. #2
    Join Date
    Jun 2014
    Beans
    7,383

    Re: Triple-boot problems after moving xp partition

    Not knowing the details of what resizing you tried to do, where xp was in relation to the other drives will make it difficult to make suggestions. Probably the best thing you can do is to go to the boot repair site and download it in Ubuntu and run it with the option to Create Boot Info Summary. You can then post that output here and someone might be able to help.

    There is nothing I am aware of that any Linux system can do to replace a windows boot file such as HAL.DLL. The boot repair script might tell if it can find it or you could try mounting the xp partition from Ubuntu to see if it is there.

  3. #3
    Join Date
    Aug 2014
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Triple-boot problems after moving xp partition

    Did you change the number of partitions?
    Your boot.ini file in windows specifies a partition.
    eg my boot ini with 2 XP installs
    Code:
    [boot loader]
    redirect=usebiossettings
    redirectbaudrate=
    timeout=3
    default=multi(0)disk(0)rdisk(0)partition(3)\WINDOWS
    [operating systems]
    multi(0)disk(0)rdisk(0)partition(3)\WINDOWS="SOF2" /noexecute=optin /fastdetect /usepmtimer
    multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="XP" /noexecute=optin /fastdetect /usepmtimer

  4. #4
    Join Date
    Dec 2006
    Location
    Toronto
    Beans
    479

    Re: Triple-boot problems after moving xp partition

    Yancek - Thanks, I tried boot repair.
    Cantak - I kept the same number of partitions. I have windows 7 and xp, may I ask where boot.ini is? I searched the xp drive for such a file, but didn't see it.
    Ubuntu Mint Mate 64-Bit
    HP Slimline AMD Turion64 | Dell D531
    Windows 7U / Winxp [gaming] Mint16

  5. #5
    Join Date
    Aug 2014
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Triple-boot problems after moving xp partition

    Quote Originally Posted by konungursvia View Post
    Yancek - Thanks, I tried boot repair.
    Cantak - I kept the same number of partitions. I have windows 7 and xp, may I ask where boot.ini is? I searched the xp drive for such a file, but didn't see it.
    It's on the highest level.
    See pic looking from Ubuntu.

    In XP I can run msconfig.exe to check boot paths.
    http://www.herongyang.com/Windows/ms...-INI-File.html
    Attached Images Attached Images
    Last edited by CantankRus; March 31st, 2015 at 12:33 AM.

  6. #6
    Join Date
    Dec 2006
    Location
    Toronto
    Beans
    479

    Re: Triple-boot problems after moving xp partition

    I installed xp first, then win 7 pro, then ubuntu. So I think that affects where boot.ini is.
    Here is my results.txt file:
    RESULTS.txt
    Ubuntu Mint Mate 64-Bit
    HP Slimline AMD Turion64 | Dell D531
    Windows 7U / Winxp [gaming] Mint16

  7. #7
    Join Date
    Jun 2014
    Beans
    7,383

    Re: Triple-boot problems after moving xp partition

    What generally happens with windows is that the newer install will create an entry in its bootloader for the older windows so in your case, the boot file for windows 7 are on the first partition, sda1. sda1 also has the xp boot.ini file which should be in the root of the filesystem, that is if you open My Computer and go to C:\, it should be there. It might be a hidden file, can't remember. It shows the partition for xp as (3) while your xp is actually on sda5.

    It looks like sda1 is a separate boot partition, is that correct? If you installed xp first, you would not have been able to install and boot it from sda5 where it is now because that is a logical partition and windows needs its boot files on a primary. You could try running: sudo update-grub from Ubuntu to see if it detects the xp, nothing to lose there. I think you will need to find some way to update or modify the windows 7 boot file, bcdedit, I think.

  8. #8
    Join Date
    Aug 2014
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Triple-boot problems after moving xp partition

    Quote Originally Posted by konungursvia View Post
    I installed xp first, then win 7 pro, then ubuntu. So I think that affects where boot.ini is.
    Here is my results.txt file:
    RESULTS.txt

    You said you can boot into Windows 7 but it also gives you an XP option.
    Grub just sends you to your windows boot.
    eg in my grub menu I just see a windows loader which hands off to the windows boot.
    511.jpg

    So when you see the option to choose between Windows 7 and XP you're already in windows.
    If the Xp option doesn't work it's a Windows problem.

    One possibility is the number or order of partitions has changed thus boot.ini is pointing
    to the wrong partition to boot XP. You may have caused this when attempting to resize your XP partition.
    You don't need to know where the boot.ini is.
    You can boot into Windows7 and use msconfig.exe to check your XP boot path and edit the boot.ini if necessary.
    Last edited by CantankRus; April 1st, 2015 at 02:05 AM.

  9. #9
    Join Date
    Jun 2014
    Beans
    7,383

    Re: Triple-boot problems after moving xp partition

    One possibility is the number or order of partitions has changed thus boot.ini is pointing
    to the wrong partition to boot XP
    Agree as the output the OP posted show xp on sda5 and his boot.ini file shows it on partition 3.

  10. #10
    Join Date
    Dec 2006
    Location
    Toronto
    Beans
    479

    Re: Triple-boot problems after moving xp partition

    Thanks guys, but I don't see anything useful in msconfig.exe. There, we only see my Win7 boot information. Nothing about my xp.

    What I was asking was, how specifically did this guy edit his boot information so it matched the results.txt:
    http://ubuntuforums.org/showthread.php?t=1609385

    He says "I did it" but doesn't explain how. That's what I think I need to do...
    Ubuntu Mint Mate 64-Bit
    HP Slimline AMD Turion64 | Dell D531
    Windows 7U / Winxp [gaming] Mint16

Page 1 of 2 12 LastLast

Tags for this Thread

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
  •