Aggiornamento grub

Riconoscimento, installazione e configurazione delle periferiche.
Avatar utente
akplm
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 732
Iscrizione: domenica 15 luglio 2007, 16:09

Aggiornamento grub

Messaggio da akplm »

Ciao a tutti: riporto qui sotto il mio filr menu.lst

Codice: Seleziona tutto

## ## End Default Options ##

title		Ubuntu 8.04.2, kernel 2.6.24-24-rt
root		(hd0,6)
kernel		/boot/vmlinuz-2.6.24-24-rt root=UUID=34248467-b2a5-4b28-9cce-01f84a33337b ro quiet splash
initrd		/boot/initrd.img-2.6.24-24-rt
quiet

title		Ubuntu 8.04.2, kernel 2.6.24-24-rt (recovery mode)
root		(hd0,6)
kernel		/boot/vmlinuz-2.6.24-24-rt root=UUID=34248467-b2a5-4b28-9cce-01f84a33337b ro single
initrd		/boot/initrd.img-2.6.24-24-rt

title		Ubuntu 8.04.2, kernel 2.6.24-24-generic
root		(hd0,6)
kernel		/boot/vmlinuz-2.6.24-24-generic root=UUID=34248467-b2a5-4b28-9cce-01f84a33337b ro quiet splash
initrd		/boot/initrd.img-2.6.24-24-generic
quiet

title		Ubuntu 8.04.2, kernel 2.6.24-24-generic (recovery mode)
root		(hd0,6)
kernel		/boot/vmlinuz-2.6.24-24-generic root=UUID=34248467-b2a5-4b28-9cce-01f84a33337b ro single
initrd		/boot/initrd.img-2.6.24-24-generic

title		Ubuntu 8.04.2, kernel 2.6.24-23-rt
root		(hd0,6)
kernel		/boot/vmlinuz-2.6.24-23-rt root=UUID=34248467-b2a5-4b28-9cce-01f84a33337b ro quiet splash
initrd		/boot/initrd.img-2.6.24-23-rt
quiet

title		Ubuntu 8.04.2, kernel 2.6.24-23-rt (recovery mode)
root		(hd0,6)
kernel		/boot/vmlinuz-2.6.24-23-rt root=UUID=34248467-b2a5-4b28-9cce-01f84a33337b ro single
initrd		/boot/initrd.img-2.6.24-23-rt

title		Ubuntu 8.04.2, kernel 2.6.24-23-generic
root		(hd0,6)
kernel		/boot/vmlinuz-2.6.24-23-generic root=UUID=34248467-b2a5-4b28-9cce-01f84a33337b ro quiet splash
initrd		/boot/initrd.img-2.6.24-23-generic
quiet

title		Ubuntu 8.04.2, kernel 2.6.24-23-generic (recovery mode)
root		(hd0,6)
kernel		/boot/vmlinuz-2.6.24-23-generic root=UUID=34248467-b2a5-4b28-9cce-01f84a33337b ro single
initrd		/boot/initrd.img-2.6.24-23-generic

## ## End Default Options ##

title		Ubuntu 8.04.2, kernel 2.6.24-24-rt
root		(hd0,6)
kernel		/boot/vmlinuz-2.6.24-24-rt root=UUID=34248467-b2a5-4b28-9cce-01f84a33337b ro quiet splash
initrd		/boot/initrd.img-2.6.24-24-rt
quiet

title		Ubuntu 8.04.2, kernel 2.6.24-24-rt (recovery mode)
root		(hd0,6)
kernel		/boot/vmlinuz-2.6.24-24-rt root=UUID=34248467-b2a5-4b28-9cce-01f84a33337b ro single
initrd		/boot/initrd.img-2.6.24-24-rt

title		Ubuntu 8.04.2, kernel 2.6.24-24-generic
root		(hd0,6)
kernel		/boot/vmlinuz-2.6.24-24-generic root=UUID=34248467-b2a5-4b28-9cce-01f84a33337b ro quiet splash
initrd		/boot/initrd.img-2.6.24-24-generic
quiet

