General :: GRUB Got Re-written By The Windows Bootloader?
Feb 14, 2011
with reference to my this thread: [URL]
After installing Windows 7, the GRUB got re-written by the windows bootloader. Now after booting into the live cd and mounting /boot partition (sda2), I tried to reinstall the GRUB with this command grub-install --root-directory=/mnt /dev/sda as told by this [URL]
But I got the an error which says, Are you sure /dev is mounted? then i tried the same command on the / partition (sda5) which said, cannot find boot directory, Are you sure /dev is mounted?
And installation failed, now after restarting its just a black screen with grub> prompt.
I have windows 7 home premium currently installed and I have just recently installed Linux Mint and it has replaced my MBR with GRUB. Is there any way I can restore the normal Windows 7 Boot Loader and have the secondary option to boot my Linux Mint?
I have recently purchased a new laptop, which came with Windows 7 pre-installed. I immediately installed Ubuntu alongside it with a dual boot. At first it worked fine, but when I restarted after the first time I used Windows, I ended up with an 'Operating system not found' error. I was able to reinstall the Grub bootloader using an Ubuntu Live CD, which appeared to fix the problem, but the next time I loaded Windows 7 and rebooted, the problem reappeared I think the problem is that Windows 7, for whatever reason, is somehow removing or disabling Grub.
i had a dual boot xp/ubuntu first. later i had to format and reinstall xp. this deleted the grub bootloaderplease let me know, how to fix this! please make it simple . i have the live cd, but i don't have internet connectivity in ubuntu.
I installed Ubuntu and Windows 7 on my computer. I first get the Windows bootloader telling me choose between Windows or Ubuntu. If I pick Ubuntu, I then get a GRUB loader telling me to choose between different versions of Ubuntu and Windows 7. How do I remove GRUB and just use Windows bootloader?
When I try to boot into windows through grub it just returns to the grub menu.also system recovery options from bios just end up in grub screen too.here is boot script.From reading forums I think I need to get grub out of windows partition but I don't know how
Anyhow, I'm a n00b to the Linux world, so I installed it on my Windows 7 desktop to dual boot. Current configuration is as such:160GB HDD with 3 partitions: Ubuntu Studio 10.10 on one, Win 7 on another, and the third is for storage.1TB HDD for extra storage.So far, all is well, but I'm not pleased with the default GRUB options and layout. It gives me 4 options to choose:
-Ubuntu Studio -Memtest -Memtest Debug Mode (or something to that effect)
Is there any way to simply remove grub? Does GRUB reside in a specific partition? Do I have to just delete the partition that has GRUB on it?The way my bootable partitions work is something like this.
1)Installed Vista
2)Installed Ubuntu
3)Thought I removed GRUB
4)Put in new HDD(1) and installed Win7 onto it
5)Put in another new HDD(2) and put another Win7 onto that (but I disconnected every other HDD so that the bootloader would be written onto the new HDD(2). When I have all my HDD's plugged in now, I get a GRUB load error (I think it's 21).
I thought it would be cool and easy to install Windows 7, ended up being a headache and worthless so far. Now I only have the windows bootloader with vista and windows 7 as options. How can I get grub going again? I have all 6 fedore core 10 cds and a live cd in case those will help, I am using the live cd to play in fedora right now, but I am not sure how to get access to grub.conf and what to change in it, because I am pretty sure I have to add Windows 7 to it.
Basically, I used a USB stick to run ubuntu 9.10 live, then tried to install to an external 500gb HDD connected with a Sharkoon Drivelink USB adaptor. The installation went fine, but I get a GRUB error 21 when booting a lot of the time. I figure this is due to the way in which the drive is connected. I am a complete noob, and I want to just ove GRUB completely and restore my Vista bootloader. Unfortunately, I do not have an installation disk as my laptop didn't come with one, and none of the others I have other PC's are the same version (home premium 32-bit).If you know of a way to fix the GRUB issue/sso I can use the external drive I would love to hear them too, but the main aim of this thread is to help me remove GRUB and restore the windows bootloader. If any more information is needed, just ask and I will provide it.HP Touchsmart TX2-1010Windows Vista Home Premium 32-bitExternal HDD:Seagate Barracuda 7200.11 SATAII (with jumper set for 150mbps)
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?
I installed ubuntu on my lappy but due to battery life reasons and driver issues I cannot use it; must return to windows . I do not want GRUB on it but I'm stuck with it now. how do I wind the clock back?
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.
Whenever I load Ubuntu on a machine with other OS(s) loaded it always recognizes and adds an entry in the bootloader menu. Not this time. Well kind of. After the install my windows boot option was in the menu, but after an update it is no more. I see the different Linux images... but no Windows boot option. Can someone tell me how to add my windows XP boot option back to the bootloader? I have XP on the the on the 5th partition and Ubuntu on the 6th...
I've been running openSuse 11.2 for a while on my notebook.Today I turned it off at work and came home. When I tried to turn it on, it boots, shows a black screen written 'GRUB' and then NOTHING. It doesn't complete the boot process.
i've been using ubuntu with wubi, and I'd like to install it on my new hard drive (so windows is on one hdd and ubuntu is on another). afaik, grub will be installed on the hdd w/ ubuntu, and i have to set it to recognize the other (windows) hdd. assuming that i want to get rid of ubuntu and just use windows, what steps do I have to take to do so? (if grub is only on the ubuntu hdd, then would I just have to format it?)
2010.07.21 while trying to install Ubuntu 10.4 I've been trying to install Ubuntu 10.04 on my Dell workstation and am unable to get the Grub-2 bootloader to load properly. It seems to be failing for lack of a floppy drive on the system resulting in an error message that reads : error: fd0 cannot get C/H/S values.
I've gone through the Grub-2 page at [URL].. to no avail and other sources having similar problems have likewise turned up no solutions. here's the background: A while back I was trying to install a different version of Linux and had the same problems, then had to set the project aside for a bit. I don't think this has anything to do with Linux or Ubuntu per se, but rather Grub.
The system is an old (4-5 years) Dell workstation that has one drive (128 GB) set up for Windows XP and a second new drive (500GB) which I installed for Linux. There is a DVD/CD drive and the system contains no floppy drive at all. In one attempt to get this working I tried modifying the BIOS to indicate there was a floppy drive - this created a failure earlier in the chain with the BIOS failing to load properly, not unexpected, just a shot in the dark at that point.
At the moment I am considering just running out to buy and install a cheap floppy drive to see if that helps. I'll never use the thing though so I'd rather find a solution that doesn't require me to spend money on useless hardware. In any case, here's the /boot/grub/grub.cfg contents:
# DO NOT EDIT THIS FILE # # It is automatically generated by /usr/sbin/grub-mkconfig using templates # from /etc/grub.d and settings from /etc/default/grub # ### BEGIN /etc/grub.d/00_header ###
Im finally deleting vista from my disk, but as I am game addict I will re-install it afterwards just for games. Now I assume that will overwrite GRUB, so how do I restore boot record and at same time keep my grub config?
I have problem with bootloader , mean to say , after installing fedora 13 my windows 7 bootloader will overwrite, and when i install windows7 boot loader my fedora 13 bootloader will overwrite vice versa
"Life has been made easier with all Microsoft systems, all versions of Dos and Windows, because each of them has to be installed in an active primary partition and so hence will always has a boot loader in the root partition." So if I already have Windows 7 installed (in a 100gig partition of a 1t hdd) how do I modify the windows booting process so that I can go on to create many additional partitions that will be used for linux distros?
I am a complete noob at this and I need a hand. I was about to throw my computer out of the window when I decided to throw the windows out of the computer so to speak. So, I downloaded Ubuntu 10.10 and tried to install. I had a grub rescue after the installation (file system unknown), which I have seen discussed here. Being the noob that I am I decided to try 10.04 because it said it had full support. With this install I get a similar error during installation: grub cannot be installed in boot sector.
So, basically there is an issue with grub and the boot sector. I checked in my BIOS options to see if there was an option that prevented the writing of a boot sector or something, but I have not been able something like that. So, I am wondering if it is possible that Ubuntu does not really erase/format the selected disks or something, leaving any difficulty there.
Does anybody know? Or better yet: what exactly do I need to do a manual grub install?
I have windows xp on my first hard drive and Linux on the second hard drive.The windows hard drive is labeled hda1 and the linux hard drive is labeled hdb1.I am using GRUB to boot the linux hard drive and it is installed on hdb.Is there any way to boot the secondary linux hard drive using the windows bootloader?I have tried several online tutorials for it but none of them work.
I have written a cd with photos and dvd in Linux and then I tried opening in windows xp but it didn't. It says that it is unable to read it.what can I do?
I have a major problem installing opensuse 11.3 on my computer( hp pavilion dv6).I downloaded openSUSE-11.3-GNOME-LiveCD-x86_64 from software.opensuse.org: Download openSUSE 11.3 and made a live usb.I'm a newbie at using linux infact i never used another operating system beside windows.Now i have installed windows 7 (on c disk 100gb).My first problem when i am trying to install opensuse is that he dosn't automatic choose to make my partitions so i have to do it manualy.I was searching how to make it the best way so i desited to make 4 partitons one for ' /boot' one for ' / 'one for '/home' and a swap partition/In windows7 i made 4 new partitons
3:10 gb for /boot 4:10 gb for/ 5:70 gb for /user 6:10 gb for /swap
My first question is :Is this right to make 4 paritions in windows (opensuse can't format or resize my partitions it just can edit it ) so it's my only way to make partitions( If this is wrong how can i make partitions then)
My second question is how to change the bootloader configurtation because everytime when ii try to install opensuse it stops at about 96% and it says to reconfigure the bootloader options.
If i skip this i get the folowing message
=== System Checking === Checking for /usr/bin/chroot binary... Passed Checking for chroot directory /mnt... Passed Checking for chroot directory content (bin boot Checking for binary /mnt/bin/ls... Passed Trying to chroot... Failed
I have 2 hard drives, 1 with Windows 7, and one with Ubuntu.
Before installing Ubuntu I had PCLinuxOS then I got a book on learning Linux that is Ubuntu specific so I formatted it and installed Ubuntu 9.
My problem is:
When I boot up I get a WINDOWS bootloader first that lists:
Windows 7 Ubuntu
Then when I click Ubuntu I get the GRUB bootloader.
I've tried reinstalling Grub. I've also tried SuperGrub but none of the options worked, most returned error 15.
So I want ONLY GRUB to show up when booting. From there I think I can edit the grub file to set a timeout of 3-5 seconds, with Windows 7 as DEFAULT boot (Do I need to type "setactive" under my Windows 7 entry to do this part?)
I installed Fedora 15 alongside Ubuntu, only to discover that it doesn't play nice with Ubuntu and this means that even though I formatted the Fedora Partition and made it into a new one, (i needed around a 7gb space for video editing files etc, so it is optimised for this). Anyway, that's off topic. Even though all traces of Fedora are gone, everyone time I go to boot from the HardDrive, it goes into Fedora's starting screen (the blue one with the loading icon) and then says it failed and gives a little command line.
I recently installed Fedora on a triple boot system with Winows XP and Ubuntu JJ. how to add Ubuntu's grub to the bootloader. Here is the output of Fdisk -l.
[root@localhost rabbit]# fdisk -l Disk /dev/sda: 250.0 GB, 250059350016 bytes 255 heads, 63 sectors/track, 30401 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes
Just got done installing F14 64 and all went well however when I rebooted the machine it boots straight into windows, where is my GRUB boot loader? Only one drive in this machine (sda) and I remember going through the GRUB settings during the install. How to get a bootloader working now because in my linux experience (since RH5) it has always just installed the bootloader and worked. Apparently ext4 is bunk for me and when using LVM settings. I am up and running and grub is working.