Ubuntu Dual boot XP / 8.04 - XP not booting after re-partitioning drive

2012-01-02  Source: Original Site  Category:Ubuntu  Views:0 


I run XP and 8.04 on a Dell Vostro 1400. I have been running this dual boot setup without problems now for about 18 months.

Several months ago, due to the fact that I very seldom run XP (I run a virtual machine for the two things I need to do in Windows) and the fact that I was running out of drive space (yes, you can add an external drive, but lugging these things around is a nuisance ;)) I decided to re-partition the drive.

Originally there was a Dell utility partition (sda1), Windows (sda2), and an extended partition (sda3).

The extended partition had Dell Media Player (sda4 - hidden), 8.04 root (sda5), Linux swap (sad6) and Linux home (sda7)

I got really clever and decided that since I never used the Dell utilities or the Dell Media Player, these could be deleted. After cleaning out XP (sda2) of all unwanted software / data / rubbish, I did the following:

Deleted sda1
Re-sized sda2 (moved it to where sda1 started and reduced the size)
Deleted sda4
Moved and increased sda3 (to take up the "gap" where sda2 had previously ended and increase the size to fill up the disk)
Moved sda5 to the start of the extended partition
Moved sda6 to match the end of sda5
Moved and increased sda7 to fill up the rest of the disk giving me more space in my /home directory

All of this was done one step at a time and took a considerable amount of time.

After completing everything, I tried re-booting. This was a disaster... :lolflag:
Grub could not find anything. This was solved after a while and I now have a reasonable insight as to how this works. One problem remained. XP would not boot at all. This was not a major problem as 8.04 was running (very well) and did everything that I needed.

I am now in a situation where I need XP running again. I can of course use the virtual machine to do this, but the bigger problem that I have is connecting to Windows networks (never have gotten this working :confused:)

Since this is a short term assignment, I thought it may be simpler to revive XP. I re-booted to XP again this morning to see what the error is that it spits out.

It does the following:Windows could not start because the following file is missing or corrupt :
<windows root>\system32\hal.dll
Please reinstall a copy of the above file.
Replacing "hal.dll" of course does nothing. Fact is that the MBR got messed up during the re-partitioning exercise and the Windows boot loader does not know where to find the things it needs to boot. (This was the same with 8.04 after the initial exercise, but this was easily fixed :p )

I have done a lot of reading in various forums about this and most seem to recommend using the Windows disk, running the repair console and then everything should be OK.

There is some advice about running ms-sys from Ubuntu, this seems to work, but needs to be done with some care as it has the possibility of hosing the windows partition if used incorrectly.

So a couple of questions.

If I run the Windows repair console (assuming I can remember the admin password ](*,)) and if this actually repairs Windows, I suspect that GRUB will then be confused and will need to be re-configured again (not difficult, but need to "prepare" for this).
If (1) is correct, then fixing GRUB will repair 8.04 and I will have a full working dual boot installation again.
If I cannot repair this using the repair console (cannot recall admin password...) will ms-sys work and if so does this create the same problem with GRUB as running the repair console would.

If you have read this far, thanks for your patience.

This is not a critical issue, since in the worst case I can install the software I need on the virtual machine running XP. I would prefer not to do this (a) since all is installed in the XP isntallation and (b) getting this working further enhances my understanding of how these things work. What I can not afford to do is FUBAR my 8.04 install. This would be a catastrophe (I have backups going back to December 2009 so that a total disaster is manageable, but really should be avoided).

Any advice would be most appreciated.

