Pagina 1 di 2

Accensione a schermo nero

Inviato: sabato 17 luglio 2010, 12:56
da rimbaud66
Salve a tutti, sono nuovissimo!
Subito un problema con Ubuntu ultima versione, installato da mio padre (per errore) come partizione unica su portatile Acer 5920g (scheda video nvidia).
Tutto ok per installazione e prima accensione, durante la quale ho anche installato i driver per la scheda video (evidentemente non bastava...).
Adesso la situazione è questa:
Accensione - Logo Acer - Schermo nero con trattino lampeggiante (senza nient'altro) - Barra caricamento Ubuntu - Musica avviamento con schermo nero - Nuovamente schermo nero.
All'avvio non mi va neanche in Recovery Mode...
Non so veramente dove sbattere la testa!
Vi ringrazio e scusate per la "principiantaggine"!

Re: Accensione a schermo nero

Inviato: sabato 17 luglio 2010, 12:59
da nicoz
prova a ripristinare il grub con: /AmministrazioneSistema/Grub/Ripristino

Re: Accensione a schermo nero

Inviato: sabato 17 luglio 2010, 13:03
da rimbaud66
Grazie per la risposta! Come faccio ad avviare il CD Live all'accensione?

Re: Accensione a schermo nero

Inviato: sabato 17 luglio 2010, 13:12
da nicoz
devi selezionare nel bios il lettore cd/dvd che si deve avviare per primo apposto dell'Hard disk...

Re: Accensione a schermo nero

Inviato: sabato 17 luglio 2010, 13:36
da rimbaud66
Con il cd si avvia, anche lo schermo...ho provato a ripristinare il grub ma dopo aver riavviato il pc senza cd, cmq non è possibile entrare in recovery mode e lo schermo rimane nero...

Re: Accensione a schermo nero

Inviato: sabato 17 luglio 2010, 14:44
da RocK-aNd-RoLL
magari la tua scheda grafica è troppo recente per i driver che ti propone Ubuntu.

Re: Accensione a schermo nero

Inviato: sabato 17 luglio 2010, 15:06
da rimbaud66
In questo caso posso installarne di più aggiornati dopo averli scaricati manualmente? (Si tratta di una Nvidia GeForce 9500M GS da 512 mb)

Re: Accensione a schermo nero

Inviato: sabato 17 luglio 2010, 15:10
da Ser - j
Io ho avuto lo stesso problema.
Dovresti disinstallare i pacchetti dei driver video che ha installato ubuntu, in questo modo disinstalli i driver e torna tutto come prima (senza schermo nero).
Io non ho provato, ma dovresti provare a cercare dei driver direttamente sul sito della tua scheda video per ubuntu e prova ad installarli.
Ma in recovery mode, prima di aggiornare il sistema, ti faceva andare ?

Re: Accensione a schermo nero

Inviato: sabato 17 luglio 2010, 15:16
da RocK-aNd-RoLL
Io la GeForce 9500 GT ce l'ho sul fisso, dove però ho Debian e Fedora come S.O. su due HDD differenti e non ho avuto problemi coi driver. Inoltre non è proprio recentissima, quindi non saprei.
Discorso differente per il mio notebook, con Ubuntu 10.04, dove ho una GeForce 310M da 1GB e se provo ad installare i proprietari ho il tuo stesso problema.

Re: Accensione a schermo nero

Inviato: sabato 17 luglio 2010, 15:19
da Ser - j
io penso che i driver proprietari che ti fa installare ubuntu non sono compatibili del tutto con il modello della scheda video, altrimenti non vedo quale possa essere un'altra spiegazione.
Anzi, proprio perchè sono driver proprietari dovrebbero funzionare a mestiere! =)

Re: Accensione a schermo nero

Inviato: sabato 17 luglio 2010, 15:48
da rimbaud66
Intanto vi ringrazio tutti per le risposte!
@ Ser - j: No, non mi faceva entrare in recovery...

Visto che non riuscivo a fare nulla da quella "posizione", ho reinstallato Ubuntu (che ad una prima accensione non ha dato problemi). Ora tutto è tornato come prima, naturalmente non ho installato i driver "consigliati", ma cmq sono convinto che il problema si ripresenterà alla prossima di accensione. Nel frattempo sto cercando una soluzione...

Sul sito della Nvidia ho trovato un pacchetto "Display Driver x86", che però non riesco a installare: http://www.nvidia.it/object/linux-displ ... er-it.html

Mi apre questa pagina:
#! /bin/sh
skip=883
CRCsum=3943901716
MD5=dd33ec846a83fc7a334276a1b77e9269
label="NVIDIA Accelerated Graphics Driver for Linux-x86 256.35"
version_string=256.35
pkg_version=0
script=./nvidia-installer
targetdir=NVIDIA-Linux-x86-256.35
scriptargs=""
keep=n
add_this_kernel=n
apply_patch=n
TMPROOT=${TMPDIR:=/tmp}
TARGET_OS="Linux"
TARGET_ARCH="x86"