title		Ubuntu 8.04.2, kernel 2.6.24-24-generic (recovery mode)
root		(hd0,6)
kernel		/boot/vmlinuz-2.6.24-24-generic root=UUID=34248467-b2a5-4b28-9cce-01f84a33337b ro single
initrd		/boot/initrd.img-2.6.24-24-generic

title		Ubuntu 8.04.2, kernel 2.6.24-23-rt
root		(hd0,6)
kernel		/boot/vmlinuz-2.6.24-23-rt root=UUID=34248467-b2a5-4b28-9cce-01f84a33337b ro quiet splash
initrd		/boot/initrd.img-2.6.24-23-rt
quiet

title		Ubuntu 8.04.2, kernel 2.6.24-23-rt (recovery mode)
root		(hd0,6)
kernel		/boot/vmlinuz-2.6.24-23-rt root=UUID=34248467-b2a5-4b28-9cce-01f84a33337b ro single
initrd		/boot/initrd.img-2.6.24-23-rt

title		Ubuntu 8.04.2, kernel 2.6.24-23-generic
root		(hd0,6)
kernel		/boot/vmlinuz-2.6.24-23-generic root=UUID=34248467-b2a5-4b28-9cce-01f84a33337b ro quiet splash
initrd		/boot/initrd.img-2.6.24-23-generic
quiet

title		Ubuntu 8.04.2, kernel 2.6.24-23-generic (recovery mode)
root		(hd0,6)
kernel		/boot/vmlinuz-2.6.24-23-generic root=UUID=34248467-b2a5-4b28-9cce-01f84a33337b ro single
initrd		/boot/initrd.img-2.6.24-23-generic

title		Ubuntu 8.04.2, kernel 2.6.24-22-rt
root		(hd0,6)
kernel		/boot/vmlinuz-2.6.24-22-rt root=UUID=34248467-b2a5-4b28-9cce-01f84a33337b ro quiet splash
initrd		/boot/initrd.img-2.6.24-22-rt
quiet

title		Ubuntu 8.04.2, kernel 2.6.24-22-rt (recovery mode)
root		(hd0,6)
kernel		/boot/vmlinuz-2.6.24-22-rt root=UUID=34248467-b2a5-4b28-9cce-01f84a33337b ro single
initrd		/boot/initrd.img-2.6.24-22-rt

title		Ubuntu 8.04.2, kernel 2.6.24-22-generic
root		(hd0,6)
kernel		/boot/vmlinuz-2.6.24-22-generic root=UUID=34248467-b2a5-4b28-9cce-01f84a33337b ro quiet splash
initrd		/boot/initrd.img-2.6.24-22-generic
quiet

title		Ubuntu 8.04.2, kernel 2.6.24-22-generic (recovery mode)
root		(hd0,6)
kernel		/boot/vmlinuz-2.6.24-22-generic root=UUID=34248467-b2a5-4b28-9cce-01f84a33337b ro single
initrd		/boot/initrd.img-2.6.24-22-generic

title		Ubuntu 8.04.2, memtest86+
root		(hd0,6)
kernel		/boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title		Other operating systems:
root


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda1.
title		Ubuntu 8.04, kernel 2.6.24-16-386 (on /dev/sda1)
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.24-16-386 root=UUID=e794f07f-a3e4-4a2f-b0f8-7dda42ad39f4 ro quiet splash 
initrd		/boot/initrd.img-2.6.24-16-386
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda1.
title		Ubuntu 8.04, kernel 2.6.24-16-386 (recovery mode) (on /dev/sda1)
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.24-16-386 root=UUID=e794f07f-a3e4-4a2f-b0f8-7dda42ad39f4 ro single 
initrd		/boot/initrd.img-2.6.24-16-386
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda1.
title		Ubuntu 8.04, kernel 2.6.24-16-generic (on /dev/sda1)
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.24-16-generic root=UUID=e794f07f-a3e4-4a2f-b0f8-7dda42ad39f4 ro quiet splash 
initrd		/boot/initrd.img-2.6.24-16-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda1.
title		Ubuntu 8.04, kernel 2.6.24-16-generic (recovery mode) (on /dev/sda1)
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.24-16-generic root=UUID=e794f07f-a3e4-4a2f-b0f8-7dda42ad39f4 ro single 
initrd		/boot/initrd.img-2.6.24-16-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda1.
title		Ubuntu 8.04, memtest86+ (on /dev/sda1)
root		(hd0,0)
kernel		/boot/memtest86+.bin  
savedefault
boot

