88
votes
How to fix the Windows 10 boot loader from Windows
The command in Windows 8/8.1/10 for fixing MBR is "bootsect.exe".
bootsect /nt60 drive_letter: /mbr
this fixes boot record of partition mapped to "drive_letter:" and the MBR of the disk where the ...
56
votes
Boot from USB using GRUB
Here is a quick example of grub commands that might just work, explanations and caveats below.
grub2
Most likely for post-2010 installs.
set root=(hd1,1)
chainloader +1
boot
grub
Most likely for pre-...
35
votes
Accepted
"Unable to find root device" on a fresh ArchLinux install
Instead of booting with the normal image, I used the fallback version and managed to boot into the system. As it turns out, Linux could not detect any drives due to the block mkinitcpio hook (...
34
votes
Accepted
How to make UEFI bios start GRUB, not Windows?
There are quite a few different ways to do this, including:
The EFI setup utility -- Most EFIs provide setup utilities that you can access by hitting a special key at boot time (Esc, Del, or a ...
33
votes
grub2-install: "this GPT partition label contains no BIOS Boot Partition"
You should first determine whether you want to use a BIOS/CSM/legacy-mode boot or an EFI/UEFI-mode boot. The former is the way that PCs have been booting since the 1980s, but it's an ugly and hackish ...
32
votes
Accepted
Why doesn't installing GRUB on MBR destroy the partition table?
The software reads the original sector; updates it in memory; then writes out the updated sector.
On Linux, this is actually done by the OS itself, so GRUB doesn't need to worry about sectors – it can ...
28
votes
Accepted
Reconstructing Windows EFI files in /boot partition (Linux+Windows dual boot)
Since you have copied all the required files to boot/efi/EFI/Microsoft/Boot, you need to rebuild windows loader configuration. You will need a windows bootable usb or dvd (64 bit will be preferable).
...
28
votes
How to add Windows 10 to grub boot loader?
Boot to your Linux
Open a Terminal window
Type: sudo os-prober
If the results identify a Windows 10 install, type sudo update-grub which will update the GRUB entries and add it
Reboot your computer ...
24
votes
With Centos 7 as a Virtualbox guest on a Mac Host, how can I change the screen resolution of the console / command line?
CentOS 7 still uses the deprecated vga parameter.
You wanted step-by-step, you get it:
Make yourself root: sudo su
vi /etc/default/grub
In Vi, press i or Insert-key on your keyboard to enter the edit ...
24
votes
Accepted
How to boot a Linux system without graphical server
What you are asking for is not completely clear to me, so I will give you several possible answers, hoping you can find the one you are interested in.
You can disable the X server at the next boot ...
24
votes
How to edit .bashrc without logging in
You could boot with a live Linux CD and then mount the CentOS filesystem, and edit the .bashrc file from there.
17
votes
grub2-install: "this GPT partition label contains no BIOS Boot Partition"
If you want to use GPT partitions with old-style BIOS boot mode, then you need to create a BIOS partition of a few megabytes (16MiB should be fine and future proof) on the device where you want to ...
17
votes
Accepted
How to make my old hard drive non-bootable?
Your Disk 0 partition 1 (Storage E:) is still has the Active flag enabled.. This is the cause of the problem. You have to remove the active flag from that partition as follows:
Open up cmd as ...
15
votes
IOAPIC[0] not in IVRS table
The reason the CPU is all the time 100% used I think it is different than the message you are seeing.
About the error message
Now about AMD-Vi: IOAPIC[0] not in IVRS table and AMD-Vi: No southbridge ...
15
votes
How to edit .bashrc without logging in
Init /bin/sh from grub configuration
You can edit your grub configuration to load up a root shell instead of going to the GUI.
Reboot your VM
When the grub menu appears, select the first entry and ...
14
votes
Boot from USB using GRUB
The chainloader +1 thing might not work if the BIOS isn't good at booting from a USB key (which was why I was wanting to use Grub anyways).
In this case, there's some deep magic at https://help....
14
votes
How to fix the Windows 10 boot loader from Windows
The other answers given here work great on MBR/BIOS systems, however if you're on a UEFI system like I am, bootsect will just write a semi-functional boot MBR over the GPT protective MBR and bootrec ...
13
votes
Accepted
Marshmallow in VirtualBox:installation stuck on GRUB
First, select Create/modify partition:
Then create 2 partitions:
Create a small (100m) first primary partition for grub. Set the bootable flag. Write changes.
Create an extended (logical) partition ...
13
votes
Accepted
How to edit .bashrc without logging in
CtrlAltF1 might be getting captured by the host, or VirtualBox might not be passing it on correctly. A couple of quick tests tells me that you can use the Host key defined in VirtualBox instead of ...
11
votes
Accepted
How do I change which monitor my computer uses at boot?
Which screen gets BIOS output during the boot process is up to the graphics card. Some graphics cards output to all displays simultaneously, some will only output to whichever port it considers to be ...
11
votes
grub2-install: "this GPT partition label contains no BIOS Boot Partition"
You already have this tiny partition, so kk the first partition starts not with 1 but with 2048
/dev / sda1 2048 411647 409600 200M Linux file system (/boot)
You need to change the label type, from ...
11
votes
Accepted
How do I list my devices in GRUB?
There is your howto:
https://www.linux.com/learn/how-rescue-non-booting-grub-2-Linux
or here:
https://askubuntu.com/questions/38082/how-do-i-manually-boot-from-the-grub-prompt-after-do-release-...
10
votes
Ubuntu Server installed from USB puts GRUB on the USB drive instead of the hard disk
Simplest way to do this on ubuntu server installer (works at least on 14.04)
At question "Do you want to install GRUB on master record", answer NO
you will be prompted where to install GRUB instead, ...
9
votes
Accepted
Would a Windows 10 install overwrite Linux/Grub?
I was in your exact situation, dual-booting Windows 8.1 and Ubuntu (15.04). While I would not recommend attempting any sort of Windows OS upgrade without a backup (like I carelessly did), upgrading ...
9
votes
How to fix the Windows 10 boot loader from Windows
I was having the following issue:
I had Ubuntu and Windows 10 and deleted Ubuntu partitions using Windows 10. After a restart I got the Partition not found error and automatically entered ...
9
votes
Marshmallow in VirtualBox:installation stuck on GRUB
Just adding my 2 cents, on what I think is happening:
Actually from a bit of experimentation it's not the presence of 2 partitions that allows Grub to proceed it's the "Create/Modify permissions" ...
8
votes
With Centos 7 as a Virtualbox guest on a Mac Host, how can I change the screen resolution of the console / command line?
Above all, I followed in @John Mayor's steps and made up a specific way. hope it helps to someone.
[Tested Environment]
CentOS 7.4.1708 on VMWARE Workstation 12 Player
(kernel 3.10.0-693.21.1.el7....
7
votes
Unable to load Linux after Windows installation
You'll have to boot to an Ubuntu live CD to reinstall grub.
From the tutorial located here:
Mount the partition your Ubuntu Installation is on. If you are not sure which it is, launch GParted (...
7
votes
Accepted
Cannot EFI boot from Clonezilla disk image
After days of searching of course I find the answer myself an hour after I decided to post here.
Using a Ubuntu-based version of CloneZilla I got it to boot in UEFI-mode which was able to update the ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
grub × 2122linux × 922
boot × 905
ubuntu × 634
multi-boot × 345
windows-7 × 244
windows × 231
windows-10 × 227
bootloader × 213
partitioning × 193
uefi × 117
debian × 110
grub2 × 108
mbr × 88
windows-8 × 80
bios × 80
hard-drive × 77
linux-mint × 72
arch-linux × 72
fedora × 70
ssd × 50
kali-linux × 47
efi × 45
usb × 44
windows-8.1 × 38