Fixed Problem occured in my Ubuntu 10.04

Hello Friends,

Yesterday due to power cut, my computer powered off suddenly. Absence of UPS & Improper Shutdown makes my system to problem. When i tried to boot in Ubuntu 10.04 it has provided some errors like:  😯

failed: Invalid argument
mount: mounting /sys on /root/sys 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
mount: mounting /proc on /root/proc failed: No such file or directory
Target file system doesn’t have /sbin/init
No init found. Try passing init= bootargBusybox v1.13.3 (Ubuntu 1:1.13.3-1ubuntu7) built-in shell (ash)
Enter ‘help’ for a list of built-in commands
(initramfs) _

Here the cursors blinked for user input, i couldn’t use any commands there. Obviously some inbuilt commands are worked but it is not useful to recover that problem.

💡 I thought that we can clear the problem by checking the file system. On that time I had only Ubuntu 10.10, so boot that as live cd. I did the fsck command it also threw some errors

e2fsck 1.41.12 (17-May-2010)
fsck.ext4: Device or resource busy while trying to open /dev/sde1
Filesystem mounted or opened exclusively by another program?

I was totally helpless at that position, later i  googled for 1 hour. At the time of morning 2’0 clock, i got the solution that Ubuntu 10.10 is having a Bug on fsck command. So, it wont works in some cases after seeing that i was reluctance. x-(

Then i copied Ubuntu 9.10 in CD and booted as Live CD. Fixed my problem with fsck command.

The Command which i used is…

$ sudo fdisk -l

(For Selecting the Filesystem, partition will be in this format Ex: /dev/sda)

$ sudo fsck -f /dev/sda

(filesystem check on filesystem partition no. -f is used for force checking)

Now, it will prompt for <y>Yes? to fix problem give yes to all continuously until the command stop prompting input from user.

$ sudo fsck  -f -y /dev/sda

(-y is used for automating yes, it assigns yes to all…Silent Mode)

Now my system is working perfect 🙂

Thank You. 🙂

With Regards,
V. Balakrishnan.

 

Advertisements

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s