quiet

title		Ubuntu 8.04.2, kernel 2.6.24-22-rt (recovery mode)
root		(hd0,6)
kernel		/boot/vmlinuz-2.6.24-22-rt root=UUID=34248467-b2a5-4b28-9cce-01f84a33337b ro single
initrd		/boot/initrd.img-2.6.24-22-rt

title		Ubuntu 8.04.2, kernel 2.6.24-22-generic
root		(hd0,6)
kernel		/boot/vmlinuz-2.6.24-22-generic root=UUID=34248467-b2a5-4b28-9cce-01f84a33337b ro quiet splash
initrd		/boot/initrd.img-2.6.24-22-generic
quiet

title		Ubuntu 8.04.2, kernel 2.6.24-22-generic (recovery mode)
root		(hd0,6)
kernel		/boot/vmlinuz-2.6.24-22-generic root=UUID=34248467-b2a5-4b28-9cce-01f84a33337b ro single
initrd		/boot/initrd.img-2.6.24-22-generic

title		Ubuntu 8.04.2, memtest86+
root		(hd0,6)
kernel		/boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title		Other operating systems:
root


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda1.
title		Ubuntu 8.04, kernel 2.6.24-16-386 (on /dev/sda1)
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.24-16-386 root=UUID=e794f07f-a3e4-4a2f-b0f8-7dda42ad39f4 ro quiet splash 
initrd		/boot/initrd.img-2.6.24-16-386
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda1.
title		Ubuntu 8.04, kernel 2.6.24-16-386 (recovery mode) (on /dev/sda1)
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.24-16-386 root=UUID=e794f07f-a3e4-4a2f-b0f8-7dda42ad39f4 ro single 
initrd		/boot/initrd.img-2.6.24-16-386
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda1.
title		Ubuntu 8.04, kernel 2.6.24-16-generic (on /dev/sda1)
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.24-16-generic root=UUID=e794f07f-a3e4-4a2f-b0f8-7dda42ad39f4 ro quiet splash 
initrd		/boot/initrd.img-2.6.24-16-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda1.
title		Ubuntu 8.04, kernel 2.6.24-16-generic (recovery mode) (on /dev/sda1)
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.24-16-generic root=UUID=e794f07f-a3e4-4a2f-b0f8-7dda42ad39f4 ro single 
initrd		/boot/initrd.img-2.6.24-16-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda1.
title		Ubuntu 8.04, memtest86+ (on /dev/sda1)
root		(hd0,0)
kernel		/boot/memtest86+.bin  
savedefault
boot
Il problema che all'avvio della macchina non mi è permesso scegliere nessuno dei kernel installati bensi solamente:

title Ubuntu 8.04, kernel 2.6.24-16-386 (on /dev/sda1)
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-16-386 root=UUID=e794f07f-a3e4-4a2f-b0f8-7dda42ad39f4 ro quiet splash
initrd /boot/initrd.img-2.6.24-16-386
savedefault
boot


title Ubuntu 8.04, kernel 2.6.24-16-386 (recovery mode) (on /dev/sda1)
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-16-386 root=UUID=e794f07f-a3e4-4a2f-b0f8-7dda42ad39f4 ro single
initrd /boot/initrd.img-2.6.24-16-386
savedefault
boot