Related articles
  • Dual boot system (XP\Vista) will not boot from Ubuntu ISO disc 2014-01-09

    Dual boot system (XP\Vista) will not boot from Ubuntu ISO disc Tried both x86 and x64 bit versions, I set the bios to boot from the disc but all I get is the XP\Vista option on startup. Is it possibly because I already have 2 OSs?

  • Ubuntu i386 and x86 64-bit will not boot 2012-06-22

    Ubuntu i386 and x86 64-bit will not boot I put in the CD (that I have tested) in both versions (32/64) and it will boot to a command prompt and that's it. It will show the original menu (to test CD, install, Live boot etc) but any selection brings me

  • Ubuntu v8.10 install does not detect existing XP partition/drive 2015-01-05

    I am attempting to set up a dual boot workstation with Ubuntu v8.10 and Windows XP Pro (with XP already installed). I have two 250GB drives, the former already has a working XP installation and the latter on to which I intend to install Ubuntu. I'm f

  • Ubuntu Dual boot XP / 8.04 - XP not booting after re-partitioning drive 2012-01-02

    I run XP and 8.04 on a Dell Vostro 1400. I have been running this dual boot setup without problems now for about 18 months. Several months ago, due to the fact that I very seldom run XP (I run a virtual machine for the two things I need to do in Wind

  • Ubuntu dual boot with 7: windows does not boot 2014-09-29

    LG T380 Windows Home Premium Loaded Ubuntu 10.04.1 On boot-up: Menu shows OK Select Ubuntu -> works fine Select Windows 7 -> nothing happens - boot menu stays up (Had to reload windows - lost everything - don't want to do that again) Anybody ha

  • Ubuntu 9.10 AND 10.04 will not boot from hdd, only live cd 2012-10-02

    no idea what's going on, just rebuilt my box after catastrophic destruction, and now after about 19 different fresh installs i still can't get ubuntu to boot on it's own. i can run windows xp fine, i've tried to dual boot several times with a partiti

  • Ubuntu reverting to jaunty: karmic kernel will not boot 2013-04-14

    I have a dual-processor (single core) amd64 system that, heretofore, has booted fine with the server kernels of ubuntu. It is normally necessary to add the "noacpi" kernel parameter with this system in order for it to boot. When I upgraded to karmic,

  • Ubuntu URGENT dev/hda5 no such device - not booting 2014-01-26

    Hi I have been dual booting xp/dapper, not using XP more than 2 or 3 times in the last month. I went into XP today, made a new user, logged out, logged in as my new XP user, and rebooted, then after the GRUB menu (I chose Ubuntu as usual) I saw the b

  • Ubuntu Fresh 10.04 Raid1 Install will not boot w/o manual Grub input 2012-02-04

    [SOLVED] Followed steps 2-5 and purged/reinstalled grub now it boots as it should, NO idea where it was messed up. http://ubuntuforums.org/showthread.php?t=1581099 Hello all, Hoping someone has an idea for this ongoing issue. I had 9.10 running in ra

  • Ubuntu Natty amd64 start up disk does not boot. Acer 4755 (i3-2330m) 2012-03-20

    Ubuntu 11.04 i386 start up disks boots and installs fine on an Acer 4755 laptop. The 11.04 amd64 usb startup disk and the live CD (both of which have worked fine for other machines) however do not boot on this laptop. A message is displayed " error:

  • Boot to ubuntu if USB is plugged in, if not boot to windows? 2012-05-02

    Hi, this is my first post here. Hope all goes well. I'v used windows for too long and wont to make a attempt to move over (though I still need windows). I just installed lubuntu on an old machine that was running XP and was really impressed in the sp

  • Ubuntu Kernel not booting 2012-11-23

    I installed Ubuntu 7.04 in text mode.But the generic kernel is not booting.When I tried to boot the 'recovery' mode,it worked.I typed the 'startx command and I was able to enter the desktop. What can I do to boot kernel ?

  • Loaded ubuntu dual with XP, but GRUB won't boot XP 2012-12-16

    Worthy Ones, I just loaded ubuntu, dual boot on my son's emachine which is running XP. Ubuntu runs nicely, but when I select XP in the GRUB loader it hangs with the message, "chainloader +1".

  • Ubuntu 11.04 file system error, will not boot up 2012-12-19

    I locked my computer screen by pressing Ctrl Alt U, the screen went black, my parent thought it has shut down, so they turn off the stabilizer which shut down the computer. My ubuntu 11.04 still running Firefox at that time. I turned it on and run in

  • Ubuntu Dual screen works in gdm, but not after login 2013-01-14

    Hello. I once booted with the supervideo cable connected to my TV and automatically set the dual screens. Perfect!, but what happened then is that I disconnected the cable, and the resolution in my laptop was changed, and I wanted to go back to the n

  • Ubuntu Solved: Gutsy and Hardy kernels do not boot with my RAID setup 2013-07-29

    When I upgraded my desktop to Gutsy, the kernel did not boot. I had the old kernel as a backup, so I didn't care much. Now, when I installed Hardy and that kernel did not boot, I was sure something was wrong. I looked through a few bug reports on the

  • Ubuntu 8.04.2 on Dell Mini not booting 2014-02-20

    folks, I have a real problem with my daughters dell mini 910. She was complaining about slow internet speeds and unable to connect to our home network. I know nothing of Ubuntu, I have looked at it a few times but got scared off!! This time I was abl

  • Ubuntu Installed new sound card then will not boot 2014-03-12

    I am at a loss right now. First a short history; I had an M-Audio Delta Series Audiophile 192 card that I could not get to properly work with Ubuntu Studio as it does not have a compatible chip set. I had audio outputs working but no inputs into my U

  • Ubuntu brand new amd 64 laptop will not boot live cd 2014-07-30

    I'm trying to add ubuntu as a second os. I have a brand new hp dv6000 series laptop with an amd turion 64. I have made a partition using vista and tried the live cd with both the partition formatted as FAT32 and unallocated and neither is successful.

  • Ubuntu Feisty Installation Lost in Space, will not boot 2012-01-13

    everybody. I have a problem. Feisty simply will not boot. I'll go over what I did and maybe somebody can help. What caused this problem is this: I installed a second hard drive. I then proceeded to install Fedora 7 on the new hard drive. I instructed