You are not logged in.
Hello everyone. First I apologize for my English, I use translator. I installed the LTS kernel, I read that it was advisable and well, I wanted to have an ace up my sleeve, you never know. The case is that it is installed and I have generated a new grub.cfg to include it in the grub but it is not included. The console locates the entries for the default kernel and also for Windows 10, but does not add those for the new kernel. I have seen and followed many tutos and apparently everything is correct but it does not add the options to the grub. Any suggestions? Thanks greetings.
Last edited by J.el_Metal (2018-07-16 13:16:26)
Offline
You can write an entry manually.
Moving to NC...
Offline
Excuse the question but, what is supposed to include that entry? I'm new to Arch, thank you very much.
Offline
If you are willing to paste the output of `grub-mkconfig`, maybe we can tell more.
Personal spot :: https://www.smirky.net/ :: Try not to get lost!
Offline
Read your grub config and then copy the linux entry to a new stanza and rename it linux-lts... It's not difficult.
Offline
If you are willing to paste the output of `grub-mkconfig`, maybe we can tell more.
Thanks for answering. Here the file grub.cfg:
Here the file 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_msdos
insmod ext2
set root = 'hd2, msdos3'
if [x $ feature_platform_search_hint = xy]; then
search --no-floppy --fs-uuid --set = root --hint-ieee1275 = 'ieee1275 // disk @ 0, msdos3' --hint-bios = hd2, msdos3 --hint-efi = hd2, msdos3 --hint-baremetal = ahci2, msdos3 4005179a-d4a7-4219-962c-9bdf6c6999c7
else
search --no-floppy --fs-uuid --set = root 4005179a-d4a7-4219-962c-9bdf6c6999c7
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_ES
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 of 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-4005179a-d4a7-4219-962c-9bdf6c6999c7' {
load_video
set gfxpayload = keep
insmod gzio
insmod part_msdos
insmod ext2
set root = 'hd2, msdos1'
if [x $ feature_platform_search_hint = xy]; then
search --no-floppy --fs-uuid --set = root --hint-ieee1275 = 'ieee1275 // disk @ 0, msdos1' --hint-bios = hd2, msdos1 --hint-efi = hd2, msdos1 --hint-baremetal = ahci2, msdos1 b2b96fe9-a8b8-482f-bee5-27a7952b3ca9
else
search --no-floppy --fs-uuid --set = root b2b96fe9-a8b8-482f-bee5-27a7952b3ca9
fi
echo 'Loading Linux linux ...'
linux / vmlinuz-linux root = UUID = 4005179a-d4a7-4219-962c-9bdf6c6999c7 rw quiet
echo 'Loading initial memory image ...'
initrd /initramfs-linux.img
}
submenu 'Advanced options for Arch Linux' $ menuentry_id_option 'gnulinux-advanced-4005179a-d4a7-4219-962c-9bdf6c6999c7' {
menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $ menuentry_id_option 'gnulinux-linux-advanced-4005179a-d4a7-4219-962c-9bdf6c6999c7' {
load_video
set gfxpayload = keep
insmod gzio
insmod part_msdos
insmod ext2
set root = 'hd2, msdos1'
if [x $ feature_platform_search_hint = xy]; then
search --no-floppy --fs-uuid --set = root --hint-ieee1275 = 'ieee1275 // disk @ 0, msdos1' --hint-bios = hd2, msdos1 --hint-efi = hd2, msdos1 --hint-baremetal = ahci2, msdos1 b2b96fe9-a8b8-482f-bee5-27a7952b3ca9
else
search --no-floppy --fs-uuid --set = root b2b96fe9-a8b8-482f-bee5-27a7952b3ca9
fi
echo 'Loading Linux linux ...'
linux / vmlinuz-linux root = UUID = 4005179a-d4a7-4219-962c-9bdf6c6999c7 rw quiet
echo 'Loading initial memory image ...'
initrd /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-4005179a-d4a7-4219-962c-9bdf6c6999c7' {
load_video
set gfxpayload = keep
insmod gzio
insmod part_msdos
insmod ext2
set root = 'hd2, msdos1'
if [x $ feature_platform_search_hint = xy]; then
search --no-floppy --fs-uuid --set = root --hint-ieee1275 = 'ieee1275 // disk @ 0, msdos1' --hint-bios = hd2, msdos1 --hint-efi = hd2, msdos1 --hint-baremetal = ahci2, msdos1 b2b96fe9-a8b8-482f-bee5-27a7952b3ca9
else
search --no-floppy --fs-uuid --set = root b2b96fe9-a8b8-482f-bee5-27a7952b3ca9
fi
echo 'Loading Linux linux ...'
linux / vmlinuz-linux root = UUID = 4005179a-d4a7-4219-962c-9bdf6c6999c7 rw quiet
echo 'Loading initial memory image ...'
initrd /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 ###
menuentry 'Windows 10 (in / dev / sda1)' --class windows --class os $ menuentry_id_option 'osprober-chain-36B6828FB6824F75' {
insmod part_msdos
insmod ntfs
set root = 'hd0, msdos1'
if [x $ feature_plat
Last edited by J.el_Metal (2018-07-16 08:06:18)
Offline
Read the Code and use code tags: https://wiki.archlinux.org/index.php/Co … s_and_code
Offline
Read the Code and use code tags: https://wiki.archlinux.org/index.php/Co … s_and_code
#
# 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_msdos
insmod ext2
set root = 'hd2, msdos3'
if [x $ feature_platform_search_hint = xy]; then
search --no-floppy --fs-uuid --set = root --hint-ieee1275 = 'ieee1275 // disk @ 0, msdos3' --hint-bios = hd2, msdos3 --hint-efi = hd2, msdos3 --hint-baremetal = ahci2, msdos3 4005179a-d4a7-4219-962c-9bdf6c6999c7
else
search --no-floppy --fs-uuid --set = root 4005179a-d4a7-4219-962c-9bdf6c6999c7
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_ES
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 of 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-4005179a-d4a7-4219-962c-9bdf6c6999c7' {
load_video
set gfxpayload = keep
insmod gzio
insmod part_msdos
insmod ext2
set root = 'hd2, msdos1'
if [x $ feature_platform_search_hint = xy]; then
search --no-floppy --fs-uuid --set = root --hint-ieee1275 = 'ieee1275 // disk @ 0, msdos1' --hint-bios = hd2, msdos1 --hint-efi = hd2, msdos1 --hint-baremetal = ahci2, msdos1 b2b96fe9-a8b8-482f-bee5-27a7952b3ca9
else
search --no-floppy --fs-uuid --set = root b2b96fe9-a8b8-482f-bee5-27a7952b3ca9
fi
echo 'Loading Linux linux ...'
linux / vmlinuz-linux root = UUID = 4005179a-d4a7-4219-962c-9bdf6c6999c7 rw quiet
echo 'Loading initial memory image ...'
initrd /initramfs-linux.img
}
submenu 'Advanced options for Arch Linux' $ menuentry_id_option 'gnulinux-advanced-4005179a-d4a7-4219-962c-9bdf6c6999c7' {
menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $ menuentry_id_option 'gnulinux-linux-advanced-4005179a-d4a7-4219-962c-9bdf6c6999c7' {
load_video
set gfxpayload = keep
insmod gzio
insmod part_msdos
insmod ext2
set root = 'hd2, msdos1'
if [x $ feature_platform_search_hint = xy]; then
search --no-floppy --fs-uuid --set = root --hint-ieee1275 = 'ieee1275 // disk @ 0, msdos1' --hint-bios = hd2, msdos1 --hint-efi = hd2, msdos1 --hint-baremetal = ahci2, msdos1 b2b96fe9-a8b8-482f-bee5-27a7952b3ca9
else
search --no-floppy --fs-uuid --set = root b2b96fe9-a8b8-482f-bee5-27a7952b3ca9
fi
echo 'Loading Linux linux ...'
linux / vmlinuz-linux root = UUID = 4005179a-d4a7-4219-962c-9bdf6c6999c7 rw quiet
echo 'Loading initial memory image ...'
initrd /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-4005179a-d4a7-4219-962c-9bdf6c6999c7' {
load_video
set gfxpayload = keep
insmod gzio
insmod part_msdos
insmod ext2
set root = 'hd2, msdos1'
if [x $ feature_platform_search_hint = xy]; then
search --no-floppy --fs-uuid --set = root --hint-ieee1275 = 'ieee1275 // disk @ 0, msdos1' --hint-bios = hd2, msdos1 --hint-efi = hd2, msdos1 --hint-baremetal = ahci2, msdos1 b2b96fe9-a8b8-482f-bee5-27a7952b3ca9
else
search --no-floppy --fs-uuid --set = root b2b96fe9-a8b8-482f-bee5-27a7952b3ca9
fi
echo 'Loading Linux linux ...'
linux / vmlinuz-linux root = UUID = 4005179a-d4a7-4219-962c-9bdf6c6999c7 rw quiet
echo 'Loading initial memory image ...'
initrd /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 ###
menuentry 'Windows 10 (in / dev / sda1)' --class windows --class os $ menuentry_id_option 'osprober-chain-36B6828FB6824F75' {
insmod part_msdos
insmod ntfs
set root = 'hd0, msdos1'
if [x $ feature_plat
Offline
Those aren't code tags, FFS. Click the link at the bottom left hand corner of the text box that says "BBCode"...
Offline
Those aren't code tags, FFS. Click the link at the bottom left hand corner of the text box that says "BBCode"...
Hello, I must be very clumsy but I give him the tags but still, in the preview it looks the same, it's like if the code does not work, I'm probably doing it wrong, I'm sorry and thanks for the patience.
Thanks for answering. Here the file grub.cfg:
Here the file 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_msdos
insmod ext2
set root = 'hd2, msdos3'
if [x $ feature_platform_search_hint = xy]; then
search --no-floppy --fs-uuid --set = root --hint-ieee1275 = 'ieee1275 // disk @ 0, msdos3' --hint-bios = hd2, msdos3 --hint-efi = hd2, msdos3 --hint-baremetal = ahci2, msdos3 4005179a-d4a7-4219-962c-9bdf6c6999c7
else
search --no-floppy --fs-uuid --set = root 4005179a-d4a7-4219-962c-9bdf6c6999c7
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_ES
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 of 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-4005179a-d4a7-4219-962c-9bdf6c6999c7' {
load_video
set gfxpayload = keep
insmod gzio
insmod part_msdos
insmod ext2
set root = 'hd2, msdos1'
if [x $ feature_platform_search_hint = xy]; then
search --no-floppy --fs-uuid --set = root --hint-ieee1275 = 'ieee1275 // disk @ 0, msdos1' --hint-bios = hd2, msdos1 --hint-efi = hd2, msdos1 --hint-baremetal = ahci2, msdos1 b2b96fe9-a8b8-482f-bee5-27a7952b3ca9
else
search --no-floppy --fs-uuid --set = root b2b96fe9-a8b8-482f-bee5-27a7952b3ca9
fi
echo 'Loading Linux linux ...'
linux / vmlinuz-linux root = UUID = 4005179a-d4a7-4219-962c-9bdf6c6999c7 rw quiet
echo 'Loading initial memory image ...'
initrd /initramfs-linux.img
}
submenu 'Advanced options for Arch Linux' $ menuentry_id_option 'gnulinux-advanced-4005179a-d4a7-4219-962c-9bdf6c6999c7' {
menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $ menuentry_id_option 'gnulinux-linux-advanced-4005179a-d4a7-4219-962c-9bdf6c6999c7' {
load_video
set gfxpayload = keep
insmod gzio
insmod part_msdos
insmod ext2
set root = 'hd2, msdos1'
if [x $ feature_platform_search_hint = xy]; then
search --no-floppy --fs-uuid --set = root --hint-ieee1275 = 'ieee1275 // disk @ 0, msdos1' --hint-bios = hd2, msdos1 --hint-efi = hd2, msdos1 --hint-baremetal = ahci2, msdos1 b2b96fe9-a8b8-482f-bee5-27a7952b3ca9
else
search --no-floppy --fs-uuid --set = root b2b96fe9-a8b8-482f-bee5-27a7952b3ca9
fi
echo 'Loading Linux linux ...'
linux / vmlinuz-linux root = UUID = 4005179a-d4a7-4219-962c-9bdf6c6999c7 rw quiet
echo 'Loading initial memory image ...'
initrd /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-4005179a-d4a7-4219-962c-9bdf6c6999c7' {
load_video
set gfxpayload = keep
insmod gzio
insmod part_msdos
insmod ext2
set root = 'hd2, msdos1'
if [x $ feature_platform_search_hint = xy]; then
search --no-floppy --fs-uuid --set = root --hint-ieee1275 = 'ieee1275 // disk @ 0, msdos1' --hint-bios = hd2, msdos1 --hint-efi = hd2, msdos1 --hint-baremetal = ahci2, msdos1 b2b96fe9-a8b8-482f-bee5-27a7952b3ca9
else
search --no-floppy --fs-uuid --set = root b2b96fe9-a8b8-482f-bee5-27a7952b3ca9
fi
echo 'Loading Linux linux ...'
linux / vmlinuz-linux root = UUID = 4005179a-d4a7-4219-962c-9bdf6c6999c7 rw quiet
echo 'Loading initial memory image ...'
initrd /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 ###
menuentry 'Windows 10 (in / dev / sda1)' --class windows --class os $ menuentry_id_option 'osprober-chain-36B6828FB6824F75' {
insmod part_msdos
insmod ntfs
set root = 'hd0, msdos1'
if [x $ feature_platI laugh about myself XD...
Last edited by J.el_Metal (2018-07-16 09:31:57)
Offline
Output (in code tags) of
lsblk -f
mountIn the future, please just edit your post to mend it instead of posting the same info again and again and leaving the bad formatted text behind. Thanks.
Offline
Sorry for my lack of delicacy, I apologize to all. I just wanted to add that I've already managed to add the entries by hand and I've also copied the generated files so I can boot. Surely I will have done something new because it was all generated but not in the right place, except the entries clear. Thank you for your help, the method that I followed is the one pointed by the comrade @jasonwryan. You have to mark something or edit it to highlight that it is solved?
A greeting.
Offline
Edit your first post and prepend [solved] to the title, that's it.
Arch is home!
https://github.com/Docbroke
Offline