You are not logged in.
Pages: 1
I did a full system update with pacman -Syyu and then I installed yaourt from the AUR. Now, I'm unable to start xfce4 and my non-root account has no home directoy. I searched for my problem, and I found no applicable solution. (though I'm known to miss things...) Has anybody else had this problem? If not, what is the other information I need to give you to help you get an idea of what went wrong?
I beg your patience, as I'm an annoying noob.
"There is no one who loves pain itself, who seeks after it and wants to have it, simply because it is pain..."
Offline
How long since you last updated? Check your rc.conf and pacman's log (and make sure you don't have any pacnews)...
Offline
i got an error in pacman.log after upgraded mkinitcpio (20120227-1 -> 20120227-2) that said WARNING: /boot appears to be a seperate partition but is not mounted. this seems a bit critical.
I beg your patience, as I'm an annoying noob.
"There is no one who loves pain itself, who seeks after it and wants to have it, simply because it is pain..."
Offline
Yes: you'll need to chroot in, mount /boot and / and the relevant filesystems (as described in the chroot page on the wiki) and regenerate your intramfs...
FWIW: those warnings are printed for a reason ![]()
Offline
So I'll have to go through these steps (if I understand correctly)
1: Livedisk
2: mount /
3 mount temp filesystems
4: mount /boot
5: chroot
6: ??
I beg your patience, as I'm an annoying noob.
"There is no one who loves pain itself, who seeks after it and wants to have it, simply because it is pain..."
Offline
So I'll have to go through these steps (if I understand correctly)
1: Livedisk
2: mount /
3 mount temp filesystems
4: mount /boot
5: chroot
6: mkinitcpio -p linux
7. PROFIT!
![]()
Offline
Follow the wiki steps exactly. You need to make sure to mount proc, sys, dev, etc. To make sure that you mounted all of your normal filesystems, run 'mount -a' after chrooting. Then just run mkinitcpio.
Offline
sigh, the learninh curve is steep. if i have questions, ill ask
I beg your patience, as I'm an annoying noob.
"There is no one who loves pain itself, who seeks after it and wants to have it, simply because it is pain..."
Offline
I've been having similar problems, so I've been following the chroot guide, but I get stuck when trying to do mkinitcpio -p linux:
ERROR: unable to locate module directory for kernel '3.0-ARCH'it looks like I forgot to mount something, but I've followed the guide exactly so I'm not sure what the problem is, and searching the error online doesn't bring up anything useful. What am I doing wrong?
Offline
If you have a separate /boot partition you should mount it before you run "chroot . /bin/bash". It's in the chroot article:
Mount other parts of your filesystem (e.g. /boot, /var, /usr ...) that reside on separate partitions but which you need access to.
So it basically goes like this:
# mkdir /mnt/arch
# mount /dev/sdaX /mnt/arch (your root partition)
# cd /mnt/arch
# mount -t proc proc proc/
# mount -t sysfs sys sys/
# mount -o bind /dev dev/
# mount /dev/sdaX boot/ (your boot partition. This is what you forgot)
# chroot . /bin/bash
# mkinitcpio -p linuxLast edited by DSpider (2012-05-30 16:57:06)
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
No, I mounted my boot partition as described in the wiki.
I don't know if this is relevent, but when I try to mkinitcpio from within chroot it complains about not finding modules for 3.0-ARCH, which is not my kernel version (I'm running 3.3.7). However if I run mkinitcpio normally (not in the chroot or liveCD environment), it runs through without complaining using the correct kernel version, although obviously it doesn't fix anything since it's not running inside chroot.
Offline
Well, the "2011.08.19" release comes with kernel 3.0.3 (ie. "3.0-ARCH").
So you're not chrooting at all.
Run the sequence I posted above, word for word, dot for dot, and with a "/" at the end, exactly like you see it.
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
I did; it's still not working.
Another thing if it helps: if (booting normally) I run uname -r, it gives me "3.0-ARCH", but my "pacman -Q linux" gives me "linux 3.3.7-1". I don't know if this is typical or not.
EDIT: I solved my problem, no mkinitcpio or chrooting required. When I updated the kernel, pacman just stuck it into the /boot/ folder inside my sda3 (root) partition instead of my real boot partition (sda1), so all I needed to do was copy over all of the files from the "fake" boot folder to the "real" one
Thank you for your help!
Last edited by hksmoothie (2012-05-30 17:47:49)
Offline
Pages: 1