You are not logged in.

#1 2012-02-20 00:54:55

momus
Member
Registered: 2011-09-13
Posts: 12

System broken after Upgrade

Hello,

i have not run a system Upgrade (pacman -Suy) for a long time and after doing so last night, i am left with a broken system.

Boot process simply stops complaining about missing devices in /dev.
Appending single to the kernel argument lets me enter a root shell but i dont know what is wrong with my system.
Its kinda strange, in /dev i almost have no files ( just zero, null, console and few more ) but no disk for example
During boot i can see that sda is detected and /dev/sda7 ( root partition ) is even mounted, without being in /dev ?!

So i guess the main problem is that /dev is emptied after some part of the boot process. Could this be a problem
with udev?

Help is really appreciated!

Regas,
Manuel

Offline

#2 2012-02-20 01:38:43

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: System broken after Upgrade

Not really a whole lot of info to go on here. Can you post your /etc/inittab? I sense you aren't actually using our initscripts (quick-init?)

Offline

#3 2012-02-20 11:30:30

momus
Member
Registered: 2011-09-13
Posts: 12

Re: System broken after Upgrade

Hello,

i am not sure what information to post. How can i help?

The initab looks like this

#
# /etc/inittab
#

#  Runlevels:
#    0    Halt
#    1(S)	Single-user
#    2    Not used
#    3    Multi-user
#    4    Not used
#    5    X11
#    6    Reboot

## Only one of the following two lines can be uncommented!
# Boot to console
#id:3:initdefault:
# Boot to X11
id:5:initdefault:

rc::sysinit:/etc/rc.sysinit
rs:S1:wait:/etc/rc.single
rm:2345:wait:/etc/rc.multi
rh:06:wait:/etc/rc.shutdown
su:S:wait:/sbin/sulogin -p

# -8 options fixes umlauts problem on login
c1:2345:respawn:/sbin/agetty -8 -s 38400 tty1 linux
c2:2345:respawn:/sbin/agetty -8 -s 38400 tty2 linux
c3:2345:respawn:/sbin/agetty -8 -s 38400 tty3 linux
c4:2345:respawn:/sbin/agetty -8 -s 38400 tty4 linux
c5:2345:respawn:/sbin/agetty -8 -s 38400 tty5 linux
c6:2345:respawn:/sbin/agetty -8 -s 38400 tty6 linux

# Serial Virtual Console for KVM and others VMs
#s0:2345:respawn:/sbin/agetty -8 -s 9600 ttyS0 linux

# Hypervisor Virtual Console for Xen and KVM
#h0:2345:respawn:/sbin/agetty -8 -s 38400 hvc0 linux

ca::ctrlaltdel:/sbin/shutdown -t3 -r now

# Example lines for starting a login manager
#x:5:respawn:/usr/bin/xdm -nodaemon
#x:5:respawn:/usr/sbin/gdm -nodaemon
#x:5:respawn:/usr/bin/kdm -nodaemon
x:5:respawn:/usr/bin/slim >/dev/null 2>&1

# End of file 

Offline

#4 2012-02-20 14:15:17

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: System broken after Upgrade

Post the output of "findmnt" and your /etc/fstab.

/dev can't be emptied, but you can mount something over it which makes it look like it's missing things...

is this the stock kernel?

Offline

#5 2012-02-20 16:00:44

hdhzero
Member
Registered: 2011-07-22
Posts: 6

Re: System broken after Upgrade

Same problem with me. I installed a program that requires libpng 1.5 and everything else on my pc uses libpng 1.4. The result: everything broak and I was left with a terminal without X.

I decided to upgrade the system instead of downgrade libpng. The upgrade was successful, at least I thought.. When I rebooted the system it appeared the message saying it could not find /dev/disk/by-uuid.

Fstab is blank and when I run findmnt I get a segmentation fault.

There's no inittab at /etc. Only fstab and mtab
The shell I'm running has [rootfs

oh my God... Is it me paying my sins for taking to long to update the system? =/

Offline

#6 2012-02-20 16:31:53

hdhzero
Member
Registered: 2011-07-22
Posts: 6

Re: System broken after Upgrade

https://bbs.archlinux.org/viewtopic.php?id=135288 read solution posted by pineapple-biku.

It worked for me

Offline

#7 2012-02-20 17:54:47

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: System broken after Upgrade

hdhzero wrote:

https://bbs.archlinux.org/viewtopic.php?id=135288 read solution posted by pineapple-biku.

It worked for me

Your problem is unrelated... OP seems to be stating that he gets past mounting root and leaves early userspace.

Offline

Board footer

Powered by FluxBB