Ubuntu: Target filesystem doesn & #39; t have/sbin/init (Slax solution), sbinslax

Source: Internet
Author: User

Ubuntu: Target filesystem doesn' t have/sbin/init (Slax solution), sbinslax

When the computer (Ubuntu) is restarted due to abnormal power failure or other reasons:

Killedmount: mounting /dev on /root/dev failed: No such file or directorymount: mounting /sys on /root/sys failed: No such file or directorymount: mounting /proc on /root/proc failed: No such file or directoryTarget filesystem doesn't have /sbin/initNo init found. Try passing init= bootarg
There is a problem with the file system and it cannot be mounted. Don't worry, there is a saving:

Some methods are to create a boot disk for Ubuntu and use the Ubuntu execution File System of the trial version for restoration. This USB flash drive may not be able to start successfully.

Here is a more reliable method, Slax. Slax is a convenient and portable Linux operating system that can be carried directly in a USB flash drive.

To solve the problem, follow these steps:

① Download Slax: http://www.slax.org/zhcn/download.php select 32 or 64zip

② After formatting your USB flash drive, decompress it to the root directory of the USB flash drive.

③ Double-click the/slax/boot/bootinst. bat creation wizard. After the Wizard is complete, you can use your USB flash drive to start Slax.

④ Set the bios to start from the USB flash drive. At this time, the stylish and sexy Slax will start.

⑤ Download a boot info script in the resource, address: http://download.csdn.net/detail/wu20093346/8065879

Copy the bootinfoscript-061.tar.gz file to the Slax desktop, decompress it, and Extract here.

7. Execute the Script: bash ~ /Desktop/boot_info_script.sh

Then, the table generates results.txt, open it, and read it.

Worker determines the partition in which your Ubuntu is located. If it is in sda1 or sda7

Then, run e2fsck-f-y-v/dev/sda1 or e2fsck-f-y-v/dev/sda7.

Close Slax, unplug the boot disk, and boot your Ubuntu system.


Ubuntu cannot be started

The setting in/etc/fstab is incorrect.
 
Ubuntu1010 cannot enter the graphic interface after forced power-off

Is wubi installed or independently? For independent installation, run the fsck command. Blog.sina.com.cn/s/blog_49f914ab0100hb0o.html

In this case, you can still start the ubuntu iso file with grub4dos boot under xp, enter the desktop, open the terminal, and run the fsck command as root.
 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.