#
# NVIDIA Accelerated Graphics Driver for Linux-x86 256.35
# Generated by Makeself 1.6.0-nv
# Do not edit by hand.

# NVIDIA Driver Installation .run file
#
# If you were trying to download this file through a web browser, and
# instead are seeing this, please click your browser's back button,
# left click on the link, and select "Save as..." (or do whatever is
# appropriate for your web browser to download a file, rather than view
# it).

Ogni parere è il benvenuto! :)

Re: Accensione a schermo nero

Inviato: sabato 17 luglio 2010, 15:53
da crx
Prova questo

Re: Accensione a schermo nero

Inviato: sabato 17 luglio 2010, 16:14
da rimbaud66
crx ha scritto: Prova questo
Grazie, sto provando...
Altra domanda:
nonostante la reinstallazione, dopo la schermata "Acer" e prima della barra Ubuntu, non riesco ad avviare la Recovery premendo Esc...sbaglio la procedura? Da cosa può dipendere?

Re: Accensione a schermo nero

Inviato: sabato 17 luglio 2010, 16:25
da crx
Forse il tempo di attesa è troppo poco e non fai in tempo, o chissà cosa.
Posta /boot/grub/grub.cfg

Re: Accensione a schermo nero

Inviato: sabato 17 luglio 2010, 16:49
da rimbaud66
crx ha scritto: Forse il tempo di attesa è troppo poco e non fai in tempo, o chissà cosa.
Posta /boot/grub/grub.cfg
permesso negato...

Re: Accensione a schermo nero

Inviato: sabato 17 luglio 2010, 17:02
da crx
Non c'è bisogno di modificarlo: un file lo leggi con cat:

Codice: Seleziona tutto

cat /boot/grub/grub.cfg

Re: Accensione a schermo nero

Inviato: sabato 17 luglio 2010, 17:13
da rimbaud66
crx ha scritto: Non c'è bisogno di modificarlo: un file lo leggi con cat:

Codice: Seleziona tutto

cat /boot/grub/grub.cfg
Ecco:
### 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='(hd0,1)'
search --no-floppy --fs-uuid --set 2c350473-cc83-4e7e-a8be-31343a41deff
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=640x480
  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='(hd0,1)'
search --no-floppy --fs-uuid --set 2c350473-cc83-4e7e-a8be-31343a41deff
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-23-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 2c350473-cc83-4e7e-a8be-31343a41deff
linux /boot/vmlinuz-2.6.32-23-generic root=UUID=2c350473-cc83-4e7e-a8be-31343a41deff ro  quiet splash
initrd /boot/initrd.img-2.6.32-23-generic
}
menuentry 'Ubuntu, con Linux 2.6.32-23-generic (modalità ripristino)' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 2c350473-cc83-4e7e-a8be-31343a41deff
echo 'Caricamento Linux 2.6.32-23-generic...'
linux /boot/vmlinuz-2.6.32-23-generic root=UUID=2c350473-cc83-4e7e-a8be-31343a41deff ro single
echo 'Caricamento ramdisk iniziale...'
initrd /boot/initrd.img-2.6.32-23-generic
}
menuentry 'Ubuntu, con Linux 2.6.32-21-generic' --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 2c350473-cc83-4e7e-a8be-31343a41deff
linux /boot/vmlinuz-2.6.32-21-generic root=UUID=2c350473-cc83-4e7e-a8be-31343a41deff ro  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='(hd0,1)'
search --no-floppy --fs-uuid --set 2c350473-cc83-4e7e-a8be-31343a41deff
echo 'Caricamento Linux 2.6.32-21-generic...'
linux /boot/vmlinuz-2.6.32-21-generic root=UUID=2c350473-cc83-4e7e-a8be-31343a41deff ro single
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='(hd0,1)'
search --no-floppy --fs-uuid --set 2c350473-cc83-4e7e-a8be-31343a41deff
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 2c350473-cc83-4e7e-a8be-31343a41deff
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
if [ ${timeout} != -1 ]; then
  if keystatus; then
    if keystatus --shift; then
      set timeout=-1
    else
      set timeout=0
    fi
  else
    if sleep --interruptible 3 ; then
      set timeout=0
    fi
  fi
fi
### 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: Accensione a schermo nero

