Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

GRUB loading.. Welcome to GRUB! error: incompatible license Entering rescue mode..

504 views
Skip to first unread message

David Christensen

unread,
Mar 28, 2015, 6:00:07 PM3/28/15
to
debian:

I did a fresh install of Debian using debian-7.6.0-i386-netinst.iso
today. When I rebooted, I saw:

GRUB loading..
Welcome to GRUB!

error: incompatible license
Entering rescue mode..
grub rescue>

I figured that there was something incompatible between the older ISO
and current files.


So, I downloaded debian-7.8.0-i386-xfce-CD-1.iso and installed that.
When I rebooted, I saw:

GRUB loading..
Welcome to GRUB!

error: incompatible license
Entering rescue mode..
grub rescue>


Any suggestions?


TIA,

David




--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: https://lists.debian.org/551723...@holgerdanske.com

David Christensen

unread,
Mar 28, 2015, 6:10:04 PM3/28/15
to

Lisi Reisz

unread,
Mar 28, 2015, 6:30:04 PM3/28/15
to
On Saturday 28 March 2015 21:55:22 David Christensen wrote:
> debian:
>
> I did a fresh install of Debian using debian-7.6.0-i386-netinst.iso
> today. When I rebooted, I saw:
>
> GRUB loading..
> Welcome to GRUB!
>
> error: incompatible license
> Entering rescue mode..
> grub rescue>
>
> I figured that there was something incompatible between the older ISO
> and current files.
>
>
> So, I downloaded debian-7.8.0-i386-xfce-CD-1.iso and installed that.
> When I rebooted, I saw:
>
> GRUB loading..
> Welcome to GRUB!
>
> error: incompatible license
> Entering rescue mode..
> grub rescue>
>
>
> Any suggestions?
>
>
> TIA,
>
> David

Or:
https://lists.debian.org/debian-user/2011/11/msg00611.html

Lisi


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: https://lists.debian.org/201503282225.3...@gmail.com

Lisi Reisz

unread,
Mar 28, 2015, 6:30:04 PM3/28/15
to
On Saturday 28 March 2015 21:55:22 David Christensen wrote:
> debian:
>
> I did a fresh install of Debian using debian-7.6.0-i386-netinst.iso
> today. When I rebooted, I saw:
>
> GRUB loading..
> Welcome to GRUB!
>
> error: incompatible license
> Entering rescue mode..
> grub rescue>
>
> I figured that there was something incompatible between the older ISO
> and current files.
>
>
> So, I downloaded debian-7.8.0-i386-xfce-CD-1.iso and installed that.
> When I rebooted, I saw:
>
> GRUB loading..
> Welcome to GRUB!
>
> error: incompatible license
> Entering rescue mode..
> grub rescue>
>
>
> Any suggestions?

Try googling the error.

https://www.google.co.uk/search?q=error%3A+incompatible+license+Entering+rescue+mode..&oq=error%3A+incompatible+license+Entering+rescue+mode..&aqs=chrome..69i57j69i58.1188j0j7&sourceid=chrome&es_sm=93&ie=UTF-8
http://www.bleepingcomputer.com/forums/t/428530/error-incompatible-license-entering-rescue-mode-grub-rescue/

HTH
Lisi


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: https://lists.debian.org/201503282224.4...@gmail.com

David Christensen

unread,
Mar 28, 2015, 7:40:04 PM3/28/15
to
On 03/28/2015 03:24 PM, Lisi Reisz wrote:
> Try googling the error.

Been there, done that. I was hoping this was a known issue. This is
the best clue I've found so far:

http://marc.info/?l=debian-user&m=133683363210396&w=1


See console session below.


Any suggestions?


David



# grub-install --recheck hd0
/usr/sbin/grub-probe: error: cannot find a GRUB drive for
/dev/mapper/sda3_crypt. Check your device.map.
Auto-detection of a filesystem of /dev/mapper/sda3_crypt failed.
Try with --recheck.
If the problem persists please report this together with the output of
"/usr/sbin/grub-probe --device-map="/boot/grub/device.map" --target=fs
-v /boot/grub" to <bug-...@gnu.org>

# cat /boot/grub/device.map
(fd0) /dev/fd0
(hd0) /dev/disk/by-id/usb-SanDisk_Ultra_Fit_4C530123140926106290-0:0

