Fedora :: Why GRUB Does Not Display Menu Based On Grub.conf/menu.lst
Jul 28, 2009
I am testing my crash recovery strategy for my linux system and I am having trouble with GRUB. I am basically restoring my backup (i.e. tar) unto a different hard drive, but I am having problems getting the machine to boot without me having to type the GRUB commands at the GRUB prompt that is presented when the machine boots up off the new hard drive. I have tried to restore the MBR in two ways (the 2nd one is the one that gets me to the GRUB prompt):
1. Get the MBR off the original drive and write it unto the new drive (all via dd), but that did not work at all: the machine hangs right away during boot up. It seems to hang right at the point where the BIOS tries to read the MBR.
Code:
On original drive:
# dd if=/dev/sda of=mbr+part.bin bs=512 count=1
On new drive (new drive is now in place of original drive):
reboot and remove FEDORA CD Using the 2nd option above, I get the GRUB> prompt during bootup. I can then boot into the system by issuing the commands that are in the menu.lst file, followed by the "boot" command. However, I would like for those commands to happen automatically, just like in the original configuration. It seems to me that GRUB is actually finding all its stage files because I doubt the GRUB program (the one displaying the prompt) fits entirely in the 446 bytes it has on the MBR. So, it must be loading its stage 2 (and stage 1.5??) files from my /boot partition. However, if GRUB is loading its stage files off the boot partition, why does it not load/read the menu.lst/grub.conf contained in the boot partition also?
my Setup is Fedora 14 x64 + radeon hd 4830 i've downloaded .run package from ati site with latest driver for x64 systems. installed it, but didn't edited grub.conf becouse i didn't understood anything there (probably didn't spent enough time to get things understand) Now i've lost possibility to enter my Fedora system. during boot it lost it's modern blue boot screen (with filling drop), it was replaced by standard old boot screen with triple-color stripe. after this boot screen monitor start blinking going on and off. and on last step i'm getting "Fedora 14 boot bla bla bla something" on screen. nothing works except Ctrl+Alt+Delete. system reboots showing successful daemons shutting sequence. How can i edit grub menu from initial grub screen is it possible to it's own 'e' option or 'c' from grub command line?
I loaded GRUB, and now when I reboot it goes straight into the 'grub>' command line. Initially GRUB had the root as (hd0,2), whereas the boot is on (hd0,1)...(hd0,2) is my '/home' partition, and (hd0,1) is my '/' partition... So on a bootup I ran...
Code:
root (hd0,1) setup (hd0)
Now when I boot I still get the 'grub>' command line, but now the root is correct.
From 'grub>' I can type...
Code:
grub> configfile /boot/grub/menu.lst
GRUB will then show the menu, and I can click the listings to load them. All's fine, but why doesn't GRUB just load the menu.lst without my prompting? How can I automate this process of typing 'configfile /boot/grub/menu.lst' each time I boot?
Now i've lost possibility to enter my Fedora system. during boot it lost it's modern blue boot screen (with filling drop), it was replaced by standard old boot screen with triple-color stripe. after this boot screen monitor start blinking going on and off. and on last step i'm getting "Fedora 14 boot bla bla bla something" on screen....nothing works except Ctrl+Alt+Delete....system reboots showing successful daemons shutting sequence. How can i edit grub menu from initial grub screen is it possible to it's own 'e' option or 'c' from grub command line?
This is an existing 10.4 installation, I decided to install XFCE through the package manager, hoping to get a little bit better performance. After I rebooted, I was greeted with the Grub command prompt. Not sure if this triggered this issue or whether it is convenience.I can boot into my system using the command line, however, I can't get Grub to use my menu again. Grub version is 1.98 (which I guess makes it Grub2). I've tried grub-install and grub-upate, neither of which returns any errors, however, after rebooting I still see the command prompt. I have verified that the config file in /boot/grub/grub.cfg does exist and appears to be correct as far as I can tell. Is there something I need to do to tell grub to look at this config file and display the menu?
I have noticed whenever someone install Ubuntu 10.04 the grub menu doesnt get display. Is this a bug? Recently I did installed Ubuntu 10.04 with Windows as dual boot config and I did notice nothing like menu.1st instead it had grub.cfg. how to fix it?
9.10 has no menu.lst file and hitting ESC to does not bring up the grub menu. How can we set bootup options or boot an alternate kernel? I would really like to set the resolution at boot time so that my console (Ctrl-Alt-F5, for example) has 80 columns instead of 40. (What a stupid default, gigantic Commodore-64-like text!) It would also be nice if the Login screen could be set to the resolution that I want.
In previous releases, there were ways to do this. In 9.10, I haven't been able to figure out how.
Is there a document explaining all of the radical changes?
9.10 has no menu.lst file and hitting ESC to does not bring up the grub menu. How can we set bootup options or boot an alternate kernel? I would really like to set the resolution at boot time so that my console (Ctrl-Alt-F5, for example) has 80 columns instead of 40. (What a stupid default, gigantic Commodore-64-like text!) It would also be nice if the Login screen could be set to the resolution that I want. In previous releases, there were ways to do this. In 9.10, I haven't been able to figure out how.
I've got myself the curious situation where, when I boot the system, I can get grub to start, but it always drops to the prompt.
I can run:configfile /grub/menu.lst
and this brings up the menu with no problems, and from there I can boot the system to either linux or windows. What I don't understand is why it wont go to the menu in the first place?As far as I can tell, grub/Kubuntu got confused when installing, as each of the hd#,# settings in the menu.lst have needed tweaking to let the system boot. (e.g. windows is actually hd0, but the original install had it at hd2. Likewise linux is on hd1, but the menu.lst had it at hd0). I've happily tweaked these to make the system boot, but would appreciate any help in convincing grub to actually load the menu without me having to use the prompt.
I got ubuntu 10.04 lucid lynx along with windows (dual boot) and using Grub. On my computer, I have my C:/ (programs) and D:/ (data). I've never used my D:/ before that day that I've lost my windows partition on my grub menu. I usually use my D:/ with windows. The first time I used my D:/ to store data with linux, I lost my windows option in my grub menu. I'm not sure what I did wrong but I do want to restore my windows option in my grub menu.
After "fdisk -l",
I checked in /boot/grub and there is no menu.lst to modify. how I can get back my windows option in my grub menu ?
The first is I seem to have 3 GRUB installs. So whilst I update the one from my live session, the change does not appear in the boot up menu. I had installed 10.10 from a CD into a different partition (sda6), but that will not boot, so I have just deleted this and done another grub install and update. The kernel I am using has just been updated from 10.04 to 10.10 too, and it is this that I use and the Grub I have been working on (sda5).
I started another thread about this to get help booting into openSUSE after Fedora rewrote my bootloader and deleted all other entries. I managed to fix it but I never did find out why the following commands caused my system to boot to the grub shell instead of the grub menu.
Code: grub root (hd0,3) setup (hd0) quit reboot
Can anyone explain to me why these commands caused my system to boot directly to a grub shell? It's as if there were no /boot/grub/menu.lst files for it to use, but after I got everything back to normal, the files were still there.
If it helps, this is how the drive was setup before and now, except Fedora was on /dev/sda4 and has since been deleted.
Code: Device Boot Start End Blocks Id System /dev/sda1 1 262 2104483+ 82 Linux swap / Solaris /dev/sda2 263 13316 104856255 83 Linux /dev/sda3 * 13317 14621 10482412+ 83 Linux
I have a used PC that came pre-installed with suse 11.2.Unfortunately, I do not have the install disk to use in case of whatever.I already know that when configuring a dual boot with Windows and Linux, it is recommended to install Windows first.I do not have that luxury now as 11.2 is installed and GRUB is the boot loader.Question is, if I boot the Windows 98 install disk on boot, how to not mess up GRUB and still add Windows 98 to GRUB menu?
One hard drive only here. 98gb free.It seems that W98 install will overwrite GRUB in this situation - causing problems. Maybe not, I don't really know for sure.I just need to install windows 98 on the same hard drive and if possible, have suse and w98 visible on boot in GRUB.
When I start the computer the boot menu doesn't prompt, when I try to load it manually it doesn't prompt neither, it just reset the command line.The grub.cfg was generated by update-grub.It's really annoying to load the kernel manually each time the computer starts.
and I rebooted and grub menu not coming now. I have a dual boot with Win7. Ubuntu 10.04 is installed with WUBI. I can run WIN7 but can't run Ubuntu now.
I have debian squeeze installed but i also have Fedora 14 installed on another partition, the problem is that i can't get grub to boot into fedora, it boots into debian fine but it won't boot fedora (did i have to install grub to the partition instead of the mbr) and what is the entry for it in the grub.cfg file
i have a intel dual core pc with 2 hdd of 160 gb each in the 1st one i have windows 7 and open suse 11.2. in the 2nd one i have a split it into 100 gb and the rest i had kept for fedora 13. i installed the fedora 13 on the 2 nd hdd even after install.i only have the option to boot into either windows 7 or opensuse .. and no option to boot into fedora 13.how to add fedora 13 menu and boot in to it...
The installation of Fedora 11 on my hard disk went smoothly Next I wanted to use the method posted by terry60 on 2/19/2009 to boot multiple operating systems. However, I am getting hung up on getting a copy of /grub/menu.lstcopy of menu.lst is needed for use with EasyBCDIf I try to list the contents of menu.lst the Live CD operating system says permission denied and I need to be root Hence how can I get a copy of menu.lst when the Live CD operating system blocks my access.
i am running windows and fedora 12..both are working smooth...today when i switch on the laptop in morning i discovered that it automatically start windows..when again i restart it..it does not give any option to me for selecting which OS to run..i have seen grub.conf file it is right...i have done nothing...windows is booting smoothly..how can i boot to fedora 12 without reinstalling.
How do I remove old kernels from the Fedora grub menu? I have three currently and I want to keep only one old version to fall back if I have any problems with the current one. When I was using Ubuntu, I had Ubuntu Tweak which had an option to clean up old kernels from the grub menu .. is there something similar for Fedora?
have a intel dual core pc with 2 hdd of 160 gb each in the 1st one i have windows 7 and open suse 11.2.. in the 2nd one i have a split it into 100 gb and the rest i had kept for fedora 13. i installed the fedora 13 on the 2 nd hdd even after install. i only have the option to boot into either windows 7 or opensuse .. and no option to boot into fedora 13
I have a computer that only runs ubuntu and have decided to put fedora on. I put fedora on the computer and made a new partition for it. When I turn the computer on, it logs straight into fedora not even showing me a grub menu. Is there some way that I can update grub so that it knows that ubuntu is also installed
since i have installed the nvidia drivers i have lost the graphical boot and just had a bar at the bottom of the screen instead. i tried to get the graphical screen back by adding vga=795 to my /boot/grub/grub.conf but when i rebooted not only did i not get the graphical boot or the toolbar at bottom.
i got list of all the drivers and services it is starting with ok next to it. i have also since doing this lost the bit when restarting or shutting down getting the words restarting or shutting down and just get blank screen with flashing cursor. i removed the vga=795 and i still get the list of drivers/services loading.
how do i get the quiet option back. i have checked /boot/grub/grub.conf and it has the quiet in it.i have also tried running update-grub but get message command not found. i have attached the grub.conf file
In Fedora 14, the colors of the grub boot menu were changed. why, previous versions of the grub boot menu were always the same, that black bar on white letters.
Now suddenly in F14, it was changed to a white bar, on white letters, which is hard to see and looks stupid besides. How do I change those colors back to the old way? the black bar on white lettering?
I have been googling for this topic and I don't see anything in the docs listed for it so decided to ask here.
[URL]
ok I tried it, it didn't work, I tried that exact command it gave in the article, and the colors of the grub menu did NOT change!