Tag Info

Hot answers tagged

156

When you install Windows, Windows assumes it is the only operating system (OS) on the machine, or at least it does not 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 ...


38

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


19

TL;DR: you're safe enough Boot Repair report that you have linked there only lists the layout of your hard drive and bootloader settings. This is quite low level information that reveals nothing useful about you as far as crackers are concerned. The only tiny bit is on line 997, where it shows /home/adam. Users are usually assigned home folders same as ...


15

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


14

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


9

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


8

I just had to run this in windows: bcdedit /set {bootmgr} path \EFI\ubuntu\grubx64.efi Grub appears fine on boot and I can boot into Ubuntu and Win10 fine.


7

Sony, HP, and many others now, do not boot Ubuntu, just Windows. There are several work arounds and Boot-Repair used to rename 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. Not recommended to rename the Windows ...


7

Start a Ubuntu Linux (14.04) Live CD in UEFI mode. In case of a USB boot device, disable "Fast Boot" in UEFI. Open a terminal window (Ctrl+Alt+T) To verify that you are actually running in UEFI mode, use this bash command: $ [ -d /sys/firmware/efi ] && echo UEFI || echo BIOS The resulting output should be: UEFI In case it says BIOS, reboot ...


7

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


7

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


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

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


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

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

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

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

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


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

This looks like bug #1091464. Turn off secure boot in the bios system under the section boot, and you should be able to boot Windows.


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

I believe you can email rt@ubuntu.com and ask them to remove the post, but don't expect a quick removal. rt@ is the alias for their internal ticket handler (Request Tracker).1 1Source: Answer to the question Can I get an @ubuntu.com email address for the Ubuntu-related event I'm organising? by Oli


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

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


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.


3

I had this problem after installing Ubuntu 14.04 alongside windows 8.1 on my nice new lenovo thinkpad t540p laptop. However, all I had to do was disable the secure boot option in the bios. Having done that, the grub menu allows me to boot either Ubuntu or Windows from the options. I did not need to do anything else.


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

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



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