You are not logged in.

#1 2012-07-16 02:38:09

MorningWood
Member
Registered: 2008-06-06
Posts: 78

[SOLVED] Looking to reinstall stock kernel

Hey guys,
So I did something dumb and messed up my install.  I was experiencing what I would consider a pretty common bug that's going on with what seems like the current nvidia software and inability to recover from suspend mode.  Upon reading a suggestion that the latest beta version of the nvidia software would fix it, I tried it out. 

Well it turned out that the beta didn't fix it and actually brought on more bugs than the prior version (who'd have guessed with it being beta and all?)...Anyway, fast forward and upon reinstalling  the latest stable version, I cannot start into X so I figure I would need to downgrade the kernel that was automatically grabbed from the testing repo as well.  Except there was a malfunction and the laptop rebooted and now I am essentially left with no proper kernel.

I have tried running the Arch iso from my usb flash disk and chrooting into my Arch install then running mkinitcpio -p linux as well as reinstalling the kernel via Arch installer with both resulting errors noting the inability to find modules.

At the time of writing this post I do not have access to my flash disk but when I try to boot into my Arch install, I receive the following:


http://i.imgur.com/arUbN.jpg

I currently have no access to /etc/mkinitcpio.conf or anything on my linux partition.  I will be updating this post as I get back home and can re-reun mkinitcpio -p linux
In the meantime, any help would be greatly appreciated.
Thanks guys!

Last edited by MorningWood (2012-07-16 21:36:43)

Offline

#2 2012-07-16 02:49:25

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

Re: [SOLVED] Looking to reinstall stock kernel

MorningWood wrote:

I have tried running the Arch iso from my usb flash disk and chrooting into my Arch install then running mkinitcpio -p linux as well as reinstalling the kernel via Arch installer with both resulting errors noting the inability to find modules.


Were all your filesystems mounted?


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2012-07-16 02:51:00

MorningWood
Member
Registered: 2008-06-06
Posts: 78

Re: [SOLVED] Looking to reinstall stock kernel

I'm sorry sorry for not noting that prior. Yes they were, I had ran

mkdir /mnt/arch
mount /dev/sda4 /mnt/arch
cd /mnt/arch
mount -t proc proc proc/
mount -t sysfs sys sys/
mount -o bind /dev dev/
mount -t devpts pts dev/pts/
mount -t  var var var/
mount -t  boot  boot boot/
mount -t usr usr usr/

Last edited by MorningWood (2012-07-16 21:37:34)

Offline

#4 2012-07-16 12:12:01

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,542

Re: [SOLVED] Looking to reinstall stock kernel

Wait, while you're under a LiveCD you actually have to know which partitions you're mounting.
Here, you are just mounting the LiveCD over itself.
proc, sys, dev is fine, and dev/pts you don't really need (it should mount itself)
Now the rest of it needs to be your physical disk (i.e. /dev/sdxxxx)

fdisk -l will get you started on your finding which ones to mount, the order is up to how you've done the partitioning.

Last edited by nomorewindows (2012-07-16 18:08:59)


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#5 2012-07-16 21:36:26

MorningWood
Member
Registered: 2008-06-06
Posts: 78

Re: [SOLVED] Looking to reinstall stock kernel

nomorewindows, I have to say that your username is quite fitting for this thread. smile

I made the mistake of assuming that for some reason because I had mounted /dev/sda4 (my linux install) under /mnt/arch that boot/ usr/ and var/ did not need to be specified under /dev/sda4 any longer.  Silly reasoning but I just wanted to thank you guys for helping me out.  After mounting the filesystems properly, I reinstalled the kernel and am posting this from Arch!
Thanks again!

Last edited by MorningWood (2012-07-16 21:38:52)

Offline

Board footer

Powered by FluxBB