Vista won't boot after installing Ubuntu


Recommended Posts

My friend has an HP nx6320 laptop which was preloaded with Windows Vista business. HP doesn't supply any rescue/installation disks, but expects the users to create one using their software. This unfortunately my friend didn't do.

Well he asked me to install ubuntu on his laptop, so for that I resized the C: partition using GParted, and created an extended partition in which I installed ubuntu. The rescue partition and OS_TOOLs partition are still untouched.

But now, Vista refuses to boot. Under normal modes, it hangs at the boot animation, and in any of the safe modes, it won't load past the crcdisk.sys file. So there is no way to do system restore or startup repair or anything. I will try to get hold of the HP rescue disk somehow, but until then, I would like to try to fix the problem without having to reinstall everything. Also if anyone knows how to create the HP disk manually from linux, do let me know.

Any help much appreciated!

Have you tried to change the Grub menu file to reflect that Vista is present? Then all should be ok...

At the Ubuntu desktop edit the GRUB menu.lst file. GRUB is the boot loader for

Ubuntu. Right now, GRUB doesn't know where to look and find Vista. A small edit of the menu.lst file will fix this.

Select Applications --> Accessories --> Terminal from the Ubuntu desktop. At the ~$ prompt, type this:

sudo cp /boot/grub/menu.lst /boot/grub/menu.lst_bak

This will create a backup of the original menu.lst file -- a file we are now about to change.

Again at the ~$ prompt, type this:

sudo gedit /boot/grub/menu.lst

Near the top of this file, you will see a command line that looks like this:

timeout 3

I suggest changing that '3' to a '7' (seconds). This gives you a little more time to go into GRUB's boot menu, when

you want to choose which OS you would like to boot.

Near the bottom of this file, you will find a line that looks like this:

## ## End Default Options ##

And immediately below that, you will see 'title' command lines for the various Ubuntu kernel options you currently have available. We are going to now add a new, small 'title' section.

Immediately below that ## End Default Options ## line, add the following text:

title Windows Vista Beta

root (hd0,1)

makeactive

chainloader +1

Reboot

That is all you should need to do!

I am pretty sure you can go back to the PC's default by using a keyboard short cut after post. You will lose all document, program etc loaded on c:\ though

HP always have a small EISA config hidden partition with an image of the Lappy's factory setup I believe

Yes, the key for that is F11, but tapping it during bootup just results in beeps. I guess with the partition layout changed, it cannot recognise the rescue partition. Also, I would like to avoid doing a complete rescue, if possible.

Sorry to hear you having trouble with vista ,

I never could understand why people bother with linux anymore its so cheap and allways will be in mess of alpha , beta , final and back to beta stages for 20 years to come , and with each new build everything breaks and your stuck all day just trying to install programs that look like crap and dont work well at all.

Just my 2cents

I use windows because its fast and does the job almost perfect.

if you must install a linux distro its best to put it on a old ass pc with very outdated hardware so its likely to have drivers then you may just may be able to surf the net or play some music.

sad linux has been around for so many years and is still so far behind and will never make it mainstream market with no standard kernel.

All im saying is stick with windows it works , or install linux but dont do it on a pc you care about

I dont see what the problem with linux is, I have been using it for about 9 months now and have had no problems. It really isn't all that glitchy like everyone seems to think. Drivers may be a little hard to figure out at first, but once you figure them out it works just as good, if not better than windows does.

I am running ubuntu on a athlon x64 3000+ with a gig of ram.

I don't really consider this a piece of junk, it may not run vista decent, but i can get the same desktop effects on linux that everyone brags about in vista. I also dual boot xp pro x64. I went about dual booting it the safe way though, I used two completely seperate hard drives and I choose which disk to boot from in the bios. The only drivers that I had trouble with were the drivers for my wifi card and my gfx card. Gfx worked out of the box but didn't support the fancy stuff like desktop effects and games so I installed the new drivers and it worked great. The wifi is another story, I could never get that to work, that is in ubuntu 7.04 which I am still using. The new version 7.10 seems to have some of those wifi bugs worked out because mine worked out of the box on an older pc with the same wifi card.

All in all my 2 cents is that linux may not be for everyone, but with a little work linux is just as stable and just as user friendly as windows is. I also notice a nice performance boost over windows even with alot of desktop effects enabled. In windows I had to modify stuff to get it to run this good. Oh and not all windows versions were a cake walk either, does anyone remember how much of a bear it was to find drivers for xp pro x64 when it first came out. Linux is a cake walk compared to how that was.

Josh

an what version of Gparted did you use? Its a known issue with resize of vista partiton depending on the version of ntfsresize, etc..

I have to wonder why you just did not use the native resize of the system partition that vista supports??