# /usr/sbin/grub-probe --device-map="/boot/grub/device.map" --target=fs
-v /boot/grub
/usr/sbin/grub-probe: info: `/dev/fd0' looks like a floppy drive, skipping.
/usr/sbin/grub-probe: info: Scanning for dmraid_nv RAID devices on disk hd0.
/usr/sbin/grub-probe: info: the size of hd0 is 31266816.
/usr/sbin/grub-probe: info: the size of hd0 is 31266816.
/usr/sbin/grub-probe: info: Scanning for dmraid_nv RAID devices on disk hd1.
/usr/sbin/grub-probe: info: the size of hd1 is 253952.
/usr/sbin/grub-probe: info: the size of hd1 is 253952.
/usr/sbin/grub-probe: info: scanning hd0 for LVM.
/usr/sbin/grub-probe: info: the size of hd0 is 31266816.
/usr/sbin/grub-probe: info: no LVM signature found.
/usr/sbin/grub-probe: info: the size of hd0 is 31266816.
/usr/sbin/grub-probe: info: scanning hd1 for LVM.
/usr/sbin/grub-probe: info: the size of hd1 is 253952.
/usr/sbin/grub-probe: info: no LVM signature found.
/usr/sbin/grub-probe: info: the size of hd1 is 253952.
/usr/sbin/grub-probe: info: Scanning for mdraid09 RAID devices on disk hd0.
/usr/sbin/grub-probe: info: the size of hd0 is 31266816.
/usr/sbin/grub-probe: info: the size of hd0 is 31266816.
/usr/sbin/grub-probe: info: Scanning for mdraid09 RAID devices on disk hd1.
/usr/sbin/grub-probe: info: the size of hd1 is 253952.
/usr/sbin/grub-probe: info: the size of hd1 is 253952.
/usr/sbin/grub-probe: info: Scanning for mdraid1x RAID devices on disk hd0.
/usr/sbin/grub-probe: info: the size of hd0 is 31266816.
/usr/sbin/grub-probe: info: the size of hd0 is 31266816.
/usr/sbin/grub-probe: info: Scanning for mdraid1x RAID devices on disk hd1.
/usr/sbin/grub-probe: info: the size of hd1 is 253952.
/usr/sbin/grub-probe: info: the size of hd1 is 253952.
/usr/sbin/grub-probe: info: Scanning for mdraid09 RAID devices on disk hd0.
/usr/sbin/grub-probe: info: the size of hd0 is 31266816.
/usr/sbin/grub-probe: info: the size of hd0 is 31266816.
/usr/sbin/grub-probe: info: Scanning for mdraid09 RAID devices on disk
hd0,msdos3.
/usr/sbin/grub-probe: info: the size of hd0 is 31266816.
/usr/sbin/grub-probe: info: Scanning for mdraid09 RAID devices on disk
hd0,msdos2.
/usr/sbin/grub-probe: info: the size of hd0 is 31266816.
/usr/sbin/grub-probe: info: Scanning for mdraid09 RAID devices on disk
hd0,msdos1.
/usr/sbin/grub-probe: info: the size of hd0 is 31266816.
/usr/sbin/grub-probe: info: Scanning for mdraid09 RAID devices on disk hd1.
/usr/sbin/grub-probe: info: the size of hd1 is 253952.
/usr/sbin/grub-probe: info: the size of hd1 is 253952.
/usr/sbin/grub-probe: info: Scanning for mdraid09 RAID devices on disk
hd1,msdos1.
/usr/sbin/grub-probe: info: the size of hd1 is 253952.
/usr/sbin/grub-probe: info: Scanning for mdraid1x RAID devices on disk hd0.
/usr/sbin/grub-probe: info: the size of hd0 is 31266816.
/usr/sbin/grub-probe: info: the size of hd0 is 31266816.
/usr/sbin/grub-probe: info: Scanning for mdraid1x RAID devices on disk
hd0,msdos3.
/usr/sbin/grub-probe: info: the size of hd0 is 31266816.
/usr/sbin/grub-probe: info: Scanning for mdraid1x RAID devices on disk
hd0,msdos2.
/usr/sbin/grub-probe: info: the size of hd0 is 31266816.
/usr/sbin/grub-probe: info: Scanning for mdraid1x RAID devices on disk
hd0,msdos1.
/usr/sbin/grub-probe: info: the size of hd0 is 31266816.
/usr/sbin/grub-probe: info: Scanning for mdraid1x RAID devices on disk hd1.
/usr/sbin/grub-probe: info: the size of hd1 is 253952.
/usr/sbin/grub-probe: info: the size of hd1 is 253952.
/usr/sbin/grub-probe: info: Scanning for mdraid1x RAID devices on disk
hd1,msdos1.
/usr/sbin/grub-probe: info: the size of hd1 is 253952.
/usr/sbin/grub-probe: info: scanning hd0 for LVM.
/usr/sbin/grub-probe: info: the size of hd0 is 31266816.
/usr/sbin/grub-probe: info: no LVM signature found.
/usr/sbin/grub-probe: info: the size of hd0 is 31266816.
/usr/sbin/grub-probe: info: scanning hd0,msdos3 for LVM.
/usr/sbin/grub-probe: info: the size of hd0 is 31266816.
/usr/sbin/grub-probe: info: no LVM signature found.
/usr/sbin/grub-probe: info: scanning hd0,msdos2 for LVM.
/usr/sbin/grub-probe: info: the size of hd0 is 31266816.
/usr/sbin/grub-probe: info: no LVM signature found.
/usr/sbin/grub-probe: info: scanning hd0,msdos1 for LVM.
/usr/sbin/grub-probe: info: the size of hd0 is 31266816.
/usr/sbin/grub-probe: info: no LVM signature found.
/usr/sbin/grub-probe: info: scanning hd1 for LVM.
/usr/sbin/grub-probe: info: the size of hd1 is 253952.
/usr/sbin/grub-probe: info: no LVM signature found.
/usr/sbin/grub-probe: info: the size of hd1 is 253952.
/usr/sbin/grub-probe: info: scanning hd1,msdos1 for LVM.
/usr/sbin/grub-probe: info: the size of hd1 is 253952.
/usr/sbin/grub-probe: info: no LVM signature found.
/usr/sbin/grub-probe: info: no mapping exists for `/dev/mapper/sda3_crypt'.
/usr/sbin/grub-probe: error: cannot find a GRUB drive for
/dev/mapper/sda3_crypt. Check your device.map.

