LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 12-22-2010, 09:07 PM   #1
genoboss
Member
 
Registered: Feb 2008
Posts: 62

Rep: Reputation: 0
Problem with GRUB: partition not found. Grub Rescue??


iight, so i installed Linux Mint 10 and i deleted my windows partition by accident, and it became unallocated space. so i did a testdisk and i figured i had restored the partition because the table looked different then it was before.

I rebooted my pc and it says partition not found and get a grub rescue but nothing i type works.
So i cannot get into windows or linux. I have Linux mint 10 on a flash drive

So when i booted into that and went into terminal i typed sudo fdisk -l and saw sda1 and sda2 (which is suppose to be my windows partition)

i was then told to type find /grub/stage1 but i get the error 15: file not found

Code:
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x5a23c748

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1        1828    14680064    7  HPFS/NTFS
/dev/sda2   *        1828       38914   297889792    7  HPFS/NTFS

Disk /dev/sdc: 4009 MB, 4009230336 bytes
16 heads, 32 sectors/track, 15294 cylinders
Units = cylinders of 512 * 512 = 262144 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1   *           1       15294     3915248    b  W95 FAT32

http://i56.tinypic.com/jgp3eo.png
Attached Images
File Type: png Sc2reenshot-1.png (185.3 KB, 18 views)

Last edited by genoboss; 12-22-2010 at 09:09 PM.
 
Old 12-22-2010, 10:09 PM   #2
genoboss
Member
 
Registered: Feb 2008
Posts: 62

Original Poster
Rep: Reputation: 0
.......bump
 
Old 12-23-2010, 06:06 AM   #3
decrepit
Member
 
Registered: May 2006
Distribution: Ubuntu10.04, < fedora12
Posts: 347

Rep: Reputation: 34
I'm no expert but that looks very strange. sda2 is shown as the boot partition, but it's a windows filesystem?
It's my understanding that windows wants to be on the first partition?

Can you see what's actually on Sda2, if it's linux, grub should be in the "boot" folder.
 
Old 12-23-2010, 06:20 AM   #4
genoboss
Member
 
Registered: Feb 2008
Posts: 62

Original Poster
Rep: Reputation: 0
I dont know whats on sda2. It use to be my winows but when i tried to install Linux i deleted it by accident and it became unallocated space. then i used testdisk to try and recover it. this is when i got the grub error
 
Old 12-23-2010, 06:35 AM   #5
genoboss
Member
 
Registered: Feb 2008
Posts: 62

Original Poster
Rep: Reputation: 0
Can anybody suggest anything, i dont know what else to do
 
Old 12-23-2010, 02:12 PM   #6
ronlau9
Senior Member
 
Registered: Dec 2007
Location: In front of my LINUX OR MAC BOX
Distribution: Mandriva 2009 X86_64 suse 11.3 X86_64 Centos X86_64 Debian X86_64 Linux MInt 86_64 OS X
Posts: 2,369

Rep: Reputation: Disabled
What does testdisk exactly do after you use it ?
Bring it back to the situation before you install mint ?
In the last case mint is deleted .
So in my opinion you have two choices first instal mint again second restore windows MBR so can boot windows again
And than make you're mind if like to use mint or not
 
Old 12-23-2010, 03:01 PM   #7
genoboss
Member
 
Registered: Feb 2008
Posts: 62

Original Poster
Rep: Reputation: 0
if i install mint again. how would i restore my windows mbr. because i dont want to lose my windows data.
testdisk restored the partition table to the way it was. i guess this is why i got the grub error.

i pretty much deleted windows partition and it was unallocated space
 
Old 12-23-2010, 04:32 PM   #8
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
If you let Mint do a default installation it should not have deleted any Windows files. It will take up half or so of your hd and if you delete Mint then that partition would be unallocated. The easy way to restore your windows mbr is a windows disc. I would do like ronlau9 advised and reinstall ubuntu. It should give you an option to boot windows on computer restart.
 
