[Grub] Ubuntu 10.04 LTS problema con l'avvio
[Grub] Ubuntu 10.04 LTS problema con l'avvio
Ho installato su di un PC Asus ubuntu 10.04 LTS, lo ha installato senza problemi, ma all'avvio (particolarmente lento, ma forse dipende dal PC che non è proprio in ottime condizioni)
Appare quanto segue:
Gave up wainting for root device. Common problems:
- Boot args (cat /proc/cmdline)
-Check root delay= (did the system wait long enough?)
-Check root= (did the system wait for the right device?)
-Missing modules (cat /proc/modules; ls /dev)
ALERT! /dev/disk/by-uuid/09b58aef-5d59-405f-9o63-1ec4f62d1b17 does not exist. Dropping to a shell!
Busy Box v.1.13.3 (Ubuntu 1.1.13.3 - 1ubuntu11) buit-in shell (ash)
Enter 'help' for a list of built-in commands
(initramfs)
a questo punto solo se digito Return (ma a volte nemmeno quello funge, devo digitare exit o provare più volte con Return) a quel punto si avvia e l'ambiente è utilizzabile normalmente, poi ad ogni riavvio risuccede il tutto >:( Come fare a disfarsi di questo errore in avvio?
Appare quanto segue:
Gave up wainting for root device. Common problems:
- Boot args (cat /proc/cmdline)
-Check root delay= (did the system wait long enough?)
-Check root= (did the system wait for the right device?)
-Missing modules (cat /proc/modules; ls /dev)
ALERT! /dev/disk/by-uuid/09b58aef-5d59-405f-9o63-1ec4f62d1b17 does not exist. Dropping to a shell!
Busy Box v.1.13.3 (Ubuntu 1.1.13.3 - 1ubuntu11) buit-in shell (ash)
Enter 'help' for a list of built-in commands
(initramfs)
a questo punto solo se digito Return (ma a volte nemmeno quello funge, devo digitare exit o provare più volte con Return) a quel punto si avvia e l'ambiente è utilizzabile normalmente, poi ad ogni riavvio risuccede il tutto >:( Come fare a disfarsi di questo errore in avvio?
- steff
- Moderatore Globale

- Messaggi: 40345
- Iscrizione: domenica 18 febbraio 2007, 19:48
- Desktop: LXQt+labwc
- Distribuzione: Arch; Debian; Ubuntu Server
- Sesso: Maschile
- Località: Toscana
- Contatti:
Re: [Grub] Ubuntu 10.04 LTS problema con l'avvio
puoi provare di inserire rootdelay=8 dopo "quiet splash" in
poi
Codice: Seleziona tutto
gksudo gedit /etc/default/grubCodice: Seleziona tutto
sudo update-grubHai fatto un backup oggi? Ieri?? Quando???
La Documentazione da consultare e la FAQ sul uso del forum
Sistemi: LXQt - semplice, modulare e configurabile + *ubuntu in Vbox
La Documentazione da consultare e la FAQ sul uso del forum
Sistemi: LXQt - semplice, modulare e configurabile + *ubuntu in Vbox
Re: [Grub] Ubuntu 10.04 LTS problema con l'avvio
Puoi guardare in /etc/fstab come viene montato il disco con uuid=09b58aef-5d59-405f-9o63-1ec4f62d1b17 ?Ga ha scritto: Gave up wainting for root device. Common problems:
- Boot args (cat /proc/cmdline)
-Check root delay= (did the system wait long enough?)
-Check root= (did the system wait for the right device?)
-Missing modules (cat /proc/modules; ls /dev)
ALERT! /dev/disk/by-uuid/09b58aef-5d59-405f-9o63-1ec4f62d1b17 does not exist. Dropping to a shell!
Hai provato a fermare l'avvio (shift all'avvio se hai grub2), entrare in un terminale e fare un check del disco?
Controlla anche lo stato smart del disco quando hai ubuntu caricato.
- steff
- Moderatore Globale

