LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Cant find a grub 2 menu (https://www.linuxquestions.org/questions/linux-newbie-8/cant-find-a-grub-2-menu-830255/)

shandesai2009 09-03-2010 10:47 PM

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..

gripip 09-03-2010 11:29 PM

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.

sem007 09-03-2010 11:35 PM

this might help you to re-install grub

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

shandesai2009 09-04-2010 11:40 AM

Quote:

Originally Posted by gripip (Post 4087599)
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??

shandesai2009 09-05-2010 04:38 AM

Quote:

Originally Posted by sem007 (Post 4087603)
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" :(

gripip 09-05-2010 11:15 PM

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.

Larry Webb 09-06-2010 06:11 AM

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.

shandesai2009 09-07-2010 09:32 AM

Quote:

Originally Posted by gripip (Post 4089144)
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.. :)

shandesai2009 09-08-2010 12:26 PM

Quote:

Originally Posted by Larry Webb (Post 4089359)
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.

Larry Webb 09-08-2010 05:28 PM

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.


All times are GMT -5. The time now is 07:11 AM.