Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Fixing my kernel from livecd after reboot?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
stillspiraling
n00b
n00b


Joined: 03 Apr 2003
Posts: 74

PostPosted: Wed Jan 24, 2007 4:21 pm    Post subject: Fixing my kernel from livecd after reboot? Reply with quote

I have the typical kernel panic thing going on where it doesn't recognize my root FS: "unable to mount root FS on unknown-block(0,0).

I'd like to mess with my kernel to try and fix it, but I don't know how to get into the kernel config from the live CD after I've already rebooted it after setting up grub - can someone help me with the commands for mounting everything properly and then editing and saving my kernel settings?
Thanks much in advance!
Back to top
View user's profile Send private message
sonicbhoc
Veteran
Veteran


Joined: 24 Oct 2005
Posts: 1805
Location: In front of the computer screen

PostPosted: Wed Jan 24, 2007 4:32 pm    Post subject: Reply with quote

boot the livecd and chroot.
That's pretty much it, then you're back in your computer.

to chroot, follow the steps in the liveCD, as in mount your root fs and all other fs you've got, mount /dev and /proc and run chroot /bin/bash and env-update && source /etc/profile.
_________________
I'm too lazy to keep this stupid signature up to date, so here's something more interesting:
My friend Hetdegon can draw if you ask me.
Now using PClinuxOS on my laptop and Gentoo on my desktop and new laptop.
Back to top
View user's profile Send private message
stillspiraling
n00b
n00b


Joined: 03 Apr 2003
Posts: 74

PostPosted: Wed Jan 24, 2007 4:36 pm    Post subject: Reply with quote

I followed the exact same steps for mounting proc and all of that. I am back in chroot - thanks so much for your speedy response, I just don't really understand the background to the steps and get easily confused, also don't want to break anything! :D

THANKS AGAIN!
Back to top
View user's profile Send private message
stillspiraling
n00b
n00b


Joined: 03 Apr 2003
Posts: 74

PostPosted: Wed Jan 24, 2007 4:58 pm    Post subject: Reply with quote

It's discouraging because I followed the gentoo hardware kernel config wiki to the T for my laptop and it still broke... Hopefully enabling a bunch more filesystems and chipsets will fix it so I can get this beast running!
Back to top
View user's profile Send private message
Arla
Tux's lil' helper
Tux's lil' helper


Joined: 10 Aug 2006
Posts: 97
Location: SE

PostPosted: Wed Jan 24, 2007 8:33 pm    Post subject: Reply with quote

stillspiraling wrote:
I just don't really understand the background to the steps and get easily confused, also don't want to break anything! :D
There is a more detailed (and funnier) chroot guide.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum