Displaying 15 results from an estimated 15 matches for "saved_entry".
2013 Jun 26
1
[PATCH] pygrub: add fedora 19 grub.cfg example
...tings from /etc/default/grub
+#
+
+### BEGIN /etc/grub.d/00_header ###
+if [ -s $prefix/grubenv ]; then
+ load_env
+fi
+if [ "${next_entry}" ] ; then
+ set default="${next_entry}"
+ set next_entry=
+ save_env next_entry
+ set boot_once=true
+else
+ set default="${saved_entry}"
+fi
+
+if [ x"${feature_menuentry_id}" = xy ]; then
+ menuentry_id_option="--id"
+else
+ menuentry_id_option=""
+fi
+
+export menuentry_id_option
+
+if [ "${prev_saved_entry}" ]; then
+ set saved_entry="${prev_saved_entry}"
+ save_env sav...
2013 Sep 29
2
Bug#603391: Workaround PyGrub issue
...triggering the error:
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi...
2010 Jul 13
9
Xen 4 Ubuntu Lucid panics
I have tried 4 time unsuccessfully to install Xen 4 on Ubuntu Lucid (10.4) 64
bit version using the tutorial at
http://bderzhavets.wordpress.com/2010/04/24/set-up-ubuntu-10-04-server-pv-domu-at-xen-4-0-dom0-pvops-2-6-32-10-kernel-dom0-on-top-of-ubuntu-10-04-server/
on a Lenovo thinkcentre workstation.
When I boot I get a kernel panic. If I boot the Linux kernel that I compiled
using the
2013 Sep 22
0
UEFI boot - no console will be available to OS
..._entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
fi
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi...
2013 Oct 10
1
[PATCH] pygrub: Support (/dev/xvda) style disk specifications
...,104 @@
+
+#
+# DO NOT EDIT THIS FILE
+#
+# It is automatically generated by grub-mkconfig using templates
+# from /etc/grub.d and settings from /etc/default/grub
+#
+
+### BEGIN /etc/grub.d/00_header ###
+if [ -s $prefix/grubenv ]; then
+ load_env
+fi
+set default="0"
+if [ "${prev_saved_entry}" ]; then
+ set saved_entry="${prev_saved_entry}"
+ save_env saved_entry
+ set prev_saved_entry=
+ save_env prev_saved_entry
+ set boot_once=true
+fi
+
+function savedefault {
+ if [ -z "${boot_once}" ]; then
+ saved_entry="${chosen}"
+ save_env saved_...
2011 Oct 09
3
GRUB2 configuration for Xen 4 on Ubuntu Linux 10.04
Hello,
I have installed the Xen 4.1.1 and a working kernel 2.6.32.43 which supports
Xen on a Ubuntu Linux 10.04 LTS. However, I have never successfully booted
the Hypervisor and Dom0. The screen is always black after some kernel
messages rapidly go by. I think that I may pass the wrong parameters to the
kernel or Hypervisor with GRUB2.
Can any one share his/her working grub.cfg for GRUB2 with
2013 Oct 01
0
Bug#603391: Bug#603391: Workaround PyGrub issue
...,104 @@
+
+#
+# DO NOT EDIT THIS FILE
+#
+# It is automatically generated by grub-mkconfig using templates
+# from /etc/grub.d and settings from /etc/default/grub
+#
+
+### BEGIN /etc/grub.d/00_header ###
+if [ -s $prefix/grubenv ]; then
+ load_env
+fi
+set default="0"
+if [ "${prev_saved_entry}" ]; then
+ set saved_entry="${prev_saved_entry}"
+ save_env saved_entry
+ set prev_saved_entry=
+ save_env prev_saved_entry
+ set boot_once=true
+fi
+
+function savedefault {
+ if [ -z "${boot_once}" ]; then
+ saved_entry="${chosen}"
+ save_env saved_...
2023 Mar 14
1
Kernel updates do not boot - always boots oldest kernel
...(Core)
CentOS Linux (3.10.0-1160.81.1.el7.x86_64) 7 (Core)
CentOS Linux (3.10.0-1160.76.1.el7.x86_64) 7 (Core)
CentOS Linux (3.10.0-1160.36.2.el7.x86_64) 7 (Core)
CentOS Linux (0-rescue-a39773847cf34651bc34d02222566f53) 7 (Core)
indicating that .88.1 should boot.
sudo grub2-editenv list
gives:
saved_entry=CentOS Linux (3.10.0-1160.88.1.el7.x86_64) 7 (Core)
also as expected.
/etc/default/grub exists and contains
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
GRU...
2018 Feb 07
2
/dev/md1 => 93% Used. Warning. Disk Filling up. - what would be safe to delete in /boot ?
...tings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
set pager=1
if [ -s $prefix/grubenv ]; then
load_env
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="${saved_entry}"
fi
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
se...
2013 Jun 22
2
[PATCH] pygrub/GrubConf: fix boot problem for fedora 19 grub.cfg
...ubConf.py b/tools/pygrub/src/GrubConf.py
index 629951f..6324c62 100644
--- a/tools/pygrub/src/GrubConf.py
+++ b/tools/pygrub/src/GrubConf.py
@@ -427,6 +427,8 @@ class Grub2ConfigFile(_GrubConfigFile):
if self.commands[com] is not None:
if arg.strip() == "${saved_entry}":
arg = "0"
+ elif arg.strip() == "${next_entry}":
+ arg = "0"
setattr(self, self.commands[com], arg.strip())
else:
logging.info("Ig...
2013 Apr 12
7
Xen not seeing all the memory in the box
I''m running Xen 4.1 (4.1.3-3ubuntu1.3) on an Ubuntu 12.10 server with
an AMD FX-8150 processor (8 cores) and 16 GB of RAM.
When I boot the server, Xen sees only 3 GB of RAM (instead of 16 GB).
If I try to create a domU with more than about 1.5 GB of RAM, the create
fails with messages saying it "could not allocate memory for HVM guest".
Here''s the output when I do
2012 Apr 22
12
Xen doesn't boot on grub2 or xend doesn't start
hi guys,
It''s my first time here and in a mailing lists, I only participated in
forums before. Please, If I make a mistake you should advise me. Let''s go!
I was reading "xencommons not start" in a Remus Forum in order to install
Remus.
Well… I followed the tutorial <
http://remusha.wikidot.com/configuring-and-installing-remus>, I reboot in
xen_unstable and I had
2012 Apr 22
12
Xen doesn't boot on grub2 or xend doesn't start
hi guys,
It''s my first time here and in a mailing lists, I only participated in
forums before. Please, If I make a mistake you should advise me. Let''s go!
I was reading "xencommons not start" in a Remus Forum in order to install
Remus.
Well… I followed the tutorial <
http://remusha.wikidot.com/configuring-and-installing-remus>, I reboot in
xen_unstable and I had
2010 Dec 16
19
Hypervisor hangs on startup
Hi!
We have a problem that the dom0 very often does not boot and hangs in
the hypervisor - see screenshot. The last message is:
(XEN) Dom0 has maximum 16 VCPUs
(afterwards xen should overwrite the memory)
We are using the xen kernel from kernel.org git.
Kernel is 2.6.32.24-xen with Xen 4.0.1
Hardware is HP DL380.
Is this a known problem? Any hints what could be the problem and how we
can
2010 Dec 16
19
Hypervisor hangs on startup
Hi!
We have a problem that the dom0 very often does not boot and hangs in
the hypervisor - see screenshot. The last message is:
(XEN) Dom0 has maximum 16 VCPUs
(afterwards xen should overwrite the memory)
We are using the xen kernel from kernel.org git.
Kernel is 2.6.32.24-xen with Xen 4.0.1
Hardware is HP DL380.
Is this a known problem? Any hints what could be the problem and how we
can