title Ubuntu 8.04.2, kernel 2.6.24-22-rt (recovery mode)
root (hd0,6)
kernel /boot/vmlinuz-2.6.24-22-rt root=UUID=34248467-b2a5-4b28-9cce-01f84a33337b ro single
initrd /boot/initrd.img-2.6.24-22-rt

title Ubuntu 8.04.2, kernel 2.6.24-22-generic
root (hd0,6)
kernel /boot/vmlinuz-2.6.24-22-generic root=UUID=34248467-b2a5-4b28-9cce-01f84a33337b ro quiet splash
initrd /boot/initrd.img-2.6.24-22-generic
quiet

title Ubuntu 8.04.2, kernel 2.6.24-22-generic (recovery mode)
root (hd0,6)
kernel /boot/vmlinuz-2.6.24-22-generic root=UUID=34248467-b2a5-4b28-9cce-01f84a33337b ro single
initrd /boot/initrd.img-2.6.24-22-generic


Quindi solo una parte dei miei kernel? come devo modificare il file per poterli opzionarli?
Avatar utente
streetcross
Accecante Asceta
Accecante Asceta
Messaggi: 24943
Iscrizione: giovedì 7 febbraio 2008, 10:52
Contatti:

Re: Aggiornamento grub

Messaggio da streetcross »

perchè due end default options? elimina quello in mezzo, deve stare solo alla fine
Ubuntu user #22995 Linux user #474679 Stacy can't you see, you're just not the girl for me, I know it might be wrong, but I'm in love with Stacy's Mom. ﺕ In molti credono di essere degli alternativi. In realtà la maggior parte di loro lascia la strada principale per seguire la seconda strada più battuta; in pochi si creano il proprio sentiero.
Avatar utente
akplm
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 732
Iscrizione: domenica 15 luglio 2007, 16:09

Re: Aggiornamento grub

Messaggio da akplm »

Ora è modificato così

Codice: Seleziona tutto

# menu.lst - See: grub(8), info grub, update-grub(8)
#            grub-install(8), grub-floppy(8),
#            grub-md5-crypt, /usr/share/doc/grub
#            and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default		0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout		10

hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu

# Pretty colours
#color cyan/blue white/blue

#A splash image for the menu
splashimage=(hd0,6)/boot/grub/splashimages/Mac4Lin_1.0_GRUB1.xpm.gz

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line)  and entries protected by the
# command 'lock'
# e.g. password topsecret
## password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title		Windows 95/98/NT/2000
# root		(hd0,0)
# makeactive
# chainloader	+1
#
# title		Linux
# root		(hd0,1)
# kernel	/vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
##      kopt_2_6_8=root=/dev/hdc1 ro
##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=34248467-b2a5-4b28-9cce-01f84a33337b ro

## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,6)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
##      alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
##      lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash

## should update-grub lock old automagic boot options
## e.g. lockold=false
##      lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(recovery) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
##      howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
##      memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false

## ## End Default Options ##

title		Ubuntu 8.04.2, kernel 2.6.24-24-rt
root		(hd0,6)
kernel		/boot/vmlinuz-2.6.24-24-rt root=UUID=34248467-b2a5-4b28-9cce-01f84a33337b ro quiet splash
initrd		/boot/initrd.img-2.6.24-24-rt
quiet

title		Ubuntu 8.04.2, kernel 2.6.24-24-rt (recovery mode)
root		(hd0,6)
kernel		/boot/vmlinuz-2.6.24-24-rt root=UUID=34248467-b2a5-4b28-9cce-01f84a33337b ro single
initrd		/boot/initrd.img-2.6.24-24-rt

title		Ubuntu 8.04.2, kernel 2.6.24-24-generic
root		(hd0,6)
kernel		/boot/vmlinuz-2.6.24-24-generic root=UUID=34248467-b2a5-4b28-9cce-01f84a33337b ro quiet splash
initrd		/boot/initrd.img-2.6.24-24-generic
quiet

title		Ubuntu 8.04.2, kernel 2.6.24-24-generic (recovery mode)
root		(hd0,6)
kernel		/boot/vmlinuz-2.6.24-24-generic root=UUID=34248467-b2a5-4b28-9cce-01f84a33337b ro single
initrd		/boot/initrd.img-2.6.24-24-generic