Inviato: sabato 17 luglio 2010, 17:22
da crx
Innanzitutto scusa: non è il file giusto, è che ho l'altro grub e non ricordo il file corretto.
Posta /etc/default/grub e /etc/grub.d/00_header
(stavolta, però, metti il codice tra i tag 'code': premi il pulsante # sopra le faccine e metti il testo tra le due coppie di parentesi quadre, altrimenti in questo modo il testo è illegibile).

Re: Accensione a schermo nero

Inviato: sabato 17 luglio 2010, 18:02
da rimbaud66

Codice: Seleziona tutto

GRUB_DEFAULT=0
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_LINUX_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
E il secondo:

Codice: Seleziona tutto

#! /bin/sh -e

# grub-mkconfig helper script.
# Copyright (C) 2006,2007,2008,2009,2010  Free Software Foundation, Inc.
#
# GRUB is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# GRUB is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with GRUB.  If not, see <http://www.gnu.org/licenses/>.

transform="s,x,x,"

prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
grub_prefix=`echo /boot/grub | sed ${transform}`
locale_dir=`echo /boot/grub/locale | sed ${transform}`
grub_lang=`echo $LANG | cut -d _ -f 1`

. ${libdir}/grub/grub-mkconfig_lib

# Do this as early as possible, since other commands might depend on it.
# (e.g. the `loadfont' command might need lvm or raid modules)
for i in ${GRUB_PRELOAD_MODULES} ; do
  echo "insmod $i"
done

if [ "x${GRUB_DEFAULT}" = "x" ] ; then GRUB_DEFAULT=0 ; fi
if [ "x${GRUB_DEFAULT}" = "xsaved" ] ; then GRUB_DEFAULT='${saved_entry}' ; fi
if [ "x${GRUB_TIMEOUT}" = "x" ] ; then GRUB_TIMEOUT=5 ; fi
if [ "x${GRUB_GFXMODE}" = "x" ] ; then GRUB_GFXMODE=640x480 ; fi

cat << EOF
if [ -s \$prefix/grubenv ]; then
  load_env
fi
set default="${GRUB_DEFAULT}"
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
}
EOF

case ${GRUB_TERMINAL_INPUT}:${GRUB_TERMINAL_OUTPUT} in
  serial:* | *:serial)
    if ! test -e ${grub_prefix}/serial.mod ; then
      echo "Serial terminal not available on this platform." >&2 ; exit 1
    fi

    if [ "x${GRUB_SERIAL_COMMAND}" = "x" ] ; then
      grub_warn "Requested serial terminal but GRUB_SERIAL_COMMAND is unspecified. Default parameters will be used."
      GRUB_SERIAL_COMMAND=serial
    fi
    echo "${GRUB_SERIAL_COMMAND}"
  ;;
esac

case x${GRUB_TERMINAL_INPUT} in
  x)
    # Just use the native terminal
  ;;
  x*)
    cat << EOF
if terminal_input ${GRUB_TERMINAL_INPUT} ; then true ; else
  # For backward compatibility with versions of terminal.mod that don't
  # understand terminal_input
  terminal ${GRUB_TERMINAL_INPUT}
fi
EOF
  ;;
esac

case x${GRUB_TERMINAL_OUTPUT} in
 xgfxterm)
    # Make the font accessible
    prepare_grub_to_access_device `${grub_probe} --target=device ${GRUB_FONT_PATH}`

    cat << EOF
if loadfont `make_system_path_relative_to_its_root ${GRUB_FONT_PATH}` ; then
  set gfxmode=${GRUB_GFXMODE}
  insmod gfxterm
  insmod ${GRUB_VIDEO_BACKEND}
  if terminal_output gfxterm ; then true ; else
    # For backward compatibility with versions of terminal.mod that don't
    # understand terminal_output
    terminal gfxterm
  fi
EOF
if [ x$GRUB_THEME != x ] && [ -f $GRUB_THEME ] \
	&& is_path_readable_by_grub $GRUB_THEME; then
    echo "Found theme: $GRUB_THEME" >&2
    prepare_grub_to_access_device `${grub_probe} --target=device $GRUB_THEME` | sed -e "s/^/  /"
    cat << EOF
  insmod gfxmenu
  set theme=(\$root)`make_system_path_relative_to_its_root $GRUB_THEME`
  set menuviewer=gfxmenu
EOF
fi
    cat << EOF
fi
EOF
  ;;
  x)
    # Just use the native terminal
  ;;
  x*)
    cat << EOF
if terminal_output ${GRUB_TERMINAL_OUTPUT} ; then true ; else
  # For backward compatibility with versions of terminal.mod that don't
  # understand terminal_output
  terminal ${GRUB_TERMINAL_OUTPUT}
fi
EOF
  ;;
esac

# Gettext variables and module
if [ "x${LANG}" != "xC" ] ; then
    prepare_grub_to_access_device $(${grub_probe} --target=device ${locale_dir})
  cat << EOF
set locale_dir=(\$root)$(make_system_path_relative_to_its_root ${locale_dir})
set lang=${grub_lang}
insmod gettext
EOF
fi

cat << EOF
if [ \${recordfail} = 1 ]; then
  set timeout=-1
else
  set timeout=${GRUB_TIMEOUT}
fi
EOF

# Play an initial tune
if [ "x${GRUB_INIT_TUNE}" != "x" ] ; then
  cat << EOF
insmod play
play ${GRUB_INIT_TUNE}
EOF
fi
Grazie per la pazienza...!

Re: Accensione a schermo nero

Inviato: sabato 17 luglio 2010, 18:08
da crx
Bene.
Vuoi vedere l'elenco dei sistemi operativi all'avvio oppure no?