kernel panic - not syncing: attempted to kill init! - under ubuntu 12.04 64 bits desktop OS

NoOp glgxg at sbcglobal.net
Mon Oct 29 06:41:48 UTC 2012


On 10/28/2012 01:42 AM, Nils Kassube wrote:
> Qiubo Su (David Su) wrote:
...
>> 
>> the options from the boot loader are as below:
>> 
>> Ubuntu with Linux 3.2.0-32-generic-pae
>> Ubuntu with Linux 3.2.0-32-generic-pae (recovery)
>> Previous Linux versions
>>  - Ubuntu with Linux 3.2.0-32-generic
>>  - Ubuntu with Linux 3.2.0-32-generic (recovery)
>> 
>> however, if boot from the "Ubuntu with Linux 3.2.0-32-generic" under
>> the "Previous Linux versions", it is fine
> 
> The generic-pae is a 32 bit kernel and the rest of your system is 64 bit 
> now. Therefore I think that you can't use the generic-pae kernel any 
> longer. I would suggest that you remove the generic-pae kernel from the 
> system because otherwise you will always find it again in the grub menu. 
> If you can't find with your package manager, delete the files 
> *-generic-pae from the /boot directory and run the command
> 
> sudo update-grub
> 
> to get a grub menu with only the generic kernel. If you use the package 
> manager to remove the generic-pae kernel, that command is not needed.
> 
> 
> Nils
> 

Yep. I just did an intall-in-place over a 32bit install to 64bit &
replicated:

$ sudo update-grub
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.2.0-32-generic-pae
Found initrd image: /boot/initrd.img-3.2.0-32-generic-pae
Found linux image: /boot/vmlinuz-3.2.0-32-generic
Found initrd image: /boot/initrd.img-3.2.0-32-generic
Found linux image: /boot/vmlinuz-3.2.0-31-generic-pae
Found initrd image: /boot/initrd.img-3.2.0-31-generic-pae
Found linux image: /boot/vmlinuz-3.2.0-30-generic-pae
Found initrd image: /boot/initrd.img-3.2.0-30-generic-pae
Found linux image: /boot/vmlinuz-3.2.0-29-generic-pae
Found initrd image: /boot/initrd.img-3.2.0-29-generic-pae
Found linux image: /boot/vmlinuz-3.2.0-29-generic
Found initrd image: /boot/initrd.img-3.2.0-29-generic
Found linux image: /boot/vmlinuz-3.2.0-23-generic-pae
Found initrd image: /boot/initrd.img-3.2.0-23-generic-pae
Found memtest86+ image: /boot/memtest86+.bin
Found Windows 7 (loader) on /dev/sda1
Found Windows 7 (loader) on /dev/sda2
Found Windows Recovery Environment (loader) on /dev/sda3
done

Had to go in and clear out the generic-pae kernels manually - they do
not show up in synpaptic.
$ sudo rm /boot/*generic-pae
$ sudo update grub






More information about the ubuntu-users mailing list