No init found (SOLVED)

HI Guys

A few nights ago my Grand-Daughter was trying to play some online game which kept crashing at one point it froze the Laptop completely so she cold booted, on reboot the GRUB menu showed up (which it has never done before as there is only one OS installed) but when she selected Peppermint 4 it stalls with some sinister error messages (see screenshot) I’ve tried different kernels and recovery mode but it stalls with the same error message each time.

I’m not to concerned about this so if it’s likely to be a nightmare to sort out it wouldn’t be worth wasting anyones time as Peppermint 5 is due for release soon and I intend to upgrade to that anyway, I just thought I’d report this incase there’s an easy fix or if someone else has the problem

Many thanks

Graeme

The cold reboot more than likely caused some filesystem corruption.
Try to run fsck from a Live-CD/Live-USB:
Identify partitions

sudo fdisk -l

Make sure they are unmounted:

for n in /dev/sda* ; do umount $n ; done

then run fsck on them (substitute X to suit):

e2fsck /dev/sdaX

or fix an hard drive related issue called bad blocks you may have (this will take a long time).

e2fsck -cy /dev/sdaX

Reboot after it is done to test it.

Hi SeZO

Thanks for your advice

I’m having a few problems getting the laptop to boot from a live usb, I’m burning another one now, once I get it booted I’ll try your suggestions and post back

Many thanks

Graeme

elementary@elementary:~$ sudo fdisk -l

Disk /dev/sda: 60.0 GB, 60011642880 bytes
255 heads, 63 sectors/track, 7296 cylinders, total 117210240 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00027b13

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *        2048   115130367    57564160   83  Linux
/dev/sda2       115132414   117209087     1038337    5  Extended
/dev/sda5       115132416   117209087     1038336   82  Linux swap / Solaris

Disk /dev/sdb: 16.4 GB, 16358768640 bytes
215 heads, 18 sectors/track, 8256 cylinders, total 31950720 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000dc3b3

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *          48    31950719    15975336    c  W95 FAT32 (LBA)
elementary@elementary:~$ for n in /dev/sda1 ; do umount $n ; done
umount: /dev/sda1 is not mounted (according to mtab)
elementary@elementary:~$ [b]for n in /dev/sda1 ; do umount $n ; done[/b] umount: /dev/sda1 is not mounted (according to mtab)

That line should be:

for n in /dev/sda* ; do umount $n ; done

but it may not be necessary if none o the partitions are mounted.

You can continue to the fsck line:

HI SeZo

this sorted it

e2fsck /dev/sdaX

Sorry about messing up the first command i thought I had to substitute the * for the partition number

But all’s well that ends well :slight_smile:

Many thanks

Graeme

Out of interest, what filesystem are you running on that root partition?

Hi chemicalfan

Out of interest, what filesystem are you running on that root partition?

EXT4

Graeme