To fix the vista booting, your going to need a vista cd/dvd -- running the repair does not need any number. So a retail version will work fine to repair with, etc.

As to booting the recovery partition -- there was just a thread about someone doing that.

https://www.neowin.net/forum/index.php?showtopic=604334

HP recovery partition, but no recovery utility?

Say he just used a bootloader to boot the recovery partition, etc.

BudMan, thanks for the help. I am going through the thread, I'll try to boot into the recovery partition. I used the gparted version which came with Ubuntu 7.04.. I was not aware of any issue with vista :( Also would any version of Vista do, or would I need Vista business. I think my chances of finding Vista business are pretty slim.

shortyg31, actually all of my personal systems dual-boot windows and linux. Just to satisfy your curiosity, the reason my friend needed to install linux was because several projects and some college work of his depended on it. Anyway, he didn't like Ubuntu much but is loving OpenSUSE :)

  brandnewfantx said:
Could Call HP, and they will send you out new discs. Just have to be prepared to be annoyed about all the questions...

Is it wrong that I feel dumer everytime I talk to them? And make sure you tell up fat you created the disks but when youbteiex to use them they wouldn't work ie they wont boot or elstls they are going to charge you!

"I was not aware of any issue with vista"

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=379628

ntfsresize: resizing a Vista NTFS partition leads to corrupted partition

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=380226

NTFS (partition) not recreated correctly after resize:incorrect start sector

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=379835

Windows Vista fails to boot after resizing in d-i

etc..

In the future when needing to resize vista, I would suggest you just use the native feature to do it. Not saying the current versions of ntfsresize can not do it -- but it would be better to use native stuff when at all possible, etc.

  • 3 weeks later...
  ujjwal said:
BudMan, thanks for the help. I am going through the thread, I'll try to boot into the recovery partition. I used the gparted version which came with Ubuntu 7.04.. I was not aware of any issue with vista :( Also would any version of Vista do, or would I need Vista business. I think my chances of finding Vista business are pretty slim.

shortyg31, actually all of my personal systems dual-boot windows and linux. Just to satisfy your curiosity, the reason my friend needed to install linux was because several projects and some college work of his depended on it. Anyway, he didn't like Ubuntu much but is loving OpenSUSE :)

I just did the same thing, more or less, resized a vista partition and loaded ubuntu gutsy gibbon(7.10). I tracked a solution down that work great for me and did not require drastic "recovery disk" measures. Just boot into your linux distro and install the ntfsprogs package. Then run ntfsfix on your vista partition. It will reset the journal and enable a fs check next time vista boots. I actually found this info on howtoforge here is link to thread :http://www.howtoforge.com/forums/showthread.php?t=9873

