You are not logged in.

#1 2010-07-25 09:53:06

smegforbrains
Member
Registered: 2010-07-25
Posts: 1

"Can't load /lib/modules/2.6.33-ARCH/modules.dep"

Hi there!

i have this error since the last reboot:
"Can't load /lib/modules/2.6.33-ARCH/modules.dep"
when booting into arch.
although im running the current 2.6.34-1 - kernel.
reinstalling the kernel and firmware via pacman doesnt help.
running mkinitcpio didnt help either.
downgrading to 2.6.33-4 helped but than i had gazillions of dependency problems.

update: the kernel image in /boot seems to be the newly generated 2.6.34-ARCH but "uname -a" says im on "2.6.33". GRUB seems to be well configures too.
update: mkinitcpio configuration looks good too

..at my wits end....please help

SOLVED: ZOMG. grub booted from an old HD and for some reason the order of the HDs in the bios got swapped, so that an old partition was used to boot arch....my badness

Last edited by smegforbrains (2010-07-25 11:33:26)

Offline

#2 2010-07-25 14:11:52

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: "Can't load /lib/modules/2.6.33-ARCH/modules.dep"

Seperate /boot partion?

Paste your fstab and menu.lst


Edit: since op edited his post, I'm going to to the same.

1. http://wiki.archlinux.org/index.php/Per … ice_naming
2. Please mark the thread as [Solved]

Last edited by Mr.Elendig (2010-07-25 15:22:41)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#3 2010-08-22 11:21:00

thom_raindog
Member
Registered: 2008-04-29
Posts: 175

Re: "Can't load /lib/modules/2.6.33-ARCH/modules.dep"

Since this was the ONLY thread I could find that concerns my problem, but the solution is NOT viable for me, AND the OP seems to have retreated I will dare to take over this thread (for the time being wink ).

I have the same error message, but I only have 1 HD. That is, I have two, but the other one is merely a backup drive that contains no system. On top, once the boot is done, the system is frozen, no keyboard available, no X nor is the ssh-server started.

Just this morning I ran a system update which included a kernel update, I think. Maybe 2.6.35? Not sure. I update every two or three days, so I should not have missed out on anything important before.

Now, what do I do?

Offline

#4 2010-08-22 11:22:55

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: "Can't load /lib/modules/2.6.33-ARCH/modules.dep"

Define 'backup' drive. Did you forget to mention you have a RAID setup?


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#5 2010-08-22 11:54:52

thom_raindog
Member
Registered: 2008-04-29
Posts: 175

Re: "Can't load /lib/modules/2.6.33-ARCH/modules.dep"

No, no such thing, just another seperate drive to which I sync some data via unison. Nothing that fancy.
And both drives are ide, should that help.

Is there any hope short of reinstalling anyway? I can not access the PC at all, not via ssh nor using the fallback kernel.

Offline

#6 2010-08-22 12:03:36

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: "Can't load /lib/modules/2.6.33-ARCH/modules.dep"

Chroot from the installation disc?


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#7 2010-08-22 12:08:46

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: "Can't load /lib/modules/2.6.33-ARCH/modules.dep"

If you think it was caused by an update, boot a live cd and examine pacman's log. For repairing stuff check out chrooting.

-B beat me to it-

Last edited by hokasch (2010-08-22 12:10:04)

Offline

#8 2010-08-23 05:02:26

thom_raindog
Member
Registered: 2008-04-29
Posts: 175

Re: "Can't load /lib/modules/2.6.33-ARCH/modules.dep"

Alright, I checked /var/log/pacman.log through my arch install usb-stick. There is really only 1 thing sticking out:

WARNING: /boot appears to be a seperate partition but is not mounted.
This is most likely not what you want. Please mount your /boot partition and reinstall the kernel unless you are sure this is OK.

Now, I DO have /boot set to noauto in fstab, it's habbit from back in my gentoo-days. I suppose I assumed pacman would mount it automatically when updating a new kernel, but that might have been wrong.

I am not THAT strong with chroot. Could someone guide me through the process of chrooting into my system so that I can run pacman on it again?

Offline

#9 2010-08-23 05:07:02

cesura
Package Maintainer (PM)
From: Tallinn, Estonia
Registered: 2010-01-23
Posts: 1,867

Re: "Can't load /lib/modules/2.6.33-ARCH/modules.dep"

thom_raindog wrote:

Alright, I checked /var/log/pacman.log through my arch install usb-stick. There is really only 1 thing sticking out:

WARNING: /boot appears to be a seperate partition but is not mounted.
This is most likely not what you want. Please mount your /boot partition and reinstall the kernel unless you are sure this is OK.

Now, I DO have /boot set to noauto in fstab, it's habbit from back in my gentoo-days. I suppose I assumed pacman would mount it automatically when updating a new kernel, but that might have been wrong.

I am not THAT strong with chroot. Could someone guide me through the process of chrooting into my system so that I can run pacman on it again?

Boot live cd and mount partition. For the sake of this explanation, let's say you mount it at /mnt/chroot. To enter the chroot. simply use:

# chroot /mnt/chroot /bin/bash (or whatever shell you use)

That's pretty much it smile I think what many people don't realize is that a chroot is basically just changing the root directory (/) location.

EDIT: You also need to mount your /boot partition at /mnt/chroot/boot before you enter the chroot.

Last edited by cesura (2010-08-23 05:08:38)

Offline

#10 2010-08-23 05:40:19

thom_raindog
Member
Registered: 2008-04-29
Posts: 175

Re: "Can't load /lib/modules/2.6.33-ARCH/modules.dep"

The solution was even more simple:
pacman appearantly put the new kernel into /boot anyway, so it ended up in the /boot directory of my / partition.
Booting live
mounting /
copying the new kernel to a backup dir
mounting boot
copying the new kernel to boot
and rebooting
worked the magic, no dreaded chroot needed wink

Thanks a lot guys.

Offline

#11 2010-08-23 10:38:39

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: "Can't load /lib/modules/2.6.33-ARCH/modules.dep"

itsbrad212 wrote:

Boot live cd and mount partition. For the sake of this explanation, let's say you mount it at /mnt/chroot. To enter the chroot. simply use:

# chroot /mnt/chroot /bin/bash (or whatever shell you use)

That's pretty much it

You need some temporary file systems as well - anyone in need for a guide to chrooting, why not look at the wiki for a walkthrough..?
http://wiki.archlinux.org/index.php/Chroot

Offline

#12 2010-08-25 08:18:00

caratorn
Member
From: Paris, France
Registered: 2009-02-20
Posts: 4

Re: "Can't load /lib/modules/2.6.33-ARCH/modules.dep"

Can the title be updated to reflect the SOLVED status?

Offline

Board footer

Powered by FluxBB