LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 10-10-2012, 11:11 AM   #1
Robert67
LQ Newbie
 
Registered: Sep 2010
Location: Hereford, England
Posts: 8

Rep: Reputation: 0
Question Help wanted with "no such partition, grub rescue" when I try to boot


Hello,

I've been stupid and deleted a Linux Mint 10 partition on my Windows 7 laptop, I followed a YouTube tutorial.
The partition seemed to delete successfully and I expanded my Windows partition then restarted my laptop.
A black screen appeared with the words "no such partition, grub rescue" at the top.
I've since visited several forums and threads, all of which seem to tell me to boot from a live cd. I've tried a Windows 7 installation disc and a Linux Mint 10 live cd but none of these work. I can enter bios and choose where to boot from but it just restarts with the "no such partition..." message.
I'm at my wits end as I planned to sell the laptop to fund a college course, this was my reason for deleting the partition.
Please help me and please keep it as easy to understand as possible as I'm not familiar with technical IT language.
Any help will be much appreciated.

Thanks for taking the time to read this post.

Rob
 
Old 10-10-2012, 11:57 AM   #2
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: /root
Distribution: Slackware & BSD
Posts: 1,220

Rep: Reputation: 231Reputation: 231Reputation: 231
Rob,
It appears that you have what is needed: a Windows 7 installer and a Gnu/Linux Mint 10 cd.
It appears to me also that you wanted to install both, Windows 7 and Gnu/Linux to make a good selling price of your laptop. <Correct me if am wrong.>

So here is what you do. As briefly as possible.

