Ubuntu Installation :: Restoring Grub Failed After Installing Windows XP?

May 21, 2010

I am pretty new to ubuntu, and not sure if this question has been solved by anyone, I tried search this forum, but didn't find enough information. The closest thread I found here was this one:[URL].. Here is my situation, I have installed Ubuntu 9.04 a few days ago with an old Live CD, after running it pretty well, I upgraded it to 9.10 with the online update tool. (I guess this makes sure I was using Grub 1, the legacy Grub). After updated to 9.10, I installed a Windows XP on my hard drive, obviously, it wiped off my Grub from the MBR. So I tried to restore the Grub back to the MBR, but failed, please see below:I first run the fdisk

Code:
ubuntu@ubuntu:~$ sudo fdisk -l
omitting empty partition (5)
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

[Code]...

View 9 Replies


ADVERTISEMENT

Ubuntu :: Restoring Grub After Installing Windows?

Jul 5, 2009

I had to install windows for my sister, and I had a 20gb partition there for backup ( /data/ ), and well, that's where I was going for. After reformatting and installing Windows, I try restoring grub and this is what I get:

Code: grub> root (hd0,5)
grub> setup (hd0)
Checking if "/boot/grub/stage1" exists... yes

[code]...

Probing devices to guess BIOS drives. This may take a long time. /dev/hda: Not found or not a block device. Searching for an alternative way to install it, I found that if I 'installed' Ubuntu over my Ubuntu partition, it would automatically restore grub. But when I get to the partition tables, I get a message saying that "The computer has no operating systems on it" and it considers my hard drive as empty.

View 5 Replies View Related

Debian Configuration :: Restoring Lenny's GRUB After Installing Windows XP Elsewhere?

Feb 21, 2010

My computer initially had one hard drive, with Debian Lenny 5.0.4 installed. I haven't done any special configuration, so upon boot, I was presented with the GRUB kernel select menu, then gdm, etc. I think I used the Debian installer's 'use entire drive with LVM' configuration.

I then added a second hard drive, with the intention of installing Windows XP on it. After I installed XP on this second drive, I found out that it had overwritten the MBR on the first drive. (It was my intention do use the BIOS' F8-key boot menu to choose between the two drives, each with their own distinct boot loader. The two drives and OS's would be completely independent.)

Using my Debian installer CD, I think I have GRUB installed on the first drive again. I've found a number of tutorials which say I can use 'set' and 'linux' to boot the system, but the linux command always returns a file not found error.

I think my LVM filesystem is still intact, as the Debian installer's fdisk reports it, it can also chroot to it and my installation appears to be intact. 'ls' within GRUB shows (derek-swap_1) (derek-root) (hd0) (hd0,1) (hd0,2) (hd1) (hd1,1) (fd0) . 'derek' was the hostname I used.

I would like to simply restore the system to the way it was before: with the standard GRUB that comes with Debian 5.0.4, which then boots into the debian with my LVM filesystem. Is there a way to do this from the Debian installer CD? (I was hoping there would be a 'dummy install' command which would install GRUB and configure it properly, but leave all my existing partitions and filesystems intact.)

View 4 Replies View Related

Ubuntu Installation :: No Valid Drive After Installing - Grub Failed

Feb 1, 2010

I installed unbuntu 9.10 on a dual partition for alongside windows. Grub failed during installation and now I can not boot to windows or ubuntu. I can not repair with the windows cd, I can not do anything in Windows recovery no format, no fixboot, no chkdsk, no anything, it tells me there is no valid drive when I am in dir C:. In Ubuntu live CD I can see all the files are there on the local disk. What do I need to do to fix this

View 9 Replies View Related

Fedora :: Restoring Grub After Reinstalling Windows?

Aug 4, 2010

My Windows installation had a problem and I had to reinstall Windows. The problem now is that I need to get grub back so that I can boot into Fedora. I'm using a Fedora 11 LiveCD I had sitting around. Here are the results of the command most of the way down the first page:

Quote:

Disk /dev/sda: 250.0 GB, 250059350016 bytes
240 heads, 63 sectors/track, 32301 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes
Disk identifier: 0x000f09ab

[Code].....

I'm tempted to try the grub-install command quoted near the end of the thread, but I don't want to do anything that will hose the system.

View 14 Replies View Related

OpenSUSE Install :: Restoring Windows 7 Boot After Installing 11.4?

Mar 29, 2011

recently I've installed Opensuse 11.4 dual booting beside windows 7 . now I want to restore windows 7 boot to remove OpenSuse 11.4 ...I've tried many ways to remove grub and restore window's boot . I tried bootrec /fixmbr and bootrec /fixboot but in when it comes to the last step it says (cannot find system path )I also tried nt60sys method to restore windows boot and it failed 2 sound like the grub installed is rock solid one

