Ubuntu :: Grub2 Reinstall - Only Windows Shows Up In Menu
Aug 9, 2010
I recently (for about the third time) HAD to re-install Windows 7. It just wouldn't boot and unfortunately I have some proprietary software that I need to use. Anyway, this is the first time I've had to do so since installing Lucid (64bit, fresh install). My problem now is, when I re-installed Grub2 (using the same methods that have previously worked flawlessly) to recover it after re-installing windows, only windows shows up in the grub menu, showing options to boot to Windows on sda1 and another to boot to Windows on sda2.
I grabed a "boot info script" from Rubi1200 and this is what I got..
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 #1 for /grub .....
View 7 Replies
ADVERTISEMENT
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
Sep 2, 2010
Firstly I am completely new to linux so I don't know much about it, yesterday I installed win xp on my pc which already has ubuntu 9.10 karmic koala installed on a separate partition,after xp was installed and when it rebooted, a dos screen showed up with sh:grub> command ,how do i get to the grub menu where i can boot into xp or ubuntu?
View 3 Replies
View Related
Jul 15, 2010
i am dual booting windows 7 and ubuntu 10.4 lucid, i just reinstalled the Grub2 after my windows erased it, and now it boots into grub2 but i can only boot into my windows7 loader, ubuntu is not even listed as an option for me to boot into its just a bow with the win7 loader. How can i get the grub2 to load ubuntu back again? i followed the guide on this site to reinstall the Grub2 and set up the dual boot. [URL] edit: i can find plenty of info for getting windows back into grub, but none about getting ubuntu back
View 8 Replies
View Related
Jan 19, 2010
My friend recently re-installed WinXP on his laptop, but I'm having trouble getting Grub2 working. I followed a guide online, but when I booted it back up again, I got a Grub prompt instead of a boot menu.
View 4 Replies
View Related
Dec 6, 2010
It happens I need to use microsoft excel, so reinstalling windows XP. Since I have no cdrom on the pc nor usb cdrom reader, I would like to sort of fake the computer installing using grub2 and booting the iso that I will create
View 2 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
May 4, 2010
I recently upgraded to 10.04. The grub menu shows my windows partition but does not load it when I select that OS.
View 2 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
Jun 18, 2010
I'm a hardcore ubuntu user and have ubuntu 10.04 on my dell Inspiron 1525. I dual booted it with fedora 13 recently and fedora grub has wiped out ubuntu grub2. I want to re-install grub2.
View 4 Replies
View Related
Feb 14, 2010
I want to reinstall windows to its partition on my computer, but I want to be able to restore grub2 afterwards. I use a lot of custom scripts in the /etc/grub.d/ directory on my ubuntu partition, so how can I reinstall grub to the MBR using those specific scripts? Just running "sudo install-grub" or "sudo update-grub" doesn't work for me (I don't know the exact problems, but I can't reproduce it right now). If there's a way to install just the defaults (without overriding my custom scripts!) maybe I can just do that, but I'd really like to put the live cd, run a few commands, and install those custom scripts to the mbr and be on my way.
View 1 Replies
View Related
Apr 29, 2010
I recently installed opensuse 11.2 on my laptop which also had windows vista and windows 7, i created a new partition and the installation went smoothly, after i went to boot back into windows 7 i got a blue screen of death, strangely vista boots perfectly.I could just reinstall windows 7 but its a pain to reinstall all my programs and such
View 6 Replies
View Related
Dec 21, 2010
after messing around with plymouth manager to try and get a decent boot screen(for the 3 weeks i've had 10.10 installed, it's just been a plain text bootup) it seemed to have removed my main boot option without recovery. i'm still able to boot into recovery and pull up my graphical environment but i can't seem to figure out how to get my normal boot option back.
View 9 Replies
View Related
Aug 14, 2010
This is closely related to a recent thread of mine that I unfortunately marked as solved prematurely. I'll try to keep it brief this time. After editing partitions I was left with a boot problem, namely "error: no such partition" and I am dropped at the 'grub rescue>' prompt. I can issue the appropriate grub commands and successfully boot the current kernel. Once booted, I executed 'sudo update-grub' and then /boot/grub/grub.cfg was rewritten with all drive and partition references correct. Likewise, /etc/fstab is also correct.
The problem comes when I attempt to reboot. I still get the 'no such partition' message and the 'set' command reveals that grub is still trying to reference the old partition. I've never encountered this problem before under similar circumstances. I'm guessing that this info must be stored in the disk's MBR as well as in grub.cfg because that file looks completely correct. Am I going to have to reinstall grub now?
View 3 Replies
View Related
May 17, 2011
I was dual booting Ubuntu and Windows, had to reinstall Windows, it wiped out grub, need to reinstall it now. Was following this: [URL]
Trying to reinstall grub with:
Code:
sudo grub-install --root-directory=/media/d566e91e-941f-4433-8dea-05d3bffb5669 /dev/sda6
Gives me the following error:
Code:
/usr/sbin/grub-setup: warn: Attempting to install GRUB to a partition instead of the MBR. This is a BAD idea..
/usr/sbin/grub-setup: warn: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are unreliable and their use is discouraged..
/usr/sbin/grub-setup: error: if you really want blocklists, use --force.
*edit more info* Ubuntu is installed on /dev/sda6 on a 50GB partition.
Code:
Device Boot Start End Blocks Id System
/dev/sda1 26 56830 456280064 7 HPFS/NTFS
/dev/sda2 * 56830 56843 102400 7 HPFS/NTFS
/dev/sda3 56843 70981 113561600 7 HPFS/NTFS
/dev/sda4 70981 77826 54979585 5 Extended
/dev/sda5 77096 77826 5859328 82 Linux swap / Solaris
/dev/sda6 70981 77096 49120256 83 Linux
Partition table entries are not in disk order So, I didn't want to do anything and screw things up. I want to boot with grub and not MBR. What should I do?
View 6 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
Mar 16, 2011
I have a dual boot system. I need dual boot as my dictation software is only available for Windows. In the future I am going to try a virtual machine, but dictation and audio did not work properly the last time I tried in VM. But unfortunately for now I have a dual boot machine with Vista and Debian 6. Unfortunately, I am going to have to reinstall Vista. Or to be more accurate I'm going to install the 64-bit version instead of the 32 bit that came with the computer. I have the 64-bit version that I no longer use from one of my other computers.
Anyway, I have to install Windows which will overwrite my grub2. Is there anyway I can make a backup or reinstall grub2 after I install Windows. I really don't want to reinstall Debian 6 squeeze. Can they make some sort of a backup of gurb2 before I do this. I checked out the Internet and I found something called Super Grub2. It apparently will allow me to boot back into Debain 6 so that I can install grub2 again. Assuming, Super Grub2 even works then how do I reinstall grub2 once a boot into Debian 6? Has anybody tried Super grub2, does it work? It's kind of hard to test it, with a working version of grub2.
View 3 Replies
View Related
Sep 21, 2010
How can I restore or reinstall GRUB2 from squeeze installation? I tried various suggestions from various online articles (most of them for ubuntu), but I couldn't find a solution. Is there any solution, specifically for Debian? GRUB reinstallation from install cd, didn't worked as well. Since I couldn't boot at all, I restored GRUB1 and I'm posting from Lenny, but I can't access Squeeze this way (probably because I have squeeze's partition, ext4 formatted).
View 5 Replies
View Related
Sep 24, 2010
boot up in to chameleon, lists only Mac OS X as a boot option. Reboot, load Ubuntu 10.4 install cd, get to a terminal, mount /dev/sda3 /mnt grub-install --force --root-directory=/mnt/ /dev/sda3
reboot, let chameleon come up, it sees both Mac OS X & Ubuntu partitions and I can boot to either or happily, now here is the problem... If I select linux and boot in to linux from chameleon, i am brought to the grub menu, where i can select the first choice which is normal ubuntu 10.4 and every thing is great... until I reboot and my linux partition no longer shows up in chameleon, as if tthe act of booting in to grub is changing something / deleting itself from the partition? and I have to do the whole thing over again. SO, not having to even go in to OS X, I'm not sure thats really the concerns more as I'm doing something wrong with grub.
View 3 Replies
View Related
Nov 18, 2010
So my grub menu is showing several selections for each of my OS's. In Ubuntu, my OS of choice for now, how can I access the grub and edit it.
I would like to know the steps for console, but also I hope somebody can show me how to use Super Grub to do it.
View 2 Replies
View Related
Aug 31, 2010
I accidently deleted the Me Menu in 10.04 when I installed global menu.
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
Oct 7, 2010
I am actually facing a vague problem here. I was previously running Windows XP and Ubuntu . Ubuntu was installed Windows XP The problem is
1. First I tried to do some disk partitioning. That ended up with some error.
2. Ignoring that, I went to install Windows 7 over Windows XP but I was not able to proceed with Windows 7 , because the partitions were corrupted.
3. So I used Ubuntu LIVE CD (Grub was lost at this point )and used 'testdisk' and recovered the partitions.
4. Now installed the Windows 7 successfully.
5. Now again I moved to Ubuntu Live CD to write the GRUB. After which I tried restarting
6. Now Ubuntu is booting perfectly as before. But the problem is with Windows
7. The GRUB loader instead of showing Windows 7, it shows Windows XP !!! . and there is no other entry for windows. When I tried opening it, it says "error, cant read file" and further inout moves back to the grub loader list again.
"How do I change the entry to Windows 7 from Windows XP and boot Windows7 successfully " I tried it a couple of times, same thing happens . So how to change the entry?
View 6 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