1. Format the laptop hard drive using that Gnu/Linux Mint CD, run it live. Use the Gparted editor "Menu>System>Gparted" and DELETE all partitions, including the MBR (for this is the sector that is giving you the problem. If you do not know how to manipulate MBR you'd better delete all partitions in the hard drive for the editor to write anew the entries therein.)

After Deleting all partitions you will repartition the same (right there, in the same Gparted session) hard drive to accomodate the two systems. I recommend partitions the following ratio although you can change it to your taste:

1st Primary Partition - * Bootable* = Space= 20 % approximate = Formatted into NTFS
2nd Primary Partition - non-boot OK = Space= 20 % approximate = Formatted into Ext4
3rd Primary Partition - non-boot OK = Space= 20 % approximate = Formatted into Ext4

4th Primary Partition - non-boot OK = Empty and Unformatted (leave it ready for the buyer's choice).

2. After partitioning accordingly above you may now install fresh--

Windows 7 = Partition 1 (First)
Gnu/Linux = Partition 2 (Second)

You can mount the 3rd partition as /home to Gnu/Linux Mint or just leave it to the buyer's choice.

Install the Windows 7 first (not after).
Then install Gnu/Linux Mint next to Windows 7. If Mint install asks you to write Grub into the MBR say "YES", for Grub is wiser and is able to link Windows 7 at boot as another option, no problem, dual booting is automatic.

You can then market out your laptop using the remaining Ext4 partition as available at buyer's disposal and choice + another 40% of hard drive's Gigabytes SPACE at his choice of format: tell your prospect buyer he can format the space into ext4 to be used as FILE storage for Gnu/Linux or format it into NTFS for File storage of the Windows 7.

IF you have problems doing the instructions you can come back and bring us clear specific questions.

Good luck.

m.m.
 
Old 10-12-2012, 05:53 AM   #3
Robert67
LQ Newbie
 
Registered: Sep 2010
Location: Hereford, England
Posts: 8

Original Poster
Rep: Reputation: 0
Thanks

I wanted to remove Linux Mint because the potential buyer just wanted Windows.

Anyway, I've tried to boot from a live cd several times. I enter BIOS, select the relevant boot option then select "ok" to restart but it just goes straight back to the "grub rescue" prompt.
I've tried using a bootable usb stick too, to no avail.

I'm seriously considering just dismantling the laptop and selling the working components, at least I'll get something for those as the laptop is useless as it is. All attempts to get past this grub rescue screen have failed and taking it to a repair shop would be costly, with no guarantee of success. It's a Packard Bell, I've been told to avoid those at all cost in future.

I suggest including a warning on all Linux distro's in future as less experienced users are very likely to fall foul of this grub problem and at least they'll be prepared when uninstalling and removing the partition.
 
Old 10-12-2012, 07:58 AM   #4
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: /root
Distribution: Slackware & BSD
Posts: 1,220

Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
Anyway, I've tried to boot from a live cd several times. I enter BIOS, select the relevant boot option then select "ok" to restart but it just goes straight back to the "grub rescue" prompt.
I've tried using a bootable usb stick too, to no avail.
Try the means I described above and you can sell the laptop as whole.
 
Old 10-15-2012, 01:38 PM   #5
mr_ckw
LQ Newbie
 
Registered: Dec 2008
Posts: 1

Rep: Reputation: 1
"grub rescue>" commands

Rob,

You've indicated that you've tried several optional boot devices:

Quote:
Originally Posted by Robert67 View Post

... all of which seem to tell me to boot from a live cd. I've tried a Windows 7 installation disc and a Linux Mint 10 live cd but none of these work. I can enter bios and choose where to boot from but it just restarts with the "no such partition..." message.

Rob
but, none of them have worked. To me, it seems unlikely that multiple bootable CDs aren't functioning. It suggests that the BIOS is not actually being configured properly to automatically boot from the device you desire. I'd like to help you remedy that and get your laptop up and running again. What brand and model is your laptop? Let's start there. There usually is a function key to press after powering on your laptop that will give you a list of options from which to boot. Let's see if we can determine which key will do that for you. Knowing the brand and model of laptop will assist us in getting that information.

As to the actual commands you can use at the "grub rescue>" prompt, in rescue mode, only the insmod, ls, set, and unset commands are normally available. Enter "ls" at the at the prompt and then hit the enter key. You should get a response back that says something like:

grub rescue> ls
(hd0) (fd0)
grub rescue>

Then, at the "grub rescue>" prompt enter the command "set" and press Enter. You will probably get a response that looks something like:

grub rescue> set
prefix-(hd0,1)/boot/grub
root=hd0,1
grub rescue>


Let me know if you if those grub rescue command work as expected for you and we'll move forward. Sound like a plan?

clark
 
1 members found this post helpful.
Old 10-18-2012, 03:45 PM   #6
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: /root
Distribution: Slackware & BSD
Posts: 1,220

Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
I suggest including a warning on all Linux distro's in future as less experienced users are very likely to fall foul of this grub problem and at least they'll be prepared when uninstalling and removing the partition.
Actually Rob it is not the Gnu/Linux side that caused the booting problem: it is the ntfs partition. I have several dual booting boxes and my experience tells me one good lesson: ON HARDISKS WHERE ALL PARTITIONS ARE IN GNU/LINUX or GNU/BSD FS NO MBR PROBLEM CAN EASILY COME SAVE THAT WHICH CAME FROM BEHIND THE KEYBOARD; BUT ON HARD DISKS WHERE ONE (AT LEAST ONE) PARTITION IS NTFS I ALWAYS EXPECT MBR TROUBLES IN THE NEAR FUTURE. This is because the ntloader and the fs is an easy prey to rootkits and malware; when trouble comes Grub always proves itself as an unwavering master on the mbr thus it keeps on reappearing throughout the troublesome moments --unlike the Windows bootloader that simply dies out into blue screen or empty screen calling for a certified technician to wring out few dollars from your pocket. In the field of Grub you have to DIY.

Recently (I am still researching) a rootkit probably hit my sda1 (NTFS) and wrote something into the HD. I was not able to contain the attack by meeting it with a bad temper: I lost an expensive mother board and the new one still cannot boot into either DVD or HD. My problem went down deeper because each time I booted into Gnu/Linux an rsync script automatically copies/updates important files from NTFS into my /home/$USER folder.

Your are not alone so long as people continue to dual boot into a partition with NTFS. I am still trying to solve mine and am pretty sure had it been a simple Grub issue I would have been strolling the beach right now.

So check how you may boot it from a rescue cd. I am finding how I would do mine too.

Goodluck.
 
Old 10-18-2012, 08:55 PM   #7
Fred-1.2.13
Member
 
Registered: Jan 2006
Location: Midwest USA
Distribution: Started with Slackware - 3.0 1995 Kernel 1.2.13 - Currently Slackware 14.1 and Current
Posts: 62

Rep: Reputation: 12
Quote:
Originally Posted by Robert67 View Post
I wanted to remove Linux Mint because the potential buyer just wanted Windows.

Anyway, I've tried to boot from a live cd several times. I enter BIOS, select the relevant boot option then select "ok" to restart but it just goes straight back to the "grub rescue" prompt.
I've tried using a bootable usb stick too, to no avail.

I'm seriously considering just dismantling the laptop and selling the working components, at least I'll get something for those as the laptop is useless as it is. All attempts to get past this grub rescue screen have failed and taking it to a repair shop would be costly, with no guarantee of success. It's a Packard Bell, I've been told to avoid those at all cost in future.

I suggest including a warning on all Linux distro's in future as less experienced users are very likely to fall foul of this grub problem and at least they'll be prepared when uninstalling and removing the partition.
As mentioned you are not booting off the CD properly. You should be able get it to boot off the Windows CD and simply reinstall Windows, deleting all the partitons when prompted to select a disk to install to.

Parting out your machine just because you have a problem with the MBR is just crazy! Work at getting it to boot from the Windows CD until you get it. Then pay attention during the first part of the install, you can select your hard drive, and delete all the partitons, then create a single new partition (Windows 7 will also make a small utility partition). It's all pretty automatic in Windows. Don't give up!

Oh and when in the BIOS, make sure the CD is selected as a boot device and make it the FIRST boot device. Also watch for some text when first restarting some BIOS's will say "Press any key to boot from CD" this may not be true with your BIOS but is something to watch for.

Last edited by Fred-1.2.13; 10-18-2012 at 08:58 PM.
 
Old 10-19-2012, 12:23 AM   #8
rob.rice
Member
 
Registered: Apr 2004
Distribution: slack what ever
Posts: 795

Rep: Reputation: 119Reputation: 119
can you some how put the hard drive into a desktop
then delete the partitions put it back in the laptop
reinstall windoze
I don't know if it's still true but at one time NONE of the linux
partitioning tools could write a partition table that windoze later than xp
could read

or pull the hard drive out tack just the hard drive to the repair shop and have them
delete the partitions coast you about $10.00

walking into a computer shop with just a hard drive and a simple task to be done to it
kind of makes you a comrade of the computer repair man and they will do things on the cheap
my sister's computer had a virus that would lock up the computer on start up
the windoze installer kept reporting no such hard drive until I got it wiped at a computer repair shop
 
1 members found this post helpful.
  


Reply

Tags
boot, grub rescue


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot get past "error: no such partition grub rescue"_ maxcorrigan Linux - Newbie 14 03-23-2012 03:59 PM
Pls Rescur on "error no such partition grub rescue" agnes007 Linux - Newbie 5 08-13-2011 10:44 AM
[SOLVED] grub rescue: "error: unknown filesystem" when booting Windows XP / Ubuntu dual boot LittleRatRottenHut Linux - Laptop and Netbook 9 02-01-2011 09:32 PM
[SOLVED] No Boot, fd1 cannot get c/h/s values, "grub rescue>", no such device webmanoffesto Ubuntu 3 05-30-2010 11:25 PM
"Unknown Partition Table Signature" error when making a grub boot floppy ? uncle-c Linux - General 2 02-02-2008 06:29 AM


All times are GMT -5. The time now is 04:41 PM.

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