View 1 Replies View Related

Ubuntu Installation :: Grub Failed - No Windows Boot Option - Add Back To Bootloader?

Jul 27, 2010

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...

View 3 Replies View Related

Ubuntu Installation :: Installing And Restoring With Out Downloading

Oct 7, 2010

I'm wanting to do a clean install but with a slow Internet connection it will take for ever to update and re-install my software from the Internet.Is there an easy way that I can use the packages that are saved in /var/cache/apt/archives with out hitting dependancy and version issues?

View 8 Replies View Related

Fedora Installation :: No GRUB After Re-installing Windows / Get That?

Dec 20, 2009

I have windows and I installed fedora 12 on a separate partition.

However, I had a problem with my windows XP SP 3 and had to install windows. Which I did on my C drive. However, when I re-boot I on longer get the GRUB loader displayed so cannot boot into fedora.

Is there anything I can do?

View 2 Replies View Related

Debian Configuration :: Restoring Boot Record After GRUB Installation?

Mar 11, 2011

I have recently installed Debian alongside Vista on the same boot menu using the GRUB booting device. Only problem is, I couldn't boot Vista at all any more, so I removed my Debian installation from that drive. But the GRUB boot record persists, I don't have the Recovery disk to restore my old system, so I have to find a way to manually remove the GRUB track and put the old record in its place. I assume there was a copy made of it by the installation program, now my only problem is to find that file and copy the content back in place (at the address at the very beginning of the drive) all that by using Linux code, since that is all I have left. Being new to this game, I have no idea how to begin writing the right command for a job like this

View 3 Replies View Related

Ubuntu Installation :: Restoring MBR After Windows 7 Install?

Jul 23, 2010

I hope this is the right sub-forum for a question like this. It seemed like the best match from what I could find, but my issue stems from installing Windows 7 after I already had Ubuntu installed. I don't know what details are important, so I'll be as thorough as I can. I was running Ubuntu 9.10 on a machine with two SATA hard drives. I was only using one since Ubuntu kept complaining that the second drive was having some issues. The drive with Ubuntu had only two partitions, one tiny one for the swap and the rest of the hard drive was the second partition.

I needed to install Windows for my work, and since I was not very familiar with the whole partition thing (which is the reason why the hard drive was basically one huge partition) I decided to follow this guide: [URL]... I backed up my important data, I used a live CD to create a new partition for windows, I backed up my MBR using the command given, and installed Windows 7. Everything went pretty smoothly. Now, whenever I boot up I don't get a choice of what OS to boot, it just goes straight to Windows, as expected.

