Comment 3 for bug 1503217

Revision history for this message
Pallavi (pallavijoshiylpi) wrote :

Solution:

2. Some computers, after a seemingly flawless installation of Ubuntu or Mint, won't boot. I'll describe two situations here.

a. You see the following error, in white letters on a black screen:

error: unknown filesystem
grub rescue>

In that case you've probably used an USB memory stick for the installation (Live USB). It happens sometimes, that the memory stick identifies itself as sda and the hard disk as sdb. And that's how it configures bootloader Grub then, during the installation!

After the installation bootloader Grub wants to boot from sdb, but sdb has disappeared: the hard disk should be addressed as sda now. The installer has therefore correctly installed and configured everything for sda, except for.... Grub.

In that case it suffices to redirect Grub to sda, which you can do as follows. The easiest method is when you use an Ubuntu or Mint DVD for that, because then you can be sure that there will be no new switching of sda into sdb in the live session.

When you don't have the option to use a DVD, then you might try a Live USB of Xubuntu 14.04 LTS, because that one probably has no switching problem (at least in my limited experience).

b. In another situation you may see one of these two errors, in white letters on a black screen:

error: invalid arch independent ELF magic.
grub rescue>

Or this error:

error: file '/boot/grub/i386-pc/normal.mod' not found.
grub rescue>

In that case the cause may be, that Ubuntu or Mint has installed a wrong kind of boot loader. Namely Grub for EFI / UEFI (grub-efi) instead of the ordinary Grub for BIOS.

Among others, this happens on a Lenovo B570e laptop. Although this computer has a UEFI and not a BIOS, this UEFI has been configured by Lenovo to behave as if it were a BIOS. That's why it needs the ordinary Grub for BIOS.

Reparation is then pretty simple: install the ordinary Grub with the Ubuntu or Mint DVD.