- Messaggi: 40345
- Iscrizione: domenica 18 febbraio 2007, 19:48
- Desktop: LXQt+labwc
- Distribuzione: Arch; Debian; Ubuntu Server
- Sesso: Maschile
- Località: Toscana
- Contatti:
Re: [Grub] Ubuntu 10.04 LTS problema con l'avvio
fstab non c'entra, non è il mount che non va ma grub che non vede la partizione
Hai fatto un backup oggi? Ieri?? Quando???
La Documentazione da consultare e la FAQ sul uso del forum
Sistemi: LXQt - semplice, modulare e configurabile + *ubuntu in Vbox
La Documentazione da consultare e la FAQ sul uso del forum
Sistemi: LXQt - semplice, modulare e configurabile + *ubuntu in Vbox
Re: [Grub] Ubuntu 10.04 LTS problema con l'avvio
Si, ma quale? quella di root?steff ha scritto: fstab non c'entra, non è il mount che non va ma grub che non vede la partizione
Quando fa exit il sistema si carica: non sarà che l'uuid è sbagliato?
Per questo chiedevo di guardare ftab.
Re: [Grub] Ubuntu 10.04 LTS problema con l'avvio
ecco fstab... ma per me è un linguaggio poco chiaro, che fare?
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
#
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda1 during installation
UUID=7ce67d16-c1a4-4ccc-b468-bdbdca7b6f3e / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=cc2e7d59-f24f-4e1b-8852-c9c82c806b53 none swap sw 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
#
#
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda1 during installation
UUID=7ce67d16-c1a4-4ccc-b468-bdbdca7b6f3e / ext4 errors=remount-ro 0 1
# swap was on /dev/sda5 during installation
UUID=cc2e7d59-f24f-4e1b-8852-c9c82c806b53 none swap sw 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec,utf8 0 0
- steff
- Moderatore Globale

