Неудачная загрузка после установки
streetmack1 22 июля, 2010 - 19:55
// Эта проблема решается вот уже 2 неделю
Имеем Gentoo amd64 2.6.34-r1
Установка строго по английскому хендбуку. При установке было собрано ядро с помощью genkernel, но вручную (genkernel --menuconfig all) была добавлена поддержка Ext4.
Был размаскирован и собран Grub2 (1.98) после чего установлен.
Конфиги:
fstab
# /etc/fstab: static file system information. # # noatime turns off atimes for increased performance (atimes normally aren't # needed; notail increases performance of ReiserFS (at the expense of storage # efficiency). It's safe to drop the noatime options if you want and to # switch between notail / tail freely. # # The root filesystem should have a pass number of either 0 or 1. # All other filesystems should have a pass number of 0 or greater than 1. # # See the manpage fstab(5) for more information. # # <fs> <mountpoint> <type> <opts> <dump/pass> # NOTE: If your BOOT partition is ReiserFS, add the notail option to opts. /dev/sda1 /boot ext2 noatime 1 2 /dev/sda2 / ext4 noatime 0 1 /dev/sda7 none swap sw 0 0 /dev/sda5 /home ext4 noatime 0 1 /dev/cdrom /mnt/cdrom auto noauto,ro 0 0 #/dev/fd0 /mnt/floppy auto noauto 0 0 # glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for # POSIX shared memory (shm_open, shm_unlink). # (tmpfs is a dynamically expandable/shrinkable ramdisk, and will # use almost no memory if not populated with files) shm /dev/shm tmpfs nodev,nosuid,noexec 0 0
grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /sbin/grub-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 [ ${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
}
set timeout=5
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_linux ###
menuentry "Gentoo GNU/Linux, with Linux x86_64-2.6.34-gentoo-r1" --class gentoo --class gnu-linux --class gnu --class os {
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set fbb0313d-39b2-4a52-9919-2326f32c3540
echo Loading Linux x86_64-2.6.34-gentoo-r1 ...
linux /kernel-genkernel-x86_64-2.6.34-gentoo-r1 root=UUID=6cc421cc-44a4-49cc-a640-5eb04c01a7e5 ro
echo Loading initial ramdisk ...
initrd /initramfs-genkernel-x86_64-2.6.34-gentoo-r1
}
menuentry "Gentoo GNU/Linux, with Linux x86_64-2.6.34-gentoo-r1 (recovery mode)" --class gentoo --class gnu-linux --class gnu --class os {
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set fbb0313d-39b2-4a52-9919-2326f32c3540
echo Loading Linux x86_64-2.6.34-gentoo-r1 ...
linux /kernel-genkernel-x86_64-2.6.34-gentoo-r1 root=UUID=6cc421cc-44a4-49cc-a640-5eb04c01a7e5 ro single
echo Loading initial ramdisk ...
initrd /initramfs-genkernel-x86_64-2.6.34-gentoo-r1
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
menuentry "Microsoft Windows XP" {
insmod chain
set root=(hd0,2)
chainloader +1
}
### 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 ###
»
- Для комментирования войдите или зарегистрируйтесь

Поздравляю.
Поздравляю.
Текстовый редактор vi имеет два режима работы: в первом он пищит, а во втором — всё портит.
Увы,
Если вы думаете что телепаты с gentoo.ru настолько суровы, что
сами догадаются в чем у вас проблема, я вас огорчу: это не так.
совсем забыл указать что
совсем забыл указать что именно за ошибка :) сейчас исправлю
streetmack1
>> Activating mdev
>> Determining root device...
/init: line 477: lbkid: not found
!! Could not find the root block device in UUID=6cc421cc-44a4-49cc-a640-5eb04c01a7e5
Please specify another value or: press Enter for the same, type "shell" for a shell, or "q" to skip
root block device(UUID=6cc421cc-44a4-49cc-a640-5eb04c01a7e5) :: _
попробуйте сделать, то то что
попробуйте сделать, то то что от вас просят, а именно:
укажите корневой раздел (/dev/sda1) или что там у вас. И ентер нажмите.
А когда загрузитесь в систему, сделайте revdep-rebuild
maxt написал(а): попробуйте
Удалось загрузиться, но revdep-rebuild не помог :(
streetmack1
А ты уверен в том, что этот
grubумеет грузить систему по UUID?:wq
--
Live free or die
имхо причина не в грубе, т.к.
имхо причина не в грубе, т.к. это сообщение init'a уже, т.е. груб уже отработал корректно
А нет ли ошибки
А нет ли ошибки просто-напросто в UUID?
Текстовый редактор vi имеет два режима работы: в первом он пищит, а во втором — всё портит.
поменял в grub.cfg с UUID=*
поменял в grub.cfg с UUID=* на /dev/sd* - заработало, однако в fstab используется UUID