Sabayon
консоль выводит
[console]Пакет: sys-kernel/linux-sabayon-3.9.4 ветка: 5, [sabayon-weekly]
>> Доступно: версия: 3.9.4 ~ tag: NoTag ~ версия: 0
>> Установлено: версия: 3.9.4 ~ tag: NoTag ~ версия: 0
>> Слот: 3.9
>> Домашняя страница: https://github.com/Sabayon/kernel
>> Описание: Official Sabayon Linux Standard
>> kernel image
>> Лицензия: GPL-2 freedist
[/console]
но в grub его нет в вариантах выбора
и eselect выдает
[console]localhost# eselect kernel list
Available kernel symlink targets:
[1] linux-3.9.0-sabayon *
localhost# eselect bzimage list
Available kernel targets:
[1] kernel-genkernel-x86-3.9.0-sabayon [/console]
ядро 3.9.4 устанавливалось обычным обновлением системы
Непонятки с ядром
но в grub его нет в вариантах выбора
Не знаю/не помню, какой именно Grub в Sabayon, но конфигурационный файл загрузчика нужно обновить: то ли вручную — для «первого» Grub'а, то ли с помощью grub2-mkconfig — для «второго».
Grub 2Не знаю/не помню, какой именно Grub в Sabayon
вывод grub2-mkconfig
Показать
Генерируется grub.cfg …
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub2-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_fonts ###
### END /etc/grub.d/00_fonts ###
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
load_env
fi
set default="${saved_entry}"
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,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 c127a616-9d13-46cc-9357-73677c63b410
else
search --no-floppy --fs-uuid --set=root c127a616-9d13-46cc-9357-73677c63b410
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=1024x768
load_video
# vga= is deprecated, grub2 handles this just fine
# making grub2 res == linux fb res
set gfxpayload=keep
insmod gfxterm
set locale_dir=$prefix/locale
set lang=ru_RU
insmod gettext
fi
terminal_output gfxterm
Найден фон: /boot/grub/default-splash.png
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 c127a616-9d13-46cc-9357-73677c63b410
else
search --no-floppy --fs-uuid --set=root c127a616-9d13-46cc-9357-73677c63b410
fi
insmod png
background_image -m stretch /boot/grub/default-splash.png
if sleep --interruptible 0 ; then
set timeout=5
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_linux ###
Найден образ linux: /boot/kernel-genkernel-x86-3.9.0-sabayon
Найден образ initrd: /boot/initramfs-genkernel-x86-3.9.0-sabayon
menuentry 'Sabayon GNU/Linux' --class sabayon --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-c127a616-9d13-46cc-9357-73677c63b410' {
load_video
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 c127a616-9d13-46cc-9357-73677c63b410
else
search --no-floppy --fs-uuid --set=root c127a616-9d13-46cc-9357-73677c63b410
fi
echo 'Загружается Linux x86-3.9.0-sabayon …'
linux /boot/kernel-genkernel-x86-3.9.0-sabayon ro splash video=uvesafb:1024x768-32,ywrap,mtrr:3 quiet domdadm resume=swap:UUID=0954a892-352c-4bac-bd2b-404831ab7a94 real_resume=UUID=0954a892-352c-4bac-bd2b-404831ab7a94 dolvm root=UUID=c127a616-9d13-46cc-9357-73677c63b410 docrypt
echo 'Загружается начальный виртуальный диск …'
initrd /boot/initramfs-genkernel-x86-3.9.0-sabayon
}
submenu 'Дополнительные параметры для Sabayon GNU/Linux' $menuentry_id_option 'gnulinux-advanced-c127a616-9d13-46cc-9357-73677c63b410' {
menuentry 'Sabayon GNU/Linux, с Linux x86-3.9.0-sabayon' --class sabayon --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-x86-3.9.0-sabayon-advanced-c127a616-9d13-46cc-9357-73677c63b410' {
load_video
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 c127a616-9d13-46cc-9357-73677c63b410
else
search --no-floppy --fs-uuid --set=root c127a616-9d13-46cc-9357-73677c63b410
fi
echo 'Загружается Linux x86-3.9.0-sabayon …'
linux /boot/kernel-genkernel-x86-3.9.0-sabayon ro splash video=uvesafb:1024x768-32,ywrap,mtrr:3 quiet domdadm resume=swap:UUID=0954a892-352c-4bac-bd2b-404831ab7a94 real_resume=UUID=0954a892-352c-4bac-bd2b-404831ab7a94 dolvm root=UUID=c127a616-9d13-46cc-9357-73677c63b410 docrypt
echo 'Загружается начальный виртуальный диск …'
initrd /boot/initramfs-genkernel-x86-3.9.0-sabayon
}
menuentry 'Sabayon GNU/Linux, с Linux x86-3.9.0-sabayon (режим восстановления)' --class sabayon --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-x86-3.9.0-sabayon-recovery-c127a616-9d13-46cc-9357-73677c63b410' {
load_video
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 c127a616-9d13-46cc-9357-73677c63b410
else
search --no-floppy --fs-uuid --set=root c127a616-9d13-46cc-9357-73677c63b410
fi
echo 'Загружается Linux x86-3.9.0-sabayon …'
linux /boot/kernel-genkernel-x86-3.9.0-sabayon ro single init_opts=single splash video=uvesafb:1024x768-32,ywrap,mtrr:3 quiet domdadm resume=swap:UUID=0954a892-352c-4bac-bd2b-404831ab7a94 real_resume=UUID=0954a892-352c-4bac-bd2b-404831ab7a94 dolvm root=UUID=c127a616-9d13-46cc-9357-73677c63b410 docrypt
echo 'Загружается начальный виртуальный диск …'
initrd /boot/initramfs-genkernel-x86-3.9.0-sabayon
}
}
### 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 ###
WARNING: Failed to connect to lvmetad: Нет такого файла или каталога. Falling back to internal scanning.
No volume groups found
Найден Windows 7 (loader) на /dev/sdb1
menuentry 'Windows 7 (loader) (на /dev/sdb1)' --class windows --class os $menuentry_id_option 'osprober-chain-128C8CFA8C8CD99D' {
insmod part_msdos
insmod ntfs
set root='hd1,msdos1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 128C8CFA8C8CD99D
else
search --no-floppy --fs-uuid --set=root 128C8CFA8C8CD99D
fi
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 ###
завершено[/console]
никаких следов 3.9.4
Покажите
ls -l /boot
...если необходимо, примонтируйте этот каталог.
...если необходимо, примонтируйте этот каталог.
Кстати, перед запуском grub2-mkconfig каталог /boot был смонтирован?
И не будет. Даже если будет установлено ядро 3.9.99 - все равно показывать в грубе будет 3.9.0-sabayon.никаких следов 3.9.4
[console]ls -l /boot
итого 49500
lrwxrwxrwx 1 root root 1 июн 9 17:20 boot -> .
lrwxrwxrwx 1 root root 34 июн 9 17:20 bzImage -> kernel-genkernel-x86-3.9.0-sabayon
drwxr-xr-x 6 root root 4096 июн 9 15:57 grub
-rw------- 1 root root 24023374 май 27 12:39 initramfs-dracut-3.9.0-sabayon
-rw-r--r-- 1 root root 18227466 июн 9 15:57 initramfs-genkernel-x86-3.9.0-sabayon
lrwxrwxrwx 1 root root 37 июн 9 17:20 Initrd -> initramfs-genkernel-x86-3.9.0-sabayon
-rw-r--r-- 1 root root 5639904 май 27 12:38 kernel-genkernel-x86-3.9.0-sabayon
-rw-r--r-- 1 root root 2782195 май 27 12:38 System.map-genkernel-x86-3.9.0-sabayon
[/console]
ls -l /boot
Не вижу ничего похожего на 3.9.4 :[
вот и я не вижу ... а должно быть, что то же скачалось и установилось, и в списке установленных пакетов есть
Lupo Alberto, да стоит уже ядро 3.9.4, просто для ветки 3.9 всегда будет выводиться 3.9.0, так уж принято в этом дистрибутиве.
спасибо .. раньше было вроде по другому, ну да ладно всем спасибо!! и можно закрывать
А uname -r точной версии не скажет?
[console] uname -r
3.9.0-sabayon[/console]
[console]uname -a
Linux localhost.localdomain 3.9.0-sabayon #1 SMP Mon May 27 10:21:12 UTC 2013 i686 Intel(R) Core(TM)2 CPU 6300 @ 1.86GHz GenuineIntel GNU/Linux[/console]
вот и вся информация
В порядке самообразования (моего) покажите
ls -l /lib/modules
и
equery f sys-kernel/linux-sabayon-3.9.4
s -l /lib/modules
[console]
ls -l /lib/modules
итого 16
drwxr-xr-x 2 root root 4096 дек 20 03:52 3.6.0-sabayon
drwxr-xr-x 2 root root 4096 мар 7 01:05 3.7.0-sabayon
drwxr-xr-x 2 root root 4096 май 7 01:04 3.8.0-sabayon
drwxr-xr-x 7 root root 4096 июн 9 16:05 3.9.0-sabayon
[/console]
equery f sys-kernel/linux-sabayon-3.9.4 вывод сюда не влез, так что текстовый документ на http://bpaste.net/
http://bpaste.net/show/WEfkgprjqmiSDBz183CO/
Для аплоада текстовых файлов есть различные paste-bin сервисы и app-text/wgetpaste. Fat-Zer
Точно:
...да стоит уже ядро 3.9.4, просто для ветки 3.9 всегда будет выводиться 3.9.0, так уж принято в этом дистрибутиве.
[/quote]Точно:
[quote="urfin⇓"] ...да стоит уже ядро 3.9.4, просто для ветки 3.9 всегда будет выводиться 3.9.0, так уж принято в этом дистрибутиве.
Sabayon это уже не Gentoo. Из Gentoo Sabayon сделать можно а обратно трудно. То есть вопрос был не совсем по адресу, или я не прав?