You are not logged in.

#1 2013-06-11 21:11:08

jakunar
Member
Registered: 2011-12-08
Posts: 7

[SOLVED] Cannot boot after update mixed with personal screw-up

Hi everybody!

Today I updated my system, which indeed looked as if it worked fine. Probably it did, not sure.
How ever afterwards i wanted to shutdown my pc, but the system got stuckt while unmounting my "/home"-partition.
After a while which i Think was about 2-3 minutes I forced my laptop down, cause I had to go and thought.. who cares about /home.

When I got back and tried to boot my system, my pc rebooted after trying to "load initial ramdisk ... " without printing any errors I believe.

In my incredible moments of wisdom I tried to fix this by booting into an arch-install-system which i dded on a usbstick.
I mounted all of my partions at /mnt /mnt/home /mnt/var /mnt/boot at swapped on my swap.
Then I arch-chrooted into /mnt.

After that I tried to build my linux-kernel again by using

# mkinitcpio -p linux

which printed something like ".../modules is an invalid path" or something like that.. I don't remember really, sorry..

After doing that I had to leave again so i shutdown again.
Just right now i came back to pick up my problem.
When I try to boot now my boot fails with the following output.

Loading linux core repo kernel...
error: premature end of file/vmlinuz.
Loading inital ramdisk ...
error: you need to load the kernel first.

Press any key to continue...

I don't know what to do anymore.
Could someone help me fix my system, pls?

Thank you a lot in advance,
Jakunar

Last edited by jakunar (2013-06-11 23:03:26)

Offline

#2 2013-06-11 21:51:39

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

Re: [SOLVED] Cannot boot after update mixed with personal screw-up

Did you read the news, and get through the /usr merge?  Or did you just blindly update, not check for error messages, and then go on your way?

Offline

#3 2013-06-11 21:55:16

jakunar
Member
Registered: 2011-12-08
Posts: 7

Re: [SOLVED] Cannot boot after update mixed with personal screw-up

If you mean the "Binaries move to /usr/bin requiring update intervention" news, then I have to say that I followed the instructions accordingly last week.
If you mean something else I believe I should say something like.. uhhh..uhhh Didn't get that news.

Offline

#4 2013-06-11 21:57:20

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,741

Re: [SOLVED] Cannot boot after update mixed with personal screw-up

Ouch.  I think you are going to have to establish a chroot, mount your boot in the chroot, and build your initrd anew.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#5 2013-06-11 22:06:23

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

Re: [SOLVED] Cannot boot after update mixed with personal screw-up

jakunar wrote:

If you mean the "Binaries move to /usr/bin requiring update intervention" news, then I have to say that I followed the instructions accordingly last week.
If you mean something else I believe I should say something like.. uhhh..uhhh Didn't get that news.

Okay, just making sure, as it seems like 97% of the problems lately have been people coming to say that they borked their system because they didn't finish the update and decided to reboot.  (Then there is another 2% with the same problem, but only come to whine about how "unstable" they think Arch Linux is).

I think you should take ewallers advice above... but it sounds like you already tried chrooting to fix the initramfs.  There has been at least one other thread like this since 3.9.5-ARCH hit core, but I am not entiely sure if anythign ever came of it.  I thought surely that the OP of that must have not had his /boot mounted, but he tried over and over again assuing everyone that his /boot was indeed mounted.

Can you chroot (or just mount your system in the live media) and do "file -k /boot/vmlinuz-linux" and post the output?  Also you should probably compare the version is gives you back from that command with what you have in /usr/lib/modules.  The versions *should* hopefully match.  If they don't it means that your /boot wasn't mounted.  But otherwise, you may be suffering from the same thing as the other thread.

If all that fails, I would recommend chroot'ing and doing a downgrade on the kernel.  It is probably still in /var/cache/pacman/pkg.

Offline

#6 2013-06-11 23:02:50

jakunar
Member
Registered: 2011-12-08
Posts: 7

Re: [SOLVED] Cannot boot after update mixed with personal screw-up

Hm thank you both, no idead why I didn't try that before.

For who ever was dumb enough to do the same mistakes as I did and reads this post.

I solved my problem by booting into live media. Mounting my partions according to my system's hierarchy and arch-chroot into it.
then I simply let pacman do the work by trying to reinstall linux by typing:

# pacman -S linux

Afterwards pacman build the initram itself. Exit chroot and unmount all partions. Reboot.

Again thank you two for helping me. Have a nice day/evening/night (what ever fits you best).
Jakunar

Offline

Board footer

Powered by FluxBB