failed to execute /init
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
grub2 (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
I installed Ubuntu 13.10 _x64bit by this method last night (10/6/2013) and ended up with a kernel panic with the message "failed to execute /init" and here is how I installed it:
1) Using 13.04 on another partition of the same hard drive, made using unetbootin a flash drive with the latest daily Ubuntu _x64 image on it.
2) Booted on the USB drive, selected to do an "other partitioning" scheme, and set / to 60 Gigs of the remaining free space, and swap to 4 GB. Then went through the install with the download from the Internet selected. When it was done and said it was ready to reboot, I tried, but got the error, which I was able to read using the boot into recovery mode option.
I enclosed a photo of the kernel panic screen.
The directories and files in the root partition look similar to my other working 13.04 partition with the exception of .old files. The /sbin/init is there.
Here is what the initrd.img has within it:
$ lsinitramfs initrd.img | grep init init-top/ udev init-top/ all_generic_ ide init-top/ blacklist init-top/ ORDER init-bottom/ udev init-bottom/ ORDER 3.11.0- 11-generic/ kernel/ drivers/ scsi/initio. ko ene-ub6250/ sd_init2. bin ene-ub6250/ sd_init1. bin ene-ub6250/ ms_init. bin
initrd.img
bin/run-init
scripts/init-top
scripts/
scripts/
scripts/
scripts/
scripts/init-bottom
scripts/
scripts/
init
lib/modules/
lib/firmware/
lib/firmware/
lib/firmware/
conf/initramfs.conf
I followed the ideas for using the command line of grub at:
https:/ /lists. ubuntu. com/archives/ ubuntu- users/2013- August/ 271141. html
and set seemed all okay as did ls. Then I did:
linux /boot/vmlinuz- 3.10.0. 6-generic root=/dev/sda3 ro debug
and
initrd /boot/initrd. img-3.10. 0.6-generic
and
boot
(Note: these versions are not mine. They came from the web page. I can't copy and paste if I can't boot. :-))
The same result ensued.
$ ldd sbin/init
not a dynamic executable
I went looking for the libraries needed using
frohro@ frohro- e6410:/ media/frohro/ 5b901d56- 389b-48b1- a911-08dab37d22 8d$ readelf -d sbin/init | grep NEEDED
0x0000000000000001 (NEEDED) Shared library: [libnih.so.1]
0x0000000000000001 (NEEDED) Shared library: [libnih-dbus.so.1]
0x0000000000000001 (NEEDED) Shared library: [libdbus-1.so.3]
0x0000000000000001 (NEEDED) Shared library: [libjson-c.so.2]
0x0000000000000001 (NEEDED) Shared library: [librt.so.1]
0x0000000000000001 (NEEDED) Shared library: [libc.so.6]
and found them all
ls lib/x86_ 64-linux- gnu/ x86-64. so.2 libnsl.so.1 compat- 2.17.so files-2. 17.so so.4.0. 5 libnss_files.so.2 hesiod- 2.17.so nisplus- 2.17.so 3g.so.841. 0.0 -2.17.so libpamc.so.0 .so.1 libpamc.so.0.82.1 misc.so. 0.82.0
ld-2.17.so libnsl-2.17.so
ld-linux-
libacl.so.1 libnss_
libacl.so.1.1.0 libnss_compat.so.2
libanl-2.17.so libnss_dns-2.17.so
libanl.so.1 libnss_dns.so.2
libatasmart.so.4 libnss_
libatasmart.
libattr.so.1 libnss_
libattr.so.1.1.0 libnss_hesiod.so.2
libaudit.so.1 libnss_nis-2.17.so
libaudit.so.1.0.0 libnss_
libblkid.so.1 libnss_nisplus.so.2
libblkid.so.1.1.0 libnss_nis.so.2
libbrlapi.so.0.6 libntfs-3g.so.841
libbrlapi.so.0.6.0 libntfs-
libBrokenLocale
libBrokenLocale
libbsd.so.0 libpam_misc.so.0
libbsd.so.0.6.0 libpam_
libbz2.so.1 libpam.so.0
libbz2.so.1.0 libpam.so.0.83.0
libbz2.so.1.0.4 libparted.so.0
libc-2.17.so libparted.so.0.0.1
libcap.so.2 libpci.so.3
libcap.so.2.22 libpci.so.3.1.9
libcidn-2.17.so libpcprofile.so
libcidn.so.1 libpcre.so.3
libcom_err.so.2 libpcre.so.3.13.1
libcom_err.so.2.1 libpcsclite.so.1...