[Bug 945203] Re: with GRUB_TERMINAL="console" root filesystem modules don't get included
Colin Watson
cjwatson at canonical.com
Tue Mar 6 14:15:27 UTC 2012
It should emit similar code further down when it actually needs it
(there's some duplication in grub.cfg that it hasn't been worthwhile
trying to eliminate; this should have just removed one duplicate copy).
Could you post the whole grub.cfg?
** Changed in: grub2 (Ubuntu)
Status: New => Incomplete
--
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/945203
Title:
with GRUB_TERMINAL="console" root filesystem modules don't get
included
Status in “grub2” package in Ubuntu:
Incomplete
Bug description:
When I have
GRUB_TERMINAL="console"
set in /etc/default/grub, the resulting grub.cfg is missing the root
filesystem required modules. Here is the entire diff of the grub.cfg
with and without a GRUB_TERMINAL="console" setting:
@@ -38,24 +38,8 @@
insmod video_cirrus
}
-insmod lvm
-insmod part_msdos
-insmod btrfs
-set root='(rootvol-precise_usr)'
-search --no-floppy --fs-uuid --set=root de4c2ae8-73dd-4c78-83b4-aa8295b6265e
-if loadfont /@/share/grub/unicode.pf2 ; then
- set gfxmode=auto
- load_video
- insmod gfxterm
- insmod part_msdos
- insmod ext2
- set root='(hd0,msdos1)'
- search --no-floppy --fs-uuid --set=root 8c9701ca-8515-4570-af5c-3a3c22f76fe1
- set locale_dir=($root)/grub/locale
- set lang=en_CA
- insmod gettext
-fi
-terminal_output gfxterm
+terminal_input console
+terminal_output console
if [ "${recordfail}" = 1 ]; then
set timeout=-1
else
Notice that the graphical console stuff is removed, but notice above
that, also the modules needed to find and mount the root filesystem
are missing. These should not be missing simply because I select a
non-graphical console.
ProblemType: Bug
DistroRelease: LinuxMint 12
Package: grub-pc 1.99-12ubuntu5-1linuxmint1
ProcVersionSignature: Ubuntu 3.2.0-17.27-generic 3.2.6
Uname: Linux 3.2.0-17-generic i686
ApportVersion: 1.93-0ubuntu2
Architecture: i386
Date: Fri Mar 30 18:27:27 2012
InstallationMedia: Linux Mint 12 "Lisa" - Release i386 (20111120)
ProcEnviron:
LANGUAGE=en_CA:en
TERM=xterm
PATH=(custom, no user)
LANG=en_CA.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/945203/+subscriptions
More information about the foundations-bugs
mailing list