# ls -l /dev/mapper/sda3_crypt
brw------- 1 root root 253, 0 Mar 28 15:55 /dev/mapper/sda3_crypt

# cat /etc/crypttab
sda2_crypt /dev/sda2 /dev/urandom cipher=aes-xts-plain64,size=256,swap
sda3_crypt UUID=a1281263-ae35-4ea1-8a62-54748aa481d6 none luks

# cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/mapper/sda3_crypt / ext4 errors=remount-ro 0 1
# /boot was on /dev/sda1 during installation
UUID=086acfbb-eaae-4788-8357-90ed7c807583 /boot ext4
defaults 0 2
/dev/mapper/sda2_crypt none swap sw 0 0
/dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
/dev/sda1 /media/usb0 auto rw,user,noauto 0 0
/dev/sda2 /media/usb1 auto rw,user,noauto 0 0
/dev/sda3 /media/usb2 auto rw,user,noauto 0 0


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: https://lists.debian.org/55173BB3...@holgerdanske.com

Brian

unread,
Mar 28, 2015, 7:40:04 PM3/28/15
to
On Sat 28 Mar 2015 at 14:55:22 -0700, David Christensen wrote:

> I did a fresh install of Debian using debian-7.6.0-i386-netinst.iso
> today. When I rebooted, I saw:
>
> GRUB loading..
> Welcome to GRUB!
>
> error: incompatible license
> Entering rescue mode..
> grub rescue>
>
> I figured that there was something incompatible between the older
> ISO and current files.
>
>
> So, I downloaded debian-7.8.0-i386-xfce-CD-1.iso and installed that.
> When I rebooted, I saw:
>
> GRUB loading..
> Welcome to GRUB!
>
> error: incompatible license
> Entering rescue mode..
> grub rescue>
>
>
> Any suggestions?

My concept of installing Debian includes putting GRUB in the MBR. You
appear to have an inconsistency between the modules in /boot/grub and
the version of GRUB in the MBR.

The rescue mode of the netinst ISO can be used to reinstall GRUB.


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: https://lists.debian.org/20150328233...@copernicus.demon.co.uk

David Christensen

unread,
Mar 29, 2015, 2:00:05 AM3/29/15
to
debian-user:

I think the problem is that the motherboard/ BIOS (Intel D865GBF, circa
2005) is just too old to use a USB flash drive (SanDisk Ultra Fit 16 GB
USB 3.0) as the system drive. When I connect the same drive to a newer
motherboard (Intel D945GNT, circa 2009), GRUB is happy.


David


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: https://lists.debian.org/55178472...@holgerdanske.com

Darac Marjal

unread,
Mar 30, 2015, 5:00:04 AM3/30/15
to
On Sat, Mar 28, 2015 at 02:44:03PM -0700, David Christensen wrote:
> debian:
>
> I did a fresh install of Debian using debian-7.6.0-i386-netinst.iso today.
> When I rebooted, I saw:
>
> GRUB loading..
> Welcome to GRUB!
>
> error: incompatible license
> Entering rescue mode..
> grub rescue>
>
> I figured that there was something incompatible between the older ISO and
> current files.
>
>
> So, I downloaded debian-7.8.0-i386-xfce-CD-1.iso and installed that. When I
> rebooted, I saw:
>
> GRUB loading..
> Welcome to GRUB!
>
> error: incompatible license
> Entering rescue mode..
> grub rescue>
>
>
> Any suggestions?

