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
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
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:
chroot /media/disk
it does not recognize the grub command.

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

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


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 :: 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 View Related

General :: Retrieve/reinstall Grub Without Having To Reinstall Ubuntu?

Feb 4, 2011

how do I retrieve/reinstall Grub without having to reinstall Ubuntu?

View 1 Replies View Related

CentOS 5 Server :: SSH Deleted, Can't Reinstall With Rpm?

Nov 13, 2010

I tried this once but my post disappeared. A thousand pardons if this is a dupe.Through the magic of typos, I managed to delete my ssh binary file. I can receive SSH connections but am unable to SSH into another computer.I located the RPM that looks to be what I'd want -- openssh-4.3p2-41.el5_5.1.i386.rpm -- but it refuses to install. RPM gives me the following conflicting messages:

[root@lightning packages]# rpm -i openssh-4.3p2-41.el5_5.1.i386.rpm
package openssh-4.3p2-41.el5_5.1.i386 is already installed


View 3 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 :: 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

General :: How To Reinstall Deleted Swap Partition

Jul 4, 2010

I had to delete my swap partition in order to reinstall win XP, but now I need to reinstall it. I run Ubuntu 10.04 and read that there is a command $ sudo mkswap /dev/sda1. I have about 19 GB of free unpartitioned space left on the hardrive that I want to make into a swap partition. I'm not sure whether I should use sda1 or if the book uses it as an example and if I use it it could wipe away my existing partition with ubuntu installed on it.

View 31 Replies View Related

General :: Time And Date Deleted / Reinstall It?

Mar 16, 2011

I am using Ubuntu 10.4 and by mistake I deleted time and date. How do I reinstall?

View 2 Replies View Related

Server :: Deleted Keystore - Possible To Completely Reinstall JDK?

Aug 31, 2009

I was having a problem where I had run keytool to generate a key but had entered some bad info. I tried to run it again but it said there was already a key, so I deleted keystore thinking it would regenerate itself. I ran the keytool command again but it says it can't derive the signature algorithm.

Anyway, I've tried to 'sudo apt-get remove sun-java6-jdk' then 'sudo apt-get install sun-java6-jdk' but it doesn't seem to put me back where I was from step 1. 'sudo dpkg-reconfigure' also doesn't seem to fix it. I think if I can completely reinstall jdk then I'll be good, but how?

I just uninstalled, did 'sudo apt-get clean sun-java6-jdk' then installed again. Still get the error:
keytool error: java.lang.Excpetion: Cannot derive signature algorithm

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

Ubuntu :: Deleted OS Partition - How To Reinstall Without Losing Information

Jan 16, 2011

My gateway netbook was dual booted with windows 7 and ubuntu netwbook.,I was attempting free up some space on my netbook and decided that the ubuntu partition was expendable.I deleted it and sufficient to say I now can't boot boot up, I just get an error message, can't remember exactly what it is.I am getting a new computer and would kind of like to be able to recover the files on the computer.I have a USB netbook boot drive and am wondering how I would be able to install ubuntu without loosing the files.I have the usb key plugged in am now at the partition stage of the installation.

View 9 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 :: Can't Reinstall Grub After Reinstall Of Win 7

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

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 :: Use The Grub Command Line To Reinstall Grub From A Cd?

Jun 2, 2010

Can I use the grub command line to reinstall grub from a ubuntu cd?

View 1 Replies View Related

Red Hat :: How To Reinstall The Grub

Feb 14, 2009

In RHEL 4 grub.conf file has to be delete. how can i reinstall the grub?

View 2 Replies View Related

Fedora :: Reinstall GRUB Using CD?

Feb 18, 2009

I reinstalled winXP and lost grub loader. I have LiveCD with Fedora 10. How can I reinstall GRUB using this CD ?

View 14 Replies View Related

Fedora :: How To Reinstall Grub In F11

Jun 20, 2009

I've restored a Clonezilla image of my Fedora 11 ext4 installation but realised that I hadn't backed up the ext3 /boot partition. I decided to create a Clonezilla image of the ext3 /boot partition from my laptop, as that has exactly the same partition scheme. I've restored that. I realise it may not work but it might save me reinstalling F11 from scratch. How does one reinstall grub in Fedora 11 given that /boot is on a separate partition? Booting from the F11 DVD in rescue mode, running chroot /mnt/sysimage and grub-install /dev/sda doesn't work.