I used the same live CD to restore the MBR using the command given on the guide, but I get this error:
dd: opening `/media/sda/mbr.bin': No such file or directory

[Code]...

View 4 Replies View Related

Debian Installation :: 'grub-pc' Package Failed Into /target/. Without The GRUB Boot Loader

Sep 21, 2010

I was installing sqeeze i386 on my laptop VOSTRO 1400 and got this the 'grub-pc' package failed to install into /target/. without the GRUB boot loader, the installed system will not boot.

View 3 Replies View Related

OpenSUSE Install :: Grub Failed - Boot Windows

Apr 15, 2011

ok basically i have 2 hard disks one Seagate 500GB Sata, and one Western digital SATA my windows 7 is on the western digital and i think thats sda1, and opensuse is on the seagate the grub loader is on the western digital, and earlier today everything booted fine, till i went to boot windows

i had 2 "other" options, i selected the first one and it failed, the second other booted to windows, after about 3 hours on windows and doing nothing. i went to reboot and go to opensuse, and got a "grub loading stage 1.5., please wait" and it loads forever and nothing happens, it just idles im currently on the livecd just to get an operating system to use to get the net

View 9 Replies View Related

Ubuntu :: Installing Windows 7 Without Messing Up - GRUB

May 14, 2010

I'm thinking about upgrading my Windows Vista to Windows 7. I rarely ever use it but I figured that when I do have to use it I would rather use Windows 7.

Will it mess up Ubuntu or GRUB when I do this? Like GRUB not recognizing Ubuntu any more? I don't really know but I just wanted to ask this here just in case.

View 6 Replies View Related

Ubuntu :: Grub Uninstalled After Installing Windows

May 27, 2010

I have updated my Windows from Vista to 7. I knew that this would mess up my GRUB so that it wouldn't show on boot. However, it seems as if my GRUB has uninstalled.

I have tried to reinstall it with a Live CD but this didn't work. Maybe I was doing something wrong. I'm sorry if I'm asking a question that has already been posted but I could only find ways to make your GRUB reappear, not reinstall it.

I'm stuck with Windows 7 for a week or two now and I really want to get back to using Ubuntu!

View 2 Replies View Related

Ubuntu :: Uninstall And GRUB By Installing Windows 7?

Jun 10, 2010

I have my system set up to dual boot Ubuntu 9.10 Karmic Koala and Windows XP Pro, using GRUB 2 (1.97~beta4) as the boot loader. I want to remove Ubuntu and GRUB 2 from the system and install Windows 7 in a dual boot environment with Windows XP. My concern is to be sure that in the process of removing Ubuntu I do not make my system unbootable by removing or otherwise screwing up GRUB without replacing it with the Windows boot loader.

I read a suggestion saying that the most straightforward way to do what I want is to simply install Windows 7 and, during the install process, select my current Ubuntu ext3 partition as the Windows 7 system partition. The suggestion said the Windows 7 install process would overwrite the MBR with the Windows boot loader, effectively uninstalling GRUB 2. The Windows boot loader will find the existing XP installation and give me a choice between Windows 7 and XP at boot time. Does that scenario sound right? Would it work the way I have described it? (I know I would no longer have Ubuntu. That is OK; I intend to reinstall it later.)

For what it is worth, here is my current partition layout:

/dev/hda - 320 GiB internal hard drive
/dev/hda1 - 37.26 GiB ntfs boot (Windows XP)
/dev/hda2 - 18.63 GiB ext3 (Ubuntu 9.10 /root)
/dev/hda3 - 1.69 GiB linux-swap
/dev/hda4 - 240.51 GiB extended

[Code]...

View 4 Replies View Related

Ubuntu :: GRUB Lost After Re-installing Windows / Stop It To Do So?

Jun 9, 2010

I need some help getting GRUB back after re-installing Windows. Now I don't have access to my ubuntu partition and the installation disk

View 7 Replies View Related

Ubuntu :: Install And Configure Grub After Installing Windows?

Nov 29, 2010

I installed in ubuntu 10.04 in my laptop
yesterday i needed windows and had to install it
so right no am unable to boot in ubuntu without my live cd
when i was installing ubuntu eather unchaked to install the bootloader or i installed it not on partition but starit on the drive on the /sda
am able to boot in my ubuntu with the live cd by typing in parameter :grub.
i really need grub boot loader in this computer to be able to chose to boot in windows or ubuntu
i tried couple of instructions and always goat some headache.

View 2 Replies View Related

General :: Windows XP Won't Boot With Grub After Installing Ubuntu 8.04?

Jul 8, 2009

I am completely new to Linux as of today.I finally took the plunge and downloaded and installed Ubuntu 8.04 on my Windows XP computer (dual boot), using the Ubuntu installation wizard to "make room" on my hard drive for Ubuntu by creating a separate partition. The installation finished successfully and Linux boots just fine, but Windows XP will no longer boot at all.

I have read many threads on this and other sites, giving advice of how to correct this problem. I am not at all experienced in editing and working with different ways of booting (other than Windows default). But after some frustration, I located (according to the threads) a couple places to try making changes to the boot commands and I tried various lists that were suggested. Before I changed anything, the Windows XP boot screen would appear and then it would revert right back to Grub.

[code]....

what drive number Ubuntu and/or Grub installed to, or assigned to the Windows partition, and I have no idea how to find out. I do not have a Windows XP installation CD (it came pre-installed on my computer), so I CANNOT wipe out that partition and simply reinstall it--I MUST be able to fix the problem without harming Windows!!! I also have data in the Windows partition that I don't want to lose. I could possibly uninstall and reinstall Ubuntu (as I saw suggested somewhere online), but I have not the slightest clue how to accomplish that task--and WHAT IF it didn't work?

View 23 Replies View Related

General :: Installing Windows XP Using GRUB?

Aug 29, 2009

I have 2 hard disks. In the first one, I have installed Archlinux, with GRUB. The second one is empty. I have a Windows XP .iso file. Is it possible to install Windows XP in the second hd, without having to burn the ISO file? I don't have got any CD recorder/reader.

View 2 Replies View Related

General :: Installing The Grub In Windows?

Sep 22, 2009

I am using windows XP.I wish to install GRUB bootloader so that I can modify menu.lst & add lines to boot from an ext2 partition having iso of linux distro.One way is to use live cd & try 'sudo grub-install <device>' but I don't have live cd.I came to know about open source software 'wingrub' but I am not able to understand how to use it even after reading [URL] what should I do to install GRUB in mbr & have option to boot to c drive which has windows & another partition (/dev/sda2) which has linux.

View 5 Replies View Related

Ubuntu Installation :: Lucid: Restoring Grub2 (dual Boot) - Error "error File Not Found Grub Rescue"

Apr 30, 2010

After upgrading to 10.04 from 9.10 Win7 wouldn't startup any more. So I tried this HowTo: [URL] to restore Grub2. But now each time I boot up I get this two lines: error file not found grub rescue> I have NO idea what to do.

[Code]...

View 9 Replies View Related

Ubuntu :: GRUB Can't Find 9.10 After Restoring Image To New Drive?

Mar 31, 2010

I've been running a dual boot set-up with Win XP and Ubuntu 9.10. The old 40 gb drive was showing signs of impending failure, so I replaced it with a new 120 gb drive, after saving an image of the old setup. After restoring the image from the original drive to the new one, Windows boots fine from the GRUB menu, but Ubuntu doesn't. I briefly see the Ubuntu "circle" then the screen goes blank. If I hit any key, I get a console screen of error messages (I can provide details if needed).

I think the problem is caused by the fact that the restore process scaled the saved image to fit the new, larger drive, with the result that the Ubuntu partition doesn't actually start where GRUB expects to find it. I'd like to recover the Ubuntu installation, but if is too big a deal, I'll just wait until 10.4 is released and do a clean install.

View 9 Replies View Related

Debian :: How To Config Grub After Installing Windows 10

Aug 16, 2015

I have 2 HDDs, and under linux, sda is ntfs, sdb is ext4 of debian jessie, the booting order is sdb ( it contains the grub on sdb's MBR) then sda, the windows boot loader on its own MBR.

The sda was win8, but now just formatted it and did a fresh installation of win10. After power off PC and plug the sdb up again. Turn on the power, setup the booting prior as same as above, but, the grub can not realize the windows 10 boot sector, error message is: no such device /dev/sda1... (and following a digit array) 8xxxxxxxxxxxx....

How to config grub in order to make it can dual boot both Operating System?

View 1 Replies View Related

Software :: Restore GRUB After Installing Windows 7?

Dec 26, 2009

have an Intel Core2 Duo system that would dual boot via GRUB between Windows Vista and Fedora 10. I recently attempted to upgrade from Vista to Windows 7, however because the version of Vista I had would not upgrade to Windows7. This has removed the ability to boot into my Fedora 10 installation. After some brief research on the Internet, I created a Live CD of Fedora 12, and booted into that. Accessing the terminal I tried typing:

[liveuser@localhost ~]$ su root
[root@localhost liveuser]# grub

Probing devices to guess BIOS drives. This may take a long time.

GNU GRUB version 0.97 (640K lower / 3072K upper memory)
[ Minimal BASH-like line editing is supported. For the first word, TAB

[code]....

Error 15: File not found

What is needed so I can restore GRUB on my system and boot into Fedora again?`