Old 12-23-2010, 10:12 PM   #9
tommcd
Senior Member
 
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,229

Rep: Reputation: 286Reputation: 286Reputation: 286
Quote:
Originally Posted by genoboss View Post
if i install mint again. how would i restore my windows mbr. because i dont want to lose my windows data.
testdisk restored the partition table to the way it was. i guess this is why i got the grub error.
i pretty much deleted windows partition and it was unallocated space
If all else fails, you should be able to recover any data you had on your Windows partition with a
System Rescue CD: http://sysresccd.org/Main_Page
 
Old 12-24-2010, 01:12 AM   #10
EDDY1
Guru
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 5,036

Rep: Reputation: 443Reputation: 443Reputation: 443Reputation: 443Reputation: 443
What machine?
Do you know your system restore buttons?
You still have PQservice
use system restore buttons.
As far as needing sys restore cd's they're not necessary.

Last edited by EDDY1; 12-24-2010 at 01:18 AM.
 
Old 12-24-2010, 01:49 PM   #11
EDDY1
Guru
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 5,036

Rep: Reputation: 443Reputation: 443Reputation: 443Reputation: 443Reputation: 443
Quote:
if i install mint again. how would i restore my windows mbr. because i dont want to lose my windows data.
testdisk restored the partition table to the way it was. i guess this is why i got the grub error.
Using testdisk you have to perform extended scan, then reload those partitions.
When I used it I was lost after a few attempts with no commits I noticed after deep scan that,
to the left of partions there is a P on the 1 partition that was still on system, there is a D beside the deleted partitions.
You scan scroll down on each of these deleted partitions and press P to list files for viewing, q takes you back to the list of partitions.

Once you have found the partitions that contain your information go back to list of partitions and toggle(left or righ arrow)
from D to P. P reloads that partition.
 
Old 12-24-2010, 03:49 PM   #12
genoboss
Member
 
Registered: Feb 2008
Posts: 62

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by EDDY1 View Post
What machine?
Do you know your system restore buttons?
You still have PQservice
use system restore buttons.
As far as needing sys restore cd's they're not necessary.
What does PQservice do?
 
Old 12-24-2010, 03:55 PM   #13
genoboss
Member
 
Registered: Feb 2008
Posts: 62

Original Poster
Rep: Reputation: 0
Right now im trying to resize my sda2 partition so i can reinstall ubuntu but its not letting me change the bar..
 
Old 12-24-2010, 04:05 PM   #14
EDDY1
Guru
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 5,036

Rep: Reputation: 443Reputation: 443Reputation: 443Reputation: 443Reputation: 443
PQService holds original installation information it has an image of the original os.
If you make an empty ntfs on sda2 and use sys restore keys at boot it'll reinstall os.
Returns to factory specs

Downside is you lose all information from previous install.

Last edited by EDDY1; 12-24-2010 at 04:09 PM.
 
Old 12-24-2010, 06:39 PM   #15
EDDY1
Guru
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 5,036

Rep: Reputation: 443Reputation: 443Reputation: 443Reputation: 443Reputation: 443
This is what mine has in PQService.
Attached Images
File Type: png Screenshot.png (150.0 KB, 3 views)
File Type: png Screenshot-1.png (149.8 KB, 1 views)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Grub Rescue: no such partition AligatorBlud Linux - Newbie 6 05-23-2011 04:45 PM
Grub Rescue No such partition, No command except ls and set working amolgupta Linux - General 1 09-27-2010 06:08 PM
Grub rescue error by unknown partition jeffinfrank Linux - Laptop and Netbook 2 04-28-2010 05:59 PM
grub won't load fedora 4, rescue disk says partition is unformatted! bean.art Linux - Software 29 12-01-2005 06:33 AM
Grub setup problem (/boot/grub/stage1 not found) davidas Debian 2 04-28-2004 08:13 PM


All times are GMT -5. The time now is 07:35 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration