Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Ntldr is missing after erasing windows and installing ubuntu

30 Apr 2012   #1
strem066

ubuntu
 
 
Ntldr is missing after erasing windows and installing ubuntu

I hope I'm in the right forum but here it goes....

Computer/Laptop in question:HP Compaq 6830s

Let me start off and say that I have been having problems with this computer and decided to install ubuntu because at the time it was the only known option available. I should also mention that it was the only known option available because the cd-rom is presently nonoperational so the only way to boot anything is from a USB stick.

The computer is presently running the newest version of Ubuntu (12.xxx). When I installed ubuntu I chose the option to erase windows and install ubuntu only. I now realize that was not the best option. Ubuntu is fine but I would rather have some sort of windows operating system so I made a bootable Windows 7 usb key in order to install Windows 7. This bootable USB key works fine on my other computer which is a HP Pavillion A1710n and running Windows XP. However, when I put this USB key in my laptop I get the "NTLDR file is missing press any key to restart". I can't access the windows setup at all. I verified all my boot options and everything is set to USB. I have searched all over the internet but can't find anything for MY particular situation. I am by no means a computer gooroo but it seems to me that the NTLDR file is in fact missing and I need to reinstall it but how can I do that with Ubuntu?

Any help would be appreciated, thanks!


My System SpecsSystem Spec
.

30 Apr 2012   #2
jimbo45

Linux CENTOS 7 / various Windows OS'es and servers
 
 

Hi there
you need to have at least ONE partition marked as active before it's bootable with W7.

If you have s system "Reserved" partition then flag that as ACTIVE. If this doesn't exist mark the "C" partition as ACTIVE. Just setting these as PRIMARY isn't sufficient.

Now if on boot it still gives you a BSOD then just use the recovery console -- boot from the W7 install media and choose REPAIR SYSTEM. It won't change any existing data.

To reset the partitions you need to user a bootable partition manager like GPARTED. Just boot the media and follow the instructions.

Cheers
jimbo
My System SpecsSystem Spec
30 Apr 2012   #3
SIW2

Microsoft Community Contributor Award Recipient

Vista x64 / 7 X64
 
 

I think you are saying you get ntldr is missing when attempting to boot from the usb - is that correct?
My System SpecsSystem Spec
.


30 Apr 2012   #4
strem066

ubuntu
 
 

Quote   Quote: Originally Posted by SIW2 View Post
I think you are saying you get ntldr is missing when attempting to boot from the usb - is that correct?
That is correct.
My System SpecsSystem Spec
30 Apr 2012   #5
SIW2

Microsoft Community Contributor Award Recipient

Vista x64 / 7 X64
 
 

That is not a message you would expect from win7.

It sounds like there is an attempt to boot from the HD - did you have XP on there before?

If so - it may an issue with your machine booting from usb.
My System SpecsSystem Spec
30 Apr 2012   #6
strem066

ubuntu
 
 

Quote   Quote: Originally Posted by jimbo45 View Post
Hi there
you need to have at least ONE partition marked as active before it's bootable with W7.

If you have s system "Reserved" partition then flag that as ACTIVE. If this doesn't exist mark the "C" partition as ACTIVE. Just setting these as PRIMARY isn't sufficient.

Now if on boot it still gives you a BSOD then just use the recovery console -- boot from the W7 install media and choose REPAIR SYSTEM. It won't change any existing data.

To reset the partitions you need to user a bootable partition manager like GPARTED. Just boot the media and follow the instructions.

Cheers
jimbo

I have downloaded gparted and made a bootable usb which is presently working for the laptop but to be honest I have no clue on what to do next....please pardon my ignorance on this matter as mentioned previously I have basic computer skills
My System SpecsSystem Spec
30 Apr 2012   #7
strem066

ubuntu
 
 

Quote   Quote: Originally Posted by SIW2 View Post
That is not a message you would expect from win7.

It sounds like there is an attempt to boot from the HD - did you have XP on there before?

