You are not logged in.
Hello,
I've successfully installed an encrypted Arch system, rebooted, went through a bunch of steps to configure my wifi, downloaded video drivers, did a full system update, etc. Then I rebooted, and got this:
http://data.imagup.com/12/1144482297.jpg
Please tell me this is fixable without reinstalling Arch again.
Thanks for any help.
Last edited by kalofet (2012-02-21 19:54:01)
Offline
Wihtout more information, it is difficult to be sure - but chrooting in will fix most things...
Paste your rc.conf and hooks line from mkinitcpio.conf for a start.
Offline
Thanks for the quick answer. Am I to find mkinitcpio.conf and rc.conf in the boot partition?
Because if they're in the root partition, then I'm not sure how to chroot into an encrypted file system.
Offline
They are in root. You need to open the encrypted device before chrooting:
# cryptsetup luksOpen /dev/sdx devicename# edit: also, if you are using LVM or anything else additional to the bog standard install, you might want to flag that as well...
Last edited by jasonwryan (2012-02-21 09:59:06)
Offline
Just using the bog standard encryption given with arch/setup.
Here's the hooks:
HOOKS="base udev autodetect pata scsi sata keymap encrypt filesystems usbinput" and here is rc.conf
#
# /etc/rc.conf - Main Configuration for Arch Linux
#
# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# DAEMON_LOCALE: If set to 'yes', use $LOCALE as the locale during daemon
# startup and during the boot process. If set to 'no', the C locale is used.
# HARDWARECLOCK: set to "", "UTC" or "localtime", any other value will result
# in the hardware clock being left untouched (useful for virtualization)
# Note: Using "localtime" is discouraged, using "" makes hwclock fall back
# to the value in /var/lib/hwclock/adjfile
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# Note: if unset, the value in /etc/localtime is used unchanged
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="en_US.UTF-8"
DAEMON_LOCALE="no"
HARDWARECLOCK="localtime"
TIMEZONE="Europe/Oslo"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"
# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# MODULES: Modules to load at boot-up. Blacklisting is no longer supported.
# Replace every !module by an entry as on the following line in a file in
# /etc/modprobe.d:
# blacklist module
# See "man modprobe.conf" for details.
#
MODULES=()
# Udev settle timeout (default to 30)
UDEV_TIMEOUT=30
# Scan for FakeRAID (dmraid) Volumes at startup
USEDMRAID="no"
# Scan for BTRFS volumes at startup
USEBTRFS="no"
# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"
# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="myhost"
# Use 'ip addr' or 'ls /sys/class/net/' to see all available interfaces.
#
# Wired network setup
# - interface: name of device (required)
# - address: IP address (leave blank for DHCP)
# - netmask: subnet mask (ignored for DHCP) (optional, defaults to 255.255.255.0)
# - broadcast: broadcast address (ignored for DHCP) (optional)
# - gateway: default route (ignored for DHCP)
#
# Static IP example
# interface=eth0
# address=192.168.0.2
# netmask=255.255.255.0
# broadcast=192.168.0.255
# gateway=192.168.0.1
#
# DHCP example
# interface=eth0
# address=
# netmask=
# gateway=
interface=
address=
netmask=
broadcast=
gateway=
# Setting this to "yes" will skip network shutdown.
# This is required if your root device is on NFS.
NETWORK_PERSIST="no"
# Enable these netcfg profiles at boot-up. These are useful if you happen to
# need more advanced network features than the simple network service
# supports, such as multiple network configurations (ie, laptop users)
# - set to 'menu' to present a menu during boot-up (dialog package required)
# - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
# This requires the netcfg package
#
#NETWORKS=(main)
# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
# - prefix a daemon with a ! to disable it
# - prefix a daemon with a @ to start it up in the background
#
# If something other takes care of your hardware clock (ntpd, dual-boot...)
# you should disable 'hwclock' here.
#
DAEMONS=(hwclock syslog-ng network netfs crond)Thanks for the command on how to open the encrypted system.
Offline
The picture is 500, but I suspect you might have a broken initcpio. Try booting the fallback, if it doesn't work, boot install iso, unlock and chroot, do a full sysytem upgrade and then rebuild the initcpio.
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
I think I have an idea of what is causing this. It's the upgrade itself. This is a repeatable problem, since this has happened three times already (I attempted to reinstall the entire OS another two times, and both times the same error appears after doing a full system upgrade). Except this time I was paying more attention to the upgrade rather than being afk, and noticed a few things.
First when upgrading udev
ATTENTION UDEV:
bla bla
We no longer create symlinks from /dev/<dev> to /dev/<dev>0
bla bla
Later on in the upgrade it says
upgrading linux
/tmp/alpm_JMhvhl/.INSTALL: line 47: mountpoint: command not found
WARNING: /boot appears to be a separate partition but is not mounted.
>>> Updating module dependencies
bla bla bla
==> Starting build: 3.2.6-2-ARCH
-> Parsing hook: [base]
==> ERROR: Hook 'udev' can not be found
then it parses all the other hooks successfully
at the end it says
WARNING: errors were encountered during the build. The image may not be complete.
then it tries to build the image from 'fallback' and likewise fails to parse the 'udev' hook.
So, i'm thinking this is what's causing the problem. I'm sitting in my updated arch system now, and I'm certain that if I type reboot, I'll get the same error as before.
Ideas would be welcome. I love the Arch concept but it's not right if I spend the better part of two days just trying to get my system updated. Of course, I am a noob ![]()
Offline
I think I solved it. I first tried to run 'mkinitcpio -p linux' and got the same udev error.
Based on another thread with a similar issue, I reinstalled udev, then ran 'pacman -S linux', then again mkinitcpio -p linux, and this time verything parsed without issue.
I'm going to reboot the system and see if it works. Wish me luck!
Offline
edit: solved by running
pacman -S udev
pacman -S linux
mkinitcpio -p linux
the last two commands showed that the udev hooks were parsed perfectly well, and running a reboot then worked. Let's hope it continues to work!
Last edited by kalofet (2012-02-21 19:53:41)
Offline
Should use -Syu instead. Partial upgrades is what broke it in the first place.
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline