Проблемы с ядром после пересборки [SOLVED]
fame 21 декабря, 2012 - 19:49
Пересобрал ядро, лазил только в процессоре т.е. менял тип и отключил саппорт от амд. Использовал pf-kernel тут вышла такая ошибка:
http://plasmon.rghost.ru/42409343/image.png
fstab:
# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts. /dev/sda1 /boot ext4 noatime 1 2 /dev/sda3 / ext4 noatime 0 1 /dev/sda4 /home ext4 noatime 0 0 /dev/sda2 none swap sw 0 0 /dev/cdrom /mnt/cdrom auto noauto,ro 0 0
grub2:
#
# 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_header ###
if [ -s $prefix/grubenv ]; then
load_env
fi
set default="0"
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 loadfont unicode ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=
insmod gettext
fi
terminal_output gfxterm
if sleep --interruptible 0 ; then
set timeout=10
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Gentoo GNU/Linux' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-c5020341-13f9-4836-9264-10e5a90f39dd' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
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 4f60e2ef-8f4d-4db6-81c2-af2d17372ce8
else
search --no-floppy --fs-uuid --set=root 4f60e2ef-8f4d-4db6-81c2-af2d17372ce8
fi
echo 'Loading Linux x86_64-3.7.1-gentoo ...'
linux /kernel-genkernel-x86_64-3.7.1-gentoo root=UUID=c5020341-13f9-4836-9264-10e5a90f39dd ro
echo 'Loading initial ramdisk ...'
initrd /initramfs-genkernel-x86_64-3.7.1-gentoo
}
submenu 'Advanced options for Gentoo GNU/Linux' $menuentry_id_option 'gnulinux-advanced-c5020341-13f9-4836-9264-10e5a90f39dd' {
menuentry 'Gentoo GNU/Linux, with Linux x86_64-3.7.1-gentoo' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-x86_64-3.7.1-gentoo-advanced-c5020341-13f9-4836-9264-10e5a90f39dd' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
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 4f60e2ef-8f4d-4db6-81c2-af2d17372ce8
else
search --no-floppy --fs-uuid --set=root 4f60e2ef-8f4d-4db6-81c2-af2d17372ce8
fi
echo 'Loading Linux x86_64-3.7.1-gentoo ...'
linux /kernel-genkernel-x86_64-3.7.1-gentoo root=UUID=c5020341-13f9-4836-9264-10e5a90f39dd ro
echo 'Loading initial ramdisk ...'
initrd /initramfs-genkernel-x86_64-3.7.1-gentoo
}
menuentry 'Gentoo GNU/Linux, with Linux x86_64-3.7.1-gentoo (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-x86_64-3.7.1-gentoo-recovery-c5020341-13f9-4836-9264-10e5a90f39dd' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
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 4f60e2ef-8f4d-4db6-81c2-af2d17372ce8
else
search --no-floppy --fs-uuid --set=root 4f60e2ef-8f4d-4db6-81c2-af2d17372ce8
fi
echo 'Loading Linux x86_64-3.7.1-gentoo ...'
linux /kernel-genkernel-x86_64-3.7.1-gentoo root=UUID=c5020341-13f9-4836-9264-10e5a90f39dd ro single
echo 'Loading initial ramdisk ...'
initrd /initramfs-genkernel-x86_64-3.7.1-gentoo
}
menuentry 'Gentoo GNU/Linux, with Linux 3.6.11-pf' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.6.11-pf-advanced-c5020341-13f9-4836-9264-10e5a90f39dd' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
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 4f60e2ef-8f4d-4db6-81c2-af2d17372ce8
else
search --no-floppy --fs-uuid --set=root 4f60e2ef-8f4d-4db6-81c2-af2d17372ce8
fi
echo 'Loading Linux 3.6.11-pf ...'
linux /vmlinuz-3.6.11-pf root=UUID=c5020341-13f9-4836-9264-10e5a90f39dd ro
echo 'Loading initial ramdisk ...'
initrd /initramfs-genkernel-x86_64-3.6.11-pf
}
menuentry 'Gentoo GNU/Linux, with Linux 3.6.11-pf (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.6.11-pf-recovery-c5020341-13f9-4836-9264-10e5a90f39dd' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
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 4f60e2ef-8f4d-4db6-81c2-af2d17372ce8
else
search --no-floppy --fs-uuid --set=root 4f60e2ef-8f4d-4db6-81c2-af2d17372ce8
fi
echo 'Loading Linux 3.6.11-pf ...'
linux /vmlinuz-3.6.11-pf root=UUID=c5020341-13f9-4836-9264-10e5a90f39dd ro single
echo 'Loading initial ramdisk ...'
initrd /initramfs-genkernel-x86_64-3.6.11-pf
}
menuentry 'Gentoo GNU/Linux, with Linux 3.6.11-pf.old' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.6.11-pf.old-advanced-c5020341-13f9-4836-9264-10e5a90f39dd' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
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 4f60e2ef-8f4d-4db6-81c2-af2d17372ce8
else
search --no-floppy --fs-uuid --set=root 4f60e2ef-8f4d-4db6-81c2-af2d17372ce8
fi
echo 'Loading Linux 3.6.11-pf.old ...'
linux /vmlinuz-3.6.11-pf.old root=UUID=c5020341-13f9-4836-9264-10e5a90f39dd ro
echo 'Loading initial ramdisk ...'
initrd /initramfs-genkernel-x86_64-3.6.11-pf
}
menuentry 'Gentoo GNU/Linux, with Linux 3.6.11-pf.old (recovery mode)' --class gentoo --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-3.6.11-pf.old-recovery-c5020341-13f9-4836-9264-10e5a90f39dd' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
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 4f60e2ef-8f4d-4db6-81c2-af2d17372ce8
else
search --no-floppy --fs-uuid --set=root 4f60e2ef-8f4d-4db6-81c2-af2d17372ce8
fi
echo 'Loading Linux 3.6.11-pf.old ...'
linux /vmlinuz-3.6.11-pf.old root=UUID=c5020341-13f9-4836-9264-10e5a90f39dd ro single
echo 'Loading initial ramdisk ...'
initrd /initramfs-genkernel-x86_64-3.6.11-pf
}
}
### 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 ###
»
- Для комментирования войдите или зарегистрируйтесь

Куда такой разме фото, вы про
Куда такой разме фото, вы про
в курсе ?
Вы initramfs пересобрали и конечно при пересборке указали, что хотите задейстовать опцию '--disklabel' ?
[code]
genkernel ramdisk --disklabel
[code]
Я с grub2 незнаком... Пытался
Я с grub2 незнаком...
Пытался поставить простой grub но что-то оно не захотело ставиться из-за каких-то ошибок.
Сейчас попробую.
При чём здесь grub, если вы
При чём здесь grub, если вы пересобираете ядро то, в случае использования initarmfs нужно пересобрать и его, в случае если в ядре модулями собраны опции, необходимые для загрузки системы и помещённые в Initramfs.
Выполните:
Только что попробовал, ошибка
Только что попробовал, ошибка осталась прежней.
Попробуйте вместо UUID
Попробуйте вместо UUID указать точное имя корневого раздела '/dev/sda3', какзагрузитесь 0 разбирайтесь какой initramfs вы собрали и какой нужно было указать.