Questions tagged [grub]
GRUB (GRand Unified Bootloader) is a multiboot bootloader from the GNU project. This tag is for questions relating to the legacy version of GRUB. Use the GRUB2 tag for questions dealing with GRUB2, a rewritten version.
2,264
questions
69
votes
6
answers
278k
views
Boot from USB using GRUB
My friend's laptop was in a car accident (he's fine!). However the laptop is very old its an Acer Aspire 1520 the CD-rom drive is broken and there is no floppy drive.
I made him a USB boot before I ...
68
votes
7
answers
207k
views
grub2-install: "this GPT partition label contains no BIOS Boot Partition"
There seems to be quite a bit of discussion about this but I can't find a simple answer.
When I try to install grub2 I get this error:
# grub2-install /dev/sda
Installing for i386-pc platform.
grub2-...
49
votes
4
answers
574k
views
How to fix the Windows 10 boot loader from Windows
I installed Ubuntu on a system that has Windows 10 installed. I can boot to Windows or Ubuntu normally using GRUB. I want to delete Ubuntu partition, but first I must restore the Windows 10 MBR.
In ...
49
votes
3
answers
154k
views
grub: boot from ISO
How can I boot into an ISO file in GRUB? The ISO file is on a reiserfs partition and GRUB can access it (already tested that).
37
votes
4
answers
42k
views
"Unable to find root device" on a fresh ArchLinux install
I have installed the latest version of ArchLinux (2014.06.01) on a MacBook Pro 8,1 (15", if that matters regarding hardware) dual-booting with OSX following the instructions in the official install ...
36
votes
2
answers
48k
views
How do I check the current boot parameter list in Linux?
During test, I sometimes add/change boot parameters to /boot/grub/menu.lst (suse), or at the grub screen during boot.
How do I check what boot parameters have been used after the system is done ...
36
votes
8
answers
181k
views
How to make UEFI bios start GRUB, not Windows?
The TL;DR, added in the edit:
The question is:
How can I make the BIOS prefer GRUB over Windows Boot Manager on the same UEFI boot partition?
The problem is not with Grub; Grub does the right thing ...
29
votes
3
answers
10k
views
Why do we need a boot loader?
After the BIOS, or something similar that serves as a firmware, is started, the control is passed to the bootloader, as far as I know.
Why can't the BIOS load the OS kernel directly?
Also, the ...
29
votes
3
answers
39k
views
How to install grub into an .img file?
I did the following:
created an empty .img file with dd
associated it to /dev/loop0 with losetup
created a partition in it with fdisk
formatted such partition with mke2fs
copied a custom GNU/Linux ...
27
votes
8
answers
228k
views
boot Windows from GRUB rescue
This is my situation:
installed Ubuntu without a CD (using unetbootin)
dual boot installation (Windows XP+Ubuntu)
didn't like the installation and decided to boot into Windows and delete the Linux ...
27
votes
7
answers
72k
views
How to add a new kernel to grub2
How can we add a kernel to grub2? i knew the stuff we could do with the former versions, but it seems to have changed. What files should we edit?
26
votes
2
answers
186k
views
How to add Windows 10 to grub boot loader?
I have installed Windows 10
I have installed Linux Mint Silvia and I have chosen a device for boot loader installation - sda.
There is not Windows 10 in grub menu when the system starts
I have booted ...
26
votes
2
answers
101k
views
GRUB: how find partition number (hd0,x)?
i am playing with grub and i change the root using:
root (hda,x)
how can i know what's x for /dev/sda7 ?
fdisk -l
Device Boot Start End Blocks Id System
/dev/sda1 * ...
25
votes
4
answers
3k
views
Why is it possible to change the password of an admin user on linux?
A few days ago, a friend of mine, wanted to show me that he can use my linux even if I don't tell him my password.
He entered in GRUB, selected the recovery mode option.
My first problem is that he ...
25
votes
2
answers
66k
views
Reconstructing Windows EFI files in /boot partition (Linux+Windows dual boot)
I'm dual booting Windows 10 (pre-Anniversary Update) and Fedora 24 on a Lenovo IdeaPad N580 (Intel Pentium B960 2.2GHz, 4GB RAM, UEFI with Secure Boot disabled). I originally had just Windows 10 and ...
21
votes
5
answers
4k
views
Is it possible to "return" to GRUB after booting Linux without restarting
I am dual-booting Windows and Linux on my SSD and find myself often switching between the two OSes. The SSD is really fast and both OSes boot in about 3 seconds once selected in GRUB. However, it ...
19
votes
2
answers
24k
views
How should I set up my dual-boot so that I can hibernate the secondary OS?
So, my previous setup was a triple-boot of Windows 7, wubi-integrated ubuntu, and then fedora on the last partition using LVM. I have tired of not being able to access my Windows files from ubuntu (...
17
votes
4
answers
5k
views
How to edit .bashrc without logging in
This is probably a duplicate question, but I'm not familiar enough with the login/boot process of CentOS (especially on a VM) to know what to search for.
I'm running CentOS 7 in VirtualBox. I ...
17
votes
4
answers
26k
views
Ubuntu Server installed from USB puts GRUB on the USB drive instead of the hard disk
I've just tried installing Ubuntu Server onto my new PC. The PC doesn't have a CD ROM drive, just USB, so I used a USB installation of Ubuntu Server.
When I install it, it allocates dev/sda as being ...
17
votes
2
answers
114k
views
How do I list my devices in GRUB?
I am trying to boot my own simple OS kernel using GRUB stage2_eltorito. However, the compiled ISO simply leads to a GRUB prompt. I looked up online, and I saw I need to load my kernel. However, when I ...
17
votes
2
answers
14k
views
Can Grub be configured to remember the last OS you booted into?
I typically have 2-3 OSes in my boot menu:
Ubuntu 10.04
Windows 7
[Sometimes, a third option, such as Ubuntu 10.04 Netbook]
If I am in an OS other than the default choice (Windows 7 in this case), ...
17
votes
3
answers
8k
views
Boot to Windows once from Grub then back to Ubuntu on next boot
I do a lot of remote work on computers and my home comptuer has 2 OSes: Ubuntu and Windows 7. I would like to be able to switch to Windows occasionally but this is impossible without losing my ability ...
16
votes
1
answer
2k
views
Why doesn't installing GRUB on MBR destroy the partition table?
I have read that my partition table is stored in the MBR. And write operations are performed sector-wise i.e, even if you want to change just a few bytes of a sector you need to overwrite entire ...
16
votes
3
answers
28k
views
Marshmallow in VirtualBox:installation stuck on GRUB
I'm trying to install android-x86-6.0_20160129.iso in VirtualBox but the installation get stuck at Do you want to install boot loader GRUB
Some background:
The VM was created from the Ubuntu 32-bit (...
16
votes
5
answers
67k
views
How would I reinstall the grub-efi bootloader on Fedora Linux?
I recently installed Fedora 18 using EFI boot. Like the other current linux distributions, it sets up GRUB2 for me.
I have experience with re-installing the BIOS version of GRUB when things go wrong....
15
votes
5
answers
68k
views
What is hd0 and sda/sdb in Linux?
I'm completely new to Linux, and am using Ubuntu 10.04.
I'm confused when to use what (hdx,y) to represent which hard drive.
I have 2 hard drives, the first one is identified as /dev/sda (in Disk ...
15
votes
4
answers
62k
views
How to make my old hard drive non-bootable?
Frequently my BIOS for some reason tries to boot to my old hard drive instead of my new SSD. This is starting to get very annoying have to switch hard drive priorities every time I restart my computer....
15
votes
1
answer
45k
views
How to quit GRUB minimal BASH-like mode and go back to menu?
I hid GRUB on boot so that I can press ESC to show the menu only when I need it. However, pressing ESC too many times will take me to the GRUB prompt and it's hard to press exactly once during the ...
14
votes
4
answers
120k
views
How to install GRUB from inside Windows 7
I am trying to make a kernel in Visual C++ (Windows) using the tutorial here. What I am wondering is how to install GRUB from within Windows 7. If I have to download Puppy Linux or something I will, ...
14
votes
3
answers
11k
views
How do I get grub to boot Windows from a second hard drive
I normally boot into Linux using GRUB and have Linux on the first hard drive in my machine. I have Windows installed on a second hard drive and am trying to get GRUB to boot the second hard drive.
The ...
14
votes
4
answers
8k
views
Reducing video mode switching during Linux boot
When I boot up my desktop computer, which only has Linux on it, the video mode and/or console font gets switched four times:
When GRUB starts, it switches from 80x25 text to a graphical mode so it ...
13
votes
3
answers
30k
views
With Centos 7 as a Virtualbox guest on a Mac Host, how can I change the screen resolution of the console / command line?
I am using the minimum install of CentOS 7 with command line access only (no graphic support installed).
After spending hours reading online about editing grub files, installing guest additions, and ...
13
votes
4
answers
82k
views
How can I change the default boot menu option from the GRUB command line?
I have a dual Windows 7/Ubuntu system which I almost always boot into Windows.
When I boot into Ubuntu it makes memtest the default boot menu option. While this is annoying, I could live with it if I ...
13
votes
3
answers
138k
views
How do I change which monitor my computer uses at boot?
I have two monitors connected to my PC: One computer monitor via DisplayPort and a TV via HDMI. The TV isn't in the same room as my PC, so it's pretty tough to select which operative system to launch ...
13
votes
2
answers
25k
views
IOAPIC[0] not in IVRS table
I have a fresh Ubuntu install from USB. When I boot the PC it takes me straight to GNU Grub, when I select Ubuntu I get the following messages.
[Firmware Bug]: AMD-Vi: IOAPIC[0] not in IVRS table
[...
13
votes
2
answers
8k
views
How to copy VirtualBox VDI contents to a partition and dual boot the OS from it?
I'm a Linux user but I keep a compressed Windows XP ISO with me on a pen drive for the case I absolutely need Windows to do something. This works in VirtualBox most of the time.
But now I want to ...
12
votes
6
answers
108k
views
How to boot a Linux system without graphical server
I'd like to know what should be done to boot a Linux system on a CLI environment, without also starting the X graphical server.
I'm interested in a temporary-only solution, ideally
a command, or a ...
12
votes
1
answer
31k
views
Documentation about rd.lvm, rd.luks, and rd.md kernel boot parameters
I was searching for documentation on how the options rd.lvm.lv, rd.luks.uuid, options work, but could not find anything relevant. The official GRUB documentation does not mention them.
After ...
12
votes
2
answers
14k
views
Windows 8 + Linux Dual Boot under UEFI BIOS
My intent in a very near future is to set up a dual boot system with Windows 8 and Debian Linux (for testing purposes) on a Lenovo Ideapad 205, that has UEFI BIOS.
I saw several articles about the ...
11
votes
2
answers
14k
views
GRUB in MBR or Partition?
where should i install GRUB? MBR or Partition Boot Sector?
What are the advantages and disadvantages of each approach?
Also, if we install the GRUB in the Partition Boot Sector then how the boot ...
11
votes
2
answers
4k
views
Make grub keep its default boot under kernel updates
I dual-boot my machine and I want it to default to boot into windows so that whenever I restart the machine remotely from my home it will be able to get back into Windows (instead of Ubuntu).
The ...
11
votes
2
answers
16k
views
How to install GRUB command-line tools on OSX?
I need access to grub-mkrescue for a project I'm working on. I know that the GRUB command-line tools come builtin to Linux, but how do I get them on OSX? Is there a package? Is it built into the ...
10
votes
2
answers
58k
views
How do I move the Windows 7 Boot Files (bootmgr, ...) to a different drive?
I wanted a dual-boot setup. So first I installed Windows 7 on the 1st partition of one hard drive (we'll call it HDD1), and then I went to install Ubuntu 9.10 on the second partition of HDD1. ...
10
votes
7
answers
24k
views
How can I change console shell's resolution in ubuntu 9.10
How can I change console shell's resolution?
By this I mean the shell when you Ctrl+Alt+F1.
I'm running Ubuntu 9.10, I thought this could be done by changing grub's menu.lst file by with grub2 I ...
10
votes
3
answers
8k
views
Aesthetically editing grub.cfg
EDIT: (for clarity) I'm looking to change the appearance of the grub boot menu, by editing the configuration files (possibly but not necessarily grub.cfg).
So, any ubuntu user knows how filled up ...
10
votes
2
answers
11k
views
HDD Power-Up in Standby: prevent from spinning up
On my Linux Mint 17.1 system I am using a Western Digital WD20EZRX HDD for backup.
To minimize power consumption and to extend drive endurance, I want the HDD to normally
be in spun-down standby state,...
10
votes
2
answers
22k
views
Change the keyboard layout of GRUB in stage 1
I installed grub on a EFI based system. So I have the EFI partition on /dev/sdc2 and my LUKS container in /dev/sdc5. I have only one linux partition in the LUKS container. So even /boot with the stage ...
10
votes
4
answers
61k
views
How can I restore my "Unknown" partition type, back to NTFS?
Lately I've been having trouble restoring my PC after uninstalling GRUB, and an Ubuntu install from it. Usually I don't encounter any problems when doing this, but this time is different. My Windows ...
10
votes
2
answers
37k
views
GRUB Bootloader with root LUKS encryption: Only grub shell
I would appreciate help and hints to solve a problem with the GRUB bootloader.
I have a system with root LUKS encryption. Means that except the partition with the bootloader, the whole system is in ...
10
votes
1
answer
78k
views
Installing Windows x64 on 32-bit UEFI (EFI-IA32) via GRUB [duplicate]
I am attempting to install Windows 10 x64 (64-bit) on a device that only has 32-bit UEFI (for the moment)
Since x64 Linux can be booted via a custom 32-bit GRUB.. I assume it could also do the same ...