You are not logged in.

#1 2012-05-22 01:45:56

brainard52
Member
Registered: 2012-04-14
Posts: 18

Loading user-specified modules [fail]

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

#2 2012-05-22 01:55:42

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Loading user-specified modules [fail]

How long since you last updated? Check your rc.conf and pacman's log (and make sure you don't have any pacnews)...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2012-05-22 02:07:47

brainard52
Member
Registered: 2012-04-14
Posts: 18

Re: Loading user-specified modules [fail]

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

#4 2012-05-22 04:08:26

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Loading user-specified modules [fail]

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 tongue


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2012-05-22 16:16:24

brainard52
Member
Registered: 2012-04-14
Posts: 18

Re: Loading user-specified modules [fail]

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

#6 2012-05-22 17:35:32

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Loading user-specified modules [fail]

brainard52 wrote:

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!


smile


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2012-05-22 17:42:45

Stebalien
Member
Registered: 2010-04-27
Posts: 1,239
Website

Re: Loading user-specified modules [fail]

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.


Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C

Offline

#8 2012-05-22 21:34:57

brainard52
Member
Registered: 2012-04-14
Posts: 18

Re: Loading user-specified modules [fail]

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

#9 2012-05-30 16:31:30

hksmoothie
Member
Registered: 2010-12-16
Posts: 13

Re: Loading user-specified modules [fail]

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

#10 2012-05-30 16:53:19

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: Loading user-specified modules [fail]

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 linux

Last edited by DSpider (2012-05-30 16:57:06)


"How to Succeed with Linux"

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

#11 2012-05-30 17:02:44

hksmoothie
Member
Registered: 2010-12-16
Posts: 13

Re: Loading user-specified modules [fail]

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

#12 2012-05-30 17:18:18

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: Loading user-specified modules [fail]

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.


"How to Succeed with Linux"

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

#13 2012-05-30 17:29:33

hksmoothie
Member
Registered: 2010-12-16
Posts: 13

Re: Loading user-specified modules [fail]

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 smile Thank you for your help!

Last edited by hksmoothie (2012-05-30 17:47:49)

Offline

Board footer

Powered by FluxBB