Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 359579 - sys-boot/grub-0.97-r10 doesn't work on KVM's virtio devices (/dev/vda) /w savedefault
Summary: sys-boot/grub-0.97-r10 doesn't work on KVM's virtio devices (/dev/vda) /w sav...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: Other Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on: 674364
Blocks:
  Show dependency tree
 
Reported: 2011-03-20 00:14 UTC by Charlie Page
Modified: 2019-02-08 15:28 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Charlie Page 2011-03-20 00:14:26 UTC
Grub says there is a write error and refuses to boot on any entry that contains `savedefault`.
That kills all of the redundancy of having such options and forces manual intervention to boot.

Reproducible: Always

Steps to Reproduce:
1.Create grub falls backs.
2.Attempt to boot from them.
3.
Actual Results:  
Booting hangs.

Expected Results:  
Booting is successful.


It would also seem logical that even with a write error, grub attempts to boot the final fallback entry.
[I am assuming this write error is grub attempting to write to the default file.]
This is on an ext3 partition on /dev/vda1.  [x86_64 with virtio disk]
Related bug(I bet):
http://bugs.gentoo.org/259613
Comment 1 Charlie Page 2011-03-20 00:48:53 UTC
I am using grub static, if that makes a difference, sorry forgot that when making the title.  x64 multi-lib
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2011-03-22 00:12:32 UTC
Please post your `emerge --info' in a comment.
Comment 3 Charlie Page 2011-03-22 02:54:53 UTC
I chrooted into the instance instead of booting it, if this isn't enough I can boot into it.

!!! It seems that /proc is not mounted. You have been warned.
Portage 2.1.9.25 (unavailable, gcc-4.4.5, glibc-2.11.3-r0, 2.6.36-gentoo-r5 x86_                                                                64)
=================================================================
System uname: Linux-2.6.36-gentoo-r5-x86_64-with-gentoo-1.12.14
Timestamp of tree: Unknown
ccache version 2.4 [enabled]
dev-lang/python:     2.6.6-r2::gentoo, 3.1.3-r1::gentoo
sys-devel/autoconf:  2.13::gentoo, 2.65-r1::gentoo
sys-devel/automake:  1.11.1::gentoo
sys-devel/binutils:  2.20.1-r1::gentoo
sys-devel/libtool:   2.2.10::gentoo
virtual/os-headers:  2.6.36.1::gentoo (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind                                                                 /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/                                                                eselect/postgresql /etc/fonts/fonts.conf /etc/revdep-rebuild /etc/sandbox.d /etc                                                                /terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages new                                                                s parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unme                                                                rge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://m                                                                irror.mcs.anl.gov/pub/gentoo/ ftp://mirror.iawnet.sandia.gov/pub/gentoo/"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi alsa apache2 automount bash-completion bzip2 c++ caps chroot col                                                                ordiff cracklib curl dahdi dnotify exiscan-acl expat fam hpn idn inotify iproute                                                                2 jabber kvm ldap logrotate ncurses newt posix sdl sftp speex ssl syslog vde xml                                                                "
Unset:  EMERGE_DEFAULT_OPTS, PORTAGE_BUNZIP2_COMMAND
Comment 4 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2019-02-08 15:28:06 UTC
grub:0 is gone