1

Sabayon

консоль выводит

 Консоль:
Пакет: 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

но в grub его нет в вариантах выбора
и eselect выдает


 Консоль:
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

ядро  3.9.4 устанавливалось обычным обновлением системы

2

Esh⇓ пишет:

но в grub его нет в вариантах выбора

Не знаю/не помню, какой именно Grub в Sabayon, но конфигурационный файл загрузчика нужно обновить: то ли вручную — для «первого» Grub'а, то ли с помощью grub2-mkconfig — для «второго».

Был, был и весь вышел...

3

Lupo Alberto⇓ пишет:

Не знаю/не помню, какой именно Grub в Sabayon

Grub 2

4

вывод grub2-mkconfig

+ открыть спойлер

 Консоль:
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 ###
завершено

никаких следов 3.9.4

5

Покажите

ls -l /boot

...если необходимо, примонтируйте этот каталог.

Был, был и весь вышел...

6

Lupo Alberto⇓ пишет:

...если необходимо, примонтируйте этот каталог.

Кстати, перед запуском grub2-mkconfig каталог /boot был смонтирован?

Был, был и весь вышел...

7

Esh⇓ пишет:

никаких следов 3.9.4

И не будет. Даже если будет установлено ядро 3.9.99 - все равно показывать в грубе будет 3.9.0-sabayon.

8

 Консоль:
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

9

Esh⇓ пишет:

ls -l /boot

Не вижу ничего похожего на 3.9.4  ah

Был, был и весь вышел...

10

вот и я не вижу ... а должно быть, что то же скачалось и установилось, и в списке установленных пакетов есть

11

Esh, почитайте в вики о принятой нумерации ядра в Sabayon.

12

Lupo Alberto, да стоит уже ядро 3.9.4, просто для ветки 3.9 всегда будет выводиться 3.9.0, так уж принято в этом дистрибутиве.

13

спасибо .. раньше было вроде по другому, ну да ладно всем спасибо!! и можно закрывать

14

А uname -r точной версии не скажет?

Истинный hotplug - это обычная электрическая розетка: воткнул - работает, и никаких драйверов.
Arch Linux/Xfce/Xiaomi Mi Notebook Pro 15.6 | Slackware64-current/Xfce/Lenovo G580

15

 Консоль:
uname -r
3.9.0-sabayon

 Консоль:
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


вот и вся информация

16 (11.06.2013 07:22:47 отредактировано Lupo Alberto)

В порядке самообразования (моего) покажите

ls -l /lib/modules

и

equery f sys-kernel/linux-sabayon-3.9.4
Был, был и весь вышел...

17 (11.06.2013 15:29:22 отредактировано Esh)

s -l /lib/modules

 Консоль:

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

equery f sys-kernel/linux-sabayon-3.9.4 вывод сюда не влез, так что текстовый документ на http://bpaste.net/
http://bpaste.net/show/WEfkgprjqmiSDBz183CO/

Для аплоада текстовых файлов есть различные paste-bin сервисы и app-text/wgetpaste. Fat-Zer

18

Точно:

urfin⇓ пишет:

...да стоит уже ядро 3.9.4, просто для ветки 3.9 всегда будет выводиться 3.9.0, так уж принято в этом дистрибутиве.

Был, был и весь вышел...

19 (15.09.2013 02:05:51 отредактировано vovanvster)

Lupo Alberto пишет:

Точно:

urfin⇓ пишет:

...да стоит уже ядро 3.9.4, просто для ветки 3.9 всегда будет выводиться 3.9.0, так уж принято в этом дистрибутиве.

Sabayon это уже не Gentoo. Из Gentoo Sabayon сделать можно а обратно трудно. То есть вопрос был не совсем по адресу, или я не прав?

3.2.7. Запрещено оскорблять участников и отвечать на оскорбления в любой форме — прямой, косвенной или заочной.