Ubuntu Server boot crash : No init found. Try passing init= bootarg.
I noticed my Ubuntu 10.04 LTS x86 server crashed this morning and couldn't restart some services (mysqld, apache ...) as it complained about the file system being readonly. It is running as virtual machine on KVM.
I rebooted the server but it then it keeps stopping at the following screen:
mount: mounting /dev on /root/dev failed: No such file or directory
mount: mounting /sys on /root/sys failed: No such file or directory
mount: mounting /proc on /root/proc failed: No such file or directory
Target filesystem doesn't have /sbin/init.
No init found. Try passing init= bootarg.
Busybox v1.13.3 (Ubuntu 1:1.13.3-1ubuntu11) built-in shell (ash)
Enter 'help' for a list of built-in commands
I tried booting from a Live Ubuntu CD (Desktop 10.10) and run :
$sudo fdisk -l
Disk /dev/sda: 80.5 GB, 80530636800 bytes
255 heads, 63 sectors/track, 9790 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000bbcbb
Device Boot Start End Blocks Id System
/dev/sda1 * 1 32 248832 83 Linux
Partition 1 does not end on cylinder boundary.
/dev/sda2 32 9791 78391297 5 Extended
/dev/sda5 32 9791 78391296 8e Linux LVM
$sudo fsck /dev/sda1
fsck from util-linux-ng 2.17.2
e2fsck 1.41.12 (17-May-2010)
/dev/sda1: clean, 218/124496 files, 62267/248832 blocks
I gave it another try with :
$sudo e2fsck -C0 -p -v -f /dev/sda1
218 inodes used (0.18%)
6 non-contiguous files (2.8%)
1 non-contiguous directory (0.5%)
# of inodes with ind/dind/tind blocks: 33/12/0
62267 blocks used (25.02%)
0 bad blocks
0 large files
205 regular files
0 character device files
0 block device files
0 symbolic links (0 fast symbolic links)
I rebooted the server after that but the problem is still there.
I can mount /dev/sda1 and look inside but I though I should ask for some guidance from you first.
Now I believe there is something wrong with the GRUB bootloader as I read on some forums, but I don't know how to fix it ...
Last edited by dreamlander; April 11th, 2011 at 02:51 PM.
Tags for this Thread