View 11 Replies View Related

OpenSUSE Install :: Restoring GRUB From YaST?

Jan 8, 2011

To fix a Windows problem with hibernation, I had to let it overwrite my MBR. I can still boot into openSUSE 11.3 thanks to a wonderful piece of freeware called Plop Boot Manager, but the GRUB menu is no longer in my MBR (obviously).How can I force a rewrite of GRUB to the MBR from YaST?

View 9 Replies View Related

General :: Reinstall GRUB After Installing Windows Vista?

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

Software :: Installing Grub From Scratch To Boot Windows?

Jan 11, 2010

Since CloneZilla doesn't include the MBR when saving a partition into a file, I need to take care of this myself. With a working XP in /sda1, I'd like to...

1. Boot with a Linux live CD

2. replace the Windows MBR with Grub, ie. without any Linux already installed

3. save Grub's configuration files into /sda2 (which is ext2fs-formatted)

4. add XP to Grub

View 5 Replies View Related

Ubuntu Installation :: Grub Not Detecting Windows 7 Even After Updating Grub

Apr 22, 2010

installed windows 7..then tried restoring grub using live cd....mounted partition somewhere else....then installed ubuntu again where it was installed previously and now grub is not detecting windows 7 but i am able use my windows files

used sudo update-grub2.

View 9 Replies View Related

Ubuntu Installation :: GRUB Loader / When Power Up Its Saying GRUB Loader Failed?

Nov 16, 2010

I have a laptop with windows vista installed on the internal hardrive.Last March I installed wanted to start to use linux so I brought a separate external hardrive partitioned it to enable media storage on one section and installed ubuntu on the other half. It works fine and so does the windows vista on my internal hardrive, however I have to have the hardrive plugged in to boot.Until now this hasnt bothered me, however I've recently started to take my laptop into university and cannot switch it off unless I have the external hardrive with me as I cannot switch it on without it.With it plugged in it loads up GRUB and then gives me the option to load either Ubuntu or windows vista, however if it is not plugged in when I power up it says GRUB loader failed.It also occured to me that if for some reason my external hardrive fails in the future I wont be able to use my laptop anymore.Has the installation of ubuntu (and GRUB) altered the MBR?
Is there some way I can edit the settings so that I can load windows vista without the hardrive plugged in, and then if it is plugged in I get the choice which one to load?

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved