You are not logged in.

#1 2012-06-05 08:00:23

trusktr
Banned
From: .earth
Registered: 2010-02-18
Posts: 907
Website

System doesn't boot after upgrade.

Does it have to do with systems?
Here's a screenshot of the error:
http://x.iaesr.com/~/img/Arch/booterror.jpg


joe@trusktr.io - joe at true skater dot io.

Offline

#2 2012-06-05 08:31:23

barko
Member
From: SLV
Registered: 2011-05-31
Posts: 72

Re: System doesn't boot after upgrade.

1) Boot with Live CD, and do this:fdisk -l and check your /root and /boot partitions (where do you have them)
2) Check this message: klik it may help you. And check this wiki
3) After that you should run: mkinitcpio -p linux

Last edited by barko (2012-06-05 12:37:33)

Offline

#3 2012-06-05 13:21:56

ImNtReal
Member
Registered: 2011-09-26
Posts: 17

Re: System doesn't boot after upgrade.

If you use labels in fstab, it caused me issues.

Offline

#4 2012-06-05 16:40:51

trusktr
Banned
From: .earth
Registered: 2010-02-18
Posts: 907
Website

Re: System doesn't boot after upgrade.

@barko So just to double check: I should mount only / and /boot the chroot? Then after using fdisk I mkinitcpio will automatically compile into my root? (I'm new to chroot).

@ImNtReal I'm using UUIDs in fstab. Hmmm...


joe@trusktr.io - joe at true skater dot io.

Offline

#5 2012-06-05 16:58:56

barko
Member
From: SLV
Registered: 2011-05-31
Posts: 72

Re: System doesn't boot after upgrade.

Ok, here we go:

1) boot from CD downloaded from here

2) fdisk -l (you will see partitions, check them for root and boot)

After that do this:

mkdir /mnt/arch
mount /dev/sdaX /mnt/arch
cd /mnt/arch
mount /dev/sdaY boot/
mount -t proc proc proc/
mount -t sysfs sys sys/
mount -o bind /dev dev/
chroot /mnt/arch /bin/bash

And when you are in chroot, run this:

mkinitcpio -p linux

Reboot and you will be ok. smile

Last edited by barko (2012-06-05 17:39:26)

Offline

#6 2012-06-05 17:33:09

trusktr
Banned
From: .earth
Registered: 2010-02-18
Posts: 907
Website

Re: System doesn't boot after upgrade.

Thanks @barko. I'll try it when I get home... I also have another system that hasn't been updated yet. How do I update it and make sure this doesn't happen? On the system that is messed up, I tried the 'mkinitcpio...' command like the news says to do on the Arch homepage, but that obviously didn't work.

I think pacman should have some special mechanism of retrieving info on which packages to upgrade first or in which order... That way whenever a system update happens, pacman will automatically upgrade those packages in order and output a special message at the end of upgrade if more steps are needed.


joe@trusktr.io - joe at true skater dot io.

Offline

#7 2012-06-05 17:51:01

ANOKNUSA
Member
Registered: 2010-10-22
Posts: 2,141

Re: System doesn't boot after upgrade.

EDIT: Question already answered.

Last edited by ANOKNUSA (2012-06-05 17:53:18)

Offline

Board footer

Powered by FluxBB