Ubuntu :: Grub To Look At Config File And Display Menu?
Dec 24, 2010
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 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?
New install of FC12 and after logging into the KDE desktop then going back to Gnome, the Desktop Config File for KDE shows on the Gnome desktop. I ran gconf-editor and I can see the file but no option to not display in Nautilus. Is there an easy way to not display the file on the Gnome desktop without messing up the KDE config file?
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?
I want to be able to change the settings for my top down dual head display. Basically one monitor sits on top of another right now. How it was setup before was that they used to sit right next to each other so when you mouse over to the right it would go to the new screen. The problem is now when one sits on top of the other I want to be able to just mouse up instead of mousing over to the right. I don't want to use the gui to be able to do this. I want to find out what config file and specifically what setting in the config file would allow me to change this.
I have 2 harddisks 1 tb and 160 gb. In 1 tb fedora is installed. In 160 gb windows is installed. 1 tb is the master. 160 gb is not being detected. How to edit grub.conf file to edit the menu?
The content of grub.conf is # grub.conf generated by anaconda # Note that you do not have to rerun grub after making changes to this file # NOTICE: You do not have a /boot partition. This means that all kernel and initrd paths are relative to /, e.g. # root (hd0,1) # kernel /boot/vmlinuz-version ro root=/dev/sda2 # initrd /boot/initrd-[generic-]version.img #boot=/dev/sda default=1 timeout=5 splashimage=(hd0,1)/boot/grub/splash.xpm.gz hiddenmenu title Fedora (2.6.35.6-45.fc14.i686) root (hd0,1) kernel /boot/vmlinuz-2.6.35.6-45.fc14.i686 ro root=UUID=bfc7d406-5ae3-4335-a2d8-37472dcfa7dc rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=us rhgb quiet initrd /boot/initramfs-2.6.35.6-45.fc14.i686.img title Other rootnoverify (hd1,0) chainloader +1
I did not have any /etc/X11/xorg.conf, so I read on these forums that system-config-display would create one for me. I ran system-config-display and it created an xorg.conf. But now my display is all messed up!! So, I deleted the xorg.conf and nothing changed. Why on earth would the display still be messed up if I deleted the file that was causing it?? Does system-config-display change somethign else?
i am trying to change the boot order on the GRUB menu so that the countdown automatically starts on an older kernel. From what i can see all the solutions on the web want me to edit the /boot/grub/menu.lst file. The problem is that i don't have one. Someone also mentioned that if i don't have a menu.lst file then i should look for the grub.conf file. I don't have on of those either. The closest thing in /boot/grub is grub.cfg but that looks nothing like the descriptions i have heard of /boot/grub/menu.lst file
I have a pc that double boots Ubuntu Linux and Windows 7..I 've downloaded the latest version of Ubuntu, 9.1, burned the iso and then had a clean install of Ubuntu, over the last version.. After the reboot, GRUB stopped working printing ERROR 15.SuperGrub disk did nothing, so I opened Ubuntu Live and checked my hard disk for /boot/grub/menu.lst but I couldn't find it
I'm trying to find out which hard drive my vista installation is labeled in ubuntu so I can finish editing the grub menu.1st file.
All it says on the sourceforge page is
Quote:
Root - You likely have something along these lines "(hd0,1)". "hd0" refers to the your hard drive while 1 points to the partition. Note that for GRUB, partitions start at 0 and not 1. for example 0=Partition 1, 1=Partition 2 and so on.
It doesn't say how I can find out which one my vista is. So I need to know what my hard drive is in linux. Is it hd0,1 or hd0 or what?
I am trying to change the default boot in grub to the last OS, and cannot find the menu.lst file under the /boot/grub directory.
I have tried to use the locate command to find the menu.lst file, but it doesn't exist. I have grub 1.98 installed and was wondering if the file I need to edit might be under a different name.
I recently updated Ubuntu to 10.04 (lucid) Kernel linux 2.6.32-27-generic gnome 2.30.2
While connecting to session manager: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed.
bash: /boot/grub/menu/lst: No such file or directory
I have a "master" IDE HD upon which reside several Linux OSs and a couple of Windoze OSs. The boot system is Mandriva using Grub Legacy and the latter's menu.lst file is where I select which OS I wish to use. I use HD physical carriers for my HDs. I used GPartEd to copy over newly installed OSs on another drive to the "master" HD. The commands in the menu.lst file for Linux OSs are representative as follows:
Name of OS root (hdx,x) configfile /boot/grub/menu.lst
Task: Enter Grub2 which, I seem to understand, is a work in progress. I presume that some commands in Grub2 are not recognizable by Grub Legacy. I installed Debian 6 on another drive and I wish to incorporate an entry in the menu.lst file described above using the technique described above. Is it possible to use the menu.lst file in Grub Legacy (0.97) in order to boot the Grub2 Debian OS? Or am I chasing windmills?
I recently installed a 64-bit version of centOS 5 alongside a 32-bit version, which I use. Turns out the 64-bit version absolutely will not boot and I'm stuck with it as my default boot option. Since the grub being used resides on the 64-bit half, I cant edit the menu file but I know theres a way to do this without it, through grub itself. I have about 29 render nodes now with this problem, and whenever they need to be rebooted I have to hook a monitor up to each one and hold its hand through the boot process. How to change the grub menu through grub itself, basically just change the default boot option and then have it stay that way?
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?
My viewsonic monitor will only go to 800x600 resolution on ubuntu..I had a similar problem with centos but went in an manually configured as root the display GUI and increased the resolution. Is there any way to do this with ubuntu? 800x600 is annoying on a 17" high end monitor
My machine is a new Fedora Core 12 install. The install did not make an /etc/x11/xorg.conf file by default, which is odd. So, I want to change things with the display. But there's no "system-config-display" in /usr/bin. What's going on? Why wasn't this installed by default? I've had lots of other problems with X on this machine as well:
the 10x20 fonts were missing XFree86-Misc error messages whenever I start an xterm I also receive these warnings, intermittantly, when I create xterms:
Code: Xlib: extension "XFree86-Misc" missing on display ":0.0". xmodmap: please release the following keys within 2 seconds: Control_L (keysym 0xffe3, keycode 37) xmodmap: please release the following keys within 4 seconds: Control_L (keysym 0xffe3, keycode 37) xmodmap: please release the following keys within 8 seconds: Control_L (keysym 0xffe3, keycode 37)
With this many problems I want to know if there's something in general broken with X on FC12, or was that just my install, or what?
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 have google'd the crap out of this and have yet to find a "solved" forum. I currently have 2 sapphire ati 5770's in xfire. I also have two monitors. My (preferred) primary display has a dvi input and my other display is hdmi. I have them both plugged into only one of the cards. For some reason it keeps setting the hdmi display as the primary. And I want them in extended view. The ATI CCC suite does not support changing the primary monitor and I have tinkered with the xconfig but I do not really know what I am doing, so I have ultimately not been successful. here is my xorg.config file.
I just updated from Fedora 8 to 10 to 11 today. When I run system-config-display I get the following message:
Traceback (most recent call last): File "/usr/share/system-config-display/xconf.py", line 33, in <module> import rhpxl.monitor ImportError: No module named rhpxl.monitor
If I comment out that line, the next one fails, and so on. I installed a newer package, 1.1.3-2.fc11, because I thought maybe the installer didn't put it on and that behaves the same. Why this won't run? I would desperately like to use my widescreen monitor and I'm hoping that 11 will finally support my intel graphics correctly.
When I click on System Administration Display I get the root pasword entry. I enter the root password and then nothing. I stumbled on another way to set the resolution before but I can't find it now
When I installed F11 it didn't have the i810 driver so it defaulted to VESA. I upgraded to F12 using preupgrade and thought it would re-detect the graphical hardware and didn't. I want to recreate xorg.conf for my computer (Toshiba Satellite A45-S25) so I can use Compiz and some 3D application but I can't find system-config-display. It's missing from the system and I don't know what package it belongs to so I can't re-install it.