You are not logged in.

#1 2013-08-24 01:49:53

shm
Member
Registered: 2013-08-24
Posts: 4

Crash after upgrade

Hey guys,

I'm in throuble! I did an upgrade to the last kernel yesterday... and after that i use normally the laptop for about an hour.
But after that, for some reason i was forced to shutdown the computer by pressing the power button and now... that's what happens.
It won't boot up...

Error
http://imageshack.us/a/img20/8871/8dzj.jpg
Grub cmdline
http://imageshack.us/a/img708/9334/hg7e.jpg

Can someone help me?

EDIT: big images ~fukawi2

Last edited by fukawi2 (2013-08-24 02:05:28)

Offline

#2 2013-08-24 02:06:19

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,238
Website

Re: Crash after upgrade

shm, welcome to our forums smile

Please read up on our Forum Etiquette, particularly in regards to posting large images: https://wiki.archlinux.org/index.php/Fo … s_and_Code

Offline

#3 2013-08-24 02:10:36

shm
Member
Registered: 2013-08-24
Posts: 4

Re: Crash after upgrade

Thanks fukawi2,

I think that those images will be auto resized. Sorry.
Btw, about the post... do you know how to solve it ? :-D

Offline

#4 2013-08-24 04:30:41

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Crash after upgrade

chroot in, and look at pacman's log. Complete the upgrade, rebuild your intird.

In future, try and avoid powering off mid-operation...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2013-08-24 23:48:32

shm
Member
Registered: 2013-08-24
Posts: 4

Re: Crash after upgrade

jasonwryan wrote:

chroot in, and look at pacman's log. Complete the upgrade, rebuild your intird.

In future, try and avoid powering off mid-operation...

Hey, thanks for the reply.

Can you explain a little bit ao to do it ?

I search a bit over the web and i find this:

# mount -o bind /proc /mount/point/proc
# mount -o bind /dev /mount/point/dev
# mount -o bind /dev/pts /mount/point/dev/pts
# mount -o bind /sys /mount/point/sys

chroot /mount/point /bin/bash

When i do: chroot /mount/point /bin/bash

I get an error that says "/bin/bash cannot execute that command" (something like that)

Can you explain me how to do it ?

Offline

#6 2013-08-25 00:09:45

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: Crash after upgrade

"something like that" doesn't help.

Offline

#7 2013-08-25 08:30:17

jrussell
Member
From: Cape Town, South Africa
Registered: 2012-08-16
Posts: 510

Re: Crash after upgrade

shm wrote:
jasonwryan wrote:

chroot in, and look at pacman's log. Complete the upgrade, rebuild your intird.

In future, try and avoid powering off mid-operation...

Hey, thanks for the reply.

Can you explain a little bit ao to do it ?

I search a bit over the web and i find this:

# mount -o bind /proc /mount/point/proc
# mount -o bind /dev /mount/point/dev
# mount -o bind /dev/pts /mount/point/dev/pts
# mount -o bind /sys /mount/point/sys

chroot /mount/point /bin/bash

When i do: chroot /mount/point /bin/bash

I get an error that says "/bin/bash cannot execute that command" (something like that)

Can you explain me how to do it ?

I think this is outdated, its best to stick with arch wikis as they are most up-to-date

This is what I think you need to do: ( you might want to wait for someone to confirm the order of 4 and 5, I don't think that order will matter?)

1) boot up using the live cd
2) What is your partition layout? (If everything is just on one partition, mount your root partition to /mnt like:

mount /dev/sd[letter][number] /mnt

3) chroot with:

arch-chroot /mnt

4) reinstall all your packages, run:

pacman -Qenq | pacman -S -

5) update

pacman -Syu

6) exit chroot and umount and reboot

exit
umount /mnt
reboot

Last edited by jrussell (2013-08-25 08:37:38)


bitcoin: 1G62YGRFkMDwhGr5T5YGovfsxLx44eZo7U

Offline

#8 2013-08-26 02:28:33

shm
Member
Registered: 2013-08-24
Posts: 4

Re: Crash after upgrade

Sorry for the dumb question, but... do i need to boot up with a arch live cd (because of arch-chroot command)? or i can use any linux live cd like ubuntu or something ?

Offline

#9 2013-08-26 02:30:03

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Crash after upgrade

Please look up how to chroot.  The arch-chroot command is just a script that makes this easy and takes care of mounting all the extras.

Offline

Board footer

Powered by FluxBB