Pagina 1 di 2
Dopo aggiornamento Ubuntu non parte
Inviato: sabato 25 aprile 2009, 9:53
da zd2771
Dopo aver fatto l'aggiornamento Ubuntu non mi parte più, questo è quello che mi viene fuori :
Boot from (hdo,6) ext3 dbf08804-07d7-4099-a846-5a1ebf6a781e
Starting up....
Loading, please wait ....
Gave up waiting for root device. Common problems:
-boot arg (cat /proc/cmdline)
-check rootdelay= (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/dbf08804-07d7-4099-a846-5a1ebf6a781e does not exist. Dropping to a shell!
BusyBox V1.10.2 (ubuntu 1:1.10.2-ubuntu7) buil-in shell (ash)
Enter 'help' for a list of built-in commands
Arrivati a questo punto però la tastiera non risponde ai comandi.
Si può provare a fare qualcosa ? In questo momento ho fatto partire Ubuntu da cd.
Re: Dopo aggiornamento Ubuntu non parte
Inviato: sabato 25 aprile 2009, 10:33
da steff
da cd live monta la partizione del sistema e posta il file menu.lst in /media/disk/boot/grub
e anche
Re: Dopo aggiornamento Ubuntu non parte
Inviato: sabato 25 aprile 2009, 10:39
da zd2771
Eccolo :
# 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
## 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=dbf08804-07d7-4099-a846-5a1ebf6a781e ro
## default grub root device
## e.g. groot=(hd0,0)
# groot=dbf08804-07d7-4099-a846-5a1ebf6a781e
## 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.10, kernel 2.6.27-11-generic
uuid dbf08804-07d7-4099-a846-5a1ebf6a781e
kernel /boot/vmlinuz-2.6.27-11-generic root=UUID=dbf08804-07d7-4099-a846-5a1ebf6a781e ro quiet splash
initrd /boot/initrd.img-2.6.27-11-generic
quiet
title Ubuntu 8.10, kernel 2.6.27-11-generic (recovery mode)
uuid dbf08804-07d7-4099-a846-5a1ebf6a781e
kernel /boot/vmlinuz-2.6.27-11-generic root=UUID=dbf08804-07d7-4099-a846-5a1ebf6a781e ro single
initrd /boot/initrd.img-2.6.27-11-generic
title Ubuntu 8.10, memtest86+
uuid dbf08804-07d7-4099-a846-5a1ebf6a781e
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 a non-linux OS
# on /dev/sda1
title Windows NT/2000/XP (loader)
root (hd0,0)
savedefault
makeactive
chainloader +1
Re: Dopo aggiornamento Ubuntu non parte
Inviato: sabato 25 aprile 2009, 10:42
da steff
a) manca il risultato del comando
b) prossima volta incolla le cose tra tag "codice", il bottone cancelletto sopra le faccine, per la leggibilità, grazie
Re: Dopo aggiornamento Ubuntu non parte
Inviato: sabato 25 aprile 2009, 10:49
da zd2771
Scusa ! ecco il resto :
Codice: Seleziona tutto
total 0
lrwxrwxrwx 1 root root 10 2009-04-25 10:31 147464517464381E -> ../../sda5
lrwxrwxrwx 1 root root 10 2009-04-25 10:31 CC14A5F314A5E0A6 -> ../../sda1
lrwxrwxrwx 1 root root 10 2009-04-25 10:31 d889697f-db8b-4473-9060-00a15838e458 -> ../../sdb1
lrwxrwxrwx 1 root root 10 2009-04-25 10:31 dbf08804-07d7-4099-a846-5a1ebf6a781e -> ../../sda7
lrwxrwxrwx 1 root root 10 2009-04-25 10:31 f96173c6-29ac-46f3-a457-d0a7a64e89e5 -> ../../sda6
Re: Dopo aggiornamento Ubuntu non parte
Inviato: sabato 25 aprile 2009, 11:15
da steff
Sembra a posto, ma posta anche
puoi fare una prova nel frattempo: al boot selezioni la prima voce, premi "e", vai alla riga "kernel-2.6....quiet splash", premi "e", vai in fondo e scrivi rootdelay=8, enter, "b" per boot.
Re: Dopo aggiornamento Ubuntu non parte
Inviato: sabato 25 aprile 2009, 11:23
da zd2771
Ecco il comando fdisk
Codice: Seleziona tutto
Disk /dev/sda: 203.9 GB, 203928109056 bytes
255 heads, 63 sectors/track, 24792 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xc354c354
Device Boot Start End Blocks Id System
/dev/sda1 * 1 2550 20482843+ 7 HPFS/NTFS
/dev/sda2 2551 24791 178650832+ f W95 Ext'd (LBA)
/dev/sda5 5101 24791 158167926 7 HPFS/NTFS
/dev/sda6 2551 2811 2096419+ 82 Linux swap / Solaris
/dev/sda7 2812 5100 18386361 83 Linux
Partition table entries are not in disk order
Disk /dev/sdb: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x7f209c0c
Device Boot Start End Blocks Id System
/dev/sdb1 1 38914 312568832 83 Linux
Provo anche a fare come mi hai scritto e poi ti scrivo cosa è successo. Grazie.
Re: Dopo aggiornamento Ubuntu non parte
Inviato: sabato 25 aprile 2009, 11:36
da Kerio
stesso discorso per me, solo che la mia tastiera (è una PS/2, forse è quello) risponde al prompt di busybox
questo è successo dopo l'aggiornamento da intrepid a jaunty (fatto tramite interfaccia grafica)
ora sto con il disco di intrepid, ma pare tutto a posto
la MoBo non è una Intel GMA (il procio è un amd64 dual core)
che posso fare a parte provare a reinstallare intrepid o jaunty?
(a proposito, reinstallando si perdono i dati? non ho fatto - purtroppo - più partizioni)
Codice: Seleziona tutto
ubuntu@ubuntu:~$ sudo fdisk -l
Disk /dev/sda: 200.0 GB, 200049647616 bytes
255 heads, 63 sectors/track, 24321 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xace22e9e
Device Boot Start End Blocks Id System
/dev/sda1 * 1 23948 192362278+ 83 Linux
/dev/sda2 23949 24321 2996122+ 5 Extended
/dev/sda5 23949 24321 2996091 82 Linux swap / Solaris
Codice: Seleziona tutto
ubuntu@ubuntu:~$ ls -l /dev/disk/by-uuid/
total 0
lrwxrwxrwx 1 root root 10 2009-04-25 09:09 6166aebf-0ff5-48d7-bcfd-f3d097937b1d -> ../../sda5
lrwxrwxrwx 1 root root 10 2009-04-25 09:09 f4efde7d-9109-4f6f-a13c-b5f337e9538c -> ../../sda1
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 3
## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
hiddenmenu
# 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
#
#
# 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=f4efde7d-9109-4f6f-a13c-b5f337e9538c ro
## default grub root device
## e.g. groot=(hd0,0)
# groot=f4efde7d-9109-4f6f-a13c-b5f337e9538c
## 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.10, kernel 2.6.27-11-generic
uuid f4efde7d-9109-4f6f-a13c-b5f337e9538c
kernel /boot/vmlinuz-2.6.27-11-generic root=UUID=f4efde7d-9109-4f6f-a13c-b5f337e9538c ro quiet splash
initrd /boot/initrd.img-2.6.27-11-generic
quiet
title Ubuntu 8.10, kernel 2.6.27-11-generic (recovery mode)
uuid f4efde7d-9109-4f6f-a13c-b5f337e9538c
kernel /boot/vmlinuz-2.6.27-11-generic root=UUID=f4efde7d-9109-4f6f-a13c-b5f337e9538c ro single
initrd /boot/initrd.img-2.6.27-11-generic
title Ubuntu 8.10, memtest86+
uuid f4efde7d-9109-4f6f-a13c-b5f337e9538c
kernel /boot/memtest86+.bin
quiet
### END DEBIAN AUTOMAGIC KERNELS LIST
Re: Dopo aggiornamento Ubuntu non parte
Inviato: sabato 25 aprile 2009, 11:41
da zd2771
Ho provato ad aggiungere "rootdelay=8," ma non è cambiato nulla.
Se devo reinstallare tutto mi conviene installare ubuntu 8.10 o farmi un nuovo cd con la versione 9.04 ?
Re: Dopo aggiornamento Ubuntu non parte
Inviato: sabato 25 aprile 2009, 11:42
da [lost]-Divilinux
ALERT! /dev/disk/by-uuid/dbf08804-07d7-4099-a846-5a1ebf6a781e does not exist. Dropping to a shell!
Per qualche oscuro motivo e' cambiato l'UUID della partizione. Sempre da live cd modifica /boot/grub/menu.lst ed al posto dell'UUID inserisci il device /dev/sda1. Al successivo riavvio verra' creato in automatico l'UUID corretto.
Quindi diventa cosi':
title Ubuntu 8.10, kernel 2.6.27-11-generic
uuid f4efde7d-9109-4f6f-a13c-b5f337e9538c
kernel /boot/vmlinuz-2.6.27-11-generic root=/dev/sda1 ro quiet splash
initrd /boot/initrd.img-2.6.27-11-generic
quiet
title Ubuntu 8.10, kernel 2.6.27-11-generic (recovery mode)
uuid f4efde7d-9109-4f6f-a13c-b5f337e9538c
kernel /boot/vmlinuz-2.6.27-11-generic root=/dev/sda1 ro single
initrd /boot/initrd.img-2.6.27-11-generic
Re: Dopo aggiornamento Ubuntu non parte
Inviato: sabato 25 aprile 2009, 12:00
da Kerio
se fosse così facile...

