LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 02-24-2009, 04:00 PM   #1
StratTele
LQ Newbie
 
Registered: Feb 2009
Posts: 1

Rep: Reputation: 0
Deleted Fedora 10 with GParted and can't boot other partitions


I installed Fedora 10 KDE the other day to see if I liked it. I installed it as a seperate partition along with my WindowsXP and Ubuntu. After a little while I realized I didn't need the switch from Ubuntu. I used GParted and removed the fedora partion and a partition that was named "boot" which was not there before I installed Fedora. I'm assuming that right there is the cause of my problem -_-. Anyway, the original boot menu that appeared before my Fedora escapade does not appear anymore. Instead this shows up:


[Minimal BASH - Like line editing is supported. For the first word, TAB lists possible command completions. Anywhere else TAB lists possible completions at a device/filename.]

grub>_


I have no clue what to do. I'm running off the Ubuntu disk right now and I see that my two drives are still there and I can access my Ubuntu partition. If anyone can give me a way to retrieve my old boot menu or a command to boot from grub that would be greatly appreciated.

Thank you in advance for any and all help.
 
Old 02-24-2009, 04:27 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 271Reputation: 271Reputation: 271
Look below in my signature at "Saikee's Grub Booting Tips". It'll help you boot your old systems and then you can create a new menu.lst.
 
Old 02-24-2009, 06:43 PM   #3
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,186

Rep: Reputation: 346Reputation: 346Reputation: 346Reputation: 346
At that prompt enter (possible output and comments in bold):
Code:
find /boot/grub/stage1
find /boot/grub/stage1
  (hd0,1)
root (hd0,1)
root (hd0,1)
 Filesystem type is ext2fs, partition type 0x83
setup (hd0)
...
Done.

and reboot.
Here's an example from my laptop [where (hd1) is not booted directly, so installing GRUB on it is just an exercise.]
Code:
    GNU GRUB  version 0.97  (640K lower / 3072K upper memory)

 [ Minimal BASH-like line editing is supported.  For the first word, TAB
   lists possible command completions.  Anywhere else TAB lists the possible
   completions of a device/filename.]
grub> find /boot/grub/stage1
find /boot/grub/stage1
 (hd0,5)
 (hd0,6)
grub> find /grub/stage1
find /grub/stage1
 (hd1,0)
grub> root (hd1,0)
root (hd1,0)
 Filesystem type is ext2fs, partition type 0x83
grub> setup (hd1)
setup (hd1)
 Checking if "/boot/grub/stage1" exists... no
 Checking if "/grub/stage1" exists... yes
 Checking if "/grub/stage2" exists... yes
 Checking if "/grub/e2fs_stage1_5" exists... yes
 Running "embed /grub/e2fs_stage1_5 (hd1)"...  23 sectors are embedded.
succeeded
 Running "install /grub/stage1 (hd1) (hd1)1+23 p (hd1,0)/grub/stage2 /grub/grub.conf"... succeeded
Done.

Last edited by PTrenholme; 02-24-2009 at 06:48 PM.
 
  


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
Solved: Dual boot, deleted /boot and all linux partitions, system boots to grub> cuco76 Linux - Software 0 01-06-2009 06:27 PM
Gparted use from partition to be deleted? drmjh Linux - General 4 09-28-2008 09:53 AM
gparted shows no partitions wussboy Ubuntu 5 02-19-2007 09:10 AM
gparted says no partitions JohnyDRipper Linux - General 4 02-12-2007 04:42 PM
I lost my Partitions using GParted! MorPhiend Linux - Newbie 1 11-23-2005 02:11 PM


All times are GMT -5. The time now is 01:07 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration