Windows Vista and Ubuntu Dual-Boot (Gateway T-1628; resolving install error 0×80070017)

5:28 am March 12th, 2009

So Internet Explorer 7 has been out for a while now, and I finally caved — I can’t get it to work using the wonderful ies4linux, so I need to have a copy of Windows available to test sites in action.

Fortunately I still had the re-installation disc from the copy of Vista I wiped from the laptop when I got it. Here’s how I set up my dual-boot:

  1. Burn an Ubuntu Live CD; boot from that CD, and launch the GParted partition editor from the System > Administration menu.

    Note: This step is where I ran into the most issues. I tried to create a new partition for Windows, following the instructions from this guide — but the Windows install would freeze at “expanding files 0%”, and later give me error # 0×80070017. Googling suggested that this error might have been a problem with the disc, but that didn’t really make sense since this was a factory disc. Eventually I figured out that it just meant there was some problem communicating between the disc and the hard drive — Vista didn’t like the partition I’d set up after my Ubuntu partition.

    Here’s how I solved this issue: I used GParted to move my Ubuntu install forward on the disk, then created a partition (without formatting it) for Vista at the beginning of the drive. Then — since Ubuntu’s bootloader was still at the beginning of the drive, and Vista gets confused when it sees that trace of another operating system — I needed to zero out the new partition, with dd if=/dev/zero of=/dev/sda1 where sda1 is the new partition. Warning! If you try to use that command without knowing what you are doing, you may well zero out your whole drive!! ALWAYS HAVE BACKUPS.

  2. Put in Windows CD; choose “Custom Install”; select the new partition as the destination (it should be called “Unallocated” or something — it was pretty recognizable after my work with GParted); click through until it starts installing; wait a LONG LONG time.
  3. Boot into Windows! Plug in ethernet cord; reboot to install drivers, etc. that allow me to have nice things like correct screen resolution and wireless internet.
  4. Use the Ubuntu Live CD and these instructions to restore my bootloader and set up dual-boot
  5. Happily choose between Ubuntu and Vista every time I boot up!

In general, this install would have gone a lot smoother had Vista been able to peacefully coexist with another bootloader. Different versions of Linux have no problem living on different partitions, and when you have an existing Windows install, you can easily install Linux in a separate partition without any confusion. But then, I guess that’s because Linux is designed to be used the way its users want to use it, and Windows is designed to be used the way Microsoft wants you to use it.

Using Vista a little bit gave me a better appreciation for people who try Linux and don’t care for it — I found myself disliking things about Vista just because it was unfamiliar and didn’t come set up the way I like it. But even though I know I could customize it and get more comfortable with it, I’ll still stick with Ubuntu for most of my computing, since I know it’s what ultimately gives me the most flexibility.


You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

5 Comments to “Windows Vista and Ubuntu Dual-Boot (Gateway T-1628; resolving install error 0×80070017)”

  • Whenever I’ve done a dual-boot with Windows and Linux I’ve always installed Windows first. But, in those situations I had knowledge ahead of time that that was what I was doing, and anytime i did Linux first I never cared enough to figure out wtf was going on! Good job!!

     

  • Dear all, i need some here over here.. i have the similar problem of the Windows install would freeze at “expanding files 0%”, and later give me error # 0×80070017
    mine was also a factory disc.. and now I’m wondering could it be a problem of my
    hdd. This is the only software I have.. could anyone please advice me? thanks

     

  • Are you trying to dual-boot, or install Windows as the only operating system?

    It’s probably an issue with your partitions not being set up correctly. How is your hard drive formatted and what partitions do you have set up?

     

  • Thanks for the reply, I am installing windows as the only operating system, as previously before I reformated it, it would partitioned into two, but this time i just intend to lump them up together. Going through the setup booting from the disk, i deleted both the partition format it as whole. then the problem occurs

     

  • You’re probably better off just blanking the entire disc before installing Vista — Vista likes to do its own partition formatting. If you’ve created a partition the size of your whole disc that’s formatted in some way (rather than blank) that could be causing your problem.

     

  • Leave a Reply