Autor Tópico: erro boot Ubuntu 9.04 após atualização da versão [CONCLUÍDO]  (Lida 4398 vezes)

Offline gersko

  • Usuário Ubuntu
  • *
  • Mensagens: 6
    • Ver perfil
olá pessoal,,,
tenho um probl e gostaria mto q me ajudassem. atualizei o Ubuntu 8.04 para o Ubuntu 9.04 Jaunty Jackalope, e agora está com probl no booting. Qdo entro p dar o boot eu seleciono o OS no grub e ele inicia e depois simplsmente pára na tela preta, e fica mostrando isso:

* Setting kernel variables...
...done.
* Checking root file system...
...done.
* Checking file system...
...done.
* Mounting local file systems...
...done.
* Activating swapfile swap...
_

e aí pára nisso e posso deixar o dia inteiro q não acontece nada. se eu der um ctrl+alt+del aí ele inicia na nova versão. mas toda vez q eu abro é a mesma coisa.
« Última modificação: 26 de Maio de 2009, 11:16 por gersko »

Offline jomafras

  • Usuário Ubuntu
  • *
  • Mensagens: 2.009
  • 17.04 Zesty Zapus
    • Ver perfil
Re: erro boot Ubuntu 9.04 após atualização da versão
« Resposta #1 Online: 23 de Maio de 2009, 20:45 »
Mostra aí o seu menu.lst :
Código: [Selecionar]
sudo gedit /boot/grub/menu.lstE o resultado de :
Código: [Selecionar]
blkid
O Ubuntu sem dúvida é a melhor Distro.
Pesquise primeiro... só depois abra um tópico.
Canal do YouTube - Blog

Offline gersko

  • Usuário Ubuntu
  • *
  • Mensagens: 6
    • Ver perfil
Re: erro boot Ubuntu 9.04 após atualização da versão
« Resposta #2 Online: 24 de Maio de 2009, 14:21 »
Código: [Selecionar]
# 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=3C0F-18D9 loop=/ubuntu/disks/root.disk ro ROOTFLAGS=sync

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

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

## specify if running in Xen domU or have grub detect automatically
## update-grub will ignore non-xen kernels when running in domU and vice versa
## e.g. indomU=detect
##      indomU=true
##      indomU=false
# indomU=detect

## 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 9.04, kernel 2.6.28-11-generic
root ()/ubuntu/disks
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=3C0F-18D9 loop=/ubuntu/disks/root.disk ro ROOTFLAGS=sync quiet splash
initrd /boot/initrd.img-2.6.28-11-generic

title Ubuntu 9.04, kernel 2.6.28-11-generic (recovery mode)
root ()/ubuntu/disks
kernel /boot/vmlinuz-2.6.28-11-generic root=UUID=3C0F-18D9 loop=/ubuntu/disks/root.disk ro ROOTFLAGS=sync  single
initrd /boot/initrd.img-2.6.28-11-generic

title Ubuntu 9.04, memtest86+
root ()/ubuntu/disks
kernel /boot/memtest86+.bin

### 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 Microsoft Windows XP Professional
root (hd0,0)
savedefault
chainloader +1
« Última modificação: 25 de Maio de 2009, 09:38 por gersko »

Offline gersko

  • Usuário Ubuntu
  • *
  • Mensagens: 6
    • Ver perfil
Re: erro boot Ubuntu 9.04 após atualização da versão
« Resposta #3 Online: 24 de Maio de 2009, 14:27 »
Código: [Selecionar]
usuario@ubuntu:~$ sudo blkid
/dev/loop0: UUID="9001872d-f7e4-4bd3-a999-321747176f61" TYPE="ext3"
/dev/loop1: UUID="18a3b07b-bdb1-4234-a4d5-b5507a7b3e17" TYPE="ext3"
/dev/loop2: UUID="c003ff27-5d25-4ca4-a02e-d55742418846" TYPE="ext3"
/dev/sda1: LABEL="HD" UUID="2A64-17FC" TYPE="vfat"
/dev/sda5: UUID="3C0F-18D9" TYPE="vfat"
usuario@ubuntu:~$
« Última modificação: 25 de Maio de 2009, 09:37 por gersko »

Offline jomafras

  • Usuário Ubuntu
  • *
  • Mensagens: 2.009
  • 17.04 Zesty Zapus
    • Ver perfil
Re: erro boot Ubuntu 9.04 após atualização da versão
« Resposta #4 Online: 24 de Maio de 2009, 20:11 »
Está havendo diferença de UUID :
title      Ubuntu 9.04, kernel 2.6.28-11-generic
root      ()/ubuntu/disks
kernel      /boot/vmlinuz-2.6.28-11-generic root=UUID=3C0F-18D9 loop=/ubuntu/disks/root.disk ro ROOTFLAGS=sync quiet splash

