Busybox initramfs again and again

48,548

Solution 1

Lets first check your file system for errors.

For Ubuntu 17.10 or older...

  • boot to the GRUB menu
  • choose Advanced Options
  • choose Recovery mode
  • choose Root access
  • at the # prompt, type sudo fsck -f /
  • repeat the fsck command if there were errors
  • type reboot

For Ubuntu 18.04 or newer... (or if the above steps don't work for you)...

  • boot to a Ubuntu Live DVD/USB in “Try Ubuntu” mode
  • open a terminal window by pressing Ctrl+Alt+T
  • type sudo fdisk -l
  • identify the /dev/sdXX device name for your "Linux Filesystem"
  • type sudo fsck -f /dev/sdXX, replacing sdXX with the number you found earlier
  • repeat the fsck command if there were errors
  • type reboot

Solution 2

first, run the command

blkid

then check the number of partitions

it will look like

/dev/numve2: UUID="kksgasjhgdjh36876" TYPE="ext4" PARTUUID="bdmdmd7-iuuyuy-89jlh" /dev/numve4: UUID="kksgasjhgdjh36876" TYPE="ext4" PARTUUID="bjjlo-iuuyuy-89jlh"

now just run the command for all partitions:

fsck /dev/numve2 -y
fsck /dev/numve4 -y

after done for all partition just run :

reboot

and choose ubuntu it will work!!

Share:
48,548

Related videos on Youtube

Mohit Kurani
Author by

Mohit Kurani

Updated on September 18, 2022

Comments

  • Mohit Kurani
    Mohit Kurani over 1 year

    I have ubuntu 16.04 installed.. whenever I boot the system and try to run ubuntu, busy box pops up. I do a manual check ---fsck -yf /dev/sda12--- and then reboot.. now the ubuntu boots properly but then after few minutes i am not able to save/write anything on ubuntu(says the the disk is read only) nor can i open my other partitions which i was able to access few minutes ago. I again restart my system and the same busybox appears. The cycle goes on and on. What should i do.. is my hard drive completely corrupted?

    • Boris Hamanov
      Boris Hamanov about 6 years
      See my recent answer to askubuntu.com/questions/1019790/… and see if it applies to your situation.
    • Mohit Kurani
      Mohit Kurani about 6 years
      I have already done that.. also i did not install any windows driver
    • Boris Hamanov
      Boris Hamanov about 6 years
      What kind of primary disk do you use... hard disk or SSD? Open the Disks application and look at the SMART data to see if you're having a hardware problem. Do any of your other installed OS's have a problem also?
    • Mohit Kurani
      Mohit Kurani about 6 years
      A mistake from my side.. i did not run the command in recovery mode but in the normal mode... everything works perfectly now... thanks for the help, you are great :D
  • Ankur Loriya
    Ankur Loriya over 5 years
    Thank you for share the solution it really helped me lots. Suddenly some directory was showing mount system/file system is read-only. I rebooted and it has fallen into initramfs
  • Juan C. Roldán
    Juan C. Roldán about 5 years
    This helped a lot after I shrank my root Ubuntu 18.04 partition
  • binpy
    binpy almost 4 years
    this worked for my Ubuntu 18.04