[Bug 1316968] Re: grub-2 file 10_lupin wrong partition_table
syscon-hh
syscon.kono at freenet.de
Thu May 8 14:45:19 UTC 2014
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"
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1316968
Title:
grub-2 file 10_lupin wrong partition_table
Status in “grub2” package in Ubuntu:
New
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)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1316968/+subscriptions
More information about the foundations-bugs
mailing list