LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (http://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Ubuntu 10.10 boot problem (http://www.linuxquestions.org/questions/ubuntu-63/ubuntu-10-10-boot-problem-865763/)

biske 03-01-2011 11:52 AM

Ubuntu 10.10 boot problem
 
I have critical battery, it's always on 1%. Today the power went down so i tried to shutdown computer. I clicked on Shutdown, it asked me if i am sure and that was it.
But when power was on i tried to turn on computer but get error. It's blanc screen with some text. Here is text at the end:

Code:

[    2.993976] [<>]
...
[    2.993976] [<c02ac866>] ? ext4_get_sb+0x26/0x30
[    2.993976] [<c02b1630>] ? ext4_fill_super+0x0/0x1a40
[    2.993976] [<c021b3b4>] ? vfs_kern_mount+0x74/0x1c0
[    2.993976] [<c022fae3>] ? get_fs_type+0x33/0xb0
[    2.993976] [<c021b55e>] ? do_kern_mount+0x3e/0xe0
[    2.993976] [<c0232c5c>] ? do_mount+0x1dc/0x220
[    2.993976] [<c0232d0b>] ? sysmount+0x6b/0xa0
[    2.993976] [<c05ca5d4>] ? syscall_call+0x7/0xb
[    2.993976] Code: 00 55 89 c7 56 53 e8 b3 76 26 00 8b 5f 04 b8 ff ff ff ff 8b 77 08 eb 1c 8d b6 00 00 00 00 8b 0c 85 c0 57 81 c0 8b 57 14 <8b> 14 0a 89  d1  c1 f9 1f 01 d3 aa ce 8d 48 11 a1 6c a3 5d c0 ba
[    2.993976] EIP: [<c03629fa>] __percpu_counter_sum+0x2a/0x70 SS:ESP  0068:f69dbd60
[    2.993976] CR2: 0000000001b44000
[    3.007101] ---[end trace 06b0f3cc266da82e]---
[    3.007342] firewire_core: created device fw0: GUID 374fc00021735070, S400
Killed
mount: mounting /dev on /root/dev failde: 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 filesystem doesn't have requested /sbin/init.
No init found. Try passing init= bootarg.

BusyBox v1.15.3 (Ubuntu 1:1.15.3-1ubuntu5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

(initramfs)


What to do to fix this?

rokytnji 03-01-2011 12:04 PM

If me. I would boot up My Ubuntu 10.10 Live CD. Open Gparted (if not installed, install it). Run a check on installed Ubuntu 10.10 Partition. Make sure you installed Ubuntu 10.10 Partition is unmounted before running a check.

check (right click in Gparted) = fsck

I don't run Ubuntu 10.10 though and use Gparted when available.

biske 03-01-2011 02:07 PM

Quote:

Originally Posted by rokytnji (Post 4275345)
If me. I would boot up My Ubuntu 10.10 Live CD. Open Gparted (if not installed, install it). Run a check on installed Ubuntu 10.10 Partition. Make sure you installed Ubuntu 10.10 Partition is unmounted before running a check.

check (right click in Gparted) = fsck

I don't run Ubuntu 10.10 though and use Gparted when available.

When I run gparted from Ubuntu 10.10 live cd i get error and i saved it. Here is content of this file:

Code:

GParted 0.6.2

Libparted 2.3
Check and repair file system (ext4) on /dev/sda2  00:00:00    ( ERROR )
           
calibrate /dev/sda2  00:00:00    ( SUCCESS )
           
path: /dev/sda2
start: 37929465
end: 72694124
size: 34764660 (16.58 GiB)
check file system on /dev/sda2 for errors and (if possible) fix them  00:00:00    ( ERROR )
           
e2fsck -f -y -v /dev/sda2
           
Filesystem mounted or opened exclusively by another program?
e2fsck 1.41.12 (17-May-2010)
e2fsck: Device or resource busy while trying to open /dev/sda2

========================================

I didn't mounted any partition. I tried to umount /dev/sda2 but it tells me that this partition is not mounted..What to do?

biske 03-01-2011 04:35 PM

I solved this problem. I found solution for this problem. Look at this link: https://bugs.launchpad.net/ubuntu/+s...ev/+bug/668561

In short i downloaded Slax and ran this command:
Code:

e2fsck -y -f -v /dev/sda2

rokytnji 03-01-2011 10:45 PM

Gave you a thanks for posting solution. I told you I don't run Ubuntu 10.10 so was not sure it would work for you as live session, but glad Slax worked out for you.

umerlqt 05-21-2012 08:27 AM

fsck: Device or resource busy while trying to open /dev/sda1
 
I was a victim of "Target filesystem doesn't have /sbin/init". I tried using fsck, but it didn't work because of the following problem.*

fsck: Device or resource busy while trying to open /dev/sda1
Filesystem mounted or opened exclusively by another program?

So here is the solution:

boot from live ubuntu cd.

->remove the first inode.

Quote:

sudo debugfs -w /dev/sda1
debugfs 1.41.11 (14-Mar-2010)
debugfs: clri <8>
debugfs: quit
->Restart into live cd again. and do

Quote:

sudo fsck -yv /dev/sda1
It will work this time.*

Cheers

Induktanssi 10-16-2012 06:04 AM

Basing on Biske's reply...
I ran Knoppix from Live USB.
Terminal: sudo gparted
unmount /dev/sda1
Terminal: e2fsck -y -f -v /dev/sda2

Reboot and Ubuntu is back alive...

Thanks to all!


All times are GMT -5. The time now is 06:27 AM.