title		Ubuntu 8.04.2, kernel 2.6.24-23-rt
root		(hd0,6)
kernel		/boot/vmlinuz-2.6.24-23-rt root=UUID=34248467-b2a5-4b28-9cce-01f84a33337b ro quiet splash
initrd		/boot/initrd.img-2.6.24-23-rt
quiet

title		Ubuntu 8.04.2, kernel 2.6.24-23-rt (recovery mode)
root		(hd0,6)
kernel		/boot/vmlinuz-2.6.24-23-rt root=UUID=34248467-b2a5-4b28-9cce-01f84a33337b ro single
initrd		/boot/initrd.img-2.6.24-23-rt

title		Ubuntu 8.04.2, kernel 2.6.24-23-generic
root		(hd0,6)
kernel		/boot/vmlinuz-2.6.24-23-generic root=UUID=34248467-b2a5-4b28-9cce-01f84a33337b ro quiet splash
initrd		/boot/initrd.img-2.6.24-23-generic
quiet

title		Ubuntu 8.04.2, kernel 2.6.24-23-generic (recovery mode)
root		(hd0,6)
kernel		/boot/vmlinuz-2.6.24-23-generic root=UUID=34248467-b2a5-4b28-9cce-01f84a33337b ro single
initrd		/boot/initrd.img-2.6.24-23-generic

title		Ubuntu 8.04.2, kernel 2.6.24-22-rt
root		(hd0,6)
kernel		/boot/vmlinuz-2.6.24-22-rt root=UUID=34248467-b2a5-4b28-9cce-01f84a33337b ro quiet splash
initrd		/boot/initrd.img-2.6.24-22-rt
quiet

title		Ubuntu 8.04.2, kernel 2.6.24-22-rt (recovery mode)
root		(hd0,6)
kernel		/boot/vmlinuz-2.6.24-22-rt root=UUID=34248467-b2a5-4b28-9cce-01f84a33337b ro single
initrd		/boot/initrd.img-2.6.24-22-rt

title		Ubuntu 8.04.2, kernel 2.6.24-22-generic
root		(hd0,6)
kernel		/boot/vmlinuz-2.6.24-22-generic root=UUID=34248467-b2a5-4b28-9cce-01f84a33337b ro quiet splash
initrd		/boot/initrd.img-2.6.24-22-generic
quiet

title		Ubuntu 8.04.2, kernel 2.6.24-22-generic (recovery mode)
root		(hd0,6)
kernel		/boot/vmlinuz-2.6.24-22-generic root=UUID=34248467-b2a5-4b28-9cce-01f84a33337b ro single
initrd		/boot/initrd.img-2.6.24-22-generic

title		Ubuntu 8.04.2, memtest86+
root		(hd0,6)
kernel		/boot/memtest86+.bin
quiet


# This is a divider, added to separate the menu items below from the Debian
# ones.
title		Other operating systems:
root


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda1.
title		Ubuntu 8.04, kernel 2.6.24-16-386 (on /dev/sda1)
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.24-16-386 root=UUID=e794f07f-a3e4-4a2f-b0f8-7dda42ad39f4 ro quiet splash 
initrd		/boot/initrd.img-2.6.24-16-386
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda1.
title		Ubuntu 8.04, kernel 2.6.24-16-386 (recovery mode) (on /dev/sda1)
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.24-16-386 root=UUID=e794f07f-a3e4-4a2f-b0f8-7dda42ad39f4 ro single 
initrd		/boot/initrd.img-2.6.24-16-386
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda1.
title		Ubuntu 8.04, kernel 2.6.24-16-generic (on /dev/sda1)
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.24-16-generic root=UUID=e794f07f-a3e4-4a2f-b0f8-7dda42ad39f4 ro quiet splash 
initrd		/boot/initrd.img-2.6.24-16-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda1.
title		Ubuntu 8.04, kernel 2.6.24-16-generic (recovery mode) (on /dev/sda1)
root		(hd0,0)
kernel		/boot/vmlinuz-2.6.24-16-generic root=UUID=e794f07f-a3e4-4a2f-b0f8-7dda42ad39f4 ro single 
initrd		/boot/initrd.img-2.6.24-16-generic
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sda1.
title		Ubuntu 8.04, memtest86+ (on /dev/sda1)
root		(hd0,0)
kernel		/boot/memtest86+.bin  
savedefault
boot

