You are not logged in.
Pages: 1
Dear
I've tried to install Arch Linux on my new Lenovo P40 Yoga.
All the steps in the install guide are successful done.
When I reboot the system then the grub shows only a shell prompt instead of the menu wich is generated by grub-mkconfig before.
When I type the boot-sequence manual then the system starts normal
set root=(hd0,gpt2)
linux /boot/vmlinuz-linux root=/dev/sda2
initrd /boot/initramfs.img
boot
There are a minor problem (cosmetics): The Windows boot loader entry is still i the list of efibootmgr, how I can remove them?
Many thanks for help
Tino
Last edited by tino-ch (2016-04-06 08:23:04)
Offline
Hello,
Can you post the complete content of your grub.cfg?
Offline
Dear
yes, here is:
#
# 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,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 5ea9c799-aaaf-4a95-aea0-b15854ed8f88
else
search --no-floppy --fs-uuid --set=root 5ea9c799-aaaf-4a95-aea0-b15854ed8f88
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
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-5ea9c799-aaaf-4a95-aea0-b15854ed8f88' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 5ea9c799-aaaf-4a95-aea0-b15854ed8f88
else
search --no-floppy --fs-uuid --set=root 5ea9c799-aaaf-4a95-aea0-b15854ed8f88
fi
echo 'Loading Linux linux ...'
linux /boot/vmlinuz-linux root=UUID=5ea9c799-aaaf-4a95-aea0-b15854ed8f88 rw quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initramfs-linux.img
}
submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-5ea9c799-aaaf-4a95-aea0-b15854ed8f88' {
menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-5ea9c799-aaaf-4a95-aea0-b15854ed8f88' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 5ea9c799-aaaf-4a95-aea0-b15854ed8f88
else
search --no-floppy --fs-uuid --set=root 5ea9c799-aaaf-4a95-aea0-b15854ed8f88
fi
echo 'Loading Linux linux ...'
linux /boot/vmlinuz-linux root=UUID=5ea9c799-aaaf-4a95-aea0-b15854ed8f88 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-5ea9c799-aaaf-4a95-aea0-b15854ed8f88' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 5ea9c799-aaaf-4a95-aea0-b15854ed8f88
else
search --no-floppy --fs-uuid --set=root 5ea9c799-aaaf-4a95-aea0-b15854ed8f88
fi
echo 'Loading Linux linux ...'
linux /boot/vmlinuz-linux root=UUID=5ea9c799-aaaf-4a95-aea0-b15854ed8f88 rw 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+ ###Last edited by tino-ch (2016-03-31 09:23:39)
Offline
Please edit your post and use code tags.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
It's looks to be that GRUB isn't seeing the grub.cfg. Are you using a separate /boot partition? Is it being correctly mounted when you boot up?
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
Dear clfarron4
Your solution works. I started the installation again.
Maybee there was a mounting mistake.
Cheers
Offline
Pages: 1