Ubuntu :: How To Reinstall Grub To Windows Partition
Jun 26, 2011
So, I'm stuck in GRUB rescue mode (stupid mistake) on a dual booted netbook (so no cd and no recovery software)
I do have a Live USB so I'm working off that.
Is there a way to reinstall the GRUB to my other partition (windows 7) or fix the MBR without recovery software?
View 9 Replies
ADVERTISEMENT
Jul 12, 2010
I need to reinstall my windows 7 partition, but I don't want to lose my ubuntu partition. Currently I just have both installed and grub is dealing with my booting options.Is there any way I can reinstall windows without messing up grub or my ubuntu partition?
View 5 Replies
View Related
Aug 24, 2010
So I was bored yesterday, looking at some free unpartitioned space (I meant to use it as emergency space, just in case) and I thought that it'd be really nice if I could make a ~250 MB partition just for GRUB, so I decided to see if I could do it. The partition has been made as 256 MB (just to be nice ) and ext2. (I'm also running lubuntu, if you need to know)
View 1 Replies
View Related
Jul 24, 2010
I want to wipe out my Windows partition and reinstall due to sluggishness. I plan to use Windows instructions as if it was on a hard drive by itself. Will this affect the multi-boot capability or the Linux partition in any way? Would it be easier to reformat and partition the entire hard drive and re-install both OSes? I use OpenSuse 11.2 and Windows XP.
View 6 Replies
View Related
Dec 28, 2010
I'm trying to re-install Grub2 on a dual boot (Win/XP & Ubuntu 10.10) system which will not boot. I am following the guide here:
Code: [URL] This guide explicitly states that the procedure will re-install GRUB to the Master Boot Record, overwritng whatever is there. However, the final step results in this warning message: "grub-setup: warn: Attempting to install GRUB to a partition instead of the MBR. This is a BAD idea....."
I guess I agree - that's not what I want to do. Where is the defect in the procedure and how do I overcome it? If I try alternative advice, available in the forums, by using the command
Code:
sudo grub-install /dev/sda
then I receive the error message
Code: grub-probe: error: cannot find a device for /boot/grub (is /dev mounted?) Looking at the mount command output, I think the required device is mounted.
View 8 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
Apr 18, 2011
I'm running dual OS Windows Vista Bussiness and Ubuntu 10.10 on my acer notebook. But a few days ago after I update the kernel (I think), I can't boot to my windows OS. It's only stuck at boot screen (progress b4 logon to windows), so I want to reinstall my windows with windows XP. But, if I do this, the grub must be replace by windows bootloader. how to reinstall the grub?? will the new grub, allow me to load the latest kernel which already install on my Linux?
View 1 Replies
View Related
Aug 30, 2011
I am currently running a dual boot machine with Ubuntu 11.04 and Windows Vista.Is there any way I can delete the Linux partition and Grub boot loader without affecting the Windows partition at all?I would also like to be able to repartition all of the space that was previously occupied by Linux.
View 2 Replies
View Related
Jan 5, 2010
How do I reinstall GRUB after a Windows install? I tried using the LiveCD but when I pop in the CD and type
Code:
View 2 Replies
View Related
Nov 21, 2010
I re-installed Windows over an old Windows partition. The hard-drive used to have Windows and Ubuntu on it. I am now in usb live ubuntu because grub doesn't appear anymore when I boot the computer (it boots in the new windows automatically). The ubuntu partition is still there, as I can access my files from this live usb. I'd just like to know how to re-install grub.
View 1 Replies
View Related
May 26, 2011
I have (had) a dual boot system of Ubuntu (11.04) and Windows 7. I was forced to reinstall Windows over itself and it installed its boot loader. How do I get my Grub boot loader back? I googled it and found instructions, but they were from 2007 so I thought it might only be for Grub Legacy. The instructions were as follows:
Boot from a live cd
run "sudo grub" in a terminal
then, "root (hd0,0)", "setup (hd0)", and "exit"
reboot and grub should be present
While I wait for ubuntu to download so I can create a live cd, can someone confirm if this is correct for Grub 2? Also, what commands will tell me which hard drive and partition I need to put in the above commands (hd0,0)? I have (4) internal hard drives and boot drive has a few partitions on it.
View 4 Replies
View Related
Dec 26, 2010
for some reason Win7 has gone and run a startup repair (there was two boot options in GRUB, perhaps I chose the wrong one by accident) which has corrupted my GRUB. Now, the only way I can get anything to run is by booting Ubuntu of a live-pendrive/flashdrive! I tried following a couple of walkthroughs that claimed to fix the problem; and I don't doubt that they work - on someone elses computer! I receive errors whenever I try to use things like 'sudo grub' and often (but not always) with 'mkdir' and 'mount' - and I have very little idea what some of them are doing (I gather 'mkdir' is making a directory and 'mount' is mounting a device virtually, but some others are a little harder to guess)
So, I am wondering if someone has a little insight as to how I can fix this and perhaps point me in the correct direction to learning about making my way around ubuntu and these fancy terminal commands! Currently, I am at the stage where I can boot into my flash drive by spamming escape before the bootloader. However, when GRUB loads it tells me there is an error and gives me a command line; through which I have been unable to get anything to happen. I am running Ubuntu 10.10, I believe, and Windows 7 on the same hard-disk and possibly the same partition (though, I am unsure of how Ubuntu works itself into partition's). I also ran a little code (seemed somewhat like a batchfile in windows) that made a txt file of my boot info; I'm attaching it below if that helps at all. Boot Info Results:
[Code]......
View 9 Replies
View Related
Jun 11, 2011
After installing Windows 7 on my laptop, which was already running Natty, I am having issues reinstalling grub. I tried to do this using the method from this tutorial: [URL]... when I enter:
[Code]...
I also tried using --root-directory instead of --boot-directory, and I tried --recheck on both of them without any luck.
View 9 Replies
View Related
Nov 19, 2010
I had a dual boot system - windows in primary active /dev/sda1 and fedora in /dev/sda5 onwards till /dev/sda7 ( /boot, / and swap partitions).I reinstalled windows vista and it removed grub and replaced it with the MBR or windows loader.So now I can't boot into the linux OS. I tried out a live cd and tried grub-install --root-directory=/mnt/_boot /dev/sda (after mounting /boot partition at /mnt/_boot location from the live cd.)But on reboot I donot get the menu.lst options, only the black screen with a grub prompt.
View 3 Replies
View Related
Jan 9, 2010
Some days ago I decided to reinstall windows, of course windows wiped Grub of the MBR. No problem. I booted of the live CD (9.10) and tried to reinstall grub, I had Ubuntu 9.10 installed before windows wiped grub. I tried the following tutorial: [URL] My fdisk -l output is the following: root@ubuntu:~# 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: 0x000f2962
[Code]....
sda3 is my root partition, sda2 is the partition where all my media files are located. I mounted /dev/sda3 to /media/root and then I tried to reinstall grub with: sudo grub-install --root-directory=/media/root /dev/sda It came out with no errors, and then I restarted my computer. Grub started, but with a command line. It was the 1,97 beta-4 version. Since I'm quite unfamiliar with GRUB (or really technical linux stuff)
View 3 Replies
View Related
Jun 19, 2010
I dual-boot ubuntu 9.04 and windows 7. I recently reinstalled windows, and it wiped grub-legacy off of my MBR. Reinstalling grub shouldn't be tough, right, especially with clear instructions? Anyway, I can't get anywhere with the official instructions here: [URL]. The first issue is that the current live CD has no program "grub" in terminal. I dug up an old live cd, but I couldn't get anything with the directions:
Find where Grub is. If this gives a few different answers then you will need to find the correct one, perhaps by trial-and-error.
find /boot/grub/stage1
That command didn't find anything, nor did some similar commands found on google.
So I'm really at a loss. What should I do?
-Can I install Grub 2 on my MBR? Will that work with 9.04?
-Can I access my 9.04 install, copy files to Windows, and then just format the partition and clean install 10.04?
View 1 Replies
View Related
Sep 1, 2010
I had two OS in laptop windows vista and linux mint and when I used to start my computer I used to get different option for os like linux mint, linux mint memory check, windows vista etc.. but because of virus windows vista got crashed so I formatted disk drive C: which were containing windows vista and reinstalled fresh copy of vista.. but now when I start my computer vista start automatically, I do not see GRUB options to run windows os or linux mint..Is there a way to reinstall GRUB to get options like I used to get before formatting ?
View 1 Replies
View Related
Jul 11, 2011
I got a system crippling virus on my windows installation. My recovery disks gave me the same problem. So I installed Win 7 enterprise using a disk my dad got from his work. The installation went smoothly. When I started my computer after it went straight to Win 7 without the GRUB bootloader (not the case with restore disks). Could somebody please help me with this issue because I cant stand using Windows for anything other than games much longer.
View 7 Replies
View Related
Feb 1, 2010
My old-ish Dell laptop is currently running Windows 2000 and Ubuntu 9.10. I originally installed 2000 to try and squeeze a bit more performance out of the laptop for general use, but in practise Ubuntu is running great and sees far more use than the Win2K installation so I've decided to create a stripped-down (i.e. non-networked) XP installation purely to run a few favourite audio applications.
I plan to do a fresh Windows install and wipe the current C: partition. Is there anything I should be aware of in terms of the GRUB bootloader. Will it simply recognise the new XP installation? Obviously I will back up my data before I continue, but are there any other precautions to take with respect to dual-booting? I could do without having to reinstall Ubuntu too!
View 4 Replies
View Related
Feb 12, 2010
Allot of Crazy things happened lately. A few problems happened and I fixed them. In the end I have 3 partitions of ubuntu net book remix and 1 for windows 7. I never reinstalled windows so could I do a system restore (in windows)to go back and then reinstall 1 partition of ubuntu net book remix.
View 4 Replies
View Related
Nov 1, 2010
I got ubuntu 10.04 lucid lynx along with windows (dual boot) and using Grub. On my computer, I have my C:/ (programs) and D:/ (data). I've never used my D:/ before that day that I've lost my windows partition on my grub menu. I usually use my D:/ with windows. The first time I used my D:/ to store data with linux, I lost my windows option in my grub menu. I'm not sure what I did wrong but I do want to restore my windows option in my grub menu.
After "fdisk -l",
I checked in /boot/grub and there is no menu.lst to modify. how I can get back my windows option in my grub menu ?
View 24 Replies
View Related
Feb 4, 2011
how do I retrieve/reinstall Grub without having to reinstall Ubuntu?
View 1 Replies
View Related
Mar 9, 2010
is it possible to use a Windows-based recovery partition on a dual-boot computer to overwrite the Ubuntu partition and remove the GRUB loader? For instance, if you booted up your computer, accessed the hidden recovery partition and used it to reset the computer to it's factory default settings, would that effectively remove the Ubuntu partition and the GRUB loader? Would a completely new installation of Windows overwrite/uninstall Ubuntu and GRUB automatically?
View 4 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 6, 2010
i have ubuntu 10.04 64 bit installed and configured and working sweet. I have reinstalled windows 7 and now i can't boot ubuntu i've tried easybcd to add ubuntu to win boot loader which failed and tried to follow the instructions to reinstall grub through a live cd which i am in at the moment. i go to a terminal and type sudo grub and it brings up the grub prompt. i have mounted all discs and entered the command find /boot/grub/stage1 and it keeps spitting this back at me Error 15: File not found
my hd is a 80gb with partions like this
/dev/sda1 105mb ntfs system reserved
/dev/sda2 45gb ntfs win 7 home premium 64 bit
/dev/sda3 34gb ext4 ubuntu 10.04 64 bit
/dev/sda4 1.5gb linux swap
View 9 Replies
View Related
Jul 23, 2011
This is partly a note to myself for the future and a guide to anyone who experiences similar issues.
So, I had to reinstall Windows XP since my previous installation gave me a blue screen error due to reasons unfathomable. Naturally, this deleted the GNU Grub and I could not login to my Fedora.
I read that apparently booting from a DVD installation offers an option to enter the rescue mode. I did not have a DVD, I only had the LiveCD so I had to figure out a way to reinstall Grub from the LiveCD. The following method seemed to do the trick.
Run the LiveCD and open Terminal.
1. Find the partition where the Grub Stage1 is code...
View 1 Replies
View Related
Feb 18, 2010
I was installing Ubuntu on my new laptop (with plans to dual boot with Win 7) and, I'll admit, I did something stupid. You see, there was a 1 meg free space before the Windows 7 'hidden partition' and it was driving me nuts. So, what I did, was use gparted to move the hidden partition to the start of the drive (yes, a 1 meg move). Install of Ubuntu went off without a hitch, but after reboot things went a bit differently. The Recovery partition shows up as a possible boot partition in GRUB, in Windows 7 I can now see the recovery partition as a normal NTFS drive, and I can no longer use the features that the partition gives. I know this might be more of a 'ask on a Windows forum' question, but I was hoping someone else had done something like this and knew how to restore the hidden partition to being, well, hidden.
View 2 Replies
View Related
May 12, 2010
So how can I (e.g. after using dd) boot to this dd'd Windows Installation partition with Grub?
I just want to do this as installing Windows from Hard Drive is much faster.
E: The solution was Unetbootin. Did nothing special myself (defined the .iso path and the partition (/dev/sda4)), the app did all the work.
View 5 Replies
View Related
Jan 7, 2011
I messed up my mbr by deleting my other drive which I guess had the MBR for both my OS (2 Windows 7's). So i installed Ubuntu in an attempt to fix it all hoping to get the GRUB. It then booted directly into Ubuntu.So I ran bootsect.exe tx the mbr and it said success.Still boots into Ubuntu directly without and grub.
I ran sudo update-grub
Found linux image: /boot/vmlinuz-2.6.35-22-generic
Found initrd image: /boot/initrd.img-2.6.35-22-generic
Found memtest86+ image: /boot/memtest86+.bin
done
View 9 Replies
View Related
Apr 25, 2011
I have a dual boot system. a 200gb hd with ubuntu 10.10 and windows pro on 100gb hd. the problem im having is the 'black screen' error.
When i boot ubuntu, it boot fine but it shuts off my screen cause its not supporting my video hardware which is a geforce 6100 or something.
I know the fix is to change grub to support older video architecture. Something like changing line 'GRUB_CMDLINE_LINUX_DEFAULT="QUEIT SPLASH NORNODESET"'
But how do i change the grub when the screens off? i can't, right. Is there a way i can change the boot parameters of ubuntu from my windows boot or maybe from the ubuntu virtual desktop?
View 7 Replies
View Related