Ubuntu Installation :: Making A Master Grub2 Menu?
Apr 29, 2010
I want to install more than on linux distribution on one computer (and the computer has Windows XP, too). How do you make a master grub2 installation that is in its own partition and that has entries that chainload different linux distributions that may have grub2 or grub?
View 9 Replies
ADVERTISEMENT
Feb 24, 2011
I could not seem to find any documentation on how to chage the X anf y coordinated of the grub 2 menu in order to place it in a differrent location on the screen and change is its size (not resolution), remove border.
View 1 Replies
View Related
Jun 3, 2010
I have Koala with Grub 2, working fine. Just did some updates and now the boot menu is getting long, too many kernels. Want to reduce to the last two kernels plus Win XP, so got online and looked for instructions in English. News flash: Nobody seems to care about this issue, there is absolutely nothing to be found on it for Grub 2. There is a SIMPLE command for Grub, "howmany", in menulst. Menulst is not used in Grub 2, so that's out. OK I give up, after searching for over an hour for Grub 2's equivalent. Maybe someone here knows how it's done? IN ENGLISH please, not "sudo I am an intelligent BEGINNER. The Grub 2 page says: "GRUB 2 allows users to create customized menu selections which will be automatically added to the main menu when sudo update-grub is executed." Note the word ADDED. What about REMOVING? Does anyone want to bother themselves with addressing this issue? I read somewhere StartUpManager can do this. Application Finder doesn't show StartUpManager on my machine, and reading about it at [URL].. as it seems to be Grub-1 related. I don't get the impression it will do what I want for Grub 2. If it does, they should say so, right??
I could remove the older kernels, but would rather just edit the boot menu. I found this for removing kernels: Open synaptic, do a search for "linux-image" and then remove the older kernels from your computer. Removing them via synaptic will remove them from the boot menu as well. Keep the kernel you are currently using plus one older one you know works. To find your current kernel: uname -r OK so I open synaptic and do the search. It comes up with maybe 200 files, some of which start with linux-image, scattered throughout the list. Oh boy, let a newbie loose on this. Just select and delete them all, why not? I can't tell one from another, the only difference is a cryptic number that means not one whit to me. There has to be a better way!
I got brave after editing etc/default/grub and doing update-grub, which reported the kernels by number, which I had forgotten. Then went back into Synaptic and hit the 'Sort By Installed' divider, which brought all the installed kernels to the top, where they make sense. Then I selected the two lowest-numbered and shot them in the head. They are gone.
View 3 Replies
View Related
Jun 25, 2010
I upgraded my main box to Ubuntu 10.04 and everything runs fine, except for a problem with grub: I can't modify the boot menu in any way, I'm stuck with what grub2 thought was the optimal setup at installation time (and it got it wrong, btw). The current boot menu lists:
- my older 9.10 install in sdb2 (one kernel)
- legacy windows XP install on sda1
- my even older 9.04 install in sdb1 (two kernel versions)
- my new install in sdb3, with only one kernel (the one coming with the distro CD)
I tried anything I could think of to modify this menu:
- modify the /etc grub config file then running sudo update-grub
- using a specific app (system manager? don't remember its name)
- upgrading to the latest kernel
- removing and reinstalling grub
to no avail: the menu is still there in the above form, and I have to manually select the 10.04 (old) kernel by hand every time I reboot.
View 9 Replies
View Related
Oct 22, 2010
i have been running Kubuntu 10.04 on my primary hard drive, and i have a second 1.5TB HD that i use for storage. so shrunk the secondary HD partition and created a second 50GB partition and i installed Ubuntu 10.10 on it and told it to rewrite the mbr on my primary HD. Where i am at: i took the menu entry from my Kubuntu "grub.cfg" and the entry from my Ubuntu "grub.cfg" and put them in the 40_custom file. so now when i boot-up my computer, it shows both installations at the bottom of Grub2s menu list. with all the menu entries that Grub automatically adds.
What i would like to know is how do i make it so that the Grub2 menu only shows the entries that i add to the 40_Custom file and not the randomly generated list aswell.
View 3 Replies
View Related
Dec 28, 2010
how I can setup the grub2 menu so that it does not timeout? What do I need to set in the configuration file? I did it once before on my old computer but forget now what I changed.
View 3 Replies
View Related
Jan 29, 2011
I'd like have some text written on my grub2 boot menu.
In legacy grub you could just add: title Foobar and you'd get "Foobar" displayed.
I tried: menuitem "Foobar" {} grub2, but it doesn't work. Any ideas how do you do something like that?
(Yes, I know writing grub.cfg by hand is not very smart. But I have a special situation: I wrote my own grub.cfg on a dedicated boot partition from where I chainload to other grub on other partitions. Those secondary grubs generate their grub.cfgs on the fly, so everything is OK )
View 3 Replies
View Related
Feb 28, 2011
I installed Win7 on a 2-disk RAID0 fakeraid. I then unplugged those drives and installed linux mint on a separate drive. I did it this way because if I left the drives plugged in, linux would jack up the fakeraid for those drives and make windows upbootable, and installing linux to the fakeraid itself is just too much of a PITA. So basically, this is the disk configuration, and there's no chance of me changing it.
Right now, I can boot into either win7 or mint by pressing F12 for the boot menu, and then selecting the drive the os is installed on. It would be nice if I could just add an entry to the grub menu for win7. I've used the menu.lst file before, but apparently all that has changed with grub2. I've checked out some of the grub2 docs and poked around in /etc/grub.d, but frankly, it seems to be orders of magnitude more complicated than it should be.
View 3 Replies
View Related
May 18, 2011
GRUB2 does not show Windows-XP Pro in the menu anymore.
Probably already posted before; however each case usually is somehow different. I use Ubuntu only occasionally to learn how it works.
After the latest update using Update Manager, quite a few packages were installed without any problem. However GRUB2 does not show the Windows-XP(Prof) partition in the menu anymore. Now I can't boot Windows because I can't select what is not shown.
1. This what I get with command "sudo fdisk -l" (in the present situation)
georges@PC1:~$ sudo fdisk -l
[sudo] password for georges:
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
[Code]....
It is already the second time that GRUB2 changes the menu items as it pleases, messing up the bootmenu. How can I repair the bootmenu in order to be able to boot Windows-XP, as before the updates ?
The current Ubuntu version is now 10.4 LTS The current GRUB version is "GNU GRUB version 1.98 Ubuntu10"
View 9 Replies
View Related
Feb 5, 2010
I have Ubuntu 9.10, PuppyLinux431 and Windows XP on a Toshiba laptop. I like Ubuntu, but the speed of PuppyLinux is addictive, so that was my default boot until I upgraded Ubuntu which included an upgrade to Grub2.
My problem: Grub2 doesn't recognise PuppyLinux. Using information from [url] I have made an executable file named 07_Puppy in /etc/grub.d and did update-grub from root. Still no luck. I can boot PuppyLinux from the grub command line using the following commands:
Just before grub displays the boot menu, I think I see a very brief message about a syntax error, but it's gone before I can read it.
Here is the contents of my grub.cfg:
Quote:
Why Grub2 doesn't see Puppy and let me boot it from the menu?
View 3 Replies
View Related
Mar 4, 2010
I recently upgraded grub -> grub2 on my karmic box. Grub2 worked when chainloaded from legacy grub, and also the first time I tried it standalone. Both times the grub2 menu came up.
I ran vbeinfo at a grub2 command prompt, and found my monitor's native res listed - 1280x1024. I added that to my /etc/defaults/grub and then ran update-grub, and rebooted. This time no menu appeared and the default entry booted straight away. I suspected that the resolution was not supported for some reason or that the way I entered it in the config file was wrong, so I commented it out again in /etc/default/grub, and ran update-grub again - to no avail.
I have since tried lots of different formats for the GRUB_GFXMODE, such as 1280x1024@24, 1280x1024x24, and the normal 640x480, but none of them give me a grub menu. I have even tried using GRUB_TERMINAL=console, to no avail. I have checked the /boot/grub/grub.cfg file each time to make sure my changes were put there correctly by update-grub. I have also made sure that timeout was set to 10, and the hidden timeout was set to 0. My GRUB_CMDLINE_LINUX_DEFAULT="quiet".
I have reinstalled grub2, grub-pc, and grub-common, and I have dpkg-reconfigured them all too. I have no idea what to do to get my grub menu showing up again.
View 6 Replies
View Related
Dec 24, 2010
but i really really new in ubuntu (linux), i just finished installing my ubuntu 10.10 desktop edition. after restart for the first time i can see my windows xp and windows 7 os were in the menu list but not my msdos 6.22 with fat 16 partition. I try to edit grub.cfg to add but i am not sure what the command line should i use in menu entry, could someone give an example. I really need that since i still make a programming project using C++ dos and Clipper.
View 2 Replies
View Related
Jan 11, 2011
I've just installed FreeBSD 8.1 on /dev/sda4 (FreeBSD slice), without installing the boot loader from FreeBSD (I've selected None when prompted for boot loader in sysinstall). Now I want to use my existing Grub2 from already installed Ubuntu 10.10 to boot FreeBSD also.
After some reading, I've added to the end of /etc/grub.d/40_custom:
After running sudo update-grub, grup.cfg file shows my new entry. The problem is that after restart, I don't see the new entry in the grub menu.
Another question, If i used chainloader +1, that means I need to have the FreeBSD bootloader installed also on /dev/sda4 right? For chainloading booloaders?
I didn't get to that step, I first want to see the entry in the menu.
Any idea what I might be missing/misdoing? (I also checked for blank spaces in the menuentry like the wiki for grub2 says)
View 1 Replies
View Related
Apr 8, 2011
I have serious problems hiding the Grub menu at startup.
What I want to do is simple boot into the first (and only) item without showing the menu to the user.
I have removed everything on the system so the only option is "GNU/Linux, with Linux 2.6.32-30-generic" in the menu.
My /etc/default/grub is like this:
Code:
GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
[Code].....
No matter what I do I always get the same result:
The menu is shown and no countdown!
It's like grub isn't reading the changes of /etc/default/grub
why I'm unable to hide the menu?
View 9 Replies
View Related
Apr 13, 2011
I have two hard drives - (1) 80GB (2) 500GB: the 1st HD has 3 partitions (in that order) - Windows 7, Ubuntu 10.10 & Swap. the 2nd HD is for storage only, and has 2 partitions.
I did the following - I installed Windows 7 on the first partition of the 1st HD, it booted just fine. Then I installed Ubuntu 10.10 on the second partition of the 1st HD.
Windows 7 shows in the GRUB menu alongside with Ubuntu. Ubuntu boots just fine, but when I select Windows it simply restarts the computer and the GRUB menu shows again.
RESULTS.txt of Boot Info Script:
Code:
Boot Info Script 0.55 dated February 15th, 2010
============================= Boot Info Summary: ==============================
=> Grub 2 is installed in the MBR of /dev/sda and looks on the same drive in partition #3 for (,msdos3)/boot/grub.
[Code]....
View 7 Replies
View Related
May 6, 2011
Having just upgraded to Ubuntu 11.04 from 10.10 I noticed that my Grub menu had not upgraded. The upgrade was not as straight forward as it should have been as the PC hung at the end of the installation resulting in a reboot and running dpkg in safe mode to get it all back up and running.
To fix the incorrect grub menu.lst file which was not updating, I renamed the original file and then ran sudo update-grub. It generated a new and correct file. However, my Windows partition was not listed as a Grub menu option.
[Code]...
View 2 Replies
View Related
Apr 30, 2010
I tend to update stuff slower than most - I'm still using Hardy and I probably won't upgrade to Lucid until June-ish. I wanted to test drive GRUB2 so I upgraded following instructions here:When I chainloaded GRUB2, I got a menu that only contained Ubuntu; my Windows Vista bootloader entry had disappeared. I couldn't find a sample "40_custom" entry to modify when I tried to create an entry for Vista myself. Had no problem booting into Ubuntu and I could still boot Vista from the old menu. Spent about 20 minutes on it, then I gave up and reinstalled legacy GRUB.
View 9 Replies
View Related
Dec 8, 2010
machine boots straight to Windows, Grub2 does not display the normal boot menu choices. Therefore, not able to boot into Ubuntu 9.10.Perhaps someone could look at this Results.txt file and shed some light on what went wrong.This machine was working fine for a long time, then all of a sudden, it starting booting straight to Windows.
View 9 Replies
View Related
Jun 10, 2010
i wiped my entire hard drive that had xp as its only OS. I freshly installed a Windows 7 ultimate and everything went perfectly. I then decided to install 10.4. I split the partitions correctly (i had experience doing this already with my laptop, which has xp/10.4). Ubuntu 10.4 install went flawlessly, except for one thing. Now when i boot up the pc, it goes straight into 10.4. I have tried holding shift during the start up to force the boot menu, and it just shows the Ubuntu 10.4 OS as choices. Any clue what i could do to make Win7 appear in the boot menu?
View 9 Replies
View Related
Nov 13, 2009
I'm managing a residential network. Each flat is its own subnet, and can only communicate with the other flats through a router (i.e. no broadcast). 95% of these 300 subnets only contains windows computers (from lambda users).
My final goal is to be able to browse the entire network from any computer.
I set up a samba server acting as a wins server, and every computer is aware of it because it is registered in the dhcp. So name resolution is working fine for everyone.
The same samba server is set to be the "Domain master browser":
workgroup = WORKGROUP
wins support = yes
prefered master = yes
local master = yes
domain master = yes
os level = 65
When I browse the network (using "net view" or "browstat view"), I can only see the servers which are in the same subnet as the domain master browser.
Now, when in a subnet the computers arrange themselves to find a "local master browser", the only visible computers are the one in that subnet.
What I don't understand is why all the local masters don't synchronize their lists with the domain master.
So, to sum up, every subnet get the following behaviour:
-if a local master is elected, the only visible computers are the one in the same subnet.
-if no local master is elected, the only visible computers are the one in the subnet of the domain master.
-if I add another samba, configured as a local master winning all elections, then the magic is working and the lists are synchronized.
What is expected:
-every computer can see all the computer from all the subnets.
View 1 Replies
View Related
Jan 15, 2009
I have some problem making shortcuts for 2 games to my Application/games menu. The menu you can edit by writing "alacarte" in the terminal. So this is how I do, I have 1 game, its a Linux client of the game Tibia, ive unpacked it and its in a folder inside my home folder. If I double click on either Tibia or StartTibia.sh the game starts without any trouble, but if I open alacarte and browse to that location and choose either Tibia or StartTibia.sh and then click on the new item in the Game menu nothing opens. Here is the location I browse to:
/home/som99/Spel/Tibia/StartTibia.sh
The next problem is with a windows game installed with wine, if I drag the existing shortcut file to the panelbar I get the icon there and can just click it and start it without any trouble, but I want it to be inside the applications/games menu. So I go to the alacarte editor and browse to the main directory of the file inside /home/som99/.wine/drive_c/Program Files/gamename/game.exe and press ok but when I try to start it it asks for its main files located at Z:homesom99 the funny thing is that it starts if I move all files inside the games main folder to home without putting them in any folder :/
So I tried to write the following as is written in the working shortcut in wine:
wine "C:Program FilesTibiagame.exe" and I get the same error as it somehow think that the locations is homesom99 :S
Also adding in properties of the new shortcut item the following:
"/home/som99/.wine/drive_c/Program Files/game" wine game.exe
I get this error while trying to start it:
Failed to execute child process "/home/som99/.wine/drive_c/Program Files/game" (Permission denied)
I have put permission on the folders but same result.
As I am going to make alot of shortcuts to many programs both trough wine and games I've unpacked I would like to know how to do this.
I might add that if I open the terminal and write:
cd /home/som99/.wine/drive_c/Program Files/game
to get to the folder then writes:
wine game.exe
Then the game starts without any trouble.
View 2 Replies
View Related
Mar 7, 2010
i initilally installed ubuntu 9.10 then installed windows 7 ,then i recovered grub2 using livecd as told in the post [URL] i did "sudo update-grub" and got windows 7 menu entry but when i select that entry windows 7 does not load but the grub2 is reloaded again.
i cant boot to windows 7.
Windows 7 have 100 mb partition "System Reserved" the grub2 points to that partition but still windows 7 not loaded.
sudo fdisk -l
Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x3c3a81f5
[Code]....
View 3 Replies
View Related
May 17, 2010
I went through so many post but I haven't found the proper answer yet hope you have an Idea1. Grub2 saves only Linux OS as last selected no Windows OS2.It is possible to boot into a cdrom (drive)?
View 2 Replies
View Related
Jan 5, 2010
easy way to change the menu in grub2 , was used to editing the menu.lst but it`s gone i know theres a new file called grub.cfg that is done on the fly.
View 2 Replies
View Related
May 6, 2010
I'm having an odd dual-boot problem. Briefly, I can't boot Windows XP from its entry on the GRUB2 menu. If I set the disk order in BIOS so that the machine boots off the drive with Windows XP, XP starts normally. However, if I boot off the Ubuntu drive, which brings up the GRUB2 menu, choosing the "Windows 7 loader" option (why it says Windows 7 when there's only Windows XP is another question!) just makes my system reboot.
It appears there's some problem with the way GRUB2 attempts to start Windows XP. I'm also wondering why GRUB2 thinks it sees the Windows 7 loader. There shouldn't be any Windows 7 anything anywhere. I once had a Windows 7 RC install on the same disk as Windows XP, but I wiped the Windows 7 system partition and reallocated its space as just another NTFS partition. FWIW, GRUB2 is installed on the MBR of the disk containing my Ubuntu install. Windows XP has a different drive all to itself.
View 9 Replies
View Related
Aug 1, 2010
I've accidentally installed grub 2 on a BackTrack4 usb install and I need some instructions to "convert" the old menu.lst so grub2 will automatically boot BT4. Here's the file contents:
Code:
# By default, boot the first entry.
default 4
# Boot automatically after 30 secs.
timeout 30
[Code]....
View 1 Replies
View Related
Aug 17, 2010
Can i change the "gnu grub version 1.98-1ubuntu5" shown at the top of the bootloader to something else?
View 7 Replies
View Related
Aug 4, 2011
After a long night I managed to place my grub2 files on a separate partition on my hard disk. I am now able to edit my grub.cfg file directly (no more pesky update-grub commands) and I can create my own custom named menu entries in grub.cfg, the only problem I have encountered is in theming. I originally used burg to theme my menu, but found it to be a little unstable and erratic, so I have decided to use native theming options like font, color, and splash image.
But unfortunately, all the instructions for using these features invoke editing the 05 Debian script to make changes. As I no longer use this feature, I need to understand how editing the Debian script affects the grub.cfg file so I can manually create my menu. If you have themed your grub2 menu, please post the contents of your grub.cfg so I can get a feel for the what commands exist.
View 3 Replies
View Related
Mar 20, 2010
Ubuntu 9.10 64bit
Grub2 doesn't have menu.lst. If I want to remove on the booting screen, e.g. Code: Ubuntu, linux 2.6.27-2-generic Ubuntu, linux 2.6.27-2-generic (single-user mode) How to do it?
View 9 Replies
View Related
Jul 14, 2010
I've been following this guide [URL].... on creating a custom boot menu for Grub2 and I've run up against a wall. I made it all the way to the section on testing the custom menu but when I do, the new menu refuses to load. When I get to the boot screen I see the standard menu plus an extra entry at the bottom that will show what my custom menu will look like. When I select it though, it won't load. The screen blinks and remains on the main menu. I don't have the correct 'set' and 'search' lines in the 40_custom entry and I don't know how to correct them.
View 6 Replies
View Related