Tag Info

Hot answers tagged

129

When you install Windows, Windows assumes it's the only OS on the machine -- or at least it doesn't account for Linux. So, it replaces GRUB with its own boot loader. What you have to do is replace the Windows boot loader with GRUB. I've seen various instructions for replacing GRUB by mucking around with GRUB commands or some such, but to me the easiest way ...


33

The windows installer doesn't care about other OS in the system. So it writes own code over the master boot record. Its not a problem of windows installer, its intended. If you reinstall, upgrade windows you will face the issue. Fortunately the solution is easy too. You need to repair the mbr. Do the following Boot using a live usb/cd of ubuntu. Use ...


26

Update: The PPA currently offers updated packages for 14.04 and above. Workaround: install packages for an older release It showed a 404 not found error because the PPA was not updated for the newer release (trusty). To install boot-repair in Ubuntu 14.04, run the below commands on terminal: sudo add-apt-repository ppa:yannubuntu/boot-repair ...


13

I never got in trouble by using these instructions: https://wiki.ubuntu.com/Grub2#Recover First of all, you must start your system from a live cd. Then "METHOD 3 - CHROOT This method of installation uses the chroot command to gain access to the broken system's files. Once the chroot command is issued, the LiveCD treats the broken system's / as its own. ...


11

Insert or connect the Ubuntu live media (DVD or USB). Find out how to boot your computer from removable media. Note that there is a difference between booting of older computers (BIOS/MBR) and newer ones designed for Windows 8 and later releases (UEFI/GPT). Reboot the computer from live media and choose Try Ubuntu when asked. Connect to the internet, ...


6

Boot from a live Ubuntu USB pendrive or CD and Install Boot-Repair on ubuntu by following steps Open the terminal and run the following commands sudo add-apt-repository ppa:yannubuntu/boot-repair sudo apt-get update sudo apt-get install boot-repair After completing the installation you can launch it from System->Administration->Boot-Repair menu if you ...


6

Update: There is a bug report on lp - https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1289977 From the above bug report, -Boot (14.04) from a pendrive -Mount my root file system (where /boot is) sudo mount /dev/sdaX /mnt /dev/sdaX is the location of your /boot directory -run: "sudo grub-install --boot-directory=/mnt//boot /dev/sdX" The exact ...


6

Sony's do not boot Ubuntu, just Windows. There are several work arounds and Boot-Repair renames the Windows efi boot file to be grub/shim so system thinks it boots Windows but really boots grub. But a Windows update overwrites the Windows named shim file and you are back to square one. May be better to use one of the other work arounds. I have seen all of ...


5

As it turns out on further experimentation, the problem was that I had not yet installed the official graphics drivers for Windows 7 after the initial install. As far as I can tell, the handoff from GRUB to Windows 7 screws up the use of the very basic default graphic drivers to display. But, as it turns out, if I did anything that would result in the ...


5

You can use the following commands to install boot-repair in Ubuntu 14-04 :- sudo add-apt-repository ppa:yannubuntu/boot-repair sudo sh -c "sed -i 's/trusty/saucy/g' /etc/apt/sources.list.d/yannubuntu-boot-repair-trusty.list" sudo apt-get update sudo apt-get install -y boot-repair && boot-repair


5

ntfs-3g has an option to deal with this kind of situation: remove_hiberfile (see man page). The man page goes on to warn about the consequences of using that option. Please note, means that the saved Windows session will be completely lost. Use this option under your own responsibility. If those are acceptable for you, you can try to mount your ...


5

Just install easyBCD in Windows 7 and do Add New Entry > Linux/BSD > (select ) Grub2 > (push) Add Entry Then you can choose Ubuntu on the Windows 7 bootloader to go to Grub2 (previous bootloader).


4

I had this same problem with my HP Pavilion g6 when trying to dual boot Ubuntu 12.04.3 LTS and Windows 8. That is, even after "successfully" running Boot-Repair, I still had the notebook booting directly into Windows 8. If I pressed F9 before the HP symbol showed up, I was able to get into a Boot Menu (HP's menu? I don't know...) and from there, to select ...


4

