[CentOS] Booting into a shell and skipping init

Ruslan Sivak

russ at vshift.com
Wed Jun 9 17:09:38 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm trying to boot into the shell of a XenServer 5.6 (I believe CentOS
5.5 underneath).  I added init=/bin/sh to the boot line, but I'm still
getting an error.  Here is the boot line:

 mboot.c32 /boot/xen.gz com2=57600,8n1 console=com2,vga dom0_mem=752M
lowmem_em
ergency_pool=1M crashkernel=64M at 32M --- /boot/vmlinuz-2.6-xen
root=LABEL=root-ju
aihdrs ro console=tty0 xencons=hvc console=hvc0 init=/bin/sh ---
/boot/initrd-2.
6-xen.img


And here's how it breaks:

Waiting for driver initialization.
Scanning and configuring dmraid supported devices
Creating root device.
Mounting root filesystem.
kjournald starting.  Commit interval 5 seconds
Setting up other filesystems.
Setting up new root fs
EXT3-fs: mounted filesystem with ordered data mode.
no fstab.sys, mounting internal defaults
Switching to new root and running init.
unmounting old /dev
unmounting old /proc
unmounting old /sys
/bin/bash: : No such file or directory
Kernel panic - not syncing: Attempted to kill init!


Any help would be appreciated.

Russ
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iD8DBQFMD8rSGUZBYlCheYcRAgBMAKCuVLVCLyjEba0ZyTI9fylUpC4mJQCff8KO
Esz9mJjSy8Gi/wopV0+9V7E=
=d90p
-----END PGP SIGNATURE-----



More information about the CentOS mailing list