Deveria ser uma dessas :
/dev/loop0: UUID="9001872d-f7e4-4bd3-a999-321747176f61" TYPE="ext3"
/dev/loop1: UUID="18a3b07b-bdb1-4234-a4d5-b5507a7b3e17" TYPE="ext3"
/dev/loop2: UUID="c003ff27-5d25-4ca4-a02e-d55742418846" TYPE="ext3"

Vc ainda está usando o kernel 2.6.28-11-generic mas o 9.04 já está no 2.6.26-12.
Pode ser que atualizando o kernel vc corrija isso.
Entre no Synaptic em Configurações > Repositórios e em Programas do Ubuntu marque todos, em Programas de terceiros marque http://Http://archive.canonical.com/ubuntu jaunty partner e, em Atualizações deixe só Ataulizações sem suporte desmarcada.
Depois mande atualizar em Sistema > Administração > Gerenciador de Atualizações.
Se continuar vc tem que mudar a UUID no menu.lst.
O Ubuntu sem dúvida é a melhor Distro.
Pesquise primeiro... só depois abra um tópico.
Canal do YouTube - Blog

Offline gersko

  • Usuário Ubuntu
  • *
  • Mensagens: 6
    • Ver perfil
Re: erro boot Ubuntu 9.04 após atualização da versão
« Resposta #5 Online: 25 de Maio de 2009, 17:06 »
já fiz a atualização para kernel 2.6.28-12, reiniciei porém o probl persiste. andei fazendo umas consultas e resolvi tentar a sorte mudando o UUID por conta no menu.lst. fui na tentativa e optei por um dos citados abaixo (/dev/loop2), e aí que piorou de vez. agora ele não abre mesmo e diz que esse não existe. o que eu faço para reverter isto?
se alguém puder dar uma luz agradeceria!
Está havendo diferença de UUID :
title      Ubuntu 9.04, kernel 2.6.28-11-generic
root      ()/ubuntu/disks
kernel      /boot/vmlinuz-2.6.28-11-generic root=UUID=3C0F-18D9 loop=/ubuntu/disks/root.disk ro ROOTFLAGS=sync quiet splash

Deveria ser uma dessas :
/dev/loop0: UUID="9001872d-f7e4-4bd3-a999-321747176f61" TYPE="ext3"
/dev/loop1: UUID="18a3b07b-bdb1-4234-a4d5-b5507a7b3e17" TYPE="ext3"
/dev/loop2: UUID="c003ff27-5d25-4ca4-a02e-d55742418846" TYPE="ext3"

Vc ainda está usando o kernel 2.6.28-11-generic mas o 9.04 já está no 2.6.26-12.
Pode ser que atualizando o kernel vc corrija isso.
Entre no Synaptic em Configurações > Repositórios e em Programas do Ubuntu marque todos, em Programas de terceiros marque http://Http://archive.canonical.com/ubuntu jaunty partner e, em Atualizações deixe só Ataulizações sem suporte desmarcada.
Depois mande atualizar em Sistema > Administração > Gerenciador de Atualizações.
Se continuar vc tem que mudar a UUID no menu.lst.

Offline jomafras

  • Usuário Ubuntu
  • *
  • Mensagens: 2.009
  • 17.04 Zesty Zapus
    • Ver perfil
Re: erro boot Ubuntu 9.04 após atualização da versão
« Resposta #6 Online: 25 de Maio de 2009, 19:32 »
Vamos tentar de outro modo :
Veja o resultado do seu fdisk :
Código: [Selecionar]
sudo fdisk -l
O meu está assim e a partição do Ubuntu é a /dev/sda5 (onde está o menu.lst).
Disco /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cilindros of 16065 * 512 = 8225280 bytes
Disk identifier: 0x7402e25b

Dispositivo Boot Início Fim Blocos Id Sistema
/dev/sda1   *           1        1912    15358108+   7  HPFS ou NTFS
/dev/sda2            1913        6964    40580190    7  HPFS ou NTFS
/dev/sda3            6965       19457   100350022+   f  Win95 (LBA) Partição Extendida
/dev/sda5            6965        8878    15374173+  83  Linux
/dev/sda6            8879        8982      835348+  82  Linux swap / Solaris
/dev/sda7            8983       10003     8201151   83  Linux
/dev/sda8           10004       19457    75939223+   7  HPFS ou NTFS

Disco /dev/sdb: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cilindros of 16065 * 512 = 8225280 bytes
Disk identifier: 0xfc28fc28
Dispositivo Boot Início Fim Blocos Id Sistema
/dev/sdb1               1        4865    39078081    7  HPFS ou NTFS

Identifique  qual é a partição onde está instalado o seu Ubuntu.


O meu menu.lst está assim (ainda estou com o kernel 2.6.28-11) :
title      Ubuntu 9.04, kernel 2.6.28-11-generic
uuid      ed1b7852-c08c-4ef3-a182-957bf4afb2f0
kernel   /boot/vmlinuz-2.6.28-11-generic root=UUID=ed1b7852-c08c-4ef3-a182-957bf4afb2f0 ro locale=pt_BR quiet splash
initrd      /boot/initrd.img-2.6.28-11-generic
quiet

Entre em Sistema de Arquivos na pasta /dev/disk/by-uuid e veja qual a uuid da partição do seu Ubuntu :
Veja na imagem abaixo que a uuid é a mesma do menu.lst.
Coloque a uuid correspondente a partição do seu Ubuntu no seu menu.lst seguindo o exemplo acima.


Veja também se a sua pasta  se a sua pasta /boot/grub está assim :

 
O Ubuntu sem dúvida é a melhor Distro.
Pesquise primeiro... só depois abra um tópico.
Canal do YouTube - Blog

Offline gersko

  • Usuário Ubuntu
  • *
  • Mensagens: 6
    • Ver perfil
Re: erro boot Ubuntu 9.04 após atualização da versão
« Resposta #7 Online: 25 de Maio de 2009, 20:20 »
Bom, agora não teve jeito... to tendo que postar pelo WinXP mesmo. A tela preta agora apresenta:

Booting 'Ubuntu 9.04, kernel 2.6.28-12 generic'
Filesystem type is fat, partition type 0x0B
The current working directory (i.e., the relative path) is / ubunt/disks
[linux-bzImage, setup=0x3000, size=0x350630]
[linux-initrd @ 0x3f82c000, 0x773c29 bytes]
Loading, please wait...
Gave up, waiting for root device. Common problems:
- Boot args (cat /proc/cmd/ine)
   - 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/c003ff27-5d25-4ca4-a02e-d55742418846 does not exist. Dropping to a shell!

BusyBox v.1.10.2 (Ubuntu 1:1.10.2-2ubuntu7) built-in shell (ash)
Enter 'help' for a list of built-in commands.
(initramfs) _


Offline jomafras

  • Usuário Ubuntu
  • *
  • Mensagens: 2.009
  • 17.04 Zesty Zapus
    • Ver perfil
Re: erro boot Ubuntu 9.04 após atualização da versão
« Resposta #8 Online: 25 de Maio de 2009, 20:40 »
Vc tem um Live CD aí?
Com ele vc pode abrir o fdisk :
Código: [Selecionar]
sudo fdisk -lOu ainda postar a imagem do gParted (particionador)
Código: [Selecionar]
sudo gpartedDaí talvez aja alguma saída.
O Ubuntu sem dúvida é a melhor Distro.
Pesquise primeiro... só depois abra um tópico.
Canal do YouTube - Blog

Offline gersko

  • Usuário Ubuntu
  • *
  • Mensagens: 6
    • Ver perfil
Re: erro boot Ubuntu 9.04 após atualização da versão
« Resposta #9 Online: 25 de Maio de 2009, 20:57 »
Aqui, agora, não tenho comigo. Emprestei para um sobrinho, mas é do 8.04 hardy dvd.
Ainda gostaria de insistir tentando, mas me parece que está me restando pouca saída, rssss.
Obrigado pela sua ajuda. Continuarei neste post até que não tenha mais outras alternativas.
« Última modificação: 26 de Maio de 2009, 11:35 por gersko »

Offline jomafras

  • Usuário Ubuntu
  • *
  • Mensagens: 2.009
  • 17.04 Zesty Zapus
    • Ver perfil
Re: erro boot Ubuntu 9.04 após atualização da versão
« Resposta #10 Online: 25 de Maio de 2009, 21:11 »
O fato é que as atualizações de versões nem sempre funcionam bem.
O melhor e mais seguro é a instalação limpa.
Muitos aqui do Fórum fazem o upgrade mas, eu prefiro instalar do zero.
Pra vc ter uma idéia veja onde foi parar :
Initramfs.
 
O Ubuntu sem dúvida é a melhor Distro.
Pesquise primeiro... só depois abra um tópico.
Canal do YouTube - Blog