- Messaggi: 40345
- Iscrizione: domenica 18 febbraio 2007, 19:48
- Desktop: LXQt+labwc
- Distribuzione: Arch; Debian; Ubuntu Server
- Sesso: Maschile
- Località: Toscana
- Contatti:
Re: [Grub] Ubuntu 10.04 LTS problema con l'avvio
Strano, effetivamente l'uuid in fstab quella dell'errore di grub sono diversi, ma così dovrebbe mai partire...
Postapure
Posta
Codice: Seleziona tutto
sudo blkidHai fatto un backup oggi? Ieri?? Quando???
La Documentazione da consultare e la FAQ sul uso del forum
Sistemi: LXQt - semplice, modulare e configurabile + *ubuntu in Vbox
La Documentazione da consultare e la FAQ sul uso del forum
Sistemi: LXQt - semplice, modulare e configurabile + *ubuntu in Vbox
Re: [Grub] Ubuntu 10.04 LTS problema con l'avvio
La mia impressione è che quando fa exit esce da grub e prova a caricare dalla partizione root dove l'fstab ha gli uuid corretti.steff ha scritto: Strano, effetivamente l'uuid in fstab quella dell'errore di grub sono diversi, ma così dovrebbe mai partire...
PostapureCodice: Seleziona tutto
sudo blkid
Se è così, e si vede giustamente con sudo blkid, allora mi pare che vada ripristinato grub.
Re: [Grub] Ubuntu 10.04 LTS problema con l'avvio
Ecco blkid, ::) qual è la prossima mossa?:
/dev/sda1: UUID="7ce67d16-c1a4-4ccc-b468-bdbdca7b6f3e" TYPE="ext4"
/dev/sda5: UUID="cc2e7d59-f24f-4e1b-8852-c9c82c806b53" TYPE="swap"
/dev/sda1: UUID="7ce67d16-c1a4-4ccc-b468-bdbdca7b6f3e" TYPE="ext4"
/dev/sda5: UUID="cc2e7d59-f24f-4e1b-8852-c9c82c806b53" TYPE="swap"
Re: [Grub] Ubuntu 10.04 LTS problema con l'avvio
Come vedi nn c'è una partizione con uuid=09b58aef-5d59-405f-9o63-1ec4f62d1b17 ma è li che grub cerca di avviare il sistema, la cerca, l'aspetta (e farlo aspettare di più nn serve xchè nn c'è quella partizione...), e alla fine si arrende e si ferma li...Ga ha scritto: Ecco blkid, ::) qual è la prossima mossa?:
/dev/sda1: UUID="7ce67d16-c1a4-4ccc-b468-bdbdca7b6f3e" TYPE="ext4"
/dev/sda5: UUID="cc2e7d59-f24f-4e1b-8852-c9c82c806b53" TYPE="swap"
Per ripristinare la situazione di certo ci sono vari modi, anche andare a cambiare la configurazione a mano.
Io ho messo da poco la 10.04 e certo qualcun'altro è più indicato di me per consigliarti il modo migliore.
Ti consiglio di aspettare qualche altra opinione per nn rischiare di fare casino.
Te cmq devi aver fatto qualcosa di strano. Non per brontolare, ma per capire cosa è successo: hai messo/levato dischi, spostato da un canale all'altro...?
- giulux
- Amministratore

- Messaggi: 25438
- Iscrizione: domenica 10 gennaio 2010, 12:17
- Desktop: ubuntu 18.04
- Distribuzione: Ubuntu 18.04.3 LTS x86_64
- Sesso: Maschile
- Località: Roma
Re: [Grub] Ubuntu 10.04 LTS problema con l'avvio
prova a riavviare scegliendo dal grub modalità ripristino e lì aggiorni grub
"Non è una segno di buona salute l'essere ben adattato ad una società malata". (Jiddu Krishnarmurti)
Re: [Grub] Ubuntu 10.04 LTS problema con l'avvio
No, l'ho installato e ha fatto così da subito :-\Te cmq devi aver fatto qualcosa di strano. Non per brontolare, ma per capire cosa è successo: hai messo/levato dischi, spostato da un canale all'altro...?
Già provato, la situazione resta invariata...prova a riavviare scegliendo dal grub modalità ripristino e lì aggiorni grub
Ok aspetto altre opinioni, speriamo arrivino ^^''
Re: [Grub] Ubuntu 10.04 LTS problema con l'avvio
Ma una partizione con quell'uuid da qualche parte c'è o c'era almeno al momento della configurazione di grub. Un disco esterno o una chiavetta usb? Una partizione cancellata?Ga ha scritto:No, l'ho installato e ha fatto così da subito :-\Te cmq devi aver fatto qualcosa di strano. Non per brontolare, ma per capire cosa è successo: hai messo/levato dischi, spostato da un canale all'altro...?
Già provato, la situazione resta invariata...prova a riavviare scegliendo dal grub modalità ripristino e lì aggiorni grub
Ok aspetto altre opinioni, speriamo arrivino ^^''
Aspettiamo altri xchè a parte questo ti funziona tutto perciò nn rischiamo.
Se poi nn ci sono altri suggerimenti vedo di aiutarti.
Re: [Grub] Ubuntu 10.04 LTS problema con l'avvio
Ook, va benissimo, aspettiamo 
uhm, no non c'erano dischi esterni o usb etc... altre partizioni, uhm non ne ho idea
uhm, no non c'erano dischi esterni o usb etc... altre partizioni, uhm non ne ho idea
- giulux
- Amministratore

- Messaggi: 25438
- Iscrizione: domenica 10 gennaio 2010, 12:17
- Desktop: ubuntu 18.04
- Distribuzione: Ubuntu 18.04.3 LTS x86_64
- Sesso: Maschile
- Località: Roma
Re: [Grub] Ubuntu 10.04 LTS problema con l'avvio
fai nel terminale e posta il contenuto del file mettendolo tra le parentesi quadre che ti appaiono cliccando su '#' sopra le faccine
Codice: Seleziona tutto
gedit /boot/grub/grub.cfg"Non è una segno di buona salute l'essere ben adattato ad una società malata". (Jiddu Krishnarmurti)
- steff
- Moderatore Globale

- Messaggi: 40345
- Iscrizione: domenica 18 febbraio 2007, 19:48
- Desktop: LXQt+labwc
- Distribuzione: Arch; Debian; Ubuntu Server
- Sesso: Maschile
- Località: Toscana
- Contatti:
Re: [Grub] Ubuntu 10.04 LTS problema con l'avvio
Dal risultato di blkid non hai altre partizioni la q uale uuid cominciano con 09b58...
mistero. Ma hai provato un?
mistero. Ma hai provato un
Codice: Seleziona tutto
sudo update-grubHai fatto un backup oggi? Ieri?? Quando???
La Documentazione da consultare e la FAQ sul uso del forum
Sistemi: LXQt - semplice, modulare e configurabile + *ubuntu in Vbox
La Documentazione da consultare e la FAQ sul uso del forum
Sistemi: LXQt - semplice, modulare e configurabile + *ubuntu in Vbox
Re: [Grub] Ubuntu 10.04 LTS problema con l'avvio
Per Giul:
Per Steff
Si già provato, ma niente
Codice: Seleziona tutto
#
# 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='(hd0,1)'
search --no-floppy --fs-uuid --set 7ce67d16-c1a4-4ccc-b468-bdbdca7b6f3e
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 7ce67d16-c1a4-4ccc-b468-bdbdca7b6f3e
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='(hd0,1)'
search --no-floppy --fs-uuid --set 7ce67d16-c1a4-4ccc-b468-bdbdca7b6f3e
linux /boot/vmlinuz-2.6.32-24-generic root=UUID=7ce67d16-c1a4-4ccc-b468-bdbdca7b6f3e ro quiet splashrootdelay=8
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='(hd0,1)'
search --no-floppy --fs-uuid --set 7ce67d16-c1a4-4ccc-b468-bdbdca7b6f3e
echo 'Caricamento Linux 2.6.32-24-generic...'
linux /boot/vmlinuz-2.6.32-24-generic root=UUID=7ce67d16-c1a4-4ccc-b468-bdbdca7b6f3e ro single
echo 'Caricamento ramdisk iniziale...'
initrd /boot/initrd.img-2.6.32-24-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 7ce67d16-c1a4-4ccc-b468-bdbdca7b6f3e
linux16 /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
insmod ext2
set root='(hd0,1)'
search --no-floppy --fs-uuid --set 7ce67d16-c1a4-4ccc-b468-bdbdca7b6f3e
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 ###Si già provato, ma niente
- steff
- Moderatore Globale

- Messaggi: 40345
- Iscrizione: domenica 18 febbraio 2007, 19:48
- Desktop: LXQt+labwc
- Distribuzione: Arch; Debian; Ubuntu Server
- Sesso: Maschile
- Località: Toscana
- Contatti:
Re: [Grub] Ubuntu 10.04 LTS problema con l'avvio
Come ho detto: mistero 
anche nel file nessun riferimento a quella uuid fantasma ???
anche nel file nessun riferimento a quella uuid fantasma ???
Hai fatto un backup oggi? Ieri?? Quando???
La Documentazione da consultare e la FAQ sul uso del forum
Sistemi: LXQt - semplice, modulare e configurabile + *ubuntu in Vbox
La Documentazione da consultare e la FAQ sul uso del forum
Sistemi: LXQt - semplice, modulare e configurabile + *ubuntu in Vbox
- giulux
- Amministratore

- Messaggi: 25438
- Iscrizione: domenica 10 gennaio 2010, 12:17
- Desktop: ubuntu 18.04
- Distribuzione: Ubuntu 18.04.3 LTS x86_64
- Sesso: Maschile
- Località: Roma
Re: [Grub] Ubuntu 10.04 LTS problema con l'avvio
e se provassimo un sudo grub-install e un sudo update-grub da cdlive?
"Non è una segno di buona salute l'essere ben adattato ad una società malata". (Jiddu Krishnarmurti)
Re: [Grub] Ubuntu 10.04 LTS problema con l'avvio
Questo e il risultato da CDLIVE
waaaaaaaaaaaaaaaaaaaa >:( :'(
Codice: Seleziona tutto
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.
ubuntu@ubuntu:~$ sudo grub/install
sudo: grub/install: command not found
ubuntu@ubuntu:~$ sudo grub-install
install_device not specified.
Usage: grub-install [OPTION] install_device
Install GRUB on your drive.
-h, --help print this message and exit
-v, --version print the version information and exit
--modules=MODULES pre-load specified modules MODULES
--root-directory=DIR install GRUB images under the directory DIR
instead of the root directory
--grub-setup=FILE use FILE as grub-setup
--grub-mkimage=FILE use FILE as grub-mkimage
--grub-probe=FILE use FILE as grub-probe
--no-floppy do not probe any floppy drive
--recheck probe a device map even if it already exists
--force install even if problems are detected
--disk-module=MODULE disk module to use
INSTALL_DEVICE can be a GRUB device name or a system device filename.
grub-install copies GRUB images into /boot/grub (or /grub on NetBSD and
OpenBSD), and uses grub-setup to install grub into the boot sector.
If the --root-directory option is used, then grub-install will copy
images into the operating system installation rooted at that directory.
Report bugs to <bug-grub@gnu.org>.
ubuntu@ubuntu:~$ update-grub
/usr/sbin/grub-mkconfig: You must run this as root
ubuntu@ubuntu:~$ sudo /i
sudo: /i: command not found
ubuntu@ubuntu:~$ sudo -i
root@ubuntu:~# update-grub
/usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?).
root@ubuntu:~# grub-install
install_device not specified.
Usage: grub-install [OPTION] install_device
Install GRUB on your drive.
-h, --help print this message and exit
-v, --version print the version information and exit
--modules=MODULES pre-load specified modules MODULES
--root-directory=DIR install GRUB images under the directory DIR
instead of the root directory
--grub-setup=FILE use FILE as grub-setup
--grub-mkimage=FILE use FILE as grub-mkimage
--grub-probe=FILE use FILE as grub-probe
--no-floppy do not probe any floppy drive
--recheck probe a device map even if it already exists
--force install even if problems are detected
--disk-module=MODULE disk module to use
INSTALL_DEVICE can be a GRUB device name or a system device filename.
grub-install copies GRUB images into /boot/grub (or /grub on NetBSD and
OpenBSD), and uses grub-setup to install grub into the boot sector.
If the --root-directory option is used, then grub-install will copy
images into the operating system installation rooted at that directory.
Report bugs to <bug-grub@gnu.org>.
Ultima modifica di Ga il venerdì 24 settembre 2010, 13:17, modificato 1 volta in totale.
Chi c’è in linea
Visualizzano questa sezione: 0 utenti iscritti e 8 ospiti