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

    • Silly decision. Trying to pull Apple to łook/sound cool but it ain't. XPS was just fine.
    • This is 💯 what I came here to post. If they don't believe in their own framework then who will?
    • Stardock Start11 v2.5.3.1 by Razvan Serea Stardock Start11 is a Windows 11 customization tool designed to bring back the classic Start menu and enhance users' desktop experience. It offers a range of features and options that allow users to personalize their Start menu and taskbar to suit their preferences. Make Your Desktop Yours Take complete control of your desktop with Start11. With Windows 11, Microsoft chose form over functionality and removed many different features that were available in Windows 10. With Start11, you can customize the experience to fit your personality. Features You Expect Windows 11 removed many features that were present in Windows 10, Start11 brings them back. From the basics like returning the right-click menu on the taskbar to ungrouping of windows on the taskbar. You can also choose to have your icons centered on the taskbar with your Start menu left aligned. One Desktop to Rule Them All When working with multiple devices across various versions of Windows, Start11 can help you create a common desktop experience. Make Windows 10 look like Windows 11, or 11 look like Windows 10. Or how about making both Windows 10 and 11 look like Windows 7? The choice is yours. Remove Unwanted Content Windows 11 brings with it a new design language but also more advertisements and content that you can’t remove. Take back complete control with Start11 and remove unwanted outside content and sections of the Start menu that you don’t want to see. Start11 v2.5.3.1 changelog: All the changes from 2.52 that were went to beta but never was not released Resolves issue with not always releasing reserved space when closing an app which reserved space on the side such as Multiplicity KVM switch bar. Resolved issue with enhanced taskbar not showing status indicators correctly for some running apps Tweaks to start button sizing with vertical taskbars on Windows 11 especially when using small icon mode Tweaks to drag & drop in Win10/Win11/App/Pro/Launcher menus to make creating folders easier and less like playing chase the item around :) Resolved issue with dragging out of a group in Win11/App/Pro/Launcher menus where you couldn't always drag out of a folder to a group below Resolved issue with taskbar texture not refreshing when the OS accent colour changes. Resolved issue with on top taskbar not in enhanced mode and clicking on the taskbar search field which would make the search window appear off the top of the screen incorrectly Apps flagged as 'new' in Win10/11/App/Pro/Launcher menus will now not have the flag once run once or right clicked on Improved removal of 'new' indicator on newly installed apps so it goes away in a day or so. The apps will still be considered 'new' for the recently installed apps list Improved sorting of child items in sub folders in all apps list Start10 style search no longer shows control panel results which are duplicates of the results in the Control Panel section. Enabled sort A-Z option for Folders and Fences groups too on Win11/App/Pro/Launcher menus Small tweaks to icon & tile image loading for Universal apps on Windows 10/11/App/Pro/Launcher menus Fixes setting pins to only show on a secondary not working for some apps. Users will need to reset the show only on a secondary setting on the pins which were not working. Start11 is only $7.40 For more information about Start11, please visit Start11 website. Disclaimer: Neowin's relationship to Stardock. Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Brave 1.80.113 by Razvan Serea Brave Browser is a lightning-fast, secure web browser that stands out from the competition with its focus on privacy, security, and speed. With features like HTTPS Everywhere and built-in tracker blocking, Brave keeps your online activities safe from prying eyes. Brave is one of the safest browsers on the market today. It blocks third-party data storage. It protects from browser fingerprinting. And it does all this by default. Speed - Brave is built on Chromium, the same technology that powers Google Chrome, and is optimized for speed, providing a fast and responsive browsing experience. Brave Browser also features Brave Rewards, a system that rewards users with Basic Attention Tokens (BAT) for viewing opt-in ads. This innovative system provides an alternative revenue model for content creators and a way to support the Brave community. Brave 1.80.113 changelog: Web3 Implemented stricter wallet routing and added a 404 page for an invalid route. (#45684) Updated opt-in screen for Meld to fit on small screen sizes. (#44318) Removed the “Edit” gas button for Zcash transactions. (#45748) Fixed crash which occurred when trying to render Brave Wallet image in certain cases. (#46828) Fixed “Search” icon being cut off on the “Explore” page. (#44950) Leo Added support for automatic default model. (#45954) Added loading spinner to display when uploading image attachments. (#45889) Improved image attachment UI. (#45672) Removed Mixtral from the default Leo model list. (#46406) Fixed attachment thumbnail image not being displayed correctly. (#45916) Rewards Updated dark mode color theme for Rewards UI. (#45741) General Added the ability to open Progressive Web Apps (PWAs) in a tabbed window. (#45435) Updated extension import to warn the user to close Chrome if opened during import attempt. (#44945) Updated extension import to import both “IndexedDB” and “Local Extension Storage” when present for an extension. (#44946) Updated buttons on interstitial pages to use Brave theme. (#45666) Removed the password check box from brave://settings/importData dialog when importing from Chrome. (#46206) Fixed crash which occurred when moving a tab across monitors. (#46066) Fixed issue with “:matches-path” being used at the beginning of a filter rule. (#46220) Fixed display of long keyboard shortcuts on brave://settings/system/shortcuts. (#41873) Fixed “Toggle Vertical Tabs Expanded” keyboard shortcut not working when “Expand Vertical Tabs Independently per Window” is enabled. (#41074) Upgraded Chromium to 138.0.7204.49. (#47094) Download: Brave Browser 64-bit | 1.2 MB (Freeware) Download: Brave Browser 32-bit View: Brave Homepage | Offline Installers | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Google releases Gemma 3n, a new AI model built for mobile devices by David Uzondu Google has announced Gemma 3n, the next generation of its open AI models, and it is a significant step up from what we saw before. After a preview last month at Google I/O, the full version is now here and ready to run directly on your hardware. For those of you who are not aware, Gemma is a family of open AI models. It is different from Gemini in that it is designed for developers to download and modify, whereas Gemini is Google's closed, proprietary powerhouse. The model can now natively process inputs like images, audio, and video to generate text, a leap from just being a text-based model. It can also run on hardware with as little as 2GB of memory, and is supposedly better at tasks like coding and reasoning. Here's the full list of improvements as outlined by Google: Multimodal by design: Gemma 3n natively supports image, audio, video, and text inputs and text outputs. Optimized for on-device: Engineered with a focus on efficiency, Gemma 3n models are available in two sizes based on effective parameters: E2B and E4B. While their raw parameter count is 5B and 8B respectively, architectural innovations allow them to run with a memory footprint comparable to traditional 2B and 4B models, operating with as little as 2GB (E2B) and 3GB (E4B) of memory. Groundbreaking architecture: At its core, Gemma 3n features novel components like the MatFormer architecture for compute flexibility, Per Layer Embeddings (PLE) for memory efficiency, and new audio and MobileNet-v5 based vision encoders optimized for on-device use cases. Enhanced quality: Gemma 3n delivers quality improvements across multilinguality (supporting 140 languages for text and multimodal understanding of 35 languages), math, coding, and reasoning. The core of its efficiency is a new architecture Google calls MatFormer. Google uses the analogy of a Russian Matryoshka doll to describe it: a larger model contains a smaller, fully functional version inside. This allows a single model to run at different sizes for different tasks. And as for benchmarks, the larger E4B model is the first model under 10B parameters to break a LMArena score of 1300. The model's audio capabilities now support on-device speech-to-text and translation, using an encoder that can process speech in fine detail. The vision side of things is powered by a new encoder called MobileNet-V5, which is much faster and more efficient than its predecessor. It can process video at up to 60FPS on a Google Pixel device. If you're interested, you can start playing with it immediately as the models are available through familiar platforms like Hugging Face and Kaggle, and you can even experiment with them directly in Google AI Studio. More details can be found in the official announcement post.
  • Recent Achievements

    • One Month Later
      jfam earned a badge
      One Month Later
    • First Post
      TheRingmaster earned a badge
      First Post
    • Conversation Starter
      Kavin25 earned a badge
      Conversation Starter
    • One Month Later
      Leonard grant earned a badge
      One Month Later
    • Week One Done
      pcdoctorsnet earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      543
    2. 2
      ATLien_0
      200
    3. 3
      +FloatingFatMan
      176
    4. 4
      Michael Scrip
      145
    5. 5
      snowy owl
      112
  • Tell a friend

    Love Neowin? Tell a friend!