E
E
Edward2017-03-20 02:46:23
linux
Edward, 2017-03-20 02:46:23

Linux how to restore boot (busybox)?

Hello. There is a problem. I installed Linux on the flash drive via VMware, not LiveCD (but mounted the flash drive as an HDD and CD-ROM iso file LIVE CD). Then, in the BIOS, VMware changed the boot priority to HDD and earned Linux on a 32 GB flash drive. Deleted the virtual machine. I created a new one and mounted only a flash drive as an HDD (without an iso file), everything started and works.
But when I chose to boot from a USB flash drive on the laptop, GRUB was successful and then it hung in BusyBox.

mount /dev/sda2 on /root failed no such file or directory
mount: mounting /dev on /root/dev failed: No such file or directory
mount: mounting / sys/ on root/sys failed: No such file or directory
run-init current directory on the same filesystem as the root error 0
Target filesystem doesn't have requested  /sbin/init.
No init found. Try passing init= boot arg

already did
sudo dumpe2fs /dev/sda2 | grep superblock
sudo fsck -b 32768 /dev/sda2 -y

Who can help?
checked successfully but the problem remained. I ran the check with VMware.
PS. A little about what I want. The flash drive is divided into 2 volumes, one NTFS, the second ext3. In order to be able to transfer files from Windows.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Maxim Moseychuk, 2017-03-20
@fshp

Target filesystem doesn't have requested /sbin/init.
no init found. Try passing init=boot arg

Try passing the init=/lib/systemd/systemd parameter to the kernel

P
Puma Thailand, 2017-03-20
@opium

so you have everything monitored not there but in the /root folder for some reason

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question