Você tentou usar apt-get
para (re) instalar o kernel?
Tente inicializar o Live CD ou USB que corresponde à sua instalação do Ubuntu, então chroot
e, em seguida, o comando abaixo.
apt-get -V install linux-generic linux-image-generic linux-headers-generic
-
Observação: Se o acima não funcionar, você também pode tentar
--reinstall
ou fazerremove
dos pacotes acima e tentarinstall
novamente.
Se none dos trabalhos acima, atualize sua pergunta com detalhes sobre como ela falhou.
A sugestão acima é baseada no que apt-get
fez para atualizar o kernel de uma instalação limpa do Ubuntu 12.04 LTS de 64 bits em uma máquina virtual. Os pacotes que apt-get
decidiram instalar para atualizar o kernel foram linux-generic
, linux-image-generic
e linux-headers-generic
.
Eu incluí abaixo a saída que recebi da execução do comando apt-get
acima, caso seja de qualquer possível uso.
Parece-me que vmlinuz-3.2.0-25-generic
e initrd.img-3.2.0-25-generic
foram gerados ao executar o update-initramfs
script durante o pós-processamento da instalação. Então, eu duvido que apenas copiar os arquivos de uma instalação para outra funcionaria, a menos que as instalações fossem idênticas (o suficiente).
irrational@VB64Too:~$ sudo apt-get -V install linux-generic linux-image-generic linux-headers-generic
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
linux-headers-3.2.0-25 (3.2.0-25.40)
linux-headers-3.2.0-25-generic (3.2.0-25.40)
linux-image-3.2.0-25-generic (3.2.0-25.40)
Suggested packages:
fdutils (5.5-20060227-5)
linux-doc-3.2.0 ()
linux-source-3.2.0 (3.2.0-25.40)
linux-tools (3.2.0.25.27)
The following NEW packages will be installed:
linux-headers-3.2.0-25 (3.2.0-25.40)
linux-headers-3.2.0-25-generic (3.2.0-25.40)
linux-image-3.2.0-25-generic (3.2.0-25.40)
The following packages will be upgraded:
linux-generic (3.2.0.23.25 => 3.2.0.25.27)
linux-headers-generic (3.2.0.23.25 => 3.2.0.25.27)
linux-image-generic (3.2.0.23.25 => 3.2.0.25.27)
3 upgraded, 3 newly installed, 0 to remove and 247 not upgraded.
Need to get 50.6 MB of archives.
After this operation, 216 MB of additional disk space will be used.
Do you want to continue [Y/n]?
Get:1 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main linux-image-3.2.0-25-generic amd64 3.2.0-25.40 [38.2 MB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main linux-generic amd64 3.2.0.25.27 [1,710 B]
Get:3 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main linux-image-generic amd64 3.2.0.25.27 [2,648 B]
Get:4 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main linux-headers-3.2.0-25 all 3.2.0-25.40 [11.4 MB]
Get:5 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main linux-headers-3.2.0-25-generic amd64 3.2.0-25.40 [958 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu/ precise-updates/main linux-headers-generic amd64 3.2.0.25.27 [2,644 B]
Fetched 50.6 MB in 36s (1,398 kB/s)
Selecting previously unselected package linux-image-3.2.0-25-generic.
(Reading database ... 141202 files and directories currently installed.)
Unpacking linux-image-3.2.0-25-generic (from .../linux-image-3.2.0-25-generic_3.2.0-25.40_amd64.deb) ...
Done.
Preparing to replace linux-generic 3.2.0.23.25 (using .../linux-generic_3.2.0.25.27_amd64.deb) ...
Unpacking replacement linux-generic ...
Preparing to replace linux-image-generic 3.2.0.23.25 (using .../linux-image-generic_3.2.0.25.27_amd64.deb) ...
Unpacking replacement linux-image-generic ...
Selecting previously unselected package linux-headers-3.2.0-25.
Unpacking linux-headers-3.2.0-25 (from .../linux-headers-3.2.0-25_3.2.0-25.40_all.deb) ...
Selecting previously unselected package linux-headers-3.2.0-25-generic.
Unpacking linux-headers-3.2.0-25-generic (from .../linux-headers-3.2.0-25-generic_3.2.0-25.40_amd64.deb) ...
Preparing to replace linux-headers-generic 3.2.0.23.25 (using .../linux-headers-generic_3.2.0.25.27_amd64.deb) ...
Unpacking replacement linux-headers-generic ...
Setting up linux-image-3.2.0-25-generic (3.2.0-25.40) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.2.0-25-generic /boot/vmlinuz-3.2.0-25-generic
update-initramfs: Generating /boot/initrd.img-3.2.0-25-generic
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.2.0-25-generic /boot/vmlinuz-3.2.0-25-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.2.0-25-generic /boot/vmlinuz-3.2.0-25-generic
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.2.0-25-generic /boot/vmlinuz-3.2.0-25-generic
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.2.0-25-generic
Found initrd image: /boot/initrd.img-3.2.0-25-generic
Found linux image: /boot/vmlinuz-3.2.0-23-generic
Found initrd image: /boot/initrd.img-3.2.0-23-generic
Found memtest86+ image: /boot/memtest86+.bin
Found Windows 7 (loader) on /dev/sda1
done
Setting up linux-image-generic (3.2.0.25.27) ...
Setting up linux-generic (3.2.0.25.27) ...
Setting up linux-headers-3.2.0-25 (3.2.0-25.40) ...
Setting up linux-headers-3.2.0-25-generic (3.2.0-25.40) ...
Setting up linux-headers-generic (3.2.0.25.27) ...
irrational@VB64Too:~$