Debianizzati.Org | Forum | Blog | Guide | IRC
 
 
Forum Italiano Debian - Debianizzati.Org
Marzo 14, 2010, 12:13:58 am *
Benvenuto! Accedi o registrati.
Hai dimenticato l'e-mail di attivazione?

Accesso con nome utente, password e durata della sessione
Notizia: è disponibile il numero 3 dell’e-zine “Debianizzati”. La rivista è disponibile al sito: http://e-zine.debianizzati.org/
 
   Indice   Aiuto Ricerca Agenda Accedi Registrati  
Pagine: [1]   Vai giù
  Stampa  
Autore Discussione: sovrascrittura dei messaggi di boot  (Letto 138 volte)
0 utenti e 1 Utente non registrato stanno visualizzando questa discussione.
loerian
Sr. Member
****

Karma: +5/-2
Scollegato Scollegato

Messaggi: 369



Mostra profilo
« inserita:: Febbraio 09, 2010, 01:26:57 pm »

Salve,
ho installato più rami di Debian utilizzando un sistema principale (Lenny) e debootstrap.
Per farla breve, adesso ho un /boot/grub/menu.lst configurato ad hoc che mi pare corretto e che lascio in calce:

Il piccolo problema è che all'avvio di GRUB, quando lancio una delle voci aggiunte a mano, i comandi (title, root, kernel, initrd) vengono stampati a schermo e poi i messaggi di boot veri e proprio si sovrascrivono, con il risultato che le prime linee non sono leggibili. Questo con il sistema principale non succede.

Vorrei aggiustare la cosa, ma non ne capisco l'origine. Forse è il caso di precisare che ho installato il kernel (e generato l'immagine RAM) dentro ad un chroot (con proc montata insieme alla principale). Nell'installazione manca proprio grub: non serviva e temevo una sovrascrittura del MBR.

Avete qualche idea?

Grazie

Codice:
# 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-legacy-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 change this entry to 'saved' 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 5

# Pretty colours
#color cyan/blue white/blue

## 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
#

title ###  STABLE  ###
root

#
# 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=/dev/hda1 ro

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

## 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

## 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=(single-user) single
# altoptions=(single-user 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 Debian GNU/Linux, kernel 2.6.26-2-686
root (hd0,0)
kernel /boot/vmlinuz-2.6.26-2-686 root=/dev/hda1 ro quiet
initrd /boot/initrd.img-2.6.26-2-686

title Debian GNU/Linux, kernel 2.6.26-2-686 (single-user mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.26-2-686 root=/dev/hda1 ro single
initrd /boot/initrd.img-2.6.26-2-686

### END DEBIAN AUTOMAGIC KERNELS LIST

title ###  TESTING  ###
root

title Debian GNU/Linux, kernel 2.6.32-trunk-686
root (hd0,4)
kernel /boot/vmlinuz-2.6.32-trunk-686 root=/dev/hda5 ro quiet
initrd /boot/initrd.img-2.6.32-trunk-686

title           Debian GNU/Linux, kernel 2.6.32-trunk-686 (single-user mode)
root            (hd0,4)
kernel          /boot/vmlinuz-2.6.32-trunk-686 root=/dev/hda5 ro single
initrd          /boot/initrd.img-2.6.32-trunk-686

title ###  UNSTABLE  ###
root

title Debian GNU/Linux, kernel 2.6.32-trunk-686
root (hd0,5)
kernel          /boot/vmlinuz-2.6.32-trunk-686 root=/dev/hda6 ro quiet
initrd          /boot/initrd.img-2.6.32-trunk-686

title           Debian GNU/Linux, kernel 2.6.32-trunk-686 (sigle-user mode)
root            (hd0,5)
kernel          /boot/vmlinuz-2.6.32-trunk-686 root=/dev/hda6 ro single
initrd          /boot/initrd.img-2.6.32-trunk-686

Registrato
wayout
Full Member
***

Karma: +6/-3
Scollegato Scollegato

Messaggi: 176


Mostra profilo E-mail
« Risposta #1 inserita:: Febbraio 09, 2010, 02:34:34 pm »

L'unica cosa che ti posso dire sperando che possa risultare utile in qualche modo è che mi è successa la stessa cosa installando una testing partendo da stable ultimamente. Credo che accada lanciando un kernel recente con grub 1, infatti passando immediatamente dopo a grub 2 il problema non si è ripresentato. Non è molto, ma spero possa essere utile a qualcuno per capire e aiutarti
Registrato

tanto va la gatta al lardo... che diventa grassa
loerian
Sr. Member
****

Karma: +5/-2
Scollegato Scollegato

Messaggi: 369



Mostra profilo
« Risposta #2 inserita:: Febbraio 09, 2010, 10:55:07 pm »

Grazie della risposta!
E' già un indizio...

Ho cercato un bug report, ma ho trovato solo questo. E' del 2007 quando GRUB non era alla versione 2 e accenna la supposizione (?) che i messaggi del bootloader vengano stampati quando il kernel è già stato lanciato, con il rischio di "re-rendering". Forse così ha finito per dare problemi in quelli più recenti.
Ma sono appunto supposizioni smiley
« Ultima modifica: Febbraio 10, 2010, 02:46:20 pm da loerian » Registrato
Pagine: [1]   Vai su
  Stampa  
 
Vai a:  

Altri Topic Correlati
Oggetto Aperta da Risposte Visite Ultimo messaggio
Visualizzare tutti messaggi di boot in SSH Generale balubeto 1 404 Ultimo messaggio Ottobre 22, 2006, 07:01:02 pm
da GipPasso
MacMini Intel - Dual boot, boot loader vs EFI Installazione Nightmare 2 1779 Ultimo messaggio Ottobre 09, 2007, 11:02:16 am
da Nightmare
[ risolto]Problemi di sovrascrittura su condivisioni samba Network Zanini 9 479 Ultimo messaggio Febbraio 28, 2009, 10:00:06 pm
da Zanini
[Parzialmente risolto] Messaggi in stile Knoppix durante il boot Tuning swalf 6 724 Ultimo messaggio Marzo 06, 2010, 07:02:19 pm
da swalf
Messaggi al boot colorati Tuning matt 14 884 Ultimo messaggio Gennaio 26, 2010, 10:25:00 am
da loerian
Powered by MySQL Powered by PHP Powered by SMF 1.1.8 | SMF © 2006-2008, Simple Machines LLC XHTML 1.0 valido! CSS valido!
Pagina creata in 0.078 secondi con 26 interrogazioni al database.