good luck

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Don't really like these kinds of games but that song is nice.
    • SVE: easy video editor for trimming and cropping by Razvan Serea SVE SimpleVideoEditor is a lightweight, open-source video editor designed with simplicity and speed in mind. Built using Python and featuring a clean graphical user interface, it allows users to perform essential video editing tasks without the complexity of professional software. The tool supports trimming clips, cropping video frames, and extracting audio from video files, making it perfect for quick edits and basic media tasks. Its intuitive design ensures that even beginners can navigate and use it effectively without a steep learning curve. SVE SimpleVideoEditor doesn’t require heavy system resources or complicated installation steps, making it accessible on a wide range of systems. Ideal for casual users or anyone looking for a minimal yet functional editing tool, it offers a straightforward experience focused on getting the job done with minimal hassle. While more advanced tools like Shotcut offer extensive editing features and LosslessCut excels in ultra-fast, lossless trimming, SVE stands out for its simplicity and ease of use. Download: SimpleVideoEditor v2025.06.29 | 87.7 MB (Open Source) Links: SimpleVideoEditor Website | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • UPDF Pro lifetime subscription now 60% off by Steven Parker Today's highlighted deal comes via our Apps + Software section of the Neowin Deals store, where you can save 60% on a lifetime subscription to UPDF Pro. UPDF allows you to edit any document across Windows, Mac OS X, iOS, and Android devices. You can add or delete texts and edit their font, color, and size. You can add, crop, rotate, replace, extract or delete images as well as links and watermarks in PDF documents. You can also protect your PDF documents by adding an open password and permission password for restricting access to the document. With UPDF you can also quickly highlight, underline or strike out text or add shapes like sticky notes to PDF files. You can even delete pages quickly or rearrange them to suit your needs. You can convert any PDF to Word, Excel, Powerpoint... whatever you want... you name it! And it's all just a mouse click away! View PDF Set Page Layouts. View your documents in a single-page view, two-page view, scrolling, or two-page scrolling Dark Mode. Enhance the reading experience without putting up pressure on the user's eyes Sail Through Your PDF Documents Add bookmarks to your PDF Search for specific text across them in UPDF while viewing documents Read your eBooks without putting yourself in the difficulty of accessing data in the middle of the documents Multi-Tab View Ability. Set up multiple tabs across UPDF to view PDFs in a single instant Slideshows. Read your PDF better in slideshow view & avoid from tampering its format Annotate PDF Add Comments. Make comments in PDF documents, highlight, underline, or strikeout text, add text boxes & sticky notes Add Stamps & Stickers Add up to 100+ different kinds of stamps & stickers to your PDF Create a custom stamp to any section of the document Add Signatures. Draw a handwritten signature or type-in an electronic signature Insert Shapes Insert various shapes into your PDF, such as rectangles, ovals, arrows & lines Control the properties of these shapes by changing their style, thickness, border & fill colors, and opacity Share Annotated PDF via a Link Share the annotated PDF via a link after the completion of the requested task Recipient can iew, copy, download, or print the PDF without downloading any PDF software Edit PDF Add or Delete PDF Text. Easy to add new text, copy/cut, paste & delete text Edit Text. Edit PDF text properties such as font, size, color, style & typeface Add or Remove Image. Quickly add a new image from your device or easily remove images Edit Image. Image & object editing - crop, extract, replace, rotate, or delete content Convert PDF PDF to Office Formats. Convert PDF to Word, Excel, PowerPoint, CSV. PDF to Image Files. Convert PDF to PNG, JPEG, BMP, GIF & TIFF PDF to Text/RTF. For easy editing on common text editors PDF to HTML/XML. For better web interface creation PDF to PDF/A. For easy archival & retrieval of information AI-Powered OCR Technology. Transform image-based or scanned PDF files into searchable or editable PDF files with OCR Organize PDF Quickly Add or Delete PDF Pages. Quickly insert blank pages, or remove unwanted pages from your PDF by selecting & deleting them Rotate Pages. Rotate or turn a page left or right & get consistent and tidy PDFs Rearrange or Reorder PDF Pages. Rapidly reorganize your PDF or reorder a page by selecting the thumbnail & dragging it to its new position Split, Replace, or Extract Pages from PDF Effortlessly split a PDF into multiple PDFs by page number Extract any page or set of pages from a PDF document Replace pages with other PDF pages Good to know: Length of access: lifetime Redemption deadline: redeem your code within 30 days of purchase Access options: desktop or mobile Max number of device(s): 4 Only available to new users Version: v1.2 Updates included A lifetime subscription to UPDF Pro normally costs $149.99, but you can pick it up for just $59.99 for a limited time - that represents a saving of $90 (60% off). For a full description, specs, and license info, click the link below. Get UPDF Pro (lifetime subscription) for just $59.99 (was $149.99), or learn more Although priced in U.S. dollars, this deal is available for digital purchase worldwide. We post these because we earn commission on each sale so as not to rely solely on advertising, which many of our readers block. It all helps toward paying staff reporters, servers and hosting costs. Other ways to support Neowin Whitelist Neowin by not blocking our ads Create a free member account to see fewer ads Make a donation to support our day to day running costs Subscribe to Neowin - for $14 a year, or $28 a year for an ad-free experience Disclosure: Neowin benefits from revenue of each sale made through our branded deals site powered by StackCommerce.
    • Okay, thank you very much. That was helpful. But then can't someone just easily game the YES response once and then...it's good forever? So how does this blocks kids from getting verified one way or another? And, because if it's just adult Joe Schmo, YES, then you have a problem with which "Joe Schmo". So it sounds like somewhere there's a database with your identity verification information and that service only delivers YES. Fair enough. But when (not if) that service is hacked and the games (age limits), porn (age limits), etc. website is hacked (again!), then someone is going to be able to connect A to B -- the same way the US gov't can track Bitcoin transactions and users today, even though they claim to be anonymous and secure (they are not). What keeps the source database from being hacked for the information that identifies Joe Schmos from one other? And, finally, what keeps Google and, well, everyone else from still selling your identity for ad sales on each and every platform for profit? Because if we had true anonymity, then they couldn't do that, so...I'm guessing that there's no true anonymity here. :(
  • Recent Achievements

    • Week One Done
      Devesh Beri earned a badge
      Week One Done
    • Week One Done
      956400 earned a badge
      Week One Done
    • First Post
      loose_observer earned a badge
      First Post
    • Week One Done
      BeeJay_Balu earned a badge
      Week One Done
    • Week One Done
      filminutz earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      470
    2. 2
      ATLien_0
      159
    3. 3
      +FloatingFatMan
      150
    4. 4
      Nick H.
      66
    5. 5
      +thexfile
      62
  • Tell a friend

    Love Neowin? Tell a friend!