grub-2 file 10_lupin wrong partition_table

Bug #1316968 reported by syscon-hh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
Expired
Low
Unassigned

Bug Description

Using the wubi trusty-thar (14.04 lts) installation, the upstart don't finishes on a

 * guid partition table formatted device / harddisk.

The package / files

 * "10_lupin"
 * "usr/share/grub/mkconfig_lib"

generates while -> sudo update-grub

(only relevant lines copied)

menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-c885195e-c258-4459-9115-85102cf401bc' {
 gfxmode $linux_gfx_mode
 insmod gzio
 insmod ntfs
 set root='hd1,gpt2'
 if [ x$feature_platform_search_hint = xy ]; then
....

The line "set root=i'hd1,gpt2' is showing the correct information, but it's missing a line with

 * insmod part_gpt

so the following lines

 * search --no-floppy --fs-uuid --set=root 2072C65972C632F8
 * loopback loop0 /ubuntu/disks/root.disk

won't work and the upstart will stop undifined.

Inserting the missing line into the "/boot/grub/grub.cfg" manually, lets the wubi-installation working as expected.

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: grub-common 2.02~beta2-9
ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
Uname: Linux 3.13.0-24-generic x86_64
ApportVersion: 2.14.2-0ubuntu2
Architecture: amd64
Date: Wed May 7 09:48:50 2014
InstallationDate: Installed on 2012-10-02 (581 days ago)
InstallationMedia: Kubuntu 12.10 "Quantal Quetzal" - Beta amd64 (20121002)
ProcEnviron:
 LANGUAGE=de_DE
 TERM=xterm
 PATH=(custom, no user)
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: grub2
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
syscon-hh (syscon-kono) wrote :
Revision history for this message
syscon-hh (syscon-kono) wrote :

As workaround we inserted in the file "10_lupin" this supplement below line containing:

  echo " insmod gzio" | sed "s/^/$submenu_indentation/"

*****
  host_device=$( mount | grep "/host" | cut -d " " -f 1 )
  part_table=$( grub-probe --device $host_device --target=partmap )
  if [ ! "x$part_table" = "x" ]; then
  echo " insmod part_$part_table" | sed "s/^/$submenu_indentation/"
  fi
*****

whole information see attachment = revised file "10_lupin"

Revision history for this message
syscon-hh (syscon-kono) wrote :
Revision history for this message
Mathieu Trudel-Lapierre (cyphermox) wrote :

Setting to Triaged/Low. It seems like there should be enough information here for developers to be able to apply a fix.

Changed in grub2 (Ubuntu):
status: New → Triaged
importance: Undecided → Low
Revision history for this message
Marcus Tomlinson (marcustomlinson) wrote :

This release of Ubuntu is no longer receiving maintenance updates. If this is still an issue on a maintained version of Ubuntu please let us know.

Changed in grub2 (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for grub2 (Ubuntu) because there has been no activity for 60 days.]

Changed in grub2 (Ubuntu):
status: Incomplete → Expired
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.