You are not logged in.
Hi,
Stuck with Grub not showing other kernel, started with willing to keep two kernels.
grub config file shows both kernels correctly but still not appearing at boot (it's like pale black/blue, seems I am stuck with grub legacy? tried reinstallation etc but didn't work):
Boot menu
Arch Linux
Arch Linux Fallback
HDT
Reboot
PowerSorry can't produce screenshot.
Disk info
Device Type
/dev/sda1 Linux filesystem
/dev/sda2 Linux swap
/dev/sda3 Linux homeNote: gparted shows 'legacy_boot' flag on /sda1
Config/files/output are:
# update-grub
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-linux-lts
Found initrd image: /boot/initramfs-linux-lts.img
Found fallback initramfs image: /boot/initramfs-linux-lts-fallback.img
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/initramfs-linux.img
Found fallback initramfs image: /boot/initramfs-linux-fallback.img
No volume groups found
done# cat /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 [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_gpt
insmod ext2
set root='hd0,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 c5349960-1eb2-4af6-a5c0-6b4356da4ae1
else
search --no-floppy --fs-uuid --set=root c5349960-1eb2-4af6-a5c0-6b4356da4ae1
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; 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/01_grub-customizer_menu_color_helper ###
### END /etc/grub.d/01_grub-customizer_menu_color_helper ###
### BEGIN /etc/grub.d/10_linux_proxy ###
menuentry "Arch Linux" --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-c5349960-1eb2-4af6-a5c0-6b4356da4ae1' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 c5349960-1eb2-4af6-a5c0-6b4356da4ae1
else
search --no-floppy --fs-uuid --set=root c5349960-1eb2-4af6-a5c0-6b4356da4ae1
fi
echo 'Loading Linux linux-lts ...'
linux /boot/vmlinuz-linux-lts root=UUID=c5349960-1eb2-4af6-a5c0-6b4356da4ae1 rw quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initramfs-linux-lts.img
}
menuentry "Arch Linux, with Linux linux-lts" --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-lts-advanced-c5349960-1eb2-4af6-a5c0-6b4356da4ae1' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 c5349960-1eb2-4af6-a5c0-6b4356da4ae1
else
search --no-floppy --fs-uuid --set=root c5349960-1eb2-4af6-a5c0-6b4356da4ae1
fi
echo 'Loading Linux linux-lts ...'
linux /boot/vmlinuz-linux-lts root=UUID=c5349960-1eb2-4af6-a5c0-6b4356da4ae1 rw quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initramfs-linux-lts.img
}
menuentry "Arch Linux, with Linux linux-lts (fallback initramfs)" --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-lts-fallback-c5349960-1eb2-4af6-a5c0-6b4356da4ae1' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 c5349960-1eb2-4af6-a5c0-6b4356da4ae1
else
search --no-floppy --fs-uuid --set=root c5349960-1eb2-4af6-a5c0-6b4356da4ae1
fi
echo 'Loading Linux linux-lts ...'
linux /boot/vmlinuz-linux-lts root=UUID=c5349960-1eb2-4af6-a5c0-6b4356da4ae1 rw quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initramfs-linux-lts-fallback.img
}
submenu "Advanced options for Arch Linux"{
menuentry "Arch Linux, with Linux linux" --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-c5349960-1eb2-4af6-a5c0-6b4356da4ae1' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 c5349960-1eb2-4af6-a5c0-6b4356da4ae1
else
search --no-floppy --fs-uuid --set=root c5349960-1eb2-4af6-a5c0-6b4356da4ae1
fi
echo 'Loading Linux linux ...'
linux /boot/vmlinuz-linux root=UUID=c5349960-1eb2-4af6-a5c0-6b4356da4ae1 rw 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-c5349960-1eb2-4af6-a5c0-6b4356da4ae1' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 c5349960-1eb2-4af6-a5c0-6b4356da4ae1
else
search --no-floppy --fs-uuid --set=root c5349960-1eb2-4af6-a5c0-6b4356da4ae1
fi
echo 'Loading Linux linux ...'
linux /boot/vmlinuz-linux root=UUID=c5349960-1eb2-4af6-a5c0-6b4356da4ae1 rw quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initramfs-linux-fallback.img
}
}
### END /etc/grub.d/10_linux_proxy ###
### 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+ ###cat /etc/default/grub shows:
GRUB_DEFAULT="0"
GRUB_TIMEOUT="5"
GRUB_DISTRIBUTOR="Arch"
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
GRUB_CMDLINE_LINUX=""
# 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"Last edited by jackpot (2014-08-20 07:53:27)
KDE is all good bloated, try to trim away from K*.apps... whatever it leaves behind equals "Kuck yourself!"
nVidia.... fsck sdy0
Offline
Your config looks ok, but (just as you assume) the boot loader itself is not the standard Arch package (is it from Manjaro?). Maybe you want to take an USB and retry setting up a fresh grub and /boot according to: https://wiki.archlinux.org/index.php/Grub#Installation
Once you got that usb to boot, re-installing grub on sda1 might be straightforward.
The painting in my profile is "Eros" by Paul Klee. He is credited in the lower left, but that got blurry during the downscale.
Offline
No it's pure/official Arch (Manjaro is another box). I have to change hdd of Arch box anyways so may do a complete reinstall (however still not sure why this happens (could be (u)EFI or BIOS related issue, not sure).
Thanks.
KDE is all good bloated, try to trim away from K*.apps... whatever it leaves behind equals "Kuck yourself!"
nVidia.... fsck sdy0
Offline
To clarify: "re-/installing" grub with pacman does not execute "grub-install".
How did you execute "grub-install" when you tried to re-install it according to your first post above?
The painting in my profile is "Eros" by Paul Klee. He is credited in the lower left, but that got blurry during the downscale.
Offline
How did you execute "grub-install" when you tried to re-install it according to your first post above?
When everything failed to work, I did this:
# grub-install --target=i386-pc --recheck --debug /dev/sda
# grub-mkconfig -o /boot/grub/grub.cfgKDE is all good bloated, try to trim away from K*.apps... whatever it leaves behind equals "Kuck yourself!"
nVidia.... fsck sdy0
Offline
Did you install os-prober? Try running that and then running the other commands.
Sanity Check: Is it booting from LiveUSB/CD? I would not expect HDT/Reboot or Power Off entries from a generated grub config. I would expect those entries from a LiveUSB/CD.
PS: It looks like the linux-lts kernel was detected from the grub.cfg file you posted, so that's not the issue.
Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository
Offline
Did you install os-prober? Try running that and then running the other commands.
Yes, did. Same result.
Sanity Check: Is it booting from LiveUSB/CD? I would not expect HDT/Reboot or Power Off entries from a generated grub config. I would expect those entries from a LiveUSB/CD.
From system itself, but tried all options (I knew) like 1) using fallback to install LTS and run commands, 2) live-CD, 3) kernel parameter systemd.unit etc
No worries, I am giving up on issue for some time.
EDIT:
Thanks
Last edited by jackpot (2014-08-20 11:14:32)
KDE is all good bloated, try to trim away from K*.apps... whatever it leaves behind equals "Kuck yourself!"
nVidia.... fsck sdy0
Offline