aristidesbneto
(usa Debian)
Enviado em 08/09/2012 - 21:45h
Bruno Tecnico escreveu:
Já tive o mesmo problema, o difícil é lembrar como resolvi.
* A chacola não tá funcionando agora.
# Se possível, poste seu arquivo "/boot/grub/grub.cfg" do Sabayon
e também da distro que estiver responsável pelo Grub.
(use um live cd para obter acesso ao arquivo)
# E como foi isso?
. vc tinha uma outra distro e instalou o Sabayon?
. é o Sabayon que está gerenciando o boot?
. ou tem outra distro responsável pelo Grub?
Quero entender seu cenário e ver se foi parecido com o meu, para eu lembrar como resolvi isso.
Minha distro que gerencia o grub é o debian... já estava com o debian e instalei o sabayon...
Debian esta instalado no sda6 e o sabayon no sda8
#### grub.cfg do sabayon ####
#
# 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_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 [ "${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 {
true
}
insmod raid
insmod mdraid09
insmod part_msdos
insmod part_msdos
insmod ext2
set root='(mduuid/becec3625b59c53f551d09b65337cc56)'
search --no-floppy --fs-uuid --set=root 32e6e148-6648-46fb-bdd9-4dffb5371342
if loadfont /usr/share/grub/unicode.pf2 ; 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
fi
terminal_output gfxterm
if sleep --interruptible 0 ; then
set timeout=5
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_distro_theme ###
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
### END /etc/grub.d/05_distro_theme ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Sabayon GNU/Linux, with Linux x86-3.4.0-sabayon' --class sabayon --class gnu-linux --class gnu --class os {
load_video
insmod gzio
insmod raid
insmod mdraid09
insmod part_msdos
insmod part_msdos
insmod ext2
set root='(mduuid/becec3625b59c53f551d09b65337cc56)'
search --no-floppy --fs-uuid --set=root 32e6e148-6648-46fb-bdd9-4dffb5371342
echo 'Loading Linux x86-3.4.0-sabayon ...'
linux /boot/kernel-genkernel-x86-3.4.0-sabayon ro root=/dev/ram0 ramdisk=8192 real_root=/dev/md0 dolvm init=/linuxrc splash=silent,theme:sabayon vga=791 console=tty1 quiet resume=swap:/dev/sda2 real_resume=swap:/dev/sda2 rootfstype=ext3
echo 'Loading initial ramdisk ...'
initrd /boot/initramfs-genkernel-x86-3.4.0-sabayon
}
menuentry 'Sabayon GNU/Linux, with Linux x86-3.4.0-sabayon (recovery mode)' --class sabayon --class gnu-linux --class gnu --class os {
load_video
insmod gzio
insmod raid
insmod mdraid09
insmod part_msdos
insmod part_msdos
insmod ext2
set root='(mduuid/becec3625b59c53f551d09b65337cc56)'
search --no-floppy --fs-uuid --set=root 32e6e148-6648-46fb-bdd9-4dffb5371342
echo 'Loading Linux x86-3.4.0-sabayon ...'
linux /boot/kernel-genkernel-x86-3.4.0-sabayon ro single init_opts=single root=/dev/ram0 ramdisk=8192 real_root=/dev/md0 dolvm init=/linuxrc splash=verbose,theme:sabayon vga=791 console=tty1 quiet resume=swap:/dev/sda2 real_resume=swap:/dev/sda2 rootfstype=ext3
echo 'Loading initial ramdisk ...'
initrd /boot/initramfs-genkernel-x86-3.4.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 ###
### 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 $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
#### grub.cfg do debian ####
#
# 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 ###
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
}
function load_video {
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
}
insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
search --no-floppy --fs-uuid --set f9b6fb78-eaee-44d5-a10a-6d7cba5d83ec
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
load_video
insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
search --no-floppy --fs-uuid --set f9b6fb78-eaee-44d5-a10a-6d7cba5d83ec
set locale_dir=($root)/boot/grub/locale
set lang=pt
insmod gettext
set timeout=5
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
search --no-floppy --fs-uuid --set f9b6fb78-eaee-44d5-a10a-6d7cba5d83ec
insmod png
if background_image /usr/share/images/desktop-base/spacefun-grub.png; then
set color_normal=light-gray/black
set color_highlight=white/black
else
set menu_color_normal=cyan/blue
set menu_color_highlight=white/blue
fi
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-686' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
search --no-floppy --fs-uuid --set f9b6fb78-eaee-44d5-a10a-6d7cba5d83ec
echo 'Loading Linux 2.6.32-5-686 ...'
linux /boot/vmlinuz-2.6.32-5-686 root=UUID=f9b6fb78-eaee-44d5-a10a-6d7cba5d83ec ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-5-686
}
menuentry 'Debian GNU/Linux, with Linux 2.6.32-5-686 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
search --no-floppy --fs-uuid --set f9b6fb78-eaee-44d5-a10a-6d7cba5d83ec
echo 'Loading Linux 2.6.32-5-686 ...'
linux /boot/vmlinuz-2.6.32-5-686 root=UUID=f9b6fb78-eaee-44d5-a10a-6d7cba5d83ec ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-2.6.32-5-686
}
### 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 ###
menuentry "Windows 7 (loader) (on /dev/sda1)" {
insmod part_msdos
insmod ntfs
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set 08b0030fb0030344
chainloader +1
}
menuentry "Sabayon GNU/Linux, with Linux x86-3.4.0-sabayon (on /dev/sda8)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos8)'
search --no-floppy --fs-uuid --set fec65bca-ae69-458b-b12a-07ef430f01d5
linux /boot/kernel-genkernel-x86-3.4.0-sabayon ro root=/dev/ram0 ramdisk=8192 real_root=/dev/md0 dolvm init=/linuxrc splash=silent,theme:sabayon vga=791 console=tty1 quiet resume=swap:/dev/sda2 real_resume=swap:/dev/sda2 rootfstype=ext3
initrd /boot/initramfs-genkernel-x86-3.4.0-sabayon
}
menuentry "Sabayon GNU/Linux, with Linux x86-3.4.0-sabayon (recovery mode) (on /dev/sda8)" {
insmod part_msdos
insmod ext2
set root='(hd0,msdos8)'
search --no-floppy --fs-uuid --set fec65bca-ae69-458b-b12a-07ef430f01d5
linux /boot/kernel-genkernel-x86-3.4.0-sabayon ro single init_opts=single root=/dev/ram0 ramdisk=8192 real_root=/dev/md0 dolvm init=/linuxrc splash=verbose,theme:sabayon vga=791 console=tty1 quiet resume=swap:/dev/sda2 real_resume=swap:/dev/sda2 rootfstype=ext3
initrd /boot/initramfs-genkernel-x86-3.4.0-sabayon
}
### 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 $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###