sembra quasi che dal ramdisk non riconosca il disco sata >:(
ma reinstallando su una installazione di ubuntu comunque si perdono i file, vero?
Re: Dopo aggiornamento Ubuntu non parte
Inviato: sabato 25 aprile 2009, 12:03
da [lost]-Divilinux
se fosse così facile...
Ma e' facile..basta avviare con un liveCD, montare la partizione e modificare quel file.
sembra quasi che dal ramdisk non riconosca il disco sata
Humm..se non ci fossero, nella ramdisk, i driver per il tuo disco l'errore sarebbe un altro..e non verrebbe montato restituendoti un kernel panic.
ma reinstallando su una installazione di ubuntu comunque si perdono i file, vero?
Dipende. Se hai installato ubuntu in un unica partizione li perdi si i dati. Se hai installato la /home e la / separati allora non li perdi perche' basta reinstallare il sistema nella /.
Re: Dopo aggiornamento Ubuntu non parte
Inviato: sabato 25 aprile 2009, 12:08
da Kerio
era per dire che se fosse bastato impostare la root a /dev/sda1 l'avrei già risolto sto problema
/dev/sda1 proprio non esiste nel /dev/ del ramdisk, non so perchè >:(
vi prego trovate una soluzione che non implichi ricopiare TUTTO e reinstallare da capo, che sto sistema l'ho installato per mia zia 4 giorni fa (passando da windows xp a intrepid) e ora DAVVERO non mi va di rifare tutta la stessa pippa per reinstallare jaunty
edit: anche perchè l'UUID del disco è rimasto quello, e corrisponde in menu.lst
Re: Dopo aggiornamento Ubuntu non parte
Inviato: sabato 25 aprile 2009, 12:14
da zd2771
[lost]-Divilinux ha scritto:
ALERT! /dev/disk/by-uuid/dbf08804-07d7-4099-a846-5a1ebf6a781e does not exist. Dropping to a shell!
Per qualche oscuro motivo e' cambiato l'UUID della partizione. Sempre da live cd modifica /boot/grub/menu.lst ed al posto dell'UUID inserisci il device /dev/sda1. Al successivo riavvio verra' creato in automatico l'UUID corretto.
Quindi diventa cosi':
title Ubuntu 8.10, kernel 2.6.27-11-generic
uuid f4efde7d-9109-4f6f-a13c-b5f337e9538c
kernel /boot/vmlinuz-2.6.27-11-generic root=/dev/sda1 ro quiet splash
initrd /boot/initrd.img-2.6.27-11-generic
quiet
title Ubuntu 8.10, kernel 2.6.27-11-generic (recovery mode)
uuid f4efde7d-9109-4f6f-a13c-b5f337e9538c
kernel /boot/vmlinuz-2.6.27-11-generic root=/dev/sda1 ro single
initrd /boot/initrd.img-2.6.27-11-generic
Nel mio caso che ubuntu è installato in /dev/sda7 devo mettere questo o lascio sempre /dev/sda1
Re: Dopo aggiornamento Ubuntu non parte
Inviato: sabato 25 aprile 2009, 12:26
da Kerio
zd, non devi fare nulla, quella non è una soluzione
devilinux si è confuso con l'UUID di /dev/sda1, dove c'è installato windows
l'uuid in menu.lst corrisponde con quello del disco, sei incappato nel mio stesso identico problema

Re: Dopo aggiornamento Ubuntu non parte
Inviato: sabato 25 aprile 2009, 12:29
da steff
il problema è che l'uuid NON ha cambiato...
title Ubuntu 8.10, kernel 2.6.27-11-generic
root (hd0,6)
kernel /boot/vmlinuz-2.6.27-11-generic root=/dev/sda7 ro quiet splash
initrd /boot/initrd.img-2.6.27-11-generic
quiet
Re: Dopo aggiornamento Ubuntu non parte
Inviato: sabato 25 aprile 2009, 12:35
da [lost]-Divilinux
zd, non devi fare nulla, quella non è una soluzione
devilinux si è confuso con l'UUID di /dev/sda1, dove c'è installato windows
Veramente rispondevo a te e al tuo output di fdisk, dove l'installazione di linux e' in /dev/sda1
edit: anche perchè l'UUID del disco è rimasto quello, e corrisponde in menu.lst
E allora non e' quello il problema. Avvia col livecd e prova a rigenerare la ramdisk (magari si e' perso qualche modulo) con
Nel mio caso che ubuntu è installato in /dev/sda7 devo mettere questo o lascio sempre /dev/sda1
[pazienza mode on]Certo che no, se l'installazione e' in /dev/sda7 metterai /dev/sda7 [pazienza mode off]
Re: Dopo aggiornamento Ubuntu non parte
Inviato: sabato 25 aprile 2009, 12:39
da zd2771
mettendo il comando sudo update-initframfs mi da questo
Codice: Seleziona tutto
update-initramfs is disabled since running on a live CD
Re: Dopo aggiornamento Ubuntu non parte
Inviato: sabato 25 aprile 2009, 12:40
da Kerio
non farebbe casini coi moduli del kernel che gira in quel momento?
oppure dovrei fare un chroot /media/disk/ prima?
Re: Dopo aggiornamento Ubuntu non parte
Inviato: sabato 25 aprile 2009, 12:43
da [lost]-Divilinux
non farebbe casini coi moduli del kernel che gira in quel momento?
devi chrottare /media/disk una volta montato, altrimenti rigeneri la ramdisk del livecd..ed ottieni l'errore di zd2771