If so - there is an issue with your machine booting from usb.
I don't think there is an issue with the machine booting with the USB as I was able to install Ubuntu with a USB as well as gparted but I could be wrong...
My System SpecsSystem Spec
30 Apr 2012   #8
SIW2

Microsoft Community Contributor Award Recipient

Vista x64 / 7 X64
 
 

Weird - win7 should say bootmgr is missing.

Ntldr is missing is an odd thing for it to throw up.


Put the usb in another machine and rewrite the mbr (select nt6.x) and pbr ( select bootmgr comaptible code) on the usb device with pauly's little app.

Attachment 209634


Then try booting it on the ubuntu machine .
My System SpecsSystem Spec
30 Apr 2012   #9
gregrocker
Microsoft MVP

 

Everything you need to reinstall the licensed Win7 on your machine is included here including the latest official ISO download with SP1 and the MS tool to write it to flash stick: Clean Reinstall - Factory OEM Windows 7

Since you had GRUB on the HD I would wipe it first using Diskpart Clean Command from the booted installer's Command line accessed this way: DISKPART At PC Startup .

If you follow the steps to install and maintain Win7 with only the methods and tools included you should have no problems with Win7. If so post back and we will help you with Troubleshooting Steps for Windows 7.
My System SpecsSystem Spec
30 Apr 2012   #10
strem066

ubuntu
 
 

Quote   Quote: Originally Posted by SIW2 View Post
Weird - win7 should say bootmgr is missing.

Ntldr is missing is an odd thing for it to throw up.


Put the usb in another machine and rewrite the mbr (select nt6.x) and pbr ( select bootmgr comaptible code) on the usb device with pauly's little app.

Attachment 209634


Then try booting it on the ubuntu machine .
I was trying to install Windows XP previously before I realized I only had an update version and not the full version. Maybe that has something to do with it...

Maybe I should try and erase everything and start over that way...
My System SpecsSystem Spec
Reply

 Ntldr is missing after erasing windows and installing ubuntu




Thread Tools





Similar help and support threads
Thread Forum
ntldr is missing
I received a custom built destop computer as a gift from a family member running windows 7. virtually every day i get a black screen saying ntldr is missing please reboot, but I have to do a complete cold boot. a ctl-alt-del boot won't do it. I have tried in vain to correct this issue for 2 years....
Installation & Setup
Windows 7 dual boot to XP but ntldr missing during install
Hello all, So I've made a huge mess of my father in law's laptop. He asked me to install windows XP 32 bit on his laptop which already had Windows 7 home 64bit. I followed a tutorial on here but somewhere along the way I screwed up. I then decided to just format the entire drive and go at it...
Installation & Setup
Windows 7 blue screen crash/hard drive booting issue/NTLDR missing
Hey all, Came across a problem recently on my 9 month old rig. Specs are in my profile. Anyway, I had 3 hard drives set up: my main SSD which runs Windows 7, a USB external 1 terabyte and a 500gig SATA Western Digital. I believe the 500gig SATA was failing or malfunctioning. I was getting...
BSOD Help and Support
Windows 7 Installation saying NTLDR missing??
Hey all. First off hello I am newbie to this site and have just joined. Ok, basically I am at my wits end with this one and I am here as I have nowhere else to go and have exhausted all options (at least I think so). I am currently running Windows XP SP3 32 bit and that is on my primary HDD. I...
Installation & Setup
Error while installing XP (NTLDR missing)
Hi, my problem is the following: when installing XP Pro, my PC wants to reboot (after the steps of choosing the partition and copying the first files) to finish installation. But while rebooting, it chooses Win7 automatically. I tried to repair the bootloader using EasyBCD 1.7, it shows XP in...
Installation & Setup
NTLDR is missing
I have Windows XP installed and booted the Windows 7 Professiional install disk. I selected setup, then Custom, then partition 0 which was an empty formatted separate hard drive. Partition 1 was the Windows XP installation. Windows 7 installed fine and appears to run well. However, Window 7 will...
Installation & Setup

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 11:37.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App