## ## End Default Options ##
ma continua farmi scegliere:

Codice: Seleziona tutto

title		Ubuntu 8.04.2, kernel 2.6.24-22-rt
root		(hd0,6)
kernel		/boot/vmlinuz-2.6.24-22-rt root=UUID=34248467-b2a5-4b28-9cce-01f84a33337b ro quiet splash
initrd		/boot/initrd.img-2.6.24-22-rt
quiet

title		Ubuntu 8.04.2, kernel 2.6.24-22-rt (recovery mode)
root		(hd0,6)
kernel		/boot/vmlinuz-2.6.24-22-rt root=UUID=34248467-b2a5-4b28-9cce-01f84a33337b ro single
initrd		/boot/initrd.img-2.6.24-22-rt

title		Ubuntu 8.04.2, kernel 2.6.24-22-generic
root		(hd0,6)
kernel		/boot/vmlinuz-2.6.24-22-generic root=UUID=34248467-b2a5-4b28-9cce-01f84a33337b ro quiet splash
initrd		/boot/initrd.img-2.6.24-22-generic
quiet
solo questi!
in realtà io due partizioni la 1 e la 6 con il kernel -22 rt....mi occorre usare il -23 rt o 24 rt
Avatar utente
streetcross
Accecante Asceta
Accecante Asceta
Messaggi: 24943
Iscrizione: giovedì 7 febbraio 2008, 10:52
Contatti:

Re: Aggiornamento grub

Messaggio da streetcross »

prova con

Codice: Seleziona tutto

sudo update-grub
Ubuntu user #22995 Linux user #474679 Stacy can't you see, you're just not the girl for me, I know it might be wrong, but I'm in love with Stacy's Mom. ﺕ In molti credono di essere degli alternativi. In realtà la maggior parte di loro lascia la strada principale per seguire la seconda strada più battuta; in pochi si creano il proprio sentiero.
Avatar utente
akplm
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 732
Iscrizione: domenica 15 luglio 2007, 16:09

Re: Aggiornamento grub

Messaggio da akplm »

prova con
Codice:

sudo update-grub
avevo provato, ho riprovato! nulla da fare: non mi vede tutti i kernel nuovi
Avatar utente
streetcross
Accecante Asceta
Accecante Asceta
Messaggi: 24943
Iscrizione: giovedì 7 febbraio 2008, 10:52
Contatti:

Re: Aggiornamento grub

Messaggio da streetcross »

:-\ molto strano, prova a canellare quelli più vecchi, non vorrei che per qualche strano bug non visualizzi più di tot scelte
Ubuntu user #22995 Linux user #474679 Stacy can't you see, you're just not the girl for me, I know it might be wrong, but I'm in love with Stacy's Mom. ﺕ In molti credono di essere degli alternativi. In realtà la maggior parte di loro lascia la strada principale per seguire la seconda strada più battuta; in pochi si creano il proprio sentiero.
Avatar utente
akplm
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 732
Iscrizione: domenica 15 luglio 2007, 16:09

Re: Aggiornamento grub

Messaggio da akplm »

dici di disinstallare il vecchio o i piu vecchi? o di cancellarli fal file?
Avatar utente
gian64
Imperturbabile Insigne
Imperturbabile Insigne
Messaggi: 3024
Iscrizione: mercoledì 7 novembre 2007, 15:33
Desktop: Openbox-Gnome
Distribuzione: SalentOS 2.0-Ubuntu 19.10
Sesso: Maschile
Località: Torino
Contatti:

Re: Aggiornamento grub

Messaggio da gian64 »

Ciao, mi posti per favore il tuo

Codice: Seleziona tutto

sudo fdisk -l
e gia che ci sei mi dici anche se ti da qualche errore e se si quale.
Ma quanto è variegato il mondo Linux…
Avatar utente
streetcross
Accecante Asceta
Accecante Asceta
Messaggi: 24943
Iscrizione: giovedì 7 febbraio 2008, 10:52
Contatti:

Re: Aggiornamento grub

Messaggio da streetcross »

akplm ha scritto: dici di disinstallare il vecchio o i piu vecchi? o di cancellarli fal file?
no dico di disinstallare proprio un paio di vecchi kernel
Ubuntu user #22995 Linux user #474679 Stacy can't you see, you're just not the girl for me, I know it might be wrong, but I'm in love with Stacy's Mom. ﺕ In molti credono di essere degli alternativi. In realtà la maggior parte di loro lascia la strada principale per seguire la seconda strada più battuta; in pochi si creano il proprio sentiero.
Avatar utente
akplm
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 732
Iscrizione: domenica 15 luglio 2007, 16:09

Re: Aggiornamento grub

Messaggio da akplm »

Ecco:

Codice: Seleziona tutto

akplm@ubu:~$ sudo fdisk -l
[sudo] password for akplm: 

Disco /dev/sda: 160.0 GB, 160041885696 byte
255 heads, 63 sectors/track, 19457 cylinders
Units = cilindri of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000b668e

Dispositivo Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        1067     8570646   83  Linux
/dev/sda2           11658       19457    62653500    5  Esteso
/dev/sda3            1068       11657    85064175   83  Linux
/dev/sda5           18796       19457     5317483+  82  Linux swap / Solaris
/dev/sda6           12159       18795    53311671   83  Linux
/dev/sda7           11658       12157     4016187   82  Linux swap / Solaris

Le voci nella tabella delle partizioni non sono nello stesso ordine del disco
la partizione con i kernel è la 6
Avatar utente
gianmpu
Rampante Reduce
Rampante Reduce
Messaggi: 7721
Iscrizione: giovedì 15 novembre 2007, 17:11

Re: Aggiornamento grub

Messaggio da gianmpu »

Guarda che grub conta a partire da zero, quindi (hd0,6) fa riferimento a /dev/sda5 cioè la partizione di swap
"Chi c**a sott' 'a neve, pure si ffa 'a bbuca e poi 'a copre, quanno 'a neve se scioje, 'a mm***a vie' sempre fori" T. Milian
Avatar utente
akplm
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 732
Iscrizione: domenica 15 luglio 2007, 16:09

Re: Aggiornamento grub

Messaggio da akplm »

Guarda che grub conta a partire da zero, quindi (hd0,6) fa riferimento a /dev/sda5 cioè la partizione di swap
i kernel sono installati in sda6
Avatar utente
gianmpu
Rampante Reduce
Rampante Reduce
Messaggi: 7721
Iscrizione: giovedì 15 novembre 2007, 17:11

Re: Aggiornamento grub

Messaggio da gianmpu »

Vedo che non ci siamo capiti. Citando dal tuo menu.lst
title Ubuntu 8.04, kernel 2.6.24-16-386 (on /dev/sda1)
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-16-386 root=UUID=e794f07f-a3e4-4a2f-b0f8-7dda42ad39f4 ro quiet splash
initrd /boot/initrd.img-2.6.24-16-386
savedefault
boot
Analogamente, se i kernel sono nella /dev/sda6 l'indicazione corretta è (hd0,5)
Ultima modifica di gianmpu il martedì 2 giugno 2009, 14:23, modificato 1 volta in totale.
"Chi c**a sott' 'a neve, pure si ffa 'a bbuca e poi 'a copre, quanno 'a neve se scioje, 'a mm***a vie' sempre fori" T. Milian
Avatar utente
akplm
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 732
Iscrizione: domenica 15 luglio 2007, 16:09

