You are not logged in.
Here is the output of grub-install and grub-mkconfig:
[snake@neko ~]$ sudo grub-install --target=i386-pc --recheck /dev/sda
Installation finished. No error reported.
[snake@neko ~]$ sudo grub-mkconfig -o /boot/grub/grub.cfg
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-linux
Found initramfs image: /boot/initramfs-linux.img
Found linux image: /boot/vmlinuz-linux
Found initramfs image: /boot/initramfs-linux.img
Found linux image: /boot/vmlinuz-linux
Found initramfs image: /boot/initramfs-linux.img
Found linux image: /boot/vmlinuz-linux
Found initramfs image: /boot/initramfs-linux.img
Found linux image: /boot/vmlinuz-linux
Found initramfs image: /boot/initramfs-linux.img
Found linux image: /boot/vmlinuz-linux
Found initramfs image: /boot/initramfs-linux.img
Found linux image: /boot/vmlinuz-linux
Found initramfs image: /boot/initramfs-linux.img
Found linux image: /boot/vmlinuz-linux
Found initramfs image: /boot/initramfs-linux.img
Found linux image: /boot/vmlinuz-linux
Found initramfs image: /boot/initramfs-linux.img
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/initramfs-linux.img
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/initramfs-linux.img
No volume groups found
Found Microsoft Windows XP Professional - magyar on /dev/sda1
done
Here is the generated 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="1"
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='hd0,msdos3'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos3 --hint-efi=hd0,msdos3 --hint-baremetal=ahci0,msdos3 725a93d7-6035-466e-b525-ce6b51fd7476
else
search --no-floppy --fs-uuid --set=root 725a93d7-6035-466e-b525-ce6b51fd7476
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
set timeout=20
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_archlinux (x86) ###
if [ x"$grub_platform" != xxen \( x"$grub_cpu" = xi386 -o x"$grub_cpu" = xx86_64 -o x"$grub_platform" = x \) ]; then
menuentry "Arch Linux pkg-linux kernel" --class arch-linux --class arch --class gnu-linux --class gnu --class os {
load_video
set gfxpayload=keep
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 3c621a13-3c30-4714-b477-e305f53f1af6
else
search --no-floppy --fs-uuid --set=root 3c621a13-3c30-4714-b477-e305f53f1af6
fi
echo 'Loading Arch Linux pkg-linux kernel ...'
linux /vmlinuz-linux root=UUID=725a93d7-6035-466e-b525-ce6b51fd7476 rw init=/usr/lib/systemd/systemd
echo 'Loading Arch Linux pkg-linux kernel initramfs ...'
initrd /initramfs-linux.img
}
fi
### END /etc/grub.d/10_archlinux (x86) ###
### BEGIN /etc/grub.d/10_archlinux (i386-xen-pae) ###
if [ x"$grub_cpu-$grub_platform" = xi386-xen -o x"$grub_cpu-$grub_platform" = x ]; then
menuentry "Arch Linux pkg-linux kernel" --class arch-linux --class arch --class gnu-linux --class gnu --class os {
load_video
set gfxpayload=keep
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 3c621a13-3c30-4714-b477-e305f53f1af6
else
search --no-floppy --fs-uuid --set=root 3c621a13-3c30-4714-b477-e305f53f1af6
fi
echo 'Loading Arch Linux pkg-linux kernel ...'
linux /vmlinuz-linux root=UUID=725a93d7-6035-466e-b525-ce6b51fd7476 rw init=/usr/lib/systemd/systemd
echo 'Loading Arch Linux pkg-linux kernel initramfs ...'
initrd /initramfs-linux.img
}
fi
### END /etc/grub.d/10_archlinux (i386-xen-pae) ###
### BEGIN /etc/grub.d/10_archlinux (x86_64-xen) ###
if [ x"$grub_cpu-$grub_platform" = xx86_64-xen -o x"$grub_cpu-$grub_platform" = x ]; then
menuentry "Arch Linux pkg-linux kernel" --class arch-linux --class arch --class gnu-linux --class gnu --class os {
load_video
set gfxpayload=keep
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 3c621a13-3c30-4714-b477-e305f53f1af6
else
search --no-floppy --fs-uuid --set=root 3c621a13-3c30-4714-b477-e305f53f1af6
fi
echo 'Loading Arch Linux pkg-linux kernel ...'
linux /vmlinuz-linux root=UUID=725a93d7-6035-466e-b525-ce6b51fd7476 rw init=/usr/lib/systemd/systemd
echo 'Loading Arch Linux pkg-linux kernel initramfs ...'
initrd /initramfs-linux.img
}
fi
### END /etc/grub.d/10_archlinux (x86_64-xen) ###
### BEGIN /etc/grub.d/10_archlinux (mips) ###
if [ x"$grub_cpu" = xmips -o x"$grub_platform" = x ]; then
menuentry "Arch Linux pkg-linux kernel" --class arch-linux --class arch --class gnu-linux --class gnu --class os {
load_video
set gfxpayload=keep
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 3c621a13-3c30-4714-b477-e305f53f1af6
else
search --no-floppy --fs-uuid --set=root 3c621a13-3c30-4714-b477-e305f53f1af6
fi
echo 'Loading Arch Linux pkg-linux kernel ...'
linux /vmlinuz-linux root=UUID=725a93d7-6035-466e-b525-ce6b51fd7476 rw init=/usr/lib/systemd/systemd
echo 'Loading Arch Linux pkg-linux kernel initramfs ...'
initrd /initramfs-linux.img
}
fi
### END /etc/grub.d/10_archlinux (mips) ###
### BEGIN /etc/grub.d/10_archlinux (mipsel) ###
if [ x"$grub_cpu" = xmipsel -o x"$grub_platform" = x ]; then
menuentry "Arch Linux pkg-linux kernel" --class arch-linux --class arch --class gnu-linux --class gnu --class os {
load_video
set gfxpayload=keep
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 3c621a13-3c30-4714-b477-e305f53f1af6
else
search --no-floppy --fs-uuid --set=root 3c621a13-3c30-4714-b477-e305f53f1af6
fi
echo 'Loading Arch Linux pkg-linux kernel ...'
linux /vmlinuz-linux root=UUID=725a93d7-6035-466e-b525-ce6b51fd7476 rw init=/usr/lib/systemd/systemd
echo 'Loading Arch Linux pkg-linux kernel initramfs ...'
initrd /initramfs-linux.img
}
fi
### END /etc/grub.d/10_archlinux (mipsel) ###
### BEGIN /etc/grub.d/10_archlinux (sparc64) ###
if [ x"$grub_cpu" = xsparc64 -o x"$grub_platform" = x ]; then
menuentry "Arch Linux pkg-linux kernel" --class arch-linux --class arch --class gnu-linux --class gnu --class os {
load_video
set gfxpayload=keep
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 3c621a13-3c30-4714-b477-e305f53f1af6
else
search --no-floppy --fs-uuid --set=root 3c621a13-3c30-4714-b477-e305f53f1af6
fi
echo 'Loading Arch Linux pkg-linux kernel ...'
linux /vmlinuz-linux root=UUID=725a93d7-6035-466e-b525-ce6b51fd7476 rw init=/usr/lib/systemd/systemd
echo 'Loading Arch Linux pkg-linux kernel initramfs ...'
initrd /initramfs-linux.img
}
fi
### END /etc/grub.d/10_archlinux (sparc64) ###
### BEGIN /etc/grub.d/10_archlinux (powerpc) ###
if [ x"$grub_cpu" = xpowerpc -o x"$grub_platform" = x ]; then
menuentry "Arch Linux pkg-linux kernel" --class arch-linux --class arch --class gnu-linux --class gnu --class os {
load_video
set gfxpayload=keep
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 3c621a13-3c30-4714-b477-e305f53f1af6
else
search --no-floppy --fs-uuid --set=root 3c621a13-3c30-4714-b477-e305f53f1af6
fi
echo 'Loading Arch Linux pkg-linux kernel ...'
linux /vmlinuz-linux root=UUID=725a93d7-6035-466e-b525-ce6b51fd7476 rw init=/usr/lib/systemd/systemd
echo 'Loading Arch Linux pkg-linux kernel initramfs ...'
initrd /initramfs-linux.img
}
fi
### END /etc/grub.d/10_archlinux (powerpc) ###
### BEGIN /etc/grub.d/10_archlinux (ia64) ###
if [ x"$grub_cpu" = xia64 -o x"$grub_platform" = x ]; then
menuentry "Arch Linux pkg-linux kernel" --class arch-linux --class arch --class gnu-linux --class gnu --class os {
load_video
set gfxpayload=keep
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 3c621a13-3c30-4714-b477-e305f53f1af6
else
search --no-floppy --fs-uuid --set=root 3c621a13-3c30-4714-b477-e305f53f1af6
fi
echo 'Loading Arch Linux pkg-linux kernel ...'
linux /vmlinuz-linux root=UUID=725a93d7-6035-466e-b525-ce6b51fd7476 rw init=/usr/lib/systemd/systemd
echo 'Loading Arch Linux pkg-linux kernel initramfs ...'
initrd /initramfs-linux.img
}
fi
### END /etc/grub.d/10_archlinux (ia64) ###
### BEGIN /etc/grub.d/10_archlinux (arm) ###
if [ x"$grub_cpu" = xarm -o x"$grub_platform" = x ]; then
menuentry "Arch Linux pkg-linux kernel" --class arch-linux --class arch --class gnu-linux --class gnu --class os {
load_video
set gfxpayload=keep
insmod ext2
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 3c621a13-3c30-4714-b477-e305f53f1af6
else
search --no-floppy --fs-uuid --set=root 3c621a13-3c30-4714-b477-e305f53f1af6
fi
echo 'Loading Arch Linux pkg-linux kernel ...'
linux /vmlinuz-linux root=UUID=725a93d7-6035-466e-b525-ce6b51fd7476 rw init=/usr/lib/systemd/systemd
echo 'Loading Arch Linux pkg-linux kernel initramfs ...'
initrd /initramfs-linux.img
}
fi
### END /etc/grub.d/10_archlinux (arm) ###
### BEGIN /etc/grub.d/10_linux (x86) ###
if [ x"$grub_platform" != xxen \( x"$grub_cpu" = xi386 -o x"$grub_cpu" = xx86_64 -o x"$grub_platform" = x \) ]; then
menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-725a93d7-6035-466e-b525-ce6b51fd7476' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 3c621a13-3c30-4714-b477-e305f53f1af6
else
search --no-floppy --fs-uuid --set=root 3c621a13-3c30-4714-b477-e305f53f1af6
fi
echo 'Loading Linux linux ...'
linux /vmlinuz-linux root=UUID=725a93d7-6035-466e-b525-ce6b51fd7476 rw init=/usr/lib/systemd/systemd
echo 'Loading initial ramdisk ...'
initrd /initramfs-linux.img
}
fi
### END /etc/grub.d/10_linux (x86) ###
### BEGIN /etc/grub.d/10_linux (x86_64-xen) ###
if [ x"$grub_cpu-$grub_platform" = xx86_64-xen -o x"$grub_cpu-$grub_platform" = x ]; then
menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-725a93d7-6035-466e-b525-ce6b51fd7476' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='hd0,msdos2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos2 --hint-efi=hd0,msdos2 --hint-baremetal=ahci0,msdos2 3c621a13-3c30-4714-b477-e305f53f1af6
else
search --no-floppy --fs-uuid --set=root 3c621a13-3c30-4714-b477-e305f53f1af6
fi
echo 'Loading Linux linux ...'
linux /vmlinuz-linux root=UUID=725a93d7-6035-466e-b525-ce6b51fd7476 rw init=/usr/lib/systemd/systemd
echo 'Loading initial ramdisk ...'
initrd /initramfs-linux.img
}
fi
### END /etc/grub.d/10_linux (x86_64-xen) ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Microsoft Windows XP Professional - magyar (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-A6B0946BB09443A9' {
insmod part_msdos
insmod ntfs
set root='hd0,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 A6B0946BB09443A9
else
search --no-floppy --fs-uuid --set=root A6B0946BB09443A9
fi
drivemap -s (hd0) ${root}
chainloader +1
}
### 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 ###
The generation of conditional menu entries for each supported architecture might be intended behavior, but it generates an extra one for the same architecture with the awkward name "Arch Linux, with Linux linux".
The other ones also have the weird name "Arch Linux pkg-linux kernel".
Offline
I've had the same problem after I updated to the latest test grub. I couldn't boot up properly afterwards, had to switch back to the core one.
Offline
Offline
This issue is fixed by upstream and is included in grub 2.02-beta2.
Offline
duplicates entries are still present in grub 2.02-beta2
Offline
Yeah, I have two sections inside my /boot/grub/grub.cfg bounded by ### BEGIN /etc/grub.d/10_archlinux ###
So I get a long list on boot:
Arch Linux pkg-linux kernel
Arch Linux pkg-linux kernel (fallback initramfs)
Arch Linux
Arch Linux Advanced Options
-->Arch Linux with Linux linux
Last edited by browntown (2014-01-14 07:46:10)
Offline
I have the same entries as browntown.
Offline
I downgraded grub package to.
sudo pacman -U /var/cache/pacman/pkg/grub-1\:2.00.1282.g5ae5c54-1-x86_64.pkg.tar.xz
After doing command
sudo grub-mkconfig -o /boot/grub/grub.cfg
i got sam errors and here is the solution https://bugs.archlinux.org/task/38041.
Now i have no extra entry in grub.
Offline