Recovering GRUB after installing Windows 7? [duplicate]


I'm trying to get a functional dual-boot of Ubuntu 14.04 and Windows 7 Home Premium. I began with a working Windows 7, then created a partition for Ubuntu. I thought I succeeded in installing Ubuntu on that partition, but it appeared corrupted, so I reinstalled from the CD, choosing "Erase Ubuntu 14.04 LTS and reinstall". At that time, my entire disk was formatted and all 500GB of my HDD were given to the Ubuntu partition, my Windows 7 partition was entirely erased.

At that point, I created a new partition for Windows using gparted and installed Windows 7 successfully in that partition. As expected, this erased the Ubuntu grub bootloader, and my laptop now boots exclusively into Windows. I've tried a number of solutions from the Live CD, including Boot Repair and attempting to run install-grub and update-grub.

The Boot Repair paste is here: . I don't know where to go from here; I feel like I've exhausted all of my options, and at this...

0 0

It so happened that after installing windows on my system (which already had linux, ubuntu, installed on it), the grub menu that used to come at the beginning stopped appearing. Instead, it started to boot directly into windows.

In order to solve this problem, I did the following. Of course, I found a lot of answers to this problem on the net, but what I did worked for me fine. But be sure to sit patiently and correct it in case something does not work fine. Never give up!

(Note: I also do believe that the following works only when the ‘vmlinuz’ and ‘initrd.img’ files are at the root directory itself. Check this in step 5. In step 5, ‘vmlinuz’ and ‘initrd.img’ should be there in the ‘temp’ folder we created.)

1. Boot using a live cd of ubuntu.

2. Open a terminal and run the command

sudo fdisk -l

It lists the complete partition table of the hard disk. In there, identify which partition you have got your linux installed on. You can identify...

0 0

How I Restored GRUB2 after a Windows 7 Install. GRUB2 (Grand Unified Bootloader) is a universal bootloader used by Ubuntu and other Linux Distributions. If you have a Linux Distribution installed on a partition, and attempt to install Windows alongside it, your GRUB bootloader will be overwritten by the Windows bootloader, and your computer will only boot into Windows.

Recovering the GRUB2 Bootloader after a Windows Install is simple. When finished, your Bootloader should detect all installed Operating Systems and automatically add a bootable menu item for each of them.

Note: This GRUB2 Installation process assumes that a Linux Partition still exists. If you overwrote Linux with Windows, this tutorial will not work for you, as there is no Linux system to recover boot.

How to Restore GRUB2 after installing Windows:

Boot from an Ubuntu Live CD or Live USB Once up and running, Open a Terminal Type sudo su (press enter after typing each command) Type fdisk -l...
0 0

After reinstalling Windows in the computer dual boot with both Windows and Ubuntu Linux,you need restore grub because mbr has been rewritten.This tutorial shows how to restore grub 2.

Update:Today I ghost my XP system,but after restore grub,I cannot boot into XP by clicking the old windows option in grub menu.So you’d better to run this command to renew the grub2 boot list after trying following method:

sudo update-grub

0.) Using Ubuntu LiveCD/LiveUSB and boot-repair (gui tool).

If you have the LiveCD or LiveUSB you installed Ubuntu from, insert into your machine and boot from it. Then run 3 commands into terminal (Ctrl+Alt+T) to install boot-repair:

sudo add-apt-repository ppa:yannubuntu/boot-repair
sudo apt-get update
sudo apt-get install -y boot-repair

If you don’t, directly download boot-repair.iso file and burn into liveCD or liveUSB (UNetbootin) then boot from it.

Open boot-repair, click Recommended repair to repair grub2...

0 0

Windows operating systems have the habit of installing their own bootloader on every installation - this wouldn't be a problem, if they would recognize all present operating systems. But unfortunately, they only recognize other Windows systems.

Apart from installing EasyBCD and other tools on your Windows partition to set things right, you can also just reinstall the lost GRUB boot manager with the help of a live CD (I used Ubuntu 11.10 for that). Insert the CD and boot from it. Open a terminal. If you have no idea what the name of your partitions is, use

