Home > grub problems, ubuntu > initramfs, BusyBox console ubuntu error

initramfs, BusyBox console ubuntu error

I had a problem with my ubuntu, one day crashed and I saw only a black screen with (initramfs) as a prompt.

The problem was grub has lost track of where your operating system is located.

When the grub appears you have to press c, to enter in grub console mode. Then press ls to see the partitions you have, and also to know which is the partition of your ubuntu operating system. To identify which was the partition use:

ls (hdX,Y)  // x is the drive number, and y the partition

To identify which one is the partition, I saw the filesystem in the description, the one that show me ext2 was where my operating system is installed.

Then follow the next steps, (X and Y depend of your drive and partition):

grub:>> set prefix=(hdX,Y)/boot/grub 
grub:>> set root=(hdX,Y)
grub:>> set
grub:>> ls /boot
grub:>> insmod /boot/grub/linux.mod
grub:>> linux /vmlinuz root=/dev/sdXY ro  // x could be a or b or c, and y a number in my case was sda5 
grub:>> initrd /initrd.img 
grub:>> boot

If this works and get log in into your ubuntu session, before restart write this in a console:

sudo update-grub
I have found the solution of this error in the next thread
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: