conoscenza ha scritto:Il problema è che il boot di Gentoo dipende dal grub di Salix. Come ti consigliavo tempo è meglio creare la cascata dei grub con il chainloader.
Ma qual'è il problema?
Da salix, da root, prova a ridare:
update-grub2
e posta qui i risultati.
Con il 2 non funziona.
E' andata peggio. Adesso non ha visto affatto la presenza di Gentoo.
root[unknow]# update-grub2
bash: update-grub2: command not found
root[unknow]# update-grub
Generating grub.cfg ...
Found background: /boot/grub/salix.jpg
Found linux image: /boot/vmlinuz-huge-recent-3.3.6
Found linux image: /boot/vmlinuz-huge-2.6.37.6
No volume groups found
Found Microsoft Windows XP Professional on /dev/sda1
done
root[unknow]# update-grub
Generating grub.cfg ...
Found background: /boot/grub/salix.jpg
Found linux image: /boot/vmlinuz-huge-recent-3.3.6
Found linux image: /boot/vmlinuz-huge-2.6.37.6
No volume groups found
Found Microsoft Windows XP Professional on /dev/sda1
Found Gentoo Base System release 2.1 on /dev/sda6
done
Come prima.
Anche la prima volta, quando ho aggiornato il kernel di Salix e dato update-grub, sembrava tutto O.K., ma il risultato è sempre questo.
Poi, non hai risposto alla domanda se è sicuro che il kernel di Gentoo lo va a cercare nella partizione /boot di Gentoo e non in quella di Salix. Se lo cerca in quella di Salix, è ovvio che non può trovarlo.
root[grub]# cat grub.cfg
#
# 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="${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 {
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
}
insmod part_msdos
insmod ext2
set root='(hd0,msdos9)'
search --no-floppy --fs-uuid --set=root ae6fca37-5894-429a-880f-00aacd4964e3
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=auto
load_video
insmod gfxterm
insmod part_msdos
insmod ext2
set root='(hd0,msdos8)'
search --no-floppy --fs-uuid --set=root 8915d2d6-1f83-4113-8a0f-9cf817362157
set locale_dir=($root)/grub/locale
set lang=it_IT
insmod gettext
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(hd0,msdos8)'
search --no-floppy --fs-uuid --set=root 8915d2d6-1f83-4113-8a0f-9cf817362157
insmod jpeg
background_image -m stretch /grub/salix.jpg
set timeout=5
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Salix 13.37.0 GNU/Linux, con Linux 3.3.6' --class salix --class gnu-linux --class gnu --class os {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos8)'
search --no-floppy --fs-uuid --set=root 8915d2d6-1f83-4113-8a0f-9cf817362157
echo 'Caricamento Linux 3.3.6...'
linux /vmlinuz-huge-recent-3.3.6 root=/dev/sda9 ro vt.default_utf8=1 resume=/dev/sda3 quiet vga=791
}
menuentry 'Salix 13.37.0 GNU/Linux, con Linux 3.3.6 (modalità ripristino)' --class salix --class gnu-linux --class gnu --class os {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos8)'
search --no-floppy --fs-uuid --set=root 8915d2d6-1f83-4113-8a0f-9cf817362157
echo 'Caricamento Linux 3.3.6...'
linux /vmlinuz-huge-recent-3.3.6 root=/dev/sda9 ro single vt.default_utf8=1 resume=/dev/sda3
}
menuentry 'Salix 13.37.0 GNU/Linux, con Linux 2.6.37.6' --class salix --class gnu-linux --class gnu --class os {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos8)'
search --no-floppy --fs-uuid --set=root 8915d2d6-1f83-4113-8a0f-9cf817362157
echo 'Caricamento Linux 2.6.37.6...'
linux /vmlinuz-huge-2.6.37.6 root=/dev/sda9 ro vt.default_utf8=1 resume=/dev/sda3 quiet vga=791
}
menuentry 'Salix 13.37.0 GNU/Linux, con Linux 2.6.37.6 (modalità ripristino)' --class salix --class gnu-linux --class gnu --class os {
load_video
set gfxpayload=keep
insmod gzio
insmod part_msdos
insmod ext2
set root='(hd0,msdos8)'
search --no-floppy --fs-uuid --set=root 8915d2d6-1f83-4113-8a0f-9cf817362157
echo 'Caricamento Linux 2.6.37.6...'
linux /vmlinuz-huge-2.6.37.6 root=/dev/sda9 ro single vt.default_utf8=1 resume=/dev/sda3
}
### 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 "Microsoft Windows XP Professional (on /dev/sda1)" --class windows --class os {
insmod part_msdos
insmod ntfs
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root ECACF9FDACF9C25E
drivemap -s (hd0) ${root}
chainloader +1
}
menuentry "Gentoo Linux linux-3.2.1-gentoo-r2 (on /dev/sda6)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos6)'
search --no-floppy --fs-uuid --set=root 7237a91e-01ec-40d0-92a7-daa64e4fbcf6
linux /boot/kernel-miaprova1 root=/dev/sda6
}
### 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 ###
menuentry "Gentoo Linux linux-3.2.1-gentoo-r2 (on /dev/sda5)" --class gnu-linux --class gnu --class os {
insmod part_msdos
insmod ext2
set root='(hd0,msdos5)'
search --no-floppy --fs-uuid --set=root 5c0ab23e-5da8-4f05-978d-a0b851cd4988
echo 'Caricamento Linux Gentoo...'
linux /boot/kernel-miaprova1 root=/dev/sda6
}
Al posto di quello che hai per avviare Gentoo...
Salva, riavvia, seleziona Gentoo e poi riportami quello che vedi....