I have Xubuntu 13.10 running on my Vaio Pro. I ran boot-repair from the LiveCD and managed to get the grub menu, though Xubuntu wouldn't boot. After some research, I discovered this page: http://www.nicksplace.com.au/2013/07/04/fedora-19-on-vaio-pro-13-ssd-issues/ Its no secret that the Vaio Pro comes with a very nice SSD. The 128GB version is a ...


4

The original command should not be, apt-get install -y --force-yes grub-pc linux It should be, apt-get install -y --force-yes grub-pc If you run apt-get install -y --force-yes grub-pc linux command, apt-get tries to find and install the packages grub-pc and linux. But there is no such linux package available. E: Unable to locate package linux The ...


4

Solution was to perform these commands from liveDVD, it allows me to do things on my sda1 from that liveDVD(as far I understand) sudo mount /dev/sda1 /mnt sudo mount --bind /dev /mnt/dev sudo mount --bind /proc /mnt/proc sudo mount --bind /sys /mnt/sys sudo chroot /mnt update-initramfs -u update-grub reboot A friend of mine from ubuntu pl forum helped me ...


3

If you just want a clean install, I would recommend booting from a live cd and removing all partitions, effectively wiping your entire hard drive. Then try the Installation again. Remember that ppa's for Ubuntu do not necessarily work with Mint. I don't know if boot-repair is supported on Mint. How to delete partitions using gparted Start gparted from a ...


3

It's not sudo apt-get install -y --force-yes grub-pc linux It's sudo apt-get install -y --force-yes grub-pc There is no such package named linux.


3

First, the bios_grub flag in parted or GParted is a way to identify a BIOS Boot Partition. GRUB 2 uses this partition to hold part of its boot code when the computer boots in BIOS mode. It's normally about 1MiB in size, although it can be smaller in some cases. Most importantly, if Boot Repair re-ran the GRUB installer after you set the bios_grub flag on ...


3

Yes this is normal. This random change happens with some computers. Try inverting the 2 hard disks in the BIOS boot order.


3

Boot-Repair worked for me. It's very very easy to use graphical application, you do not need to use the command line, you only have to click a button :) All the available repair options are described in the Ubuntu documentation and there is a separate page explaining how to start Boot-Repair (by creating a bootable disk or installing it in an existing ...


3

I had a similar grub error after installing Lucid (10.04.4) on an older Dell and found a solution that allowed me to install boot-repair by modifying the instructions from here: http://askubuntu.com/a/245571/285018. Modifications are noted in bold Start Synaptic, and in the menu go to Settings -> Repositories. Go to the "Other Software" tab, and select ...


3

Your Boot Repair output shows a GRUB configuration for Windows as on a BIOS-based computer, but you seem to be running in EFI mode. That's the root source of your problem. One solution is to create a manual GRUB stanza, like this: menuentry "Windows 8" { insmod part_gpt insmod chain set root='(hd0,gpt2)' chainloader ...


3

Ordinarily, running Boot Repair backs up Microsoft's original boot loader file (bootmgfw.efi) as bootmgfw.efi.bkp and replaces the original bootmgfw.efi file with a copy of GRUB (or shim), and the Boot Repair output you posted would show this; however, I don't see such a backup file. Thus, I recommend you do one of three things: Run Boot Repair again, but ...


3

Boot repair won't delete anything on your hard drive. It will just repair boot issues by making GRUB the default bootloader in the Master Boot Record


3

You can install and run Boot Repair from your working Ubuntu installation; there's no need to boot an emergency disc to use it.


2

Installing Grub manually is fairly simple, and once you get it, there shouldn't be anything keeping you from dual-booting successfully. First, boot the computer up off of your standard Ubuntu installation disk. You should be using the same version (e.g. 13.04) and the same architechture (e.g. amd64, 64-Bit) as your currently installed Ubuntu. If you need ...


2

If your are using an older version of the ubuntu live cd, you might need to change the package source. (I had this problem with the Natty (11.04) live cd.) Start Synaptic, and in the menu go to Settings -> Repositories. Go to the "Other Software" tab, and select the line http://ppa.launchpad.net/yannubuntu/boot-repair/u... main and then click on the Edit ...


2

In the log we see that you answered No to the question Do you want to activate [Backup and rename Windows EFI files]?. Try again but this time answer Yes.


2

You just need to install grub again with an Live CD. This link could help you



Only top voted, non community-wiki answers of a minimum length are eligible