fdisk -l

to get an overview. My output looks like this:

christian-main christian # fdisk -l
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier:...

0 0

Antivirus Tools

Avira AntiVir Personal (07-02-2011): Free anti-virus and anti-spyware on-demand scanner, detects and removes more than 50000 viruses (Windows Freeware). ComboFix (07-02-2011): Designed to cleanup malware infections and restore settings modified by malware (Windows Freeware). CWShredder 2.19: Popular CoolWebSearch Trojan Remover tool (Windows Freeware). Dr.Web CureIt! Antivirus (07-02-2011): A free standalone anti-virus and anti-spyware on-demand scanner (Windows Freeware). GMER 1.0.15: Hidden services, hidden registry, hidden file scanner, Rootkit Detector and Remover (Windows Freeware). Malwarebytes Anti-Malware 1.50.1 (07-02-2011): Anti-malware application that can thoroughly remove even the most advanced malware (Windows Freeware). Remove Fake Antivirus 1.72: A tool to remove virus/malwares which disguises itself to be an antivirus and produces fake alert/warnings and urge you to purchase a useless copy of the fake antivirus (Windows Freeware)....
0 0

Changes From Version 15.0 to 15.1

New Added Softwares, Updated Functions:

ClamWin Free Antivirus 0.97.3 (07-12-2011). Added options to integrate updates (on USB/writable drives) for Malwarebytes, SuperAntispyware, Avira Antivirus, Spybot Search & Destroy, ClamWin Antivirus and DrWeb Antivirus. Fixed HBCDMenu.cmd for 64bit. MiniXP: Fixed MSI installer. DrWeb Antivirus is now downloadable only.

Updated Softwares:

Avira AntiVir Personal (07-12-2011), ComboFix (07-12-2011), Grub4dos 2011-12-06, Malwarebytes Anti-Malware 1.51.1 (07-12-2011), Partition Wizard 7.0, Remove Fake Antivirus 1.82, RKill (07-12-2011), Spybot – Search & Destroy 1.6.2 (07-12-2011), SuperAntispyware 5.0.1134 (07-12-2011), TDSSKiller, TeamViewer 6.0.10462, Western Digital Lifeguard for Windows 1.24.

Removed Softwares:

Changes From Version 14.1 to 15.0

New Added Softwares:

Archive format changed from .uha to .7z HBCDMenu.cmd: Can now be launched from...
0 0

Checking kernel version

[root@grac41 Desktop]# cat /etc/oracle-release Oracle Linux Server release 6.5 [root@grac41 Desktop]# uname -r 2.6.39-400.214.4.el6uek.x86_64 [root@grac41 Desktop]# rpm -qa | grep `uname -r` kernel-uek-devel-2.6.39-400.214.4.el6uek.x86_64 kernel-uek-2.6.39-400.214.4.el6uek.x86_64

Download and Install required packages

Install crash package [root@grac41 crash]# yum install crash Loaded plugins: refresh-packagekit, security adobe-linux-x86_64 | 951 B 00:00 public_ol6_UEKR3_latest | 1.2 kB 00:00 public_ol6_latest | 1.4 kB 00:00 public_ol6_latest/primary | 37 MB 00:34 public_ol6_latest 25211/25211 Setting up Install Process Package crash-6.1.0-5.0.1.el6.x86_64 already installed and latest version...
0 0


It wasn't trendy, funny, nor was it coined on Twitter, but we thought change told a real story about how our users defined 2010. Unlike in 2008, change was no longer a campaign slogan. But, the term still held a lot of weight. Here's an excerpt from our Word of the Year announcement in 2010:

The national debate can arguably be summarized by the question: In the past two years, has there been enough change? Has there been too much? Meanwhile, many Americans continue to face change in their homes, bank accounts and jobs. Only time will tell if the latest wave of change Americans voted for in the midterm elections will result in a negative or positive...

0 0