Ubuntu Installation :: Reinstalled Win7 And Cannot Load Grub
Aug 21, 2011
I just finished my Windows 7 reinstall, and I go to reboot into Linux, and there's not grub loader. I go into a live CD and get into the grub prompt. Here's what I got:
sudo grub
grub> root (hd0,0)
grub> setup (hd0)
Error 17: Cannot mound selected partition
As for additional information, my fstab is listed below:
aufs / aufs rw 0 0
tmpfs /tmp tmpfs nosuid,nodev 0 0
/dev/sda6 swap swap defaults 0 0
Just installed Ubuntu 10.10 onto my new netbook from a USB stick. The laptop came with Win7 Starter, which I kept on a small partition. Installation was apparently successful, but when I start up the computer, it will go straight to Win7 and GRUB doesn't appear.
On this dual-boot machine I have Ubuntu installed on hd0 (/dev/sda), Windows 7 is installed on hd1 (/dev/sdb). The mbr for Ubuntu is on /dev/sda1. After installing Windows I went through the steps to reinstall grub2 on /dev/sda1, but Windows 7 kept loading. So I went ahead and upgraded to 10.04, expecting the upgrade to overwrite the correct MBR, but this didn't work either. When I was looking at the advanced options in the 10.04 installation I noticed Windows 7 had an MBR in /dev/sdb2. If I installed grub2 to this partition should it overwrite 7's bootloader and allow me to load from grub2? Or is there something else I should be looking for to resolve this problem?
In sda, I have 4 partitions, and I have windows 7 in one of the extended partitions [not in the primary partition].
In sdb, I have 3 partitions. 2 for storage, and 1 10GB drive for Ubuntu. Again, Ubuntu is not of a primary partition.
I had ubuntu 10.04 running on that for a long time. However, I wanted to reinstall ubuntu and use 10.10.This is what I did EXACTLY:Booted from Ubuntu install CD
Chose advanced istall
Selected sdb3 for Ubuntu
I installed GRUB2 on the SAME partition as Ubuntu aka sdb3 Installed then rebooted
I can boot into Ubuntu fine, but whenever I select Windows 7 bootloader from the GRUB menu, the screen goes black, and my PC reboots.
Boot Info:
Code: Boot Info Script 0.55 dated February 15th, 2010 [code]....
ls: reading directory sda6/: Input/output error
I have tried the testdisk/update-grub method, but it didn't work.
When I load into winXP I can see the files for winXP and win7. When I load into ubuntu I can only see winXP. i did a sudo update-grub and got the windows loader, which then shows me winXP and ubuntu. what i would love is one boot page that has listed winXP, win7, and ubuntu. FWIW this is an acer netbook, winXP is on D:/ and win7 is on F:/, i used the windows installer wubi for ubuntu 10.10.
I reinstalled windows and now my grub is gone. On the officaLubuntu help page thing [URL] and this one i found on howtogeek [URL]. Which on should i use? And how do discover if my ubuntu partion is hda(0,0) or hda(0,1)? Sorry for the longness of the link, i dont know if it is the forum or my ipod, but i couldn't make a better hyperlink.
I had Fedora 7 and Windows Vista dual booting on my computer. I just installed Fedora 10. When the live CD asked me where to install it, I chose "Remove all Linux Partitions and create default layout" The installation went perfectly, but now when reboot my computer, it boots directly into Fedora; GRUB does not load to ask me which OS I want to load. I know I did not overwrite Vista because I can still view my Vista files through Fedora. Here is my grub.conf file:
[Code]...
What do I need to do to make GRUB load again upon booting?
i have ubuntu 10 and win 7 dual booting on one hdd, all of a sudden grub says error no such partition when i select windows at the boot menu. and i cant get to the win7 partition from ubuntu (to play music and stuff, this used to work, places, mount filesystem, 250 gigs whatever). i've tried the stuff in these links and nothing has worked so farpartition info
sudo fdisk -l /dev/sda Device Boot Start End Blocks Id System /dev/sda1 1 29094 233697523+ 7 HPFS/NTFS /dev/sda2 * 29095 30401 10498477+ 83 Linux
My laptop has two hard drives with XP on the first and Ubuntu 10.10 on the second. Everything was going fine until I decided to reformat and reinstall XP on the first hard drive. Now, when I get to the GRUB screen and select XP, nothing happens. When I originally installed Ubuntu,I had to go into the BIOS and change the boot order to the second hard drive in order to get GRUB, but I could still boot into XP. Now the only way to boot into XP is to go back into BIOS and change the boot order back to the first hard drive. I only use XP for AutoCAD, but I would like for GRUB to work properly. I already tried "sudo update-grub" and it didn't change anything.
I found myself with a deactivated version of windows and after trying everything my only solution was to do a clean install of windows 7 service pack one, so I did this everything worked fine but then the windows bootloader tookover again, so I used this method to fix that:
[code]...
now is after doing this and reinstalling grub, when I select Win7 in grub I get the no such device error, so I'm pissed because now I can't boot windows when I was just getting back to normal, the good news is I can still boot ubuntu with nothing but a minor graphics error on the way in but that doesn't effect anything anyway.
Computer StatisticsiMac (Model No. A1225) Dual Boots Mac OS X Partition Layout/dev/sda1 = EFI /dev/sda2 = Macintosh HD (HFS Format with Journaling) Free Space (32 GB) I had the linux installation program automatically partition the free space into three partitions. I forget what they were, but I know they are correct.
I tried doing a rescue installation, and reinstalled it many times with different settings. I even tried a manual partition according to instructions from the internet and reinstalling the grub boot-loader onto different partitions. I have reinstalled it at least 5 times!
Upgraded from Ubuntu 9.04 to 9.10 via upgrade manager System is AMD 64 Have dual boot with XP on seperate hard drive
[code]....
Then the wheelspin:
Seem to have knocked out GRUB as normal loading screen does not appear anymore. Worse, I think I accidently installed grub to something labelled SDC5.
Cannot get anything except the "grub rescue" prompt. I'm not sure if using the LiveCD (9.10) can help. Have tried a few prompts from other threads but just ended up with mud splattered all over the place. I'm gathering I need to load grub, but can I do it using any grub rescue commands?
I had Fedora 12 and windwos 7 installed,today i reinstalled windows, and when i restart i dont get anymore the boot menu to choose between linux and windwos and i tried to reinstalled fedora but i am getting this error Grub Loader error 17,what can i do to solve this problem,i am new to linux
I set up a dual boot system with Win7 and Ubuntu 9.10. Ubuntu is the first OS listed in the boot menu. I would like to change the boot order so Windows is first. Also after running a few updates I now have multiple boot items listed for Ubuntu that I'm sure are no longer needed. Having never edited Grub and searching through the forum, I'm asking help. I going to guess that I want to edit grub.cfg. If so, what do I need to change within the following information?
Looks like Grub2 on my new installation of Ubuntu 9.10 is not picking up a Windows 7 installation on a RAID0 array (using the built-in RAID software from my Asus P5Q-Deluxe)
Here are the results of the 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 for (UUID=43b4cb20-dfea-4513-80e9-54d066107c71)/boot/grub. => No boot loader is installed in the MBR of /dev/sdb
I had XP Home on my dual boot Ubuntu 10.04 LTS amd64 PC & now installed Window 7 Home Premium 64-bit over old XP. Before installing Win7, as a precaution, I disconnected the hard drive where Ubuntu is installed. Now, naturally, the startup screen (grub?) still offers XP. Is there an easy way to re-detect & rewrite the startup menu with the Ubuntu install CD without re-installing Ubuntu 10.04 LTS amd64 again, like a GRUB repair or rewrite?
how do i correct my boot loader after installing Win7 on the free space available. i still have my fedora 13 partition intact. but of course, fedora option is not available. how do i re-install grub using the rescue dvd? tried alrerady.
My machine is an hp 2133 mininote. It came factory installed with Windows vista, which repeadtedly crashed on me. To compenstate for this i installed gOS to dual boot with Vista. This was working fine but I was recently given a Windows 7 install disk, so I decided to upgrade. Windows seven installed without a problem but now I can't access the GRUB bootloader, windows 7 just loads automatically. I tried to restore it using the Super GRUB Disk usb utility but it didn't work, windows 7 still boots regardless.
My ubuntu 32-bit 9.10 compiles kernel a few times, and now I realized my Win7 lines disappeared. First time when I made the dual boot system, I remember there is a line for Win7, and able to boot up Win7. And then I ran compilations 2 ~ 3 times, and now I see the lines gone. I know 'editing GRUB' is risky, and want to hear advice how to fix. - Actually I don't think I can edit grub.cfg file manually. In my Ubuntu Desktop menu, I still see and mount the Windows disk (physically different partition)
early tl;dr: The fancy grub breaks on my wubi 10.04 install, can I force it to use the old grub?
When I rebuild grub.cfg (last time was yesterday for kernel update to .37), and shut down / reboot, grub breaks because it can't 'loadfont' and a few other errors which are related to the 'graphical' grub boot menu.
To fix this I have to boot into a live CD (also Ubuntu 10.04) and run the following: Taken from [URL]
Code: sudo fdisk -l sudo mkdir /win sudo mount /dev/sda1 /win sudo mkdir /vdisk sudo mount -o loop /win/ubuntu/disks/root.disk /vdisk
[Code]....
I know how to fix it but is there a way to skip having to do this on upgrades (If I edit the grub.cfg before shutting down then this doesn't happen, obviously, but sometimes I forget and this is the result. I'd rather stop the problem at it's source than fight against the updater).
Firstly, I installed my Windows 7 on sda2; then, I installed Ubuntu 10.04 on sda1. But the computer directly get into Ubuntu without listing the grub list. How to get the Grub list back and make sure the Widows 7 is on the list?
I wanted to install ubuntu 11.04 alongside win7 on my notebook (with no optical drive). I created 2 primary partitions (one for win7 [ntfs] one for ubuntu [ext4]) and 2 logical partitions (one for swap one for general use for storage[ntfs]) by running ubuntu from my USB Flash disk and using gparted. First, I installed win7 without having any problem, then ubuntu also without having any (apparent) problem (I installed boot loader on MBR: the default setting). After the ubuntu installation is over, I was instructed to restart my computer as usual and win7 started without asking me which OS to boot. When I run ubuntu from my Flash disk and run gparted and selected the boot drive as the partition on which ubuntu was installed, I got the error saying "missing operating system". I suppose GRUB is misconfigured and that is causing the problem because nothing went wrong during the installation processes. How to configure GRUB by running ubuntu from my Flash disk. BTW win7 is working just fine.
Im a newbie having the opposite issue that seems that everyone is having for what Ive seen, I have Grub on the MBR, showing the splash screen fine (the background image also), and allowing me to boot Windows 7, but I get a cursor blinking for the eternity when trying to boot Fedora 13.My hardware is:
Quote:
-ASUS M4A89GTD PRO (AMD 890 FX AM3 Chipset). -Phenom 965 BE. -4Gb RAM. -3 x 250 Gb SATA Hard disks, first one alone for OS, and the other two in fake RAID1. -1 x 80 Gb IDE hard drive containing trash. -RADEON HD 4870 1Gb Graphic Card. -RME HDSP 9632 Soundcard
I just installed Win7 (I need it for work -.-") and, of couse, it installed its boot loader and I can't boot F13 any longer. The question is, how do I restore GRUB from a F13 live installation media without destroying Win7?
I remeber trying something like that a couple of years before when I had the same issue:
Unfortunatelly, that doesn't work and at the next boot I am stuck with Windows again how to restore grub from a F13 live CD?
I'm having serious troubles to install ubuntu-10.04.1. My raid is an hardware raid with intel chipset. Note that win7 is already installed and working with my raid. I made some space from windows, to install Ubuntu (40gb). First, I run the installer, everything seems to be fine. I choose to install Ubuntu were there is the most space free (sorry, I'm not sure about the real terms used there).
Then my partition with the vista loader appears. So the installer can see my raid, and should work fine (everything is detected correctly). But once I'm in the end of the installation (around 95%), a pop-up appears, and tells me that Grub can't install in /dev/sda and it's a fatal error. I can choose an another destination, but it doesn't seems to work.
1. Install kernel: see #2 (I make it with kernel file in /var/cache/apt/archive)
After installation of kernel, there may be some problems:
2. Win7 disappear in the grub: see the content below "Not see Windows 7: ", #6 3. Cannot connect to the network: see #8.
Quote: While trying to remove old kernels, I delete all of them by accident!!! There're now only two "Memory test" and a "win7" in the grub. Since there's lots of data on the disk, and I have no idea how to keep them safe if reinstalling the system, so I really hope not to do that.
Then I enter Ubuntu 10.10 cd, and sudo apt-get install a kernel (three 2.6.35 or so, of which two with "generic" and not, and one with "image"), everything seems OK. And I guess what I did really changed the system, since the source_list file in the /etc/apt/ did be changed. But the grub still has only 3 options. What else should I do to add the newly installed kernel to the grub? Or What should I do while I delete all kernels by accident?
I'm having an issue installing Ubuntu with Windows 7 Home Premium 64-bit through Wubi. The Wubi installation works great and Ubuntu seems to install after the first reboot after selecting Ubuntu from Windows' boot menu, however whenever I select Ubuntu from Windows' boot menu after Ubuntu installs and it reboots for the second time, it loads the GRUB bootloader, however Ubuntu isn't listed at all.
Windows 7 is listed twice and Windows Vista is listed (seems it picks up the recovery partition for Windows 7 as Vista) and when I select the first Windows 7 from the GRUB bootloader, it just goes back to Windows' boot menu with Windows 7 and Ubuntu as the selections. If I select the second Windows 7 from the GRUB bootloader, it'll boot Windows 7 like normally. It looks like Ubuntu is nowhere to be found. Because of that, I just ended up uninstalling it.
I just installed Fedora15 on my laptop. When the installation completed, the system rebooted and gave me a Grub Error 17. I logged in the rescue mode and got the following output from
Code: fdisk -ls
Code: Disk /dev/sda: 250.1 GB, 250059350016 bytes 255 heads, 63 sectors/track, 30401 cylinders, total 488397168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x0d8b0d8a .....