Re: Aggiornamento grub

Messaggio da akplm »

Codice: Seleziona tutto

title		Ubuntu 8.04.2, kernel 2.6.24-24-rt
root		(hd0,6)
kernel		/boot/vmlinuz-2.6.24-24-rt root=UUID=34248467-b2a5-4b28-9cce-01f84a33337b ro quiet splash
initrd		/boot/initrd.img-2.6.24-24-rt
quindi mi sembra corretto......ma il 2.6.24-24 non me lo riporta!
Avatar utente
gianmpu
Rampante Reduce
Rampante Reduce
Messaggi: 7721
Iscrizione: giovedì 15 novembre 2007, 17:11

Re: Aggiornamento grub

Messaggio da gianmpu »

akplm ha scritto:

Codice: Seleziona tutto

title		Ubuntu 8.04.2, kernel 2.6.24-24-rt
root		(hd0,6)
kernel		/boot/vmlinuz-2.6.24-24-rt root=UUID=34248467-b2a5-4b28-9cce-01f84a33337b ro quiet splash
initrd		/boot/initrd.img-2.6.24-24-rt
quindi mi sembra corretto......ma il 2.6.24-24 non me lo riporta!
(nono) Ripeto per l'ennesima volta:
se in grub ho (hd0,0) che fa riferimento alla partizione /dev/sda1
allora (hd0,6) deve far riferimento alla partizione /dev/sda7 e non alla partizione /dev/sda6
Per far riferimento alla partizione /dev/sda6 in grub devi avere (hd0,5)
"Chi c**a sott' 'a neve, pure si ffa 'a bbuca e poi 'a copre, quanno 'a neve se scioje, 'a mm***a vie' sempre fori" T. Milian
Avatar utente
akplm
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 732
Iscrizione: domenica 15 luglio 2007, 16:09

Re: Aggiornamento grub

Messaggio da akplm »

quindi devo modificare le righe dei kernel con il riferimento della partizione giusta? ovvero (0,7)??
Avatar utente
gianmpu
Rampante Reduce
Rampante Reduce
Messaggi: 7721
Iscrizione: giovedì 15 novembre 2007, 17:11

Re: Aggiornamento grub

Messaggio da gianmpu »

akplm ha scritto: quindi devo modificare le righe dei kernel con il riferimento della partizione giusta? ovvero (0,7)??
(nono)
(hd0,0) -> /dev/sda1
(hd0,1) -> /dev/sda2
.....
(hd0,5) -> /dev/sda6
"Chi c**a sott' 'a neve, pure si ffa 'a bbuca e poi 'a copre, quanno 'a neve se scioje, 'a mm***a vie' sempre fori" T. Milian
Avatar utente
akplm
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 732
Iscrizione: domenica 15 luglio 2007, 16:09

Re: Aggiornamento grub

Messaggio da akplm »

ok scusa; devo modificare in (hd0,5)?
Avatar utente
gianmpu
Rampante Reduce
Rampante Reduce
Messaggi: 7721
Iscrizione: giovedì 15 novembre 2007, 17:11

Re: Aggiornamento grub

Messaggio da gianmpu »

akplm ha scritto: ok scusa; devo modificare in (hd0,5)?
(yes) Prova a vedere se così funziona
"Chi c**a sott' 'a neve, pure si ffa 'a bbuca e poi 'a copre, quanno 'a neve se scioje, 'a mm***a vie' sempre fori" T. Milian
Avatar utente
akplm
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 732
Iscrizione: domenica 15 luglio 2007, 16:09

Re: Aggiornamento grub

Messaggio da akplm »

niente da fare!
è rimasto lo stesso ovvero solo la scelta del kernel



Ubuntu 8.04.2, kernel 2.6.24-22-rt
(hd0,6)

Ubuntu 8.04.2, kernel 2.6.24-22-generic
(hd0,6)
Scrivi risposta

Ritorna a “Driver e periferiche”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 3 ospiti