Ubuntu Installation :: Where Does GRUB2 Get The Entry Name From
Jan 17, 2010
Here is my current setup. I have installed Windows 7 Home Premium 64-bit, Ubuntu 9.10 64-bit, and BackTrack 4 Final in that order. All operating systems are able to boot and all is working well. The only problem I'm faced with is really just an annoyance. Which is BackTrack is showing up with a "Ubuntu 8.10" entry name.
Now I did some research on this. I found out that BackTrack was based on the Ubuntu 8.10 OS so it makes sense why it would show up that way. I found several articles and topics explaining how to modify the GRUB programming files. I guess to change the entry name, but all of them don't seem fool proof to me nor the best way to go about doing things.
One thing I wasn't able to find info on is where GRUB2 actually gets these entry names from. My theory is if I can find out where GRUB gets this info from, I can simply log into the BackTrack partition and change where the "Ubuntu 8.10" entry is to "BackTrack 4" and then run the update-grub2 command within Ubuntu to update the entry names.
View 7 Replies
ADVERTISEMENT
Aug 17, 2010
Ive installed a fresh copy of ubuntu onto my laptop, dual boot with 7. Everything runs smoothly except the grub. So in grub i have an entry of vista loader. I have removed the ubuntu recovery mode and the memtest entry so now i have 3 entries
Ubuntu
vista loader
7 loader
How i can remove the vista loader? PS i have never had installed vista onto my system i bought it brandy new with 7 pre-installed.
View 8 Replies
View Related
Jun 22, 2011
GRUB2 replaced the boot entry for Windows 7 when I installed Windows XP. I tried to create my own menu entry for Windows XP but it seamed to me that it was superseded by the Windows 7 boot loader. I have a brand new desktop PC - Core i7 processor, 2 TB hard drive, 6 GB RAM.
I don't know how to bring back a menu entry that was over written / Superseded by another OS being detected by update-grub; in this case Windows 7. I installed Ubuntu 11.04 at the end of many other Linux OS's. So it is a Multi-boot setup. Basically Windows XP has replaced the Windows 7 boot entry in the GRUB 2 Boot menu after running update-grub.
Then to get Windows 7 back I booted off the Windows 7 Install DVD and used the boot repair option. This then changed the working Windows XP Boot Loader to boot Windows 7 which I wanted but there was a catch. Windows XP didn't boot any more because it was replaced / Superseded. The Linux OS's boot fine.
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
Nov 6, 2010
I have two partition in my netbook (plus swap):
/dev/sda4 with Ubuntu 10.4 /dev/sda5 with Centos 5.5
I use Ubuntu obviously. Centos is there because I need to run some test on that distro. The problem is Centos uses Grub and Ubuntu uses Grub2.
This is /boot/grub/menu.lst from Centos:
Code:
default=0 timeout=5 splashimage=(hd0,4)/boot/grub/splash.xpm.gz
title CentOS (2.6.18-194.17.4.el5xen)
root (hd0,4)
kernel /boot/xen.gz-2.6.18-194.17.4.el5
module /boot/vmlinuz-2.6.18-194.17.4.el5xen ro root=LABEL=/1 rhgb quiet
module /boot/initrd-2.6.18-194.17.4.el5xen.img .....
This was generated running update-grub2 and grub-install under Ubuntu. It's not working. It gives me something like bad magic number. How can I convert the grub1 entry in a grub2 shape?
View 3 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
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
May 29, 2010
I have a working Ubuntu install with the Grub2 bootloader. I need to manually add an entry to boot Fedora 13 off of sda. Sda1 is the boot partition, sda2 is LVM. None of the examples I've tried work. I do also have F13 grub installed on sda, but chainloading to it didn't do anything other than a blinking cursor.
View 5 Replies
View Related
Feb 19, 2011
I have installed Sabayon 5.4 on my laptop besides Ubuntu 10.10. During installation of Sabayon I did not opt for a bootloader as I did not want to disturb the already existing Grub2 on MBR from my Ubuntu installation.After successful installation of Sabayon, I booted into Ubuntu and updated the Grub which detected Sabayon correctly. Then I rebooted and tried to boot into Sabayon but I could not do so. The booting process stopped with the following error -
Code:
Activating mdev
Detected real-root as md device. Setting up device node
Scanning for Volume Groups
[code]....
So evidently, Grub has wrongly taken the values of root as /dev/md0 and swap as /dev/sda2.I again went back to Grub2 screen edited the Sabayon entry by replacing /dev/md0- with /dev/sda4 and swap:/dev/sda2 with swap:/dev/sda8 and pressed Ctrl+x. Now I was able to boot into Sabayon. how do I make these changes permanent. Which files should I edit so that Grub correctly read root as /dev/sda4 and swap as /dev/sda8?
View 4 Replies
View Related
Jun 23, 2011
is it possible in grub2, that a temporary default entry. For example i have 2 menuentry in grub.cfg 0 & 1. my default is 0 but i want to automatically boot once to 1 and it changes back to 0.
View 4 Replies
View Related
Jun 8, 2010
I have two ide hard disks. One with windows and other with ubuntu 10.04. i want both windows and ubuntu in grub menu so what should i do ?
View 3 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 6, 2010
I have installed ubuntu 9.10 and everything was working fine. Just a minutes ago a window popped up telling me that a complete update couldn't be completed, and asked me to go on with a partial update. I did it and then a window popped up (I think it was debconf running) asking me if I wanted to delete phpmyadmin database configuration or if I wanted to keep it... seemed like the updater was removing quite a bunch of packages!
After that I was presented with a long list of packages to be removed (among them apache2, php5, linux headers, etc.) I thought it was going to remove them in order to reinstall them latter, so I let it go) but now there's no ubuntu entry in the grub menu, so I had to boot with windows! Right now I'm downloading ubuntu 9.10 livecd to give it a try...
View 5 Replies
View Related
Jan 14, 2010
My problem is this, I decided to try Pardus since I had the disk space available and learned that it never created a entry for Ubuntu 9.10 64-Bit. I have tried many different boot options and have only gotten it to show the first black and white bootsplash but never can continue to boot. Is there a option I am forgetting to add via Pardus's GRUB editor or is it something else?
View 3 Replies
View Related
Mar 10, 2010
Update Mgr got me a bunch of updates today, including a kernel (2.6.31-20). I was doing something else, and when it prompted me to do something with menu.lst, I accidentally accepted the default, which I think was to keep menu.lst unchanged.
As a result, the new kernel was installed but not added to menu.lst, so I guess I can't boot to it.
Is there a way to tell my computer, "make the entries into menu.lst automatically"
I guess I could put the entries in manually, but as a beginner, I'm pretty scared to be messing with that file...perhaps if someone has a link to an exceptionally understandable explanation...
View 4 Replies
View Related
Apr 2, 2010
i just installed ubuntu 9.10 netbook remix, i made a partition (sda6) for it, first i had only opensuse, and when i was installing ubuntu, i put the bootloader in (sda6) the Opensuse bootloader is installed on MBR,
[code]...
View 5 Replies
View Related
Nov 11, 2010
I just went from Jaunty to Maverick. I booted Maverick and manually mounted my Windows Network drives by clicking on the appropriate "mount" command in the directory /media.I then created an fstab file like I did in Jaunty. Here is the smb mount command that I had in the fstab file. I had a file with the user id and password in the credentials file.Code://???.???.??.?public_p/media/servername smbfs credentials=root,dmask=0777,fmask=0777 0 0This provided me access to my server for the past 18 months.I modified the fstab file for Maverick which was working fine for 3 days so I would automatically mount the server drives.
View 1 Replies
View Related
Jan 2, 2010
i have puppy 4.2.1 installed on my hdd and have frugal installed a older version inside the existing puppy and would like to add it to the existing GRUB menu
View 6 Replies
View Related
Jan 26, 2010
I currently dual boot and wish to know how to remove the Windows partition/drive while still allowing Ubuntu 9.04 to load safely as my main OS. I know how to restore windows partition by;
If MBR gets damaged boot from MS Windows Xp disc, Select "R" for "recovery console", select main windows installation drive (admin password usually nothing, just press enter) and type "FIXMBR" this will allow you to boot windows again, but Ubuntu partition will be unbootable and require installing ubuntu again to dual boot.
But this leaves Ubuntu partition Un-bootable as it removes the grub menu, how would I do the same for Ubuntu and make window partition un-bootable so I can remove it?
View 5 Replies
View Related
Jul 9, 2010
Ubuntu's update manager recently updated the Grub menu.lst file. It let me decide if I wanted to keep my old menu.lst or the new one. After deciding that I was fine with the new one, I found out that I can no longer boot into Windows 7. I had previously edited menu.lst so that Windows would be at the top of the list, however, I didn't notice that this had put it into the automagic update area, and I realize now that I should have just edited what the default number was instead of moving around the entries.
Anyways, I can no longer access my Windows 7 OS via Grub, and I was wondering what sort of fix I can have for this. I've tried running update-grub, but it hasn't fixed the problem. The Windows bootloader is on the first partition of the only hard drive, as far as I can remember.
View 9 Replies
View Related
Sep 12, 2009
I want to avoid kernel id in Grub entry. I have searched before and one poster (can't find it again) posted a very simple Fedora Grub entry that just pointed to Fedoara's menu.lst. which worked.
For Suse I use:
title openSUSE 11.1 (on /dev/sda7) by symlinks
root (hd0,6)
kernel /boot/vmlinuz root=/dev/sda7 splash=silent showopts vga=0x31a
initrd /boot/initrd
savedefault
boot
I nave tried:
title Fedora
root (hd0,4)
rootnoverify (hd0,4)
chainloader +1
Where Fedora is on sda5 but, doesn't work for some reason.
View 6 Replies
View Related
Feb 18, 2010
If in Software Sources I have "Download from" set to "Server for Australia", then when I run sudo apt-get update, I get a warning at the end
Code:
Reading package lists... Done
W: Duplicate sources.list entry http://dl.google.com stable/main Packages
[code]....
View 3 Replies
View Related
Jul 9, 2011
How to auto entry the X window (xfce 4) on debian 6 base system. I install Debian 6 only Base system, then install xfce4 use:
apt-get install xfce4
I can type "startx" entry the xfce4. I want auto entry the xfce X window, when the computer is started. How can I do it?
View 4 Replies
View Related
Jul 26, 2009
After installation of Windows XP in the disk where Linux was installed in another partition the GRUB menu allowing to choose operation system to load dissapeared. This menu previously appeared right after switching the computer on. But after installation of Windows in the partition intended for it only WindowsXP is loaded automatically once I switch on my computer. But switching it on with Linux rescure cd-disk results in loading my ordinary Linux from hard drive. This shows that Linux is not destroyed at the loading of Windows, but just made unreachable. Possibly installation program for Windows has destroyed GRUB or some of its files. Does somebody know how to restore normal functioning of GRUB?
Details:
I am using Scientific Linux 4, which is derivative of RedHat Enterprise Linux.I have currently installed WindowsXP SP3. But previously I had the same problem with SP2 at the same computer and the same partition. At that time I needed to reinstall the full Linux after installation of Windows. This was not a problem, since this was right after its purchase and there was nothing useful. But recently I needed to re-install Windows, now it is SP3. And unfortunately I have received expected result: Windows have been installed, but it made unreachable Linux. Now I need to find a way to solve the problem with fixing access through GRUB to all systems without reinstallation of Linux, since it will be too time consuming to pass all its adjustments and loading which I need.
Probably the problem is typical and well-known. Grub, Linux in one partition and installation or re-installation of WindowsXP in another partition. How to repire GRUB and entries to all systems after that?
View 7 Replies
View Related
May 28, 2011
Upgraded to 11.04 - radeon driver gives error above in log below - screen works (software rasterizer) for a while and then eventually freezes.
fbdev driver works.
Installed very latest software updates available on net.
[ 20.483]
X.Org X Server 1.10.1
Release Date: 2011-04-15
[ 20.483] X Protocol Version 11, Revision 0
[Code].....
View 4 Replies
View Related
Apr 12, 2011
I have just installed Debian and the installation went smooth (net installation). The last prompt was to specify if you want to be able to boot 3 different OS's using grub. I answered yes (I have Win7, Ubuntu and now wanted to install Debian for testing purposes). Is there any way I could manually add entry to grub for booting Debian, for instance from Ubuntu adding to menu.lst?
View 2 Replies
View Related
Jun 10, 2009
I successfully installed Fedora 11 from the DVD iso. At the end, the installation program prompts me to reboot the system. But when the boot loader appears after rebooting, there are only the old entries.
I have 2 IDE disks and one sata disk. The first IDE disk is hd0, the second IDE is hd1. The SATA disk is hd2. In the setup, I selected hd0 to install grub. Fedora 11 was installed on the SATA disk (hd2).[edit] I forgot to say, that Fedora 10 is on /dev/sda and Fedora 9 on /dev/sdb
View 7 Replies
View Related
Jun 20, 2010
I played a bit with the upgrade configuration files, to solve a couple of problems I have with Ubuntu 10.04, now when the upgrade procedure starts I getQuote:Failed to fetch Release Unable to find expected entry multiversdeb/source/Sources in Meta-index file (malformed Release file?)Some index files failed to download, they have been ignored, or old ones used instead.
View 9 Replies
View Related
Apr 1, 2011
I have the following error on one of my servers. Is there a way to tell which directory is exactly having the problem? if there is, if i delete that directory, will that resolve the problem or no?kernel: EXT2-fs error (device md(9,0)): ext2_check_page: bad entry in directory #10158084: unaligned directory entry - offset=0, inode=605471640, rec_len=7606, name_len=177
View 4 Replies
View Related