LinuxQuestions.org
Help answer threads with 0 replies.
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-11-2009, 04:36 PM   #1
AligatorBlud
LQ Newbie
 
Registered: Dec 2009
Posts: 3

Rep: Reputation: 0
Grub Rescue: no such partition


My computer does not have a working CD rom drive, so I had booted from USB (used UNetbootin to make the USB) to install Ubuntu initially. I had Ubuntu working on my laptop (Gateway 7330gz), started messing around with it, and decided I wanted to start fresh again. So after searching the web for a how-to on reinstalling I thought I understood that I should hide or delete the partition that was selected to boot from. Now, after deleting this partition, when I boot this is all that comes up:

GRUB loading.
error: no such partition
grub rescue>

My CD rom drive does not work, and for some reason it won't read from the USB anymore, so I can't boot from anything. The only commands for the rescue mode that I've found to work are ls and set but they are the only two I know so far. I'm hoping there's a way to manually tell it to boot from the usb from this rescue mode. When I type in ls i get:

(hd0) (hd0,5)

and when the usb is plugged in it adds (hd1) (hd1,1)

When I type in set i get:

prefix=(hd0,1)/boot/grub
root=hd0,1

Pllllleeeeeeaaaaaseeeeeeee help
 
Old 12-12-2009, 02:10 PM   #2
action_owl
Member
 
Registered: Jan 2009
Location: 127.0.0.1
Distribution: Fedora, CentOS, NetBSD
Posts: 115

Rep: Reputation: 17
Are you dual booting?

Why can't you change your BIOS settings to boot from USB and do a fresh re-install? Grub will not prevent you from doing so.
 
Old 12-13-2009, 10:16 AM   #3
AligatorBlud
LQ Newbie
 
Registered: Dec 2009
Posts: 3

Original Poster
Rep: Reputation: 0
No, not dual booting. I had installed Ubuntu the first time off USB and had it clean everything else out. The BIOS settings can be changed, but only to ID HDD, FDD, and CD/ROM. I'm guessing FDD is the USB one, and it is active. I've read that if it is setup to boot from a Linux type partition than that will prevent any future booting from CD or USB. I had OpenSUSE on it before I put on Ubuntu, and the only way I could make Ubuntu install was to mess with the fdisk settings in the terminal and I somehow made it so there was no bootstrap....idk
 
Old 12-13-2009, 10:42 AM   #4
voyciz
Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 425

Rep: Reputation: 40
No, whatever you read was false. You can tell it to boot from the USB and then go back later and change it to boot from the hard drive again. FDD is the floppy drive, though. However you got it to boot from the USB the first time you should be able to do it again.
 
Old 12-15-2009, 01:14 AM   #5
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629

Rep: Reputation: Disabled
I don't know his/her hardware. My old box doesn't have at all a BIOS setting to boot from USB (it is that old...). My guess is to look at the software (Unetbootin?) or google in that direction.

If you have access to a second computer you can create a boot floppy with GRUB and use that to fire up your installation, i.e. you have to (re)-create the /boot partition you deleted and (re)-install grub there.

And no, you don't have to hide or delete your boot partition to re-install, just select install from the start menu early in the installation process.

Last edited by JZL240I-U; 12-15-2009 at 01:17 AM.
 
Old 05-23-2011, 02:57 PM   #6
George kipkogei cheboror
LQ Newbie
 
Registered: May 2011
Posts: 1

Rep: Reputation: Disabled
Ubuntu

I have installed ubuntu ultimate in my pc and windows 7 .when i start my computer it reads :"error no such partition. Grub rescue.how can i start my computer?
 
Old 05-23-2011, 04:45 PM   #7
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,482

Rep: Reputation: 2485Reputation: 2485Reputation: 2485Reputation: 2485Reputation: 2485Reputation: 2485Reputation: 2485Reputation: 2485Reputation: 2485Reputation: 2485Reputation: 2485
George kipkogei cheboror

Start a new thread. This one is eighteen months old and your problem is different than the OP.
First, provide informatin on the hardware you have.
If you have Ubuntu and windows 7, in which order did you install them?
When you installed Ubuntu, where did you install the Grub bootloader? master boot record? partition?
The error "no such partition" probably means the bootloader is pointing to the wrong partition and not the one Ubuntu is on.
Use the installation CD of Ubuntu, open a terminal and run the command: sudo fdisk -l(lower case Letter L in the command) and post that partition information here.

Also, if you know how to mount the Ubuntu partition on the hard drive, do that and post the contents of the /boot/grub/grub.cfg file. If you don't know how, post back so someone can explain to you.
 
  


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
Restoring GRUB using a rescue cd aus9 Linux - Software 7 05-13-2013 01:31 AM
Booting from Grub Rescue apolix Linux - Newbie 16 11-04-2010 06:32 PM
Need to (re)install GRUB: fedora c4 rescue cd (and GRUB) unable to see the harddisk whencat Fedora 4 03-05-2006 02:01 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 reinstall from rescue CD shashikanth Linux - Software 12 08-22-2004 04:40 AM

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

All times are GMT -5. The time now is 05:29 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