Fedora Installation :: Reinstall Grub After A Windows Installation Deleted It?

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


ADVERTISEMENT

Ubuntu Installation :: Windows Reinstall Deleted GRUB Bootloader (Natty)

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

Fedora Installation :: How To Reinstall Gnome - Deleted?

Jul 16, 2009

I was slimming down my Fedora Install for security reasons and i accidently deleted Gnome. How do I reinstall Gnome?

View 6 Replies View Related

Ubuntu Installation :: Windows 7 Overriden By Old Windows XP Entry - After Reinstall Grub

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

Ubuntu Installation :: After Windows 7 Install Cannot Reinstall Grub

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

Ubuntu Installation :: Grub Reinstall Went Wrong After Windows Wiped It Out

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

Ubuntu Installation :: 9.04 - Lost Grub Legacy In Windows Reinstall

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

Ubuntu Installation :: Deleted, And Now Can't Reinstall Lucid?

Jul 13, 2010

I deleted Ubuntu off of my laptop, because I was having some issues with it (I had lost some of my icons in Software Center, couldn't access my Yahoo Mail etc..). I deleted it using this method. I then went into my Windows Vista OS, and accessed Disk management via Control Panel.The partition Linux was previously on was Unallocated, and I had a D partition which was Windows recovery. I then shrunk my C (main Windows) partition down. I deleted the D partition.So now I have the C partition, and a large unallocated partition. I was planning on installing Ubuntu from CD onto this unallocated partition. I am using the same CD I had previously used to install Ubuntu. My roommate was also using the same CD today to install Ubuntu on his computer. I know the CD works.

So when I inserted the Ubuntu CD it loaded the first couple of screens. It got to the purple screen where the install text would normally have appeared and then continues to load.... but the "do you want to install? etc..." text did not come up. It then loaded to a black screen, loaded back to the purple screen, reads the disc, keeps loading... and loading... and nothing ever comes of it.I tried again, this time when the first purple screen comes up, I hit enter. I get the language select. I then get the options. I click install Ubuntu. it then starts loading... and loading... black screen, purple screen, black screen with text... but nothing comes of it.My windows is working fine. I don't know why it won't install

View 5 Replies View Related

Fedora Installation :: Reinstall GRUB Directions Don't Work

Jan 13, 2009

I reinstalled windows, which wiped out my boot partition. I then booted to a live CD, to attempt to reinstall GRUB. However the usual method and directions aren't working.

View 6 Replies View Related

Fedora Installation :: Reinstall Of Vista Wiped Out GRUB

May 14, 2009

How to installs and I used gparted to create my install of fedora 10 on my laptop (which had xp on it). After a major XP crash I reinstalled with Vista business on the XP partition. Now my linux partition is definately there however I Vista boots now and the grub loader does not come up.

View 4 Replies View Related

Fedora Installation :: Dualbootsystem - Reinstall Grub - Can't Start Again

Nov 8, 2009

For some applications i still have windows XP installed. Because of the fact that Windows has to be reinstalled once a year (it's only windows ) I deleted the MBR accidentely. Now I can't start Fedora again. hen I start Linux using the Installation CD of Fedora 10 my partition is not mounted automatically because I am using LVM.

[code]...

View 10 Replies View Related

Software :: Deleted GRUB And Cannot Reinstall It

Feb 6, 2009

I've forgot to add/make clear, as I have said this is a single OS system, if there is a less complicated fix that will leave me without grub (but with a bootable system) that would be fine. Something like
Code:
fdisk /MBR
but I understand that command is only for DOS, correct?

I've managed to delete/screw up my installation of GRUB. My hardware RAID controller had gone on the fritz and I was getting an operating system not found message during boot. Turns out I needed to reload the firmware for the card. I now believe the card is working fine however in trying to troubleshoot the problem (which I initially thought might have been related to GRUB) I have managed to hose GRUB, and I now see
Code:
Loading GRUB..

Error 15 at startup. I am running Ubuntu 8.0.4 LTS. I have been using an 8.10 desktop live cd for troubleshooting. Grub-install does not work when using the live cd. I have tried to follow directions given on this page: [URL]. However if I chroot to where my OS partition is mounted on the live cd:
Code:
chroot /media/disk
it does not recognize the grub command.

If I simply try:
Code:
sudo grub
find /boot/grub/stage1
it does not find them. If I try:

Code:
sudo grub
root (hd0,0)
setup (hd0)
it checks for stage1 and does not find it. (This may be related to the fact that I am not chroot'ed to the correct OS partition when trying to run these commands, since, as I have mentioned before, I can't get the grub command to run after I chroot to my OS partition.)

When I initially started fooling around with grub I did not even have a boot partition, so I am not even sure that I had GRUB installed in the first place (this was simply a clean install of 8.0.4, not a dual boot system) but since then I must have screwed up the MBR by trying to reinstall/fix what I thought was a broken GRUB. I could not find the GRUB files on my computer, so I have downloaded GNU Grub 0.97 and unzipped it, and moved the entire contents into a /boot folder which I created, so I now have the proper /boot/grub/stage1 directory. (However I never ran any installation after downloading grub, I simply moved the files, perhaps this is the issue).

View 14 Replies View Related

Ubuntu Installation :: Partition To Ensure Home Isn't Deleted By Next Reinstall?

Jun 9, 2010

How do I ensure that my home partition does not get deleted the next time I reinstall Ubuntu, as I can see there is a choice between formatting the whole drive and manually partition it, but if I reinstall won't I delete the home partition as well?

View 3 Replies View Related

Ubuntu Installation :: Reinstall Windows Without Messing Up Grub Or My Ubuntu Partition?

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

Ubuntu Installation :: Grub Reinstall Doesn't Generate Grub.cfg?

Dec 10, 2010

I have ubuntu 10.10 running on my HP dv5 pavilion laptop So today i tried to reinstall grub on my pc .. i removed grub-pc and grub-common using synaptic then booted up with a live cd of ubuntu 10.04 i then mounted sda11 to mnt using sudo mount /dev/sda11 /mnt sda11 being my ubuntu directory containing the /boot then i installed grub to it using sudo grub-install --root-directory=/mnt /dev/sda it reported as installation finished.No error reported then i unmounted /mnt and checked for /boot/grub/grub.cfg seems like the file is missing so are the files in /etc/grub.d/ reinstall my grub back

View 9 Replies View Related

Ubuntu Installation :: 10.10 And Win 7 - Cannot Reinstall Grub

Mar 29, 2011

I have Ubuntu 10.10 and Windows 7 on my computer. After not booting into my Ubuntu partition for a while, I noticed that grub had disappeared, being replaced by the windows bootloader. I followed the steps here under "reinstalling from liveCD" and I was able to get a grub command line when I rebooted, but no boot menu. So I booted into Ubuntu and ran update-grub like the instructions say, and the output indicated that Ubuntu and Windows had both been successfully found and added to grub.cfg. But when I rebooted, I still only got the grub command line.

When the instructions had steps for if you had a separate boot partition, I used /dev/sda1 because it is marked by fdisk as being the boot partition. I thought that maybe update-grub was only seeing /boot on the Ubuntu partition and wasn't touching the boot partition, so I tried mounting /dev/sda1 as /boot, but after that grub didn't boot at all, it just goes straight to Windows and I haven't been able to reinstall grub even after following the steps again several times. How can I get grub back?

View 3 Replies View Related

Ubuntu Installation :: Cannot Fix Grub After Win Reinstall

Aug 7, 2011

I've reinstalled win 7 (dualboot). Then booted with rescuecd and tried to fix grub.

Code:

$mount /dev/sda3 /tmp/b/boot
$grub-install --root-dir=/tmp/b /dev/sda

This gave ma a grub shell on boot. The prbm was that this was grub1 - v0.97

I ran a proper 2nd time

Code:

$mount /dev/sda3 /tmp/b/boot
$grub2-install --root-dir=/tmp/b /dev/sda

Now on boot I can spot grub loading and black screen with blinking cursos on top. ubuntu 10.10, separate /boot, uncrypted /root (which is probably the cause) Also I have deleted the 2 win partitions (sda1, sda2) and made a new one (sda1). The /boot is still sda3, can this be the cause?

View 2 Replies View Related

Ubuntu Installation :: Reinstall Grub 2 From The Live CD?

Dec 4, 2010

In drs305's standout article HOWTO: Purge and Reinstall Grub 2 from the Live CD, in the section where it says:

Quote: From the Live CD:

* If the Ubuntu OS cannot be accessed through the normal boot process (see above), boot a compatible installation CD/Live CD. The Grub 2 files are by default installed in the partition's /boot/grub folder and will be placed in this folder if the commands are run as instructed. (emphasis mine)

I'm not certain what precisely means "compatible" here? Is it using the same desktop (K/X)Ubuntu what is installed on the hard drive? Or the same release number (such as, in my case 9.10) or both or just ---well, you get the idea I'm sure.

View 3 Replies View Related

Ubuntu Installation :: Reinstall Grub 2 Without Live CD?

Dec 11, 2010

I have Ubuntu 10.04 with file system EXT4 and dual booting with Vista The problem is I am about to reinstall Vista which will overwrite Grub 2 I know how to restore Grub2 with the Live CD I currently I only have a Live CD of Ubuntu 8.04 which doesnt support EXT4 neither Grub2 I am on a very limited INTERNET so I cant download the Live CD. A solution would be the minimal cd image but the download stall at 96%

View 3 Replies View Related

Ubuntu Installation :: Why GRUB Reinstall Using A Partition Instead Of MBR

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

Ubuntu Installation :: Deleted Partition Now Getting Grub Rescue

Sep 10, 2010

I have ubuntu in sda7. sda6 had bt4, sda3 had Win7. From Win7 I removed sda6. Now when I start my computer I get grub rescue. How can I tell grub that ubuntu in sda6 and not in sda7 anymore or how can I create sda6 again so ubuntu goes sda7.

View 1 Replies View Related

Installation :: Ubuntu Deleted From Grub List / Put It Back?

Mar 16, 2011

I used grub customizer to delete the extra ubuntu entries on the grub after an update but when i restarted what was left was just windows and mac. Is there any way to put it back?

View 4 Replies View Related

Ubuntu Installation :: Can't Remove GRUB - Reinstall 9.10 From LIVE CD

Aug 17, 2010

I had Kubuntu 9.04 and Windows XP on a Dual Boot. I upgraded using the update manager to 9.10. (I know, I'm a fool.) The Kubuntu install stated freezing hard on startup, just after the GRUB OS selection screen, at a blinking cursor and otherwise blank screen. I'm pretty sure 9.10 will work great from a fresh install, but the live cd freezes after main Kubuntu boot screen and even Windows live cd only shows Windows partition. fixmb, fixboot, bootcfg etc. do NOT replace the grub as desired.

View 1 Replies View Related

Ubuntu Installation :: Deleted Partition - Get Grub Rescue When Boot

Jan 17, 2011

I set up my Dell Inspiron Laptop as Dual Boot -> Xp / Ubuntu 10.04. - all worked well. I had 2 installations of XP on this machine and I removed one - all worked well. I then went into XP and deleted the partion (4) that the old XP had resided on (using Easeus Partition Master) All NOT working well !! Now when booting the machine I get grub rescue> I did ls and got ....

[Code]...

View 6 Replies View Related

Ubuntu Installation :: Interrupted Upgrade Reinstall Now Grub Does Not Work

Dec 4, 2010

Had a working WinXp/Karmic dual boot system. Tried to upgrade Karmic to Lucid and my daughter rebooted the system during the upgrade. I decided to do a fresh install of ubuntu, leaving Windows in place and it succeeded until the end when it said it could install the bootloader, so I proceeded without. I meant to say "it said it couldn't install the bootloader, so I proceeded without.

On booting, Grub drops to the command line.
I get grub>, not grub-rescue>
I did ls in grub and it showed the partitions I expected
/sda5 is /boot
/sda6 is /swap
/sda7 is /
/sda8 is /home

I tried to follow the grub2 command line manual by entering
Code:
set root=(hd0,7) (success)
linux /boot/vmlinuz-2.6.32-24-generic root=/dev/sda7 ro (failed - couldn't find file)
so I'm now a bit stuck.

Here are my bootinfo_script results (by the way, sdb is just an e-SATA hard disc with nothing installed on it, I don't know why bootinfo thinks Windows is there. Windows is on /sda2 with some sort of backup/recovery partition on /sda1)
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 #7 for /boot/grub.
=> Windows is installed in the MBR of /dev/sdb .....

View 7 Replies View Related

Ubuntu Installation :: Recover Deleted Bootloader Files By Mistake (not GRUB)?

Mar 26, 2010

I cannot boot into by Ubuntu 9.1 machine.... Trying either GUI or rescue mode gives me the following error messages (which i copied by hand since they were in cli)

Code: mount : mounting /dev/disk/by-uuid/64e5cb0d-058a-4a4c-af4b-7afb6427a72e3 on root failed : invalid argument

mount : mounting /sys on /root/sys failed : no such file or directory
mount : mounting /dev on /root/dev failed : no such file or directory
mount : mounting /proc on /root/proc failed : no such file or directory

Target doesnt have /sbin/init The only thing i remember doing before this is deleting some bootloader files... but they were on another disk so I didn't think that it would affect my ubuntu install. Guess I was wrong how I can recover my system?

View 2 Replies View Related

Installation :: Unable To Reinstall Windows XP

Nov 18, 2010

i have windows xp and federo installed on my system on seperate partition and using grub loader for dual boot. Unfortunately am unable to boot the windows and it hangs with the blue screen and with safe mode it stops at mup.sys and doesnt proceed further.I tried booting with a windows xp CD but it looks like it is unable to recognize the disk even if i say boot with a CD in BIOS settings. Does anybody knows how to make the CD recognizable so that i can go into the windows repair mode.

View 9 Replies View Related

Fedora :: /Boot Folder Deleted - Any Way To Restore Without Reinstall

Dec 1, 2010

My /boot folder is deleted by an unwanted mistake. I'm using F14 x64. I have updated my OS and I also installed more than 2 GB packages and It is very difficult for me to re install Fedora. Is there any way to fix this problem with out re installing Fedora?

View 1 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

Fedora Installation :: Adding Windows XP To GRUB?

Jul 22, 2010

I have installed Windows 7 64-bit, Fedora 13 64-bit and Windows XP 32-bit. I had to install the 32-bit XP for some driver issues I have with obscure devices I own. Windows 7 and Fedora both boot with no issues but Windows XP is not the in the GRUB loader as it was installed after Fedora. I have tried adding a few entries to the menu.lst file but my attempts failed. The output of fdisk -l is here

Code:

255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

[code]...

View 7 Replies View Related







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