LinuxQuestions.org
Review your favorite Linux distribution.
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 09-03-2010, 11:47 PM   #1
shandesai2009
LQ Newbie
 
Registered: Aug 2010
Posts: 13

Rep: Reputation: 0
Unhappy Cant find a grub 2 menu


Hi..
I have installed ubuntu 9.10 after the windows xp os, and then my grub.cfg file only contained information about linux.. my windows os couldnot be booted..
But thats fine because i now work only on linux, so I could normally boot into ubuntu..

But now i tried to install fedora 12 on that partition on which windows was installed, and i set the space of that partition as "free". And then something went wrong, and i could not install fedora.

Now wen i boot into the normal ubuntu linux from the local hard disk, this error appears on screen - "No bootable media present, enter bootable disk and press enter."

I can boot into the installed os by first booting from a live cd, and selecting the "boot from local disk" option. But i cannot boot without a live cd.. :-( please help me..

Please suggest me any methods of fixing this.. I also reinstalled grub-pc package, but no change..
Thanks in advance..

Last edited by shandesai2009; 09-03-2010 at 11:51 PM.
 
Old 09-04-2010, 12:29 AM   #2
gripip
Member
 
Registered: Jul 2010
Location: India
Distribution: mint9, slackware13.1, minix3
Posts: 48

Rep: Reputation: Disabled
i guess u have grub installed in your local partition of ubuntu install ,well boot from live cd and install grub to your mbr, copy ur orignal grub.cfg file to ur new /boot/grub directory. if ur system is having only 1 hard drive it should work. if not let me know ill explain every thing in detail.
 
Old 09-04-2010, 12:35 AM   #3
sem007
Member
 
Registered: Nov 2006
Distribution: RHEL, CentOS, Debian Lenny, Ubuntu
Posts: 638

Rep: Reputation: 111Reputation: 111
this might help you to re-install grub

https://help.ubuntu.com/community/Re...tallingWindows
 
Old 09-04-2010, 12:40 PM   #4
shandesai2009
LQ Newbie
 
Registered: Aug 2010
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by gripip View Post
i guess u have grub installed in your local partition of ubuntu install ,well boot from live cd and install grub to your mbr, copy ur orignal grub.cfg file to ur new /boot/grub directory. if ur system is having only 1 hard drive it should work. if not let me know ill explain every thing in detail.

i am a layman, have only studied operating systems in course, and dnt have much practical knowledge abt ubuntu.. grub.cfg is already present in /boot/grub. Which "origional" grub.cfg u are referring??
 
Old 09-05-2010, 05:38 AM   #5
shandesai2009
LQ Newbie
 
Registered: Aug 2010
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by sem007 View Post
this might help you to re-install grub

https://help.ubuntu.com/community/Re...tallingWindows


i re installed the grub, but again the same error on boot up appeared.. "No bootable media -- insert bootable disk and press enter"
 
Old 09-06-2010, 12:15 AM   #6
gripip
Member
 
Registered: Jul 2010
Location: India
Distribution: mint9, slackware13.1, minix3
Posts: 48

Rep: Reputation: Disabled
I can understand the frustration, but u have to dive in to experience beauty

1. First easy way - download a puppy linux live cd image(nearly 100 MB), burn it to disk and boot from it, its an excellent distro for rescue work without going into too much detail, just go to menu and choose grub bootloader, it's a nice menu based installer which let u install grub in mbr of ur hard disk,most probably it will work if not read 2.
2. This is a super-exellent post on booting problem http://www.justlinux.com/forum/showthread.php?t=144294 which will help u too understand and fix nearly every problem regarding booting with grub and lilo.
even u find difficulty to fix ur system, u can always get back to us.
 
1 members found this post helpful.
Old 09-06-2010, 07:11 AM   #7
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
Boot your live cd and from terminal as root run fdisk -l and give us the results. This will list your partitions on your hd. If you want to get your ubuntu back you need to use your ubuntu disk because ubuntu uses grub2 and fedora 12 uses grub legacy. Grub2 and grub legacy do not mix well.
 
Old 09-07-2010, 10:32 AM   #8
shandesai2009
LQ Newbie
 
Registered: Aug 2010
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by gripip View Post
I can understand the frustration, but u have to dive in to experience beauty

1. First easy way - download a puppy linux live cd image(nearly 100 MB), burn it to disk and boot from it, its an excellent distro for rescue work without going into too much detail, just go to menu and choose grub bootloader, it's a nice menu based installer which let u install grub in mbr of ur hard disk,most probably it will work if not read 2.
2. This is a super-exellent post on booting problem http://www.justlinux.com/forum/showthread.php?t=144294 which will help u too understand and fix nearly every problem regarding booting with grub and lilo.
even u find difficulty to fix ur system, u can always get back to us.



thankyou sir for your support and encouragement.. i am just going through the link you sent me.. am sure it will help me a lot.. really thanx a lot.. i will get back to you..
 
Old 09-08-2010, 01:26 PM   #9
shandesai2009
LQ Newbie
 
Registered: Aug 2010
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by Larry Webb View Post
Boot your live cd and from terminal as root run fdisk -l and give us the results. This will list your partitions on your hd. If you want to get your ubuntu back you need to use your ubuntu disk because ubuntu uses grub2 and fedora 12 uses grub legacy. Grub2 and grub legacy do not mix well.
I M Sory sir for the late reply..This is the output of fdisk -l

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x3b4a3b49

Device Boot Start End Blocks Id System
/dev/sda1 1 1025 8233281 83 Linux
/dev/sda2 1026 19457 148055040 f W95 Ext'd (LBA)
/dev/sda5 1913 5737 30724281 7 HPFS/NTFS
/dev/sda6 5738 8863 25109563+ 7 HPFS/NTFS
/dev/sda7 8864 13962 40957686 7 HPFS/NTFS
/dev/sda8 13963 19457 44138556 7 HPFS/NTFS
/dev/sda9 1026 1147 979902 82 Linux swap / Solaris
/dev/sda10 * 1148 1785 5119999+ 83 Linux
/dev/sda11 1785 1874 716799+ 82 Linux swap / Solaris

Partition table entries are not in disk order.
 
Old 09-08-2010, 06:28 PM   #10
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
First if you are going to get rid of windows I would repartition my hd. Decide how many distros you want to install this is my setup. To do this you can download a program called gparted that has an easy gui. All distros that I have seen come with a partitioner, but may be harder to understand.

Windows 40 gig (for the wife)
Suse 20 gig
fedora 20 gig
ubuntu 20 gig
puppy 5 gig
Tiny Me 2 gig
freespire 10 gig
Knoppix 12 gig
2 more free empty 10 gig partitions
1 swap 2 gig
ntfs storage 150 gig
the rest blank for now.

The reason for the first three partitions being that large is the size of their repositories and all the candy I can load.

Tiny Me is the fastest boot.

After I would do a new install and get it fixed before worrying about multi-boot.

If you are going to multi-boot read articles discussing dual boot using grub legacy and grub2. The reason is most distros are still using legacy.

Another option is virtual machine.

This could make it a lot easier later.

Last edited by Larry Webb; 09-08-2010 at 06:31 PM.
 
1 members found this post helpful.
  


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] lost grub menu after windows installation & forgot to backup menu.lst jesman1 Linux - Kernel 4 08-13-2010 12:57 AM
multi booting GRUB cd cannot find menu.lst bowserevilking Linux - General 1 10-17-2009 09:49 PM
grub drops to grub prompt on boot, but can use commands to find menu... fix? greenmuzz Linux - Software 7 06-07-2009 04:07 AM
Grub Menu doesn't reflect menu.lst file fatsheep Linux - Software 4 06-11-2007 02:29 PM
Grub - how do I change which partition is used to find menu.lst nickhen Linux - General 1 01-24-2005 02:48 PM


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