Ubuntu This forum is for the discussion of Ubuntu Linux. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
12-22-2010, 10:07 PM
|
#1
|
Member
Registered: Feb 2008
Posts: 62
Rep:
|
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
Last edited by genoboss; 12-22-2010 at 10:09 PM.
|
|
|
12-22-2010, 11:09 PM
|
#2
|
Member
Registered: Feb 2008
Posts: 62
Original Poster
Rep:
|
.......bump
|
|
|
12-23-2010, 07:06 AM
|
#3
|
Member
Registered: May 2006
Distribution: Ubuntu10.04, < fedora12
Posts: 347
Rep:
|
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.
|
|
|
12-23-2010, 07:20 AM
|
#4
|
Member
Registered: Feb 2008
Posts: 62
Original Poster
Rep:
|
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
|
|
|
12-23-2010, 07:35 AM
|
#5
|
Member
Registered: Feb 2008
Posts: 62
Original Poster
Rep:
|
Can anybody suggest anything, i dont know what else to do
|
|
|
12-23-2010, 03:12 PM
|
#6
|
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:
|
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
|
|
|
12-23-2010, 04:01 PM
|
#7
|
Member
Registered: Feb 2008
Posts: 62
Original Poster
Rep:
|
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
|
|
|
12-23-2010, 05:32 PM
|
#8
|
LQ Veteran
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
|
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.
|
|
|
12-23-2010, 11:12 PM
|
#9
|
Senior Member
Registered: Jun 2006
Location: Philadelphia PA USA
Distribution: Lubuntu, Slackware
Posts: 2,230
|
Quote:
Originally Posted by genoboss
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
|
|
|
12-24-2010, 02:12 AM
|
#10
|
LQ Addict
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841
|
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 02:18 AM.
|
|
|
12-24-2010, 02:49 PM
|
#11
|
LQ Addict
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841
|
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.
|
|
|
12-24-2010, 04:49 PM
|
#12
|
Member
Registered: Feb 2008
Posts: 62
Original Poster
Rep:
|
Quote:
Originally Posted by EDDY1
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?
|
|
|
12-24-2010, 04:55 PM
|
#13
|
Member
Registered: Feb 2008
Posts: 62
Original Poster
Rep:
|
Right now im trying to resize my sda2 partition so i can reinstall ubuntu but its not letting me change the bar..
|
|
|
12-24-2010, 05:05 PM
|
#14
|
LQ Addict
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841
|
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 05:09 PM.
|
|
|
12-24-2010, 07:39 PM
|
#15
|
LQ Addict
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841
|
This is what mine has in PQService.
|
|
|
All times are GMT -5. The time now is 11:13 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|