I couldn't find anything immediately helpful on the web so I downloaded
the source code for grub. Fortunately, there's only one instance of the
phrase "incompatible license" in there and it's in a small function
called "grub_dl_check_license". The purpose of this function is to
confirm that a module being loaded has a license of "GPLv3", "GPLv3+" or
"GPLv2+". If not, then it returns the above error. I'm not intimately
familiar with the GPL, but as GRUB is one of GNU's higher-visibility
projects, I imagine this is seen as a perfectly cromulent thing to do.

I would suggest raising a bug against grub with the output from
bootinfoscript[1] attached. This is the sort of thing that testing
should have picked up, but it's possible you're pulling in a module that
most people don't use and which has no license or something.

Another avenue of investigation might be to run something like:

for module in /boot/grub/i386-pc/*.mod; do
echo -n "$module: "
strings $module | grep LICENS
done

and look for anything unusual.

[1]: http://bootinfoscript.sourceforge.net/
signature.asc

Brian

unread,
Mar 30, 2015, 5:40:04 AM3/30/15
to
Bug #650435.

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=650435

GRUB doesn't have a stable binary ABI. So modules from one version
can't be used with another one and not having consistent setup is a
bug (usually wrong grub-install invocation) or user misintervention.
If it wasn't for this message the loading would have failed for
another reason (probably symbol problem). You need to use consistent
setup. You can't take a new head and put it on old body, they are
not compatible.

Which was the reason for the comment I made earlier.


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: https://lists.debian.org/3003201510315...@desktop.copernicus.demon.co.uk

Doug

unread,
Mar 30, 2015, 2:40:04 PM3/30/15
to
/snip/

>> I couldn't find anything immediately helpful on the web so I downloaded
>> the source code for grub. Fortunately, there's only one instance of the
>> phrase "incompatible license" in there and it's in a small function
>> called "grub_dl_check_license". The purpose of this function is to
>> confirm that a module being loaded has a license of "GPLv3", "GPLv3+" or
>> "GPLv2+". If not, then it returns the above error. I'm not intimately
>> familiar with the GPL, but as GRUB is one of GNU's higher-visibility
>> projects, I imagine this is seen as a perfectly cromulent thing to do.
>>

/snip/

_cromulent_ ????

--doug


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: https://lists.debian.org/55199735...@optonline.net

Brian

unread,
Mar 30, 2015, 3:10:04 PM3/30/15
to
On Mon 30 Mar 2015 at 14:34:29 -0400, Doug wrote:

> /snip/
>
> >>I couldn't find anything immediately helpful on the web so I downloaded
> >>the source code for grub. Fortunately, there's only one instance of the
> >>phrase "incompatible license" in there and it's in a small function
> >>called "grub_dl_check_license". The purpose of this function is to
> >>confirm that a module being loaded has a license of "GPLv3", "GPLv3+" or
> >>"GPLv2+". If not, then it returns the above error. I'm not intimately
> >>familiar with the GPL, but as GRUB is one of GNU's higher-visibility
> >>projects, I imagine this is seen as a perfectly cromulent thing to do.
> >>
>
> /snip/
>
> _cromulent_ ????

In these days of ever-present internet access its meaning is a single
one word search away.

Marvel at human imagination.


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: https://lists.debian.org/20150330185...@copernicus.demon.co.uk

Lisi Reisz

unread,
Mar 30, 2015, 3:10:05 PM3/30/15
to
On Monday 30 March 2015 19:34:29 Doug wrote:
> /snip/
>
> >> I couldn't find anything immediately helpful on the web so I downloaded
> >> the source code for grub. Fortunately, there's only one instance of the
> >> phrase "incompatible license" in there and it's in a small function
> >> called "grub_dl_check_license". The purpose of this function is to
> >> confirm that a module being loaded has a license of "GPLv3", "GPLv3+" or
> >> "GPLv2+". If not, then it returns the above error. I'm not intimately
> >> familiar with the GPL, but as GRUB is one of GNU's higher-visibility
> >> projects, I imagine this is seen as a perfectly cromulent thing to do.
>
> /snip/
>
> _cromulent_ ????


http://en.wiktionary.org/wiki/cromulent


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: https://lists.debian.org/201503302006.1...@gmail.com
0 new messages