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.

learn more… | top users | synonyms

24
votes
1answer
65k 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).
23
votes
4answers
1k 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 ...
21
votes
3answers
2k 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 ...
20
votes
7answers
126k 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 ...
17
votes
2answers
11k 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
5answers
1k 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 ...
13
votes
2answers
11k 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 ...
10
votes
3answers
1k 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 ...
10
votes
3answers
4k 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 ...
9
votes
6answers
3k views

Multiple OS's and GRUB chainloading

I want to have multiple OS installations and I have been advised that chain loading using GRUB is a good way to handle this. I have looked at tutorials on the web but I still have some questions ...
9
votes
4answers
5k views

What differences are between firmware and software/OS?

I was wondering what differences are between firmware and software? What differences are between firmware and OS? Are boot-loaders firmware? Bios is. How about GNU grub? Is grub software or firmware? ...
9
votes
3answers
5k 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 ...
9
votes
4answers
25k 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 ...
9
votes
3answers
5k 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 ...
8
votes
8answers
22k 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 ...
8
votes
2answers
10k 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 ...
8
votes
2answers
47k 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. ...
8
votes
5answers
10k views

How to chain GRUB2 for Ubuntu 10.04 from Truecrypt & its bootloader (multi boot alongside Windows XP partition)?

I want Truecrypt to ask for password for Windows XP as usual but with the standard [ESC] option, on selecting that, i.e via Escape key, I want it to find the grub for the (unencrypted) Ubuntu install. ...
8
votes
2answers
2k 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 ...
8
votes
2answers
2k 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 ...
7
votes
2answers
4k 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 ...
7
votes
3answers
13k 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. Whilst this is annoying I could live with it if I ...
7
votes
2answers
8k 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 ...
7
votes
1answer
3k 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 ...
7
votes
3answers
795 views

How to automatically boot from Linux distro to Windows?

Here's the thing: I've got dual boot computer with Ubuntu 8.04 and XP Pro. Sometimes I want to switch between these two. To do this I need to issue "Reboot" in Ubuntu, wait for grub menu and choose XP ...
7
votes
2answers
10k views

Install GRUB bootloader without installing Linux

I have Windows 7 installed on the system and I want to create a separate WinPe bootable partition which system can fallback when things go wrong. Now Win7 does give this option and i might also edit ...
7
votes
3answers
2k views

Every windows 8 boot breaks grub

I have Windows 8 and Ubuntu 13.04 dual booting with UEFI and grub. (re-used the windows UEFI partition) After I used boot-repair, everything seemed fine. After I boot into Windows, however, I can't ...
7
votes
1answer
2k views

What needs updating when moving a bootable Windows 7 (or Vista) partition?

When I move a bootable NTFS partition with Windows on it to a different block offset, what needs updating to make it bootable again? Background: I plan to write a program that performs the necessary ...
6
votes
4answers
3k views

How do I get grub to boot Windows from a second hard drive

I normally boot into Linux using grub so have linux as the first hard drive in my machine. I have Windows installed onto a second hard drive and am trying to get grub to boot it. The grub config ...
6
votes
2answers
10k views

Activate Grub to show up at start up?

I used to have both windows vista and ubuntu 10.04 on my laptop and i could choose which one to start at start up. But now I only have ubuntu 10,04 on my laptop and because there is only one operating ...
6
votes
2answers
7k 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 ...
6
votes
2answers
4k views

How do I set up Grub properly to quad-boot Windows, Mac OS X, Linux, and FreeBSD?

Grub has gone completely insane on me. My quad-boot system was working great up until I upgraded Ubuntu to 12.04. Since Ubuntu overwrote the Grub stuff I had to repair it with my Mac OS X and FreeBSD ...
6
votes
2answers
8k views

How to create NTFS partition in Linux to install Windows 7 from USB?

I messed up with my computer and need help. Generally: install Windows 7 from USB. Problem: "setup was unable to create a new system partition" When first attempt to install Windows 7 failed I ...
5
votes
3answers
2k views

Is it possible to get rid of GRUB?

I have a Windows XP box with Ubuntu 8.04 installed on a separate partition. GRUB is defaulted to Ubuntu, which is annoying because most of the time I need to boot to Windows. I want to get rid of ...
5
votes
4answers
4k views

How to make Windows bootloader the default?

When I got a new computer, I installed Ubuntu and Windows XP on it. When I turn it on, GRUB shows up and lets me choose between the OSes. All right so far. A while later, I decided I don't want ...
5
votes
2answers
13k views

Making “default saved” work with GRUB2…?

I just installed Moblin Operating System. It's using GRUB2. On my Ubuntu 8.04 GRUB 0.97 was being used in which i was using the default saved option comfortably. I found that with GRUB2 i should not ...
5
votes
3answers
14k views

How can I restore GRUB without a live CD?

I realize that this is a duplicate of a question asked before, but in that question the asker managed to find his live CD and no real answer appeared, thus I am re-asking it. I managed to screw up my ...
5
votes
2answers
36k 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, ...
5
votes
1answer
4k views

Newly upgraded Ubuntu 11.04 VM not booting

I have just upgraded to 11.04 on my VirtualBox VM, and after I start it, it begins to load, but it stops at the line * Checking battery state... [ OK ] I have tried the recovery mode, but to no ...
5
votes
6answers
102 views

How do I prevent two OSes from clobbering grub files?

I want to install Linux and OpenSolaris on the same hard disk in different partitions. I'm worried because OpenSolaris seems to actively manage the grub data when updating the OS (part of the "boot ...
5
votes
2answers
28k views

How can I make grub2 boot into Windows 7?

I had Windows 7 installed on my system, then I installed Debian testing with grub2 as its boot manager. Initially I couldn't see windows entry in grub at all, so I ran: aptitude install os-prober ...
5
votes
4answers
14k 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 ...
5
votes
2answers
3k 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 ...
5
votes
4answers
10k views

How to boot Fedora Live CD iso from a Hard Drive?

I tried to use Grub to boot the Fedora 14 Live CD from its ISO image (SHA256 verified) on the hard drive. I put Fedora-14-x86_64-Live-Desktop.iso in the root directory of the FAT32 partition D: ...
5
votes
4answers
6k views

How to fix GRUB after Windows breaks it, and how to edit the GRUB menu

I had Windows XP and Ubuntu both installed. I could easily boot into either until Windows "fixed" the bootloader so that it now only boots into Windows. I guess there is no way to prevent Windows ...
5
votes
5answers
12k 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?
5
votes
2answers
118 views

Install Ubuntu and run in Windows or through normal boot [duplicate]

Possible Duplicate: Booting into a Virtual Machine from a physical installation I like and use Windows 7 more than anything. But there is times when I want to run Ubuntu or some other ...
5
votes
2answers
3k views

Dual Boot Installing Ubuntu 12.04 with Windows 7 (64) on a non UEFI system fails

I cannot seem to install the correct boot loader for a non-UEFI firmware system. I'm trying to install Ubuntu 12.04 and Windows 7 (64) which are technically compatible with GPT but for windows only if ...
5
votes
1answer
669 views

BSOD, MBR corrupt, tried to fix using Testdisk on Linux dual boot, now nothing works

The short story is I received a BSOD from a Windows program. I then couldn't boot Windows. My system is set up with GRUB to dual boot into CentOS, so I booted into CentOS and attempted to fix the MBR ...
5
votes
1answer
322 views

Triple booting on a Mac Book [almost there]; boot loader issues

Here is my current GPT/MBR partition table: Current GPT partition table: # Start LBA End LBA Type 1 40 409639 EFI System (FAT) 2 409640 663646255 Mac OS X ...