View 4 Replies View Related

Ubuntu :: How To Reinstall Grub In 9.10

Apr 23, 2010

I have 7 And Karmic and I recently a 1080p monitor, new graphics card and 8 gbs of ram, I reinstalled 7 (using 64-bits per pixel instead) and I tried reinstalling the grub menu in the live usb and it doesn't work like it did back in earlyer versions of ubuntu

View 4 Replies View Related

Ubuntu :: Reinstall Grub In 10.04 ?

Jul 15, 2010

I reistalled windows XP in a Ubuntu 10.04 /windows dual booting system .. After installation the grub is lost .. I don't know how to restore grub ..

View 4 Replies View Related

General :: Reinstall Grub In Red Hat 5.4?

Jan 27, 2010

how to reinstall grub in red hat 5.4 Linux

View 2 Replies View Related

OpenSUSE Install :: How To Reinstall Grub

Nov 29, 2010

I was using open suse with win 7 in a PC with dual boot (grub). But my Hard Drive has 170GB of free space (do not ask why I left this empty space ). Onde day I needed to use this free space and formated it using the windows. It worked fine, but when I reestarted the notebook my grub did not opened! To solve the problems I tried to recovered it but with no success, so I found a tutorial to reinstall the grub, It worked partially, because my open suse partition was not detected and I can't access it.

View 6 Replies View Related

Ubuntu :: Reinstall Grub From Live Cd 9.10?

Jan 14, 2010

I had windows XP on my c:drive. installed ubuntu 9.10 on a 27 gig unallocated space. ubuntu ran fine. Then i boot to win xp and used a partitioning software to take back some other unallocated space. after it rebooted to complete the partitioning processes grub wouldn't load. So i need to re install grub from this ubuntu 9.10 live cd.i tired the following
grub(didnt work the first time said i needed to install grub so did : root@ubuntu:~# sudo apt-get install grub )after grub was installedgrub> find /boot/grub/stage1 Error 15: File not foundthe previous linux partition I can see in the Computer with the boot directory and is called 1000gb hard disk: 27 GB filesystem see screenshot.

View 9 Replies View Related

Ubuntu :: Reinstall / Wiped Out GRUB?

Jun 19, 2010

I've just installed Windows 7 in a separate partition to play with. Trouble is, it's wiped out GRUB. I was expecting this and I know last time this happened it was easy to fix. The forum serch found a thread with 3 ways to re-install GRUB. I've tried each, and none have wored. Methods I've tried

1) The aptitude install grub-pc command ran and said it had worked correctly. On re-bootong, Windows started without any GRUB screens on the way.

2) The chroot method stated it installed correctly after raising a few warnings - after I used the --force command, as the install failed without it. Again, reboot and get Windows without a GRUB screen...

3) Normal grub-install command (no chroot). This went as per the chroot command.

From where I'm sat, it looks like I'll have to do a clean Linux re-install on the disk and then restore my linux files again from a back-up - something I'm not particularly over-joyed by the prospect of...

View 2 Replies View Related

Ubuntu :: Reinstall Grub After XP Recovery?

Jun 25, 2010

How do you reinstall grub after XP recovery ? btw I only have the live cd on a usb.. not the live cd it self.

View 9 Replies View Related

Ubuntu :: Reinstall GRUB To A Different Partition

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

Ubuntu :: How To Erase And Reinstall Grub

Oct 11, 2010

Several moths ago I installed Ubuntu 10.10 Maverick Meerkat alfa3 in a newly created partition while I was using Ubuntu 10.04 Lucid Lynx. After I installed the 10.10 alfa3, I realized that it also installed its grub. Moreover that grub could not detect the kernel updates of 10.04. Thus, I recovered the grub of 10.04 via live CD. Interestingly after I returned the grub of 10.04 the boot time of 10.04 has considerably increased.

For example, the Ubuntu splash screen appears 20 seconds after selecting Ubuntu in Grub menu. I thought that a fresh installation for 10.10 final release would solve the problem but it seems that I'm still getting the same boot time until the splash screen is the same. It seems that I need a fresh installation of Grub. The methods that are introduced following url are just recovers Grub. I need to erase and reinstall the Grub. [URL]

View 2 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 :: Reinstall Windows And Fix The Grub

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

Copyrights 2005-15, All rights reserved