Ubuntu Installation :: XP Overwrites Win 7 Grub2 Boot Entry
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
ADVERTISEMENT
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
View Related
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
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
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
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
Feb 2, 2011
Sorry my previous question wasn't that informative so adding more. I had windows partition and free partition for Linux installation. I got installed windows7 and it installed fine, When I tried installing Ubuntu, I remember selected default options. I gave me default option as it clearly said "1. If you have another operating system (e.g. Windows XP) and you want a dual boot system, select the first option: "Install them side by side, choosing between them at each startup." I thought it would keep Windows as it is and I hit proceeded for installation.
first option: "Install them side by side, choosing between them at each startup." refer [URL] step #4. At the end I am disappointed that I cannot see Windows boot option (Dual boot) It just gives Ubuntu option. I kept 50 GB free space for Ubuntu. Is there any option to recover/switch to windows booting? Or I have lost Windows installation overwritten by Ubuntu?
View 4 Replies
View Related
May 20, 2010
I recently bought a new Gateway desktop. I use mostly Ubuntu but like to boot into Windows once in a while. Have used Ubuntu as my main OS for about 3 to 4 years, dual booting. After the Ubuntu 10.04 release, I decided to throw in another hard drive into the new computer and make it dual boot.
Mistakes:
1. I did not create the Gateway Recovery Disk in Windows before installing Ubuntu.
2. Installed Ubuntu 10.04 without disconnecting the Windows 7 drive.
3. The Ubuntu install never prompted me asking where to install Grub (apparently there is an advanced menu somewhere in the install process that lets you select), and it was installed to the first drive on the PC by default, which happened to be the Win 7 drive.
This left the Windows 7 unbootable because it did not appear in the Grub menu. I did some searching and managed to install Grub on the second drive (the one with the Ubuntu install) and also managed to add Windows 7 to the Grub menu so I could boot into Windows. This last procedure added the Windows 7 option to the Grub on both drives.
I then managed to fix the Windows 7 mbr using /fixmbr and /fixboot. The problems I still have are as following. I can't create the Windows Gateway Recovery Disk in Windows. Every time I try, I get a message telling me "Hard drive configuration is not set to the factory default. Restore aborted.". I already disconnected the Ubuntu drive but get the same results. I know this one is not a Linux issue, but maybe someone had a similar issue and might be able to help.
The next problem I have is that it looks like after the las Kernel update in Ubuntu, Grub overwrote the Windows 7 mbr again. Is there a setting file somewhere that now tells Ubuntu that Grub is installed in two places and that whenever there is an update it updates both? Can I change this? I really would like to avoid re-installing Ubuntu to fix this.
View 9 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
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
Feb 10, 2010
I recently got a netbook and setup as dual boot between win7 starter and 9.10 (64bit). Win 7 starter is not impressive so i want to nuke it and give the space all to my /USR partion. I am comfortable working with Gparted and assume that i can launch using my gparted live usb and delete the windows partion and then resize the /usr partion.
what changes do i need to make w/ Grub2? I would prefer not to see the Grub menu at all and have it load right the main kernel if possible. Also, if this is possible is there a way to get to the Grub menu during boot should i need to select a different kernel?
View 2 Replies
View Related
Feb 15, 2010
After installing karmic with Grub2 I am unable to boot into Archlinux partition. Grub2 has removed the last line of the Archlinux boot stanza! It used to read:-
[Code]....
Following the Grub2 tutorials I have tried editing /etc/grub.d/40_custom as follows:-
[Code]....
But no luck. Only way into Archlinux is to get into the edit shell and manually add the missing line and remove other stuff not needed. I have spent hours trying to resolve this issue and I am fairly p----d off
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
Jan 15, 2011
GRUB2 won't boot. It hangs just after the 'Boot from CD' thing in my BIOS.I've had 1.97 working on my PC about 24 hours ago, but I decided to start afresh and go for Xubuntu 10.10.I'll post the PC specs in the morning, but in the meantime, does anyone know how to fix this?It's going to be a Xubuntu only system, and I've tried to repair the GRUB files via the Live CD and here.
View 4 Replies
View Related
Mar 26, 2011
So I have a really old (about 10 years) desktop PC manufactured by Packard Bell, and would like to get Lubuntu 10.10 running on it. I had previously burnt a CD with it, but boot time was incredibly slow on the machine and installation of Lubuntu crashed my system. As a result, I created a LiveUSB (as you do).
When I entered my CMOS, I discovered the BIOS on my machine isn't able to boot from USB, and I wasn't able to find a BIOS update for my AMIBIOS chip on the American Megatrends website. So I booted my GParted Live CD and created an ext4 partition at /dev/sda3, which I proceeded to install GRUB2 onto via the commands:
Code:
$ sudo su
# mkdir /mnt/grub/
# mount /dev/sda3 /mnt/grub/
# grub-isntall --no-floppy --root-directory=/mnt/grub /dev/sda
This, as planned, succeeded; I can now get into a GRUB2 prompt when my machine boots...! The only problem is, GRUB2 won't detect my USB...or any device other than my hard drive
So, is there any way I can get GRUB2 to find my USB?
P.S. The USB works fine on my laptop, which does support USB booting. I can also boot the USB on my laptop via its GRUB2 command line, using:
Code:
grub> set root='(hd1,1)'
grub> chainloader +1
grub> boot
View 9 Replies
View Related
May 3, 2010
I have a asus eeepc 1101ha. With Karmic,it would boot into w7 without problems.I installed Lucid on another partition,and after that the w7 grub entry would leave me with a blinking cursor in the left top corner, and hang.
I booted with the w7 dvd, ran bootrec.exe to restore mbr and bootmgr, and the booted into w7 to confirm. It was working. Then I booted with the live dvd, mounted the lucid partition, and installed grub. Now choosing the w7 entry would ask for the boot media, and pressing any key would bring me back to the grub menu. Lucid and karmic boot without problems.
Installing grub from karmic now gave the same error. Running update-grub didn't change anything.As I had to use w7, I booted again from the dvd, and restored again mbr and bootmgr. Booted into w7, used it, then once again to the live cd, to reinstall grub, and once again the w7 entry in grub makes grub ask for the boot media.I've attached my boot info script.Ah, I also played with the bootable flag for the /dev/sda1 partition, but it didn't change anything.
View 1 Replies
View Related
Jun 8, 2010
I've already had WinXP SP3 installed on one HDD, so i've installed 10.04 on my spare HDD. When I try to boot to Win, I get ntoskrnl.exe missing error. This is my boot info script report:
Code:
Boot Info Script 0.55 dated February 15th, 2010
============================= Boot Info Summary: ==============================
=> Windows is installed in the MBR of /dev/sda
=> Windows is installed in the MBR of /dev/sdb
[code]....
I've tried with different boot orders in bios, reinstalling Grub2 (several times ), I've even tried to install lilo through software center but didn't know how to configure it ...
View 9 Replies
View Related
Aug 25, 2010
I used to have 2 HDDs for ubuntu: 1 x 80GB and 1 x 500GB The 500GB disk was my /home directory and is now used exclusively for Windows 7. I have now moved /home to the 80GB drive and have modified /etc/fstab to point /home to /home rather than /dev/sdb1. However, I cannot boot into ubuntu. I have tried using Super Boot Disk cd-rom but still no joy. I think I need to fix grub and have tried by booting into a Live-CD and following a tutorial I found on the forums but it complains about not being able to find a device.map I guess this has something to do with the fact that the 500GB HDD is now gonoe but am not sure how to resolve this issue. how to recreate this file but the command failed.
View 2 Replies
View Related
Nov 1, 2010
Every Time I Try Too Boot Ubuntu, Instead Of Starting Up It Takes Me To This Menu Type Thing And It Says To Press Tab To See The Command List Or Something Like That. And I Dont Know What Commands To Use.
View 9 Replies
View Related
Dec 10, 2010
menuentry "Windows 7 (loader) (on /dev/sda1)" {
insmod part_msdos
insmod ntfs
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 3850d16450d12980
chainloader +1
}
This is automaticly genarated after installed ubuntu 10.10. It shows black screen with a flashing cursor after press enter. Grub 0.97 also does this with:
title win7
fallback 2
find --set-root --ignore-floppies /bootmgr
chainloader /bootmgr
savedefault --wait=2
But the wierd thing is my usb stick can boot windows 7 succesfully with the same configuration. Whats wrong with that? How can do with grub.cfg?
View 9 Replies
View Related
Jan 3, 2011
ok so sounds like everyone elses issue that i`ve seen on here but i had it all working properly until i booted into ubuntu and updated grub somehow and when it told me to reboot all i got was a grub rescue error.
Now i got ubuntu 10.10 installed to try and fix the grub 2 error but now cant get it to boot windows from the menu.
View 5 Replies
View Related
Sep 1, 2011
As I now have a 120Gb SSD in an efi-capable laptop, I'd like to re-install 11.04. I'd like to format the SSD as gpt and make it bootable with efi. And I'd like to use grub2 as the bootloader.
Can anybody walk me through this? I'm pretty new to Ubuntu, though I've used several other distros for a number of years. When I last installed 11.04, I don't remember seeing options for gpt, for example. And I don't know how get things booting with efi.
View 6 Replies
View Related
Feb 21, 2010
I am having problem in grub2 fails to boot the system. I get the error:
Booting from local disk...
GRUB loading.
error: no such disk
System setup:
It's a Dell XPS400 PC with 160 GB HDD. I have a non-LVM, primary partition for the boot file system (/boot) of 200 MB. I also have seven logical volumes (LVM partitions): six for each of the /(root), swap, /home, /usr, /var and /tmp, and one vbox_win_xp_base as a raw disk for running Win XP in the Virtualbox. I went on to configure all these without rebooting the system in between. Later I also updated to the kernel version 2.6.31._20. Next day I decided to reboot my system. But then the bootloader (GRUB2 in my case) won't able to boot it and gives the error mentioned above.
[Code]...
View 3 Replies
View Related
Mar 12, 2010
I am trying to dual-boot windows xp and ubuntu 8.04LTS from two separate hard drives, on a compaq d510 evo SFF. With research, the best way to do that seemed to be to upgrade to Grub 2 and all would be well...not so much. I installed each OS with the other hard drive removed, fyi. I believe that this tells me that I SHOULD be able to boot off either drive, if I could get Grub 2 to recognize...
Code:
steve@Stewie:~$ sudo fdisk -l
Disk /dev/sda: 40.0 GB, 40060403712 bytes
255 heads, 63 sectors/track, 4870 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xb788b788 .....
Code:
steve@Stewie:~$ sudo update-grub
Updating /boot/grub/grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.24-27-generic
Found initrd image: /boot/initrd.img-2.6.24-27-generic
Found linux image: /boot/vmlinuz-2.6.24-26-generic
Found initrd image: /boot/initrd.img-2.6.24-26-generic
Found memtest86+ image: /boot/memtest86+.bin
done
I have also tried adding the proper code to the 40 custom file, and while I could at least get it to acknowledge my changes, I couldn't seem to find the magic code to get it right....
The other thing I tried was adding GRUB_DISABLE_OS_PROBER=false
to /etc/default/grub
and last but not least, here is my results.txt from the boot info script. I also tried uninstalling/reinstalling grub 2, perhaps I created issues there?
Code:
Boot Info Script 0.55 dated February 15th, 2010
Boot Info Summary:
=> No known boot loader is installed in the MBR of /dev/sda
=> Windows is installed in the MBR of /dev/sdb
View 5 Replies
View Related