Grub2 doesn't find it's config file after clean Kubuntu installation

Bug #1236174 reported by JR
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I've installed the latest Saucy Kubuntu image (amd64) on a new machine last friday. This is my first time with a efi system - and I don't have any experience with that. It seems the Kubuntu installer correctly added the Kubuntu boot entry to the efi boot manager.

My system has 2 Harddisks, a SSD and a normal one.
I boot from the SSD.
I've chosen manual partitions:
  * the efi partition
  * a boot partition with ext2
  * the root partition with btrfs

after rebooting, i get into the grub-shell.

after that, I need to type

configfile (hd2,gpt2)/grub/grub.cfg

and grub starts as normal. I'd prefer having grub finding it's config file by itself. I even don't know how to force this config file manually.

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: grub-efi-amd64 2.00-19ubuntu1
ProcVersionSignature: Ubuntu 3.11.0-11.17-generic 3.11.3
Uname: Linux 3.11.0-11-generic x86_64
ApportVersion: 2.12.5-0ubuntu1
Architecture: amd64
Date: Mon Oct 7 07:35:18 2013
InstallationDate: Installed on 2013-10-04 (2 days ago)
InstallationMedia: Kubuntu 13.10 "Saucy Salamander" - Beta amd64 (20131003)
MarkForUpload: True
SourcePackage: grub2
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
JR (juergen-richtsfeld) wrote :
Revision history for this message
JR (juergen-richtsfeld) wrote :

I forgot to mention: in the grub-shell, when i enter 'set' I see a prefix that uses hd0,whatever, but I think it should be hd2

I've no idea, why it is hd2 in grub, because I think I only have hd0 and hd1 (linux also shows /dev/sda and /dev/sdb), so I'm not sure if the actual bug is grub using hd2 instead of hd0 or using a wrong path.

Revision history for this message
JR (juergen-richtsfeld) wrote :

Interesting to say: in my last reboot, i had to use hd4 instead of hd2, but there was no hardware change.

Revision history for this message
Christian Wohlert (christian667-c) wrote :

Same for me: Kubuntu 13.10 (stable, amd64), hdd+ssd, boot partition (+system) on ssd.
After a (complete!) fresh installation the notebook boots into the grub console instead of booting the system.
To boot kubuntu I have to type

   configfile (hd0,gpt1)/EFI/kubuntu/grub.cfg

Everything else runs fine ootb, just grub is not finding this config file on its own.

Revision history for this message
Christian Wohlert (christian667-c) wrote :

Found the solution:
Entering "set" in the grub console shows the prefix points to "EFI/ubuntu" instead of "EFI/kubuntu". Boot the system, copy the folder "/boot/efi/EFI/kubuntu/" to "/boot/efi/EFI/ubuntu/" and everything works fine.

This is definitly an error in the default installation configuration - should be fixed as fast as possible!
I have no idea where the grub configuration is placed.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in grub2 (Ubuntu):
status: New → Confirmed
Revision history for this message
Klaas DC (klaasdc) wrote :

I just tried a fresh download of kubuntu on my UEFI system and ran into this bug. Solution provided here worked.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.