grub-2 file 10_lupin wrong partition_table
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/
generates while -> sudo update-grub
(only relevant lines copied)
menuentry 'Ubuntu' --class ubuntu --class gnu-linux --class gnu --class os $menuentry_
gfxmode $linux_gfx_mode
insmod gzio
insmod ntfs
set root='hd1,gpt2'
if [ x$feature_
....
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/
won't work and the upstart will stop undifined.
Inserting the missing line into the "/boot/
ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: grub-common 2.02~beta2-9
ProcVersionSign
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)
As workaround we inserted in the file "10_lupin" this supplement below line containing:
echo " insmod gzio" | sed "s/^/$submenu_ indentation/ "
***** 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_
fi
*****
whole information see attachment = revised file "10_lupin"