[Solved] GRUB fails to Recall previous entry; GRUB_SAVEDEFAULT="true"
I have used this for years even pre-archlinux. Recently it has stopped working.
From my /etc/default/grub
GRUB_DEFAULT=saved
GRUB_SAVEDEFAULT="true"
From pacman -Qii grub
Version : 1:2.02.beta2-1
Architecture : x86_64
Build Date : Sun 05 Jan 2014 11:07:40 AM PST
Install Date : Fri 10 Jan 2014 09:00:39 AM PST
/etc/default/grub has not changed except for add/remove GRUB_DISABLE_SUBMENU=y for the bug FS#38234
Am I the only one experiencing this?
Last edited by keepitsimpleengineer (2014-02-27 23:38:38)
keepitsimpleengineer wrote:So I will change the load_env and save_env in grub.cfg to force the default grubenv and see what happens.
After changing /boot/grub/grub.cfg so that load_env is replaced with load_env -f /boot/grub/grubenv and all save_env are changed to save_env -f /boot/grub/grubenv there is no change in behavior.
root@kise-005 grub# pwd
/boot/grub
root@kise-005 grub# ls -lat
total 398
drwxr-xr-x 6 root root 1024 Feb 8 12:48 .
-rw------- 1 root root 58093 Feb 8 12:48 grub.cfg
-rw------- 1 root root 57983 Feb 8 08:54 grub.cfg.without
-rw------- 1 root root 57983 Feb 8 08:54 grub.cfg~
-rw------- 1 root root 58971 Feb 8 08:53 grub.cfg.with
drwxr-xr-x 7 root root 1024 Jan 31 09:34 ..
-rw------- 1 root root 53749 Dec 27 12:47 grub.conf
drwxr-xr-x 2 root root 7168 Sep 7 22:53 i386-pc
drwxr-xr-x 2 root root 1024 Sep 7 22:53 locale
-rw-r--r-- 1 root root 4087 Aug 5 2013 grub.cfg.pacnew
-rw------- 1 root root 45366 Jun 23 2013 grub.cfg.example
-rw------- 1 root root 47614 May 30 2013 grub.cfg.pacsave
drwxr-xr-x 2 root root 1024 Jul 20 2012 fonts
-rw-r--r-- 1 root root 1024 Jul 20 2012 grubenv
drwxr-xr-x 3 root root 1024 Jul 20 2012 themes
--ljohnson{13:00:44}grub]$ grub-editenv grubenv list
saved_entry=osprober-chain-545A36C35A36A1A2
Well, I can live with this but I'm curious as to what is happening.
modified grub.cfg at http://pastebin.com/VdsupFfn
/ect/default/grub at http://pastebin.com/tqmHKNvv
Last edited by keepitsimpleengineer (2014-02-08 21:38:50)
Similar Messages
-
I know there are quite a few solved posts like these but it's usually because of "mkinitcpio -p linux" not being regenerated.
My problem is after boot Grub says:
running hook [udev]
running hook [encrypt]
Waiting 10 seconds for device /dev/disk/by-uuid/d1d0825c-25d1-4cbe-811f-725d9ef8d034>...
ERROR: device 'UUID=d1d0825c-25d1-4cbe-811f-725d9ef8d034' not found. Skipping fsck.
ERROR: Unable to find root device 'UUID=d1d0825c-25d1-4cbe-811f-725d9ef8d034'.
Here are all the files that I think would be needed for this:
/etc/fstab
# /etc/fstab: static file system information
# <file system> <dir> <type> <options> <dump> <pass>
#/dev/mapper/cryptroot / ext4 rw,realtime,data=ordered 0 1
UUID=d1d0825c-25d1-4cbe-811f-725d9ef8d034 / ext4 rw,relatime,data=ordered 0 1
#/dev/sda5 /boot ext4 rw,relatime,data=ordered 0 2
UUID=d04b37b1-4dfb-451c-b582-b9d95ca8fe22 /boot ext4 rw,relatime,data=ordered 0 2
lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 298.1G 0 disk
├─sda1 8:1 0 100M 0 part
├─sda2 8:2 0 97.6G 0 part
├─sda3 8:3 0 1K 0 part
├─sda5 8:5 0 300M 0 part
├─sda6 8:6 0 50G 0 part
│ └─cryptroot 254:1 0 50G 0 crypt /
├─sda7 8:7 0 1G 0 part
└─sda8 8:8 0 149.1G 0 part
sdb 8:16 1 29.3G 0 disk
├─sdb1 8:17 1 558M 0 part
└─sdb2 8:18 1 31M 0 part
sdc 8:32 1 15G 0 disk
└─sdc1 8:33 1 15G 0 part /mnt/usb
sr0 11:0 1 1024M 0 rom
loop0 7:0 0 240.9M 1 loop
loop1 7:1 0 1.5G 1 loop
└─arch_root-image 254:0 0 1.5G 0 dm /etc/resolv.conf
loop2 7:2 0 1.5G 0 loop
└─arch_root-image 254:0 0 1.5G 0 dm /etc/resolv.conf
blkid
/dev/sda1: LABEL="System Reserved" UUID="3A481C2D481BE703" TYPE="ntfs" PARTUUID="850a6169-01"
/dev/sda2: UUID="EE3443C234438D11" TYPE="ntfs" PARTUUID="850a6169-02"
/dev/sda5: UUID="d04b37b1-4dfb-451c-b582-b9d95ca8fe22" TYPE="ext4" PARTUUID="850a6169-05"
/dev/sda6: UUID="691c218e-658f-47ff-8296-6b266b2c06c9" TYPE="crypto_LUKS" PARTUUID="850a6169-06"
/dev/sdb1: UUID="2014-07-03-18-41-56-00" LABEL="ARCH_201407" TYPE="iso9660" PTUUID="6039e1c4" PTTYPE="dos" PARTUUID="6039e1c4-01"
/dev/sdb2: SEC_TYPE="msdos" LABEL="ARCHISO_EFI" UUID="3B47-A69A" TYPE="vfat" PARTUUID="6039e1c4-02"
/dev/loop0: TYPE="squashfs"
/dev/loop1: UUID="5857fcdc-02d9-4d16-aeb5-00d786995ffc" TYPE="ext4"
/dev/loop2: UUID="5857fcdc-02d9-4d16-aeb5-00d786995ffc" TYPE="ext4"
/dev/mapper/arch_root-image: UUID="5857fcdc-02d9-4d16-aeb5-00d786995ffc" TYPE="ext4"
/dev/mapper/cryptroot: UUID="d1d0825c-25d1-4cbe-811f-725d9ef8d034" TYPE="ext4"
/dev/sdc1: UUID="86D3-3C7E" TYPE="vfat" PARTUUID="c3072e18-01"
/dev/sda7: PARTUUID="850a6169-07"
/dev/sda8: PARTUUID="850a6169-08"
/etc/default/grub
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Arch"
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX="cryptdevice=/dev/sda6:cryptroot"
# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"
# Uncomment to enable Hidden Menu, and optionally hide the timeout count
#GRUB_HIDDEN_TIMEOUT=5
#GRUB_HIDDEN_TIMEOUT_QUIET=true
# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console
# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE=auto
# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep
# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true
# Uncomment and set to the desired menu colors. Used by normal and wallpaper
# modes only. Entries specified as foreground/background.
#GRUB_COLOR_NORMAL="light-blue/black"
#GRUB_COLOR_HIGHLIGHT="light-cyan/blue"
# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/path/to/wallpaper"
#GRUB_THEME="/path/to/gfxtheme"
# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"
#GRUB_SAVEDEFAULT="true"
/boot/grub/grub.cfg
# 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 ###
insmod part_gpt
insmod part_msdos
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="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
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
if loadfont unicode ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_US
insmod gettext
fi
terminal_input console
terminal_output gfxterm
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=5
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-d1d0825c-25d1-4cbe-811f-725d9ef8d034' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod cryptodisk luks gcry_rijndael gcry_rijndael gcry_sha1
insmod ext2
set root='cryptouuid/691c218e658f47ff82966b266b2c06c9'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint='cryptouuid/691c218e658f47ff82966b266b2c06c9' d1d0825c-25d1-4cbe-811f-725d9ef8d034
else
search --no-floppy --fs-uuid --set=root d1d0825c-25d1-4cbe-811f-725d9ef8d034
fi
echo 'Loading Linux linux ...'
linux /boot/vmlinuz-linux root=UUID=d1d0825c-25d1-4cbe-811f-725d9ef8d034 rw cryptdevice=/dev/sda6:cryptroot quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initramfs-linux.img
submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-d1d0825c-25d1-4cbe-811f-725d9ef8d034' {
menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-d1d0825c-25d1-4cbe-811f-725d9ef8d034' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod cryptodisk luks gcry_rijndael gcry_rijndael gcry_sha1
insmod ext2
set root='cryptouuid/691c218e658f47ff82966b266b2c06c9'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint='cryptouuid/691c218e658f47ff82966b266b2c06c9' d1d0825c-25d1-4cbe-811f-725d9ef8d034
else
search --no-floppy --fs-uuid --set=root d1d0825c-25d1-4cbe-811f-725d9ef8d034
fi
echo 'Loading Linux linux ...'
linux /boot/vmlinuz-linux root=UUID=d1d0825c-25d1-4cbe-811f-725d9ef8d034 rw cryptdevice=/dev/sda6:cryptroot quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initramfs-linux.img
menuentry 'Arch Linux, with Linux linux (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-d1d0825c-25d1-4cbe-811f-725d9ef8d034' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod cryptodisk luks gcry_rijndael gcry_rijndael gcry_sha1
insmod ext2
set root='cryptouuid/691c218e658f47ff82966b266b2c06c9'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint='cryptouuid/691c218e658f47ff82966b266b2c06c9' d1d0825c-25d1-4cbe-811f-725d9ef8d034
else
search --no-floppy --fs-uuid --set=root d1d0825c-25d1-4cbe-811f-725d9ef8d034
fi
echo 'Loading Linux linux ...'
linux /boot/vmlinuz-linux root=UUID=d1d0825c-25d1-4cbe-811f-725d9ef8d034 rw cryptdevice=/dev/sda6:cryptroot quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initramfs-linux-fallback.img
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
### BEGIN /etc/grub.d/60_memtest86+ ###
### END /etc/grub.d/60_memtest86+ ###
Things I tried:
Replace this line in grub.cfg with
linux /boot/vmlinuz-linux root=UUID=d1d0825c-25d1-4cbe-811f-725d9ef8d034 rw cryptdevice=UUID=d1d0825c-25d1-4cbe-811f-725d9ef8d034:cryptroot quiet
Do mkinitcpio -p linux but the hook ecrypt is there, so I assume it's a grub issue.
In
/etc/default/grub
replace GRUB_CMDLINE_LINUX="cryptdevice=/dev/sda6:cryptroot" with actual UUID, etc.
Grub config was made with
grub-mkconfig -o /boot/grub/grub.cfg
Grub was installed with
grub-install --target=i386-pc --recheck /dev/sda
Last edited by shape (2014-07-21 15:23:05)Welcome to the forum :-)
Please remember to mark the thread as solved https://bbs.archlinux.org/viewtopic.php?id=130309
When posting configs, code or command output, please use [ code ] tags, not [ quote ] tags https://bbs.archlinux.org/help.php#bbcode
like this
It makes the code more readable and - in case of longer listings - more convenient to scroll through. -
[SOLVED] Grub failing to install on UEFI
I am trying to do a fresh install on my desktop and am running into issues when installing grub.
My setup is: 3x500GB drives (sda1 is a 1GB partition for /boot/efi, sd[bc]1 raid 1 for swap, sd[abc]2 raid 5 with LVM for /, /home, and /tmp). ASUS m5a97 LE R2.0 motherboard.
I am currently chroot into /mnt, where my / LVM is mounted, I have dm_mod loaded, and I was following the instructions here.
I get an error from grub toward the end saying "Path `/boot/grub' is not readable by GRUB on boot. Installation is impossile. Aborting." (there's a LOT of output before that because of --debug.
I tried looking around, and I saw some people say that they had success with a fresh install when upgrading, but that doesn't really apply to me as this is already a fresh install.
Does anyone have any ideas what could be causing this? Thanks in advance!
David
Last edited by slackcub (2013-07-28 08:17:30)slackcub wrote:Alright I figured I may as well update this. I fell a little silly, but I do know at first the DVD was booting in UEFI mode, but apparently at some point that stopped, and that was what was causing all my issues. I am now up and running and all good. Thanks for the help everyone!
I find it a very good idea to keep something as /boot/EFI/boot/bootx64.efi (or \EFI\BOOT\BOOTX64.efi relative to the root of the ESP). That is the "default" efi application. It is what is run if you have your machine set to boot in UEFI mode and you choose the disk to boot from (rather than a firmware entry like those created by efibootmgr). It was put into the spec so that one could boot a removable medium, like a USB flash drive or cdrom, with UEFI. Obviously, a removable whatever is not going to have a firmware entry for it, so there needed to be some kind of standardization on how to make those work. From there, apparently that idea carried over to the internal devices as well, and now a vast majority of UEFI firmwares use this for all disks, not just removable ones.
Nowadays, I keep gummiboot there. But when I first started using UEFI, I kept the UEFI Shell v2 there since it that is probably the most versatile thing that could be used as a fallback. But as long as you have somethign there, in the event that you lose all your firmware entries, this might save your ass. In my Phoenix bios, the exit and save changes, you would use F10, while a total reset of the bios to defaults is F9... yeah, I reset my bios by accident once. Having the UEFI Shell in that spot made my life quite a bit easier. -
[SOLVED] GRUB Failing on Fresh Install
I'm trying to do a fresh install on a computer with an existing 20GB windows installation. I have done this for years with no problem, but now grub-mkconfig is returning errors (here's a photo - http://imgur.com/8Az66wx), and if I go ahead with grub-install afterwards, I find that there's no Windows boot option and trying to boot Linux also yields errors (see this photo - http://imgur.com/umfMznr). I've tried twice now with the same results. Any ideas what's going on? Thanks.
Last edited by tony5429 (2013-12-14 00:41:59)Actually I did search a bit and found a lot of discussion about the error in cases where people were trying to use an LVM, and situations which returned errors but still allowed them to boot. My case is a bit different as I'm just using standard hard drive partitions, and Linux is not booting.
-
Grub failing to read newest grub.conf [Solved]
I have been working on installing archlinux and xen to run a xenserver with archlinux as my dom0. The installation of the grub went fine. A potential problem was me trying to install grub to my boot partition the first time on accident. Following are the commands I used to install grub.
# grub-install /dev/sda1
As you'd expect, I was informed that installing this way was a bad idea, and that the installation would not continue. I meant to use the following command instead:
# grub-install /dev/sda
Which completed successfully.
After that, I created the grub.conf
# grub-mkconfig -o /boot/grub/grub.config
Completed successfully.
The actual output of these commands are exactly what I would have expected from them. If desired, I can post the output, but they were what would be expected form a successfully completed command.
After running through the installation and creation of the grub.conf file, I rebooted and was presented with the grub menu selection screen. While the xen entry was certainly found and put in the grub.conf (which I checked afterwords), there were only two entries: Archlinux and Archlinux booting from the backup ramfs. Thinking that this may have been the correct behavior for a server that is running a baremetal hypervisor, I choose the normal Archlinux entry and was greeted with an error screen informing me that a UUID for a partition that does not exist was not able to be found. Trying the bakup archlinux entry gave me the same result.
I am now unable to boot the system. Rebooting into live media, remounting partitions, arch-chroot into the /mnt directory, and reinstalling grub and recreating the grub.conf file has gotten me nowhere.I have several questions about this:
Is it possible that the UUIDs and grub.conf from my previous install could have been preserved somehow? The previous install used gpt partitioning while this one used mbr.
Is there something that I am missing to get grub to create the file and use it?
Do special procedures have to be followed to clear gpt formatted disks before using mbr?
Last edited by ephreal (2015-03-15 05:42:40)Having no luck, I looked into syslinux a bit and gave it a try, and am now booting just fine. This doesn't solve the initial issue of having grub consistently show the wrong UUID, but it is a workaround.
Thank you Head_On_A_Stick for the clarification.
EDIT: The information for setting up xen with syslinux was found here and here. I'd just like to remind anyone using syslinux for the first time that the default root partition is /dev/sda3 and has to be changed in the config file. Got me 5 times in a row!
Last edited by ephreal (2015-03-15 05:52:24) -
How to install Linux on UEFI systems where GRUB fail to install?
A few of us are asking:
How to install Linux on UEFI systems where GRUB fail to install? Because after installing Linux, my MBR is messed up, and I get a "no operating system found" at system startup.
abvasili
I'm just a volunteer. I like to help others where I can. Do my ideas work? I hope so. o_O
Who helped you today? Do not forget to thank him.
My hardware: TP x120e 0596-2ru. Windows 7, sp1, 64Bit, English, installed in UEFI mode.
Solved!
Go to Solution.Hi again,
I would like to answer to another question, just in case:
Question: Can I dual boot Win7 and Linux on a UEFI capable bios?
Answer: Yes you can. If your HDD is formatted in MBR partition table (or msdos) than you can install first windows 7 and than the distro of your choice. BUT, careful, if you install windows from a DVD media it will convert your HDD in GPT partition table and dual boot will be almost impossible... (or will give you a lot of headache) to avoid this, dump the win7 iso to an usb using Windows 7 USB/DVD Download Tool. Installing from USB will not change the hdd in GPT partition table.
take care
abvasili
I'm just a volunteer. I like to help others where I can. Do my ideas work? I hope so. o_O
Who helped you today? Do not forget to thank him.
My hardware: TP x120e 0596-2ru. Windows 7, sp1, 64Bit, English, installed in UEFI mode. -
Cache Issue - Return message showing previous entry
Hi,
While testing my function module I am directly assigning values to the fields. If I assign an invalid entry to one of the fields it throws an error message as expected. But the problem is even if I go back and correct the value and execute it again, it throws the same error message. I can understand that the cache is still holding the previous entry made by me. Please help me in solving this.
Thanks in advance,
AravindanHi,
It isnt related to any cache. You will have to clear and refresh the variables holding the error messages so that when you go back, they will be set to intial and get populated as per the newly entered values.
Just after the code for displaying the error message, clear those variables in the function module code
Vikranth -
[SOLVED]grub-mkconfig won't work
Hi!
I'm running grub2, and today grub-mkconfig stopped working: this is the error:
sudo grub-mkconfig -o /boot/grub/grub.cfg
Creazione di grub.cfg...
Trovata immagine linux: /boot/vmlinuz-netbook
Trovata immagine linux: /boot/vmlinuz-3.4.9-1-i686-arch
Trovata immagine initrd: /boot/initramfs-3.4.9-1-i686-arch.img
Found memtest86+ image: /boot/memtest86+/memtest.bin
No volume groups found
Trovato Arch Linux su /dev/sda3
/usr/sbin/grub-mkconfig: line 269: 8481 Errore di segmentazione ${grub_script_check} ${grub_cfg}.new
Syntax errors are detected in generated GRUB config file.
Ensure that there are no errors in /etc/default/grub
and /etc/grub.d/* files or please file a bug report with
/boot/grub/grub.cfg.new file attached.fatto
This is my /etc/default/grub:
GRUB_DEFAULT=saved
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR="Archlinux"
GRUB_CMDLINE_LINUX_DEFAULT="quiet rootfstype=ext4 add_efi_memmap logo.nologo fastboot raid=noautodetect libahci.ignore_sss=1 loglevel=3 pcie_aspm=force i915.i915_enable_rc6=3 i915.lvds_downclock=1 ipv6.disable=1 resume=swap:/dev/sda3:0x5d0000 "
GRUB_CMDLINE_LINUX=""
# If you want to enable the save default function, uncomment the following
# line, and set GRUB_DEFAULT to saved.
GRUB_SAVEDEFAULT=false
# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"
# Uncomment to enable Hidden Menu, and optionally hide the timeout count
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console
# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=console
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
GRUB_GFXMODE=auto
# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep
# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true
# Uncomment to disable generation of recovery mode menu entries
GRUB_DISABLE_RECOVERY=true
# Uncomment and set to the desired menu colors. Used by normal and wallpaper
# modes only. Entries specified as foreground/background.
GRUB_COLOR_NORMAL="light-gray/black"
GRUB_COLOR_HIGHLIGHT="green/black"
# Uncomment one of them for the gfx desired, a image background or a gfxtheme
GRUB_BACKGROUND="/usr/share/grub/background.png"
#GRUB_THEME="/path/to/gfxtheme"
# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"
I only set a swapfile to be used by tuxonice, then add the proper line there, in /etc/default/grub.
May be i made some mistakes? I tried to remove the resume= parameter, but it won't work anyway...
Thank you!
Last edited by nierro (2012-08-23 22:32:46)The resume parameter is different from the normal resume= because i'm using a swap file
Btw, this is the error message without resume parameter, in english:
LC_ALL=C sudo grub-mkconfig -o /boot/grub/grub.cfg
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-netbook
Found linux image: /boot/vmlinuz-3.4.9-1-i686-arch
Found initrd image: /boot/initramfs-3.4.9-1-i686-arch.img
Found memtest86+ image: /boot/memtest86+/memtest.bin
No volume groups found
Found Arch Linux on /dev/sda3
error: syntax error.
error: Incorrect command.
error: syntax error.
/usr/sbin/grub-mkconfig: line 269: 5859 Segmentation fault ${grub_script_check} ${grub_cfg}.new
Syntax errors are detected in generated GRUB config file.
Ensure that there are no errors in /etc/default/grub
and /etc/grub.d/* files or please file a bug report with
/boot/grub/grub.cfg.new file attached.done
Last edited by nierro (2012-08-23 22:01:33) -
I/O errors on sda, grub fails
Receiving I/O error for sda. Grub is also failing. From previous Linux Mint console on sdb1, lsblk showed sda1 and sda2. From new arch installation on sdb1, only sda.
#parted /dev/sda
gives
Warning: Error fsyncing/closing /dev/sda: Input/output error
#mklabel msdos
gives
Error: Input/output error during read on /dev/sda
in interactive mode. Tried
#dd if=/dev/null of=/dev/sda
A blinking cursor ensued overnight.
super-grub-disk told me to
#sudo chroot "/mnt/boot-sav/sdb1" dpkg --configure -a
#sudo chroot "/mnt/boot-sav/sdb1" pacman -R --noconfirm grub*-common
with
chroot: failed to get attributes of ‘/mnt/boot-sav/sdb1’: No such file or directory
chroot: failed to get attributes of ‘/mnt/boot-sav/sdb1’: No such file or directory
respectively. Could this be on account of an encypted home folder on the other drive, which no longer exists? I had sybolically linked (lunk?) folders from the now scrambled hard drive to a now non-existent Linux Mint distro.check your bios an c which HDD is on sdX or sdb etc an switch the boot priorities an that should fix your boot grub issue reason it does that is because the bios does not see anything linux related it see's only the dependent hardware that's it so check to see what ch ( channel ) your BIOS has your HDD set to if it's set for example sdX < grub loaded onto this harddrive ....an your bios reads
-WD120gb channel 1
-WD500gb channel 2 etc etc an you install it to your 120GB HD then you actually need to move that down an make your channel 2 on top an channel 1 so in lamens terms CHANGE YOUR BOOT HARD DRIVE ORDER an as far as you (junk?) comment yeah it's fucked up because your moving non encrypted data onto encrypted you can't go vice versa or else things get torn apart in the hardware / firmware line of file structure due to encryption hope this helps -
Hi I'm running Addressbook and cannot clear previous entry easily when searching my data base of around 5,000 contacts.
I prefer to view in All contacts on a double page spread with details on the right page. Searching doesn't seem to work correctly in this view.
It's always the second search that is problematic.
I've tried typing over and all it seems to do is confine the search to the the entries that have come up for the previous search.
I've tried to use the x to clear the previous entry and then type the next search, same problem. The only way seems to be to move from "All Contacts" to "Groups". Then the searched name appears and I can return to All Contacts to see full details.
Surely three key press' are not the way it's supposed to work?
FYI
Processor 2.7 GHz Intel Core i7
Memory 8 GB 1333 MHz DDR3
Graphics Intel HD Graphics 3000 512 MB
Software Mac OS X Lion 10.7.3 (11D50d)
Address book Version 6.1 (1083)
MacBook Pro, Mac OS X (10.7.1), 8Mb RAM 2.7Ghz i7AddressBook experts are here:
https://discussions.apple.com/community/mac_os/mac_os_x_v10.7_lion#/?tagSet=1386 -
Need to disable previous entries in an INPUT field(on pressing spacebar)
Dear Gurus,
On clicking the space-bar of an input field (of a module pool screen), the system will picks the previous entries of the field. Like say for the input field against 'belnr', and I provided 5000001 for the first time and 50000002 for the 2nd time. And on the 3rd time, when I press space-bar in the field the system will diaplay the 2 belnrs in a list down fashion. I want to disable this facility only for the particular field. Can u help me..HI,
do you want disable previous entries in strandard program or in Custom program (Z-Program)
Regards
Sudheer -
Error in Tomcat --- context start up failed due to previous errors
Feb 27, 2008 11:05:11 AM org.apache.catalina.core.StandardContext start
SEVERE: Context [/jstl] startup failed due to previous errors
Feb 27, 2008 11:05:13 AM com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(com.mycompany.TabLabel)
Feb 27, 2008 11:05:13 AM com.sun.faces.config.rules.ComponentRule end
WARNING: [ComponentRule]{faces-config/component} Merge(com.mycompany.Tree)
Feb 27, 2008 11:05:13 AM com.sun.faces.config.rules.ValidatorRule end
WARNING: [ValidatorRule]{faces-config/validator} Merge(com.mycompany.jsf.validat
or.LATER_THAN)
Feb 27, 2008 11:05:14 AM org.apache.catalina.core.StandardContext start
SEVERE: Error listenerStart
Feb 27, 2008 11:05:14 AM org.apache.catalina.core.StandardContext startHello frnds i dont understand what should i do? anybody familiar with this kind of error. please let me know in this case what should i do?
even if i am trying to copy whole files in another folder it shows same msg for that folder too. please help me
Thankyou everybodyHi ,
I also face this same kind of problem.
I tried to fix the problem but not work out.
I got another solution. I am not sure its a current solution .
Try it carefully.
Finally 1, I take back up -copy of server.xml and common/lib .
2, Un-install Tomcat server.
3, After i have installed fresh tomcat server.
4, Replace back-up copy of server.xml and common/lib.
its working fine -
INIT : failed write of utmpx entry " "
Hi all,
I have faced a big problem when the power of the system solaris 8 intel Rel 2/02 is suddenly outage so that the system cannot be shutdown normally. When I restart the system, I have the following error message and the system cannot access into all run-level. The error message as shown below :
################# Begin of error message ##############################
The / file system (/dev/rdsk/c0d0s0) is being checked.
/dev/rdsk/c0d0s0 : BAD INODE NUMBER FOR ' .. ' I=24638 OWNER=ROOT MODE=40755
/dev/rdsk/c0d0s0 : SIZE=512 MTIME=NOV 30 23:25 2003
/dev/rdsk/c0d0s0 : UNEXPECTED INCONSISTENCY ; RUN fsck MANUALLY
WARNING - Unable to repair the / filesystem - Run fsck
manually (fsck - F ufs /dev/rdsk/c0d0s0). Exit the shell
when done to continue the boot process
Type control-d to process with normal startup (or give root passowrd for system maintenance) :
Single-user privilege assigned to /dev/console Entering System Maintenance Mode
****** After I entered the root password *******
Nov 30 11:29:40 su : 'su root' suceeded for root on /dev/console
No directory !
resuming system initialization
mount : the state of /dev/dsk/c0d0s0 is not okay and it was attempted to be mounted read/write
mount : Please run fsck and try again
failed to open /etc/coreadm.confsyseventd : Unable to open daemon lock file
'/etc/sysevent/syseventd-lock' : 'Read only file system'ln :
cannot create /dev/fb/dislay@0:text-0 : Read only system
INIT : Cannot create /var/adm/utmpx
INIT: failed write of utmpx entry : " "
INIT: failed write of utmpx entry : " "
INIT : SINGLE USER MODE
Type control-d to proceed with normal startup (or give root password for system maintenace) :
Single-user privilege assigned to /dev/console Entering System Maintenance Mode
########################## End of error message ##########################
Due to the above error, I can never enter the system and make any action on the system. Please advise what should I do. Otherwise, the whole system will be re-installed.
Many thanks.Boot your CD 1 of 2 into single user (b -s) and fsck /dev/rdsk/c0d0s0. Your root filesystem need's to be fsck'ed and you can't ( or you never should) fsck a mounted filesystem. Root is currently mounted write only.
At the "list of available boot devices" select the CDROM as the device from which to boot a Solaris kernel. At the screen where you are prompted to select 1, 2, or 3 for what type of install type you wish to do enter 'b -s' instead of a number. -
How do I get pages to show previous entries in a pages table in the new version?
Working in a table in pages on the new version. I am typing up questions and don't want duplicates, the old version would bring up previous entries that where the same. I can't get it to do that. Please help.
Thanks.It's just one of the many, many features that have been eliminated or changed. Leave feedback for the Pages team using the link in the Pages menu.
If you previously had iWork '09, those apps are still in your Applications folder in a folder named iWork '09. You can continue to use them to get things done. -
I don't know what setting to change so that when I start typing my login (to an email account, etc), the previous entries do not show up. I want the field to start out and stay blank, and have me type the whoe string
== This happened ==
Every time Firefox opened
== has been, all alongClear the Search and Form History, under Tools > Clear Recent History.
And, then turn off the Search and Form History so it won't save it anymore, in Tools > Options >> Privacy - select ''Use custom settings for history'', then un-select Search and Form History
Maybe you are looking for
-
How configure GR/IR Automatic Clearing
Hi Friends, How I configure GR/IR Automatic Clearing. Whatu2019s the path in SPRO t-code. Please help me. Regards, Hemant Maurya
-
Is it possible to get access to iPad Apps with Mavericks?
-
Com/crystaldecisions/enterprise/ocaframework/idl/PingerExHelper
Using Crystal Report Server XI R2 and the included RAS SDK for report development in a web app. The web application is hoisted on a WebLogic server, below stack trace is shown in the server log after leaving the web application running for a while, ~
-
What option do i need to make sure my export includes the artboard bleed? Script is below: var options = new ExportOptionsJPEG(); options.antiAliasing = true; options.qualitySetting = 100; options.optimization = true; options.horizontalScale = 41
-
i saw a link where to download this old software. anyone know where it is now? thanks PS what is CS2 cos it is free also does anyone USE this forum? sure don't look like it!