Pagina 1 di 1
Grub&grub
Inviato: venerdì 20 agosto 2010, 12:35
da CLouD-85
salve!
perchè avevo istallato ubuntu 10.04 ! poi sono passato al plus ! come mai nel grub ho ancora la selezione del primo? (nn parte perchè formattato) come faccio ad eliminare quelle selezioni vecchie ?
Re: Grub&grub
Inviato: venerdì 20 agosto 2010, 12:41
da il_muflone
esegui sudo update-grub e verifica se ci sono ancora.
se risultano, allora hai ancora i files dei vecchi kernel.
Re: Grub&grub
Inviato: venerdì 20 agosto 2010, 12:41
da MoonDragon
apri il terminale con ctrl+alt+t
ma per plus intendi la versione majorana??
Re: Grub&grub
Inviato: venerdì 20 agosto 2010, 13:22
da CLouD-85
cmq la versione che è la plus 5 remix ! le selezioni nonostante avendo fatto il cma da terminale sono ancora la ! allora se i file sono ancora nel kernel .... cosa devo fare ?
Re: Grub&grub
Inviato: venerdì 20 agosto 2010, 13:24
da il_muflone
posta qui il contenuto del file /boot/grub/grub.cfg
Re: Gruefwdqwedb&grub
Inviato: venerdì 20 agosto 2010, 13:27
da CLouD-85
devo dare il comando da terminale ?
Re: Grub&grub
Inviato: venerdì 20 agosto 2010, 13:29
da il_muflone
quale comando? ho detto il contenuto del file
aprilo con l'editor di testo e copialo qui
Re: Grub&grub
Inviato: venerdì 20 agosto 2010, 13:33
da CLouD-85
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/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
}
function recordfail {
set recordfail=1
if [ -n ${have_grubenv} ]; then if [ -z ${boot_once} ]; then save_env recordfail; fi; fi
}
insmod ext2
set root='(hd2,1)'
search --no-floppy --fs-uuid --set 474faa29-01a5-4012-99ac-b6396fca6c1b
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=1600x1200
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
insmod ext2
set root='(hd2,1)'
search --no-floppy --fs-uuid --set 474faa29-01a5-4012-99ac-b6396fca6c1b
set locale_dir=($root)/boot/grub/locale
set lang=it
insmod gettext
if [ ${recordfail} = 1 ]; then
set timeout=-1
else
set timeout=10
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu, con Linux 2.6.32-24-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd2,1)'
search --no-floppy --fs-uuid --set 474faa29-01a5-4012-99ac-b6396fca6c1b
linux /boot/vmlinuz-2.6.32-24-generic root=UUID=474faa29-01a5-4012-99ac
scusami ciò messo un pò a capire !
Re: Grub&grub
Inviato: venerdì 20 agosto 2010, 13:51
da il_muflone
è incompleto questo risultato
Re: Grub&grub
Inviato: venerdì 20 agosto 2010, 14:02
da CLouD-85
uff scusami il cursore nn è andato più giu' !
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/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
}
function recordfail {
set recordfail=1
if [ -n ${have_grubenv} ]; then if [ -z ${boot_once} ]; then save_env recordfail; fi; fi
}
insmod ext2
set root='(hd2,1)'
search --no-floppy --fs-uuid --set 474faa29-01a5-4012-99ac-b6396fca6c1b
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=1600x1200
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don't
# understand terminal_output
terminal gfxterm
fi
fi
insmod ext2
set root='(hd2,1)'
search --no-floppy --fs-uuid --set 474faa29-01a5-4012-99ac-b6396fca6c1b
set locale_dir=($root)/boot/grub/locale
set lang=it
insmod gettext
if [ ${recordfail} = 1 ]; then
set timeout=-1
else
set timeout=10
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
### END /etc/grub.d/05_debian_theme ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Ubuntu, con Linux 2.6.32-24-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd2,1)'
search --no-floppy --fs-uuid --set 474faa29-01a5-4012-99ac-b6396fca6c1b
linux /boot/vmlinuz-2.6.32-24-generic root=UUID=474faa29-01a5-4012-99ac-b6396fca6c1b ro vga=799 quiet splash
initrd /boot/initrd.img-2.6.32-24-generic
}
menuentry 'Ubuntu, con Linux 2.6.32-24-generic (modalità ripristino)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd2,1)'
search --no-floppy --fs-uuid --set 474faa29-01a5-4012-99ac-b6396fca6c1b
echo 'Caricamento Linux 2.6.32-24-generic...'
linux /boot/vmlinuz-2.6.32-24-generic root=UUID=474faa29-01a5-4012-99ac-b6396fca6c1b ro single vga=799
echo 'Caricamento ramdisk iniziale...'
initrd /boot/initrd.img-2.6.32-24-generic
}
menuentry 'Ubuntu, con Linux 2.6.32-21-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd2,1)'
search --no-floppy --fs-uuid --set 474faa29-01a5-4012-99ac-b6396fca6c1b
linux /boot/vmlinuz-2.6.32-21-generic root=UUID=474faa29-01a5-4012-99ac-b6396fca6c1b ro vga=799 quiet splash
initrd /boot/initrd.img-2.6.32-21-generic
}
menuentry 'Ubuntu, con Linux 2.6.32-21-generic (modalità ripristino)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd2,1)'
search --no-floppy --fs-uuid --set 474faa29-01a5-4012-99ac-b6396fca6c1b
echo 'Caricamento Linux 2.6.32-21-generic...'
linux /boot/vmlinuz-2.6.32-21-generic root=UUID=474faa29-01a5-4012-99ac-b6396fca6c1b ro single vga=799
echo 'Caricamento ramdisk iniziale...'
initrd /boot/initrd.img-2.6.32-21-generic
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
insmod ext2
set root='(hd2,1)'
search --no-floppy --fs-uuid --set 474faa29-01a5-4012-99ac-b6396fca6c1b
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod ext2
set root='(hd2,1)'
search --no-floppy --fs-uuid --set 474faa29-01a5-4012-99ac-b6396fca6c1b
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
menuentry "Windows 7 (loader) (on /dev/sda1)" {
insmod ntfs
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 542824a528248856
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 ###
Re: Grub&grub
Inviato: venerdì 20 agosto 2010, 14:11
da il_muflone
hai un solo ubuntu installato, non due.
hai però due kernel, il 2.6.32-24 e il 2.6.32-21
se non vuoi vederlo disinstalla il pacchetto dal gestore di pacchetti (se c'è), lo trovi col nome linux-image-2.6.32-21-generic
togliendolo, il risparmio sono circa 100 MB totali.
Rdrgfwrge: Grub&grub
Inviato: venerdì 20 agosto 2010, 14:57
da CLouD-85
allora ! una coppia è andato via ma ne rimane sempre unaltro ubuntu con linux 2.6.32-21-generic ..... bbo ! questo lo vedo al grub !
Re: Grub&grub
Inviato: venerdì 20 agosto 2010, 15:05
da il_muflone
un attimo!
NON RIAVVIARE
apri un terminale e scrivi uname -a
e copia qui la risposta
Re: Grub&grub
Inviato: venerdì 20 agosto 2010, 15:13
da CLouD-85
paolo@paolo-desktop:~$ uname -a
Linux paolo-desktop 2.6.32-24-generic #41-Ubuntu SMP Thu Aug 19 01:38:40 UTC 2010 x86_64 GNU/Linux
paolo@paolo-desktop:~$
ancora nn ho riavviato ! cmq forse ho risolto con ubuntu tweak con la pulizia dei pacchetti!
Re: Grub&grub
Inviato: venerdì 20 agosto 2010, 15:16
da il_muflone
fermati e non fare cretinaggini oltre quelle che pare tu abbia già fatto.
ti ho detto che hai due kernel: -21 e -24
tu ora stai usando il -24
questo significa che devi eliminare il -21
che cosa hai eliminato?
Re: Grub&grub
Inviato: venerdì 20 agosto 2010, 15:24
da CLouD-85
i 21 ! ricordavo che stavo usando il 24 ! allora ora riavvio poi ti dico !

Re: Grub&grub
Inviato: venerdì 20 agosto 2010, 15:26
da il_muflone
ok, allora dove altro vedi quel 21 rimasto?
Re: Grub&grub
Inviato: venerdì 20 agosto 2010, 15:28
da CLouD-85
perfetto ! cancellando tutte le voci del .21 con ubuntu tweak nel gestore pacchetti ho eliminato tutte le voci superflue nel grub ! grazie per l'aiuto muflone !
