General :: How To Modify Grub Menu
Nov 3, 2010How can I modify my grub menu? I remember that on openSuSe was /boot/grub/menu.lst. But in debian there isn't it. In ubuntu is the same for modifying grub menu?
View 1 RepliesHow can I modify my grub menu? I remember that on openSuSe was /boot/grub/menu.lst. But in debian there isn't it. In ubuntu is the same for modifying grub menu?
View 1 RepliesI 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?
View 5 Replies View RelatedHow do I add/delete modify the menu system on the Fedora Menu Bar, i.e. If I want to add a custom menu to the "Applications/Office" menu how do I do it?
Fedora Core 14 On Gnome 2.32.0
(Linux xxxxx 2.6.35.6-45.fc14.i686 #1 SMP Mon Oct 18 23:56:17 UTC 2010 i686 i686 i386 GNU/Linux)
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?
View 4 Replies View RelatedI 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):
# dd if=mbr+part.bin of=/dev/sda bs=1 count=446 conv=notrunc
2. By using the FEDORA rescue CD, I installed grub unto the new hard drive as follows:
Code:
# chroot /mnt/sysimage
# grub-install --root-directory=/boot hd0
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?
Code:
# ls -l /boot
total 22888
-rw-r--r--. 1 root root 1274567 2009-05-27 16:39 System.map-2.6.29.4-167.fc11.i686.PAE
-rw-r--r-- 1 root root 1274538 2009-06-16 22:27 System.map-2.6.29.5-191.fc11.i686.PAE
[code]....
I am used to a certain root menu. I want to be able to modify the root menu. how do I do it. I mean the menu that come up when I right click on the desktop..
I am on x86_64 FC12 - Gnome.
currently it has "create folder, create launcher etc.. "
I would like to be able to change which OS is the default for grub to boot, and I would like to be able to do so easily from either Ubuntu or Windows. I suspect that this may be possible if I put /boot on an ntfs or FAT32 partition (though I do not wish to install Ubuntu itself on such a partition). There I would put multiple versions of menu.lst specifying different defaults. Then, before a restart, I can run a script which will copy, as the 'true' menu.lst, the one which specifies the desired default for my next boot.
Is this possible? If so, what do I need to worry about? (I must admit that it is unclear to me how the code in the MBR even finds the correct menu.lst.)
There is a thing I have worried about with a dual booted system and which I suspect I do not need to worry about. However, I would like to be reassured. I have ntfs partitions and removable drives which both Windows and Ubuntu can access. If a crash occurs which leaves a drive "dirty" (e.g., after a power fail), I am assured that if I reboot the OS in which the crash occurred, it will realize that the drive is "dirty" and will take measures to assure that no corruption will ensue. However, I am not so sure about the correct response if the next OS I boot is different from the one that crashed. I think Ubuntu and Windows both use the same convention for noting that a drive is "dirty", in which case I am worrying about nothing.
The relevance of the above worry in this menu.lst context is that, if it is important to reboot the same OS after a crash, then I would also include for each OS on _startup_ a script that would make itself be the default for a next boot.
I want to modify some of the menu items in Unity to add some startup parameters to existing menu items. How do I do this in Unity? How do I look at the properties of the menu items? Where is this located?
View 1 Replies View RelatedHow do I modify the Applications menu list to add or delete items? I have tried to right click but with no success.
View 6 Replies View Relatedhow modify the file grub.cfg?, is for 6.0, the grub2.
View 14 Replies View RelatedI've previously had a dual boot Vista/Ubuntu machine that was working fine. Fast forward, I'm not able to boot into Vista at all and decide to reformat, return to factory settings after which I'll simply reinstall Ubuntu to get my functioning dual-boot back. I reformat the drive, everything seems to work fine and when I reboot I'm met by the GRUB screen rather then the Vista bootloader screen I expected. I select the Vista option and rather than starting to boot, seeing the Windows splash and then breaking (as it's been doing for a few weeks leading up to my decision to reformat), I'm promptly given a message that it can't find the disk 5252-ACFA (that Vista was previously on). After further inspection, my Ubuntu partition is still in tact and untouched, so I think the 'reformat' simply reformatted the Vista partition not the entire HD as I'd wanted. How do I modify GRUB to point to the new correct Vista boot?
View 4 Replies View RelatedTrying to change with the entry of grub:
sudo kate /boot/grub/grub.cfg putting "Windows 7" in place of Windows Recovery Environment (loader) on /dev/sda2.
Just launch the command sudo update-grub charge me more:
-Found linux image: /boot/vmlinuz-2.6.35-22-generic
-Found initrd image: /boot/initrd.img-2.6.35-22-generic
-Found memtest86+ image: /boot/memtest86+.bin -Found Windows Recovery Environment (loader) on /dev/sda2
Windows 7 should be written here. The procedure is another?
I've just installed fc 13 on my laptop. It's got windows and mepis linux on here also. the installer for fc only found windows and I was wondering if there's a way to modify the graphical grub screen to contain mepis linux or if i have to disable it and use a standard text screen for grub.
View 1 Replies View RelatedMy Slackware boots using the huge kernel. I am not using LILO; I am using GRUB from the extras directory on the DVD. I followed the tutorial @ [URL] up to the point where it discusses modifying LILO. My /boot/grub/menu.lst reads, in part:
# Linux bootable partition config begins
title Slackware Linux on (/dev/sda7)
root (hd0,6)
kernel /boot/vmlinuz root=/dev/sda7 ro vga=normal
# Linux bootable partition config ends
This boots the huge kernel. What changes must I make to the above menu.lst entry to boot using the generic kernel?
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.
I also reinstalled grub-pc package, but no change.
Tried upgrading from 8.04 lts to 10.04 and it wouldn't work b/c of too many mods to my 8.04 system? So I tried a fresh install per usb stick. System kept locking up during install, as well as when I run it from the usb, I've since learned. graphics card? I can't log into windows either per the grub loading please wait error 15. I've googled & searched the forums & everything I've tried doesn't work, there were some possible solutions that I don't understand how to do. can't get to a terminal to check or modify anything. Hitting "e" at the boot menu does nothing. I don't know how to do anything from here! Compaq Presario SR5350, 2GB RAM, Dual Core Proc 2150MHz. Dual boot w/Vista, HDD is partitioned separately with Root, Home & swap. Also, sda5 or / has been formatted to ext4, still using grub 1.5.
View 9 Replies View Relatedchange the boot menu - GRUB
I regularly update my ubuntu (10.04), and new minor versions keep accumulating on the GRUB screen. Right now I have 5 different versions listed on the GRUB, even though I always select the latest version to work with.
Am I supposed to do anything to get rid of the old version references? Do these old versions affect disk space/performance?
I have two separate Linux installations on my system which I can access from grub. Is there a way to get back to the grub menu to access the other system without having to reboot?
View 2 Replies View RelatedI had Windows Vista installed on my computer and created a partition to install Fedora 15. I chose the option to install fedora on any free space, so it should have installed on the empty partition. When I boot up, there are two boot options. Fedora and Other. When I select other, it gives an error:BOOTMGR not found.Is there a way to add Windows Vista to the Grub Bootloader by editing the grub menu. I don't know if it will help, but here is what I get when I run fdisk in the terminal:
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
[code]....
if it's possible to see or retrieve from the system which menu option from the grub boot menu was selected afterall.
View 1 Replies View RelatedI had debian squeeze already installed, then installed win 7. Windows overwrote by MBR, as I expected it to, so I used an ubuntu live cd to reinstall grub2 to debian root.
I rebooted, and sure enough I had grub back. The boot menu has debian on it. Just debian (crunchbang actually, but its the same thing).
So I added a script in /etc/grub.d (called Windows_11) to create a windows chainloader entry in grub.cfg, and ran update-grub.
Update-grub picks up my /etc/grub.d/Windows_11 script, and adds an appropriate chainloader entry to /boot/grub/grub.cfg.
So I would expect this new chainloader entry to show up in my boot menu when I boot up. But it doesn't; on booting I only have the option to select debian.
Here is my /boot/grub/grub.cfg -
Code:
### BEGIN /etc/grub.d/10_linux ###
menuentry 'CrunchBang Linux, with Linux 2.6.32-5-686' --class crunchbang --class gnu-linux --class gnu --class os {
insmod part_msdos
[Code].....
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?
I want to edit the GRUB menu in ubuntu but Menu.1st is missing.When I open the /boot/grub.cfg from terminal I cant save it.
View 7 Replies View Related9.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.
View 1 Replies View RelatedHere is how I created a Grub2 boot-cd with a (grub.cfg) menu:
mkdir /tmp/cdroot
mkdir /tmp/cdroot/boot
mkdir /tmp/cdroot/boot/grub
cp /boot/grub/grub.cfg /tmp/cdroot/boot/grub
cd /tmp
[code]....
NOTE: The above proceedure assumes you already have a grub.cfg file. If you don't, create one in the /tmp/cdroot/boot/grub directory
In my Red Hat 7.2 , the /boot/grub/grub.conf has the following data :
But when I reboot my Red Hat server , I don't see the Grub menu to say edit the boot kernel .
I hav two 40 GB hard disks.RHEL5 is installed on 1st and Windows on 2nd. In order to use each OS I manually hav to go and change the "first boot device" option in BIOS setting and boot into required OS. GRUB doesn't show Windows in its boot menu.How can I make GRUB recognize Windows and boot into both OS using GRUB boot menu?
View 1 Replies View RelatedI 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?
View 2 Replies View RelatedI have two operating systems installed in my computer. one is Windows XP( sp2 ) and another is Ubuntu Linux 10.04Lts. I reinstalled Windows XP. After rebooting, the grub menu is not displaying, only windows is booting, there is no sign of Ubuntu. Is there any way to restore the Ubuntu or I have to freshly install Ubuntu again ?
View 3 Replies View RelatedIn order for me to get started with Linux, I downloaded & installed Virtualbox (V3.2.10) on my WinXP machine, and downloaded the Puppy Linux image from as per[URL].. When I start up the VM, I get a GRUB menu allowing me to boot
Quote:
Linux (on /dev/hda1)
Install GRUB to floppy disk (on /dev/fd0)
Install GRUB to Linux partition (on /dev/hda1)
I tried the first option, which results in Quote:
Booting 'Linux (on /dev/hda1)'
root (hd0, 0)
Filesystem type is ext2fs, partition type 0x83
kernel /boot/vmlinuz root=/dev/hda1 ro vga=normal
[Code]...