LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-19-2010, 03:13 PM   #1
hector3rd
Member
 
Registered: Jul 2007
Location: Aruba
Distribution: Debian, Ubuntu, Fedora, Knoppix, etc...
Posts: 38
Blog Entries: 1

Rep: Reputation: 16
Question Lost bootsector of Windows7, installed ubuntu, can't find W7 either!!! Now what??????


In other words, I somehow deleted the first partition of Windows7, the windows reserved system partition.

WHat is the quickest way I can rescue this system?
Client has been waiting for her machine a long time already, I have to delived today, no time to re-install windows7.

Thanks for your quick help and correct, short solution.

Hector
 
Old 12-19-2010, 03:25 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
would that be the small back up partition and not the MBR

reinstall win 7 . but that might be very hard seeing as MS and the OEM no longer send out a MS install disk ( you use that back up partition to reinstall) .

you need to contact MS and have them send you a dvd in the "snail mail"
 
Old 12-19-2010, 03:38 PM   #3
hector3rd
Member
 
Registered: Jul 2007
Location: Aruba
Distribution: Debian, Ubuntu, Fedora, Knoppix, etc...
Posts: 38

Original Poster
Blog Entries: 1

Rep: Reputation: 16
Quote:
Originally Posted by John VV View Post
would that be the small back up partition and not the MBR

reinstall win 7 . but that might be very hard seeing as MS and the OEM no longer send out a MS install disk ( you use that back up partition to reinstall) .
>>
I have my own install disk for W7 64 and 32 bit, no need to get them from MS or OEM!!!!

No time to reinstall W7, did a lot of work to have it ready, I was restoring backups of the clients data, last part of the upgrade from WinXp, then I did something and overwrote the small Windows 7 system reserved partition, where the information is located to boot W7.

This is the same place Grub and Ubuntu will look for to boot.
<<<
you need to contact MS and have them send you a dvd in the "snail mail"
>> No time to use snail mail...

I just need to find the funky number where windows 7 starts, so I can boot it.
W7 is on sda2, over 200GB, system reserved partion for W7, was one sda1
<<<

Need to find the sector where W7 starts, and let Grub do the rest.

Thanks!!
 
Old 12-19-2010, 03:57 PM   #4
impert
Member
 
Registered: Feb 2009
Posts: 282

Rep: Reputation: 54
this may be what you are looking for:
Task B7 in this link
 
Old 12-19-2010, 04:05 PM   #5
thorkelljarl
Senior Member
 
Registered: Jun 2008
Posts: 1,820

Rep: Reputation: 229Reputation: 229Reputation: 229
I'll guess...

I think that you might be able to use TestDisk and/or PhotoRec to restore the original partition table and enough of the first partition to give you the information you need.

http://www.cgsecurity.org/wiki/TestDisk
http://www.cgsecurity.org/wiki/PhotoRec

The reason that I suggest restoring the partition table and perhaps the partition contents is that I have used a HP laptop on which the first partition was a small Windows boot partition, the second a recovery, the third the Windows "C", and the fourth a non-necessary set of HP tools. Changing the first partition would result in Windows not booting.

There is a Windows 7 MBR restore disk that might help after you have restored the first partition, if you need to use the Windows boot manager to boot.

http://neosmart.net/blog/2009/window...-repair-discs/

Good Luck

Last edited by thorkelljarl; 12-20-2010 at 08:14 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
need help setting up networking (NAT) of ubuntu guest under Windows7 hey44 General 4 04-23-2010 03:46 AM
dual boot problem: windows7 and ubuntu baxzius Linux - Newbie 2 02-03-2010 04:33 PM
Installing Ubuntu 9.10 on Windows7 and Snow Leopard rick1231 Linux - Newbie 1 10-19-2009 11:08 PM
i installed xp at first then ubuntu.but lost ubuntu9.0 when i reinstalled windowsxp. belayat Linux - Newbie 2 07-04-2009 03:10 AM
Dual booting Ubuntu 8.10 & Windows7 Beta 1 (Build 7000) paragkalra Linux - Software 1 01-14-2009 03:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration