问题:
when I boot into ubuntu I get this error
[mount: mounting /dev /root/dev failed: no such file or directory]
[mount: mounting /dev /root/sys failed: no such file or directory]
[mount: mounting /dev /root/proc failed: no such file or directory]
[Target filesystem doesn't have /sbin/init.]
[No init found. Try passing init= bootarg]
[BusyBox v1.13.3 (Ubuntu 1:1.13.3-1ubuntu11) built-in shell (ash)]
[Enter 'Help' for a list of built-in commands.]
(initramfs)
解决方法:
I did the sudo fsck /dev/sda2 command in the terminal
fsck: Device or resource busy while trying to open /dev/sda2 Filesystem mounted or opened exclusively by another program?
where sda2 is my partition number but to no avail..finally I've solved the problem and now my Ubuntu 10.10 is running smoothly again.
Here is what I did:
Download Gparted from http://sourceforge.net/projects/gpar...3.iso/download
- Burn it into a CD and boot from it.
- Now run the sudo fsck /dev/sdaX where X is the number of your partition in which you have installed Ubuntu (as it was 2 in my case)
- Since you have run this command from the Gparted Live CD,the Filesystem gets mounted automatically and what follows after the fsck command is a series of prompts that can be answered yes by pressing the Enter key
- Complete the steps above and then restart your system (dont forget to change the boot sequence back to your HDD from CD)
该方式, 实际验证确认问题已解!
参考: