View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 10 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sun Mar 09, 2008 8:42 pm 
Offline
Joined: Sun Jun 18, 2006 10:27 pm
Posts: 19
I am not sure if this is the proper section of the forum to post this problem... it isn't really a hardware issue (well, it STARTED because of a hardware issue)...

Anyway, I was trying to get my soundcard recognized when the system boots (it currently seems to default to the motherboard optical out, and I want to make it default to the Chaintech output) and I made a change to my /etc/modprobe.conf file.

I wanted to add the line

Code:
include /etc/modprobe.d


What I ACTUALLY added was

Code:
include /etc/modeprobe.d


I didn't notice, and saved the file. Now, when the system tries to boot it hangs because it can't find /etc/modeprobe.d

So... how can I fix this? They system doesn't get booted up far enough for me to network to it, but I can boot up with a knoppmyth CD and get to a terminal, but I can't seem to find the /etc/modprobe.conf file to edit.

I am using a lvm ... if that makes a difference. I have downloaded sysresccd.org's rescue cd, and I can "see" the /myth partition, I just can't seem to get into it to erase my typo.


Also, I know the bare basics on linux, and I (apparently) know just enough to really hose my system, so please baby-step me though how I fix my problem...

Ideas? Condolences? (and thanks in advance)


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 09, 2008 10:14 pm 
Offline
Site Admin
Joined: Fri Sep 19, 2003 6:37 pm
Posts: 2659
Location: Whittier, Ca
You can boot off the CD and fix the problem...
Code:
mount -o rw /dev/Xda1 /mnt/Xda1
chroot /mnt/Xda1
Do what it is you need to do...
Code:
exit
reboot


Top
 Profile  
 
 Post subject:
PostPosted: Sun Mar 09, 2008 10:20 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
These directions include some more detail. http://www.knoppmythwiki.org/index.php?page=InstallDiskAsRescueCD


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 10, 2008 7:30 pm 
Offline
Joined: Sun Jun 18, 2006 10:27 pm
Posts: 19
cecil wrote:
You can boot off the CD and fix the problem...
Code:
mount -o rw /dev/Xda1 /mnt/Xda1
chroot /mnt/Xda1
Do what it is you need to do...
Code:
exit
reboot


I typed that in and the mount command said I needed to define the filesystem...

I am running lvm (I don't remember if /myth is off of the lvm or not, but I think it might be, I know that /mythtv is for sure, I don't recall off the top of my head what filesystem I was using... I think I went with the default...)

The I am using vg as the name for the lvm...


Thanks again for any help...


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 10, 2008 7:34 pm 
Offline
Joined: Sun Jun 18, 2006 10:27 pm
Posts: 19
tjc wrote:


I tinkered around with what I found on that page, but I didn't seem able to get the the /etc/modprobe.conf file...

I tried mounting the hda1 device, and that seemed to kind of work, but after I chrooted to it, I wasn't able to find the modprobe.conf file...

Oh, the other headache I have with all of this is currently I am trying to work through this long distance with the wife typing in commands and telling me what is happening on screen.

I am strongly leaning towards just waiting until I can sit down with the box again and tinker in person...

(It feels like trying to do engine repair through the muffler...)


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 10, 2008 7:42 pm 
Offline
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location: Farmington, MI USA
raoul wrote:
cecil wrote:
You can boot off the CD and fix the problem...
Code:
mount -o rw /dev/Xda1 /mnt/Xda1
chroot /mnt/Xda1
Do what it is you need to do...
Code:
exit
reboot


I typed that in and the mount command said I needed to define the filesystem...
What exactly did you type, and what was the exact error message? The /dev/Xda1 needs to be changed to reflect your actual root partition, something like /dev/hda1, /dev/sda1, etc.

raoul wrote:
I am running lvm (I don't remember if /myth is off of the lvm or not, but I think it might be, I know that /mythtv is for sure, I don't recall off the top of my head what filesystem I was using... I think I went with the default...)

The I am using vg as the name for the lvm...


Thanks again for any help...
Your modprobe.conf file isn't in the /myth structure so this shouldn't be a problem, unless you managed to LVM your entire installation (by no means a trivial thing to do)? I have no idea what the "/mythtv" reference is about...

EDIT: I see you got another post in while I was typing this, see next /EDIT


Last edited by slowtolearn on Mon Mar 10, 2008 7:45 pm, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 10, 2008 7:44 pm 
Offline
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location: Farmington, MI USA
raoul wrote:
I tried mounting the hda1 device, and that seemed to kind of work, but after I chrooted to it, I wasn't able to find the modprobe.conf file...
Skip the chroot part. Say you mounted /dev/hda1 into /mnt, simply
Code:
cd /mnt/etc
vi modprobe.conf
(Substitute vi with your editor of choice).


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 10, 2008 8:30 pm 
Offline
Joined: Sun Jun 18, 2006 10:27 pm
Posts: 19
slowtolearn wrote:
raoul wrote:
cecil wrote:
You can boot off the CD and fix the problem...
Code:
mount -o rw /dev/Xda1 /mnt/Xda1
chroot /mnt/Xda1
Do what it is you need to do...
Code:
exit
reboot


I typed that in and the mount command said I needed to define the filesystem...
What exactly did you type, and what was the exact error message? The /dev/Xda1 needs to be changed to reflect your actual root partition, something like /dev/hda1, /dev/sda1, etc.

raoul wrote:
I am running lvm (I don't remember if /myth is off of the lvm or not, but I think it might be, I know that /mythtv is for sure, I don't recall off the top of my head what filesystem I was using... I think I went with the default...)

The I am using vg as the name for the lvm...


Thanks again for any help...
Your modprobe.conf file isn't in the /myth structure so this shouldn't be a problem, unless you managed to LVM your entire installation (by no means a trivial thing to do)? I have no idea what the "/mythtv" reference is about...

EDIT: I see you got another post in while I was typing this, see next /EDIT


Ah... well, just so you know, this is exactly what I typed:

Code:
mount -o rw /dev/Xda1 /mnt/Xda1
chroot /mnt/Xda1


And I defend my actions... because, well, it was CECIL (the man, the mythbox, er, knoppmythbox, the legend) that told me to. And that was just because he didn't know how dense I was. :)

However, see the next reply to see how I did... with a little more knowledge under my belt.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 10, 2008 8:35 pm 
Offline
Joined: Sun Jun 18, 2006 10:27 pm
Posts: 19
slowtolearn wrote:
raoul wrote:
I tried mounting the hda1 device, and that seemed to kind of work, but after I chrooted to it, I wasn't able to find the modprobe.conf file...
Skip the chroot part. Say you mounted /dev/hda1 into /mnt, simply
Code:
cd /mnt/etc
vi modprobe.conf
(Substitute vi with your editor of choice).


Well, we (the wife as my proxy) had to cd to /mnt then cd to /hda1 and THEN into /etc to get to the file.

She fixed the typo, and rebooted.

VOILA! Not only did the box boot up all the way, but the audio problem got fixed as well.

So. To cecil, tjc, and slowtolearn:

THANK YOU VERY MUCH!!!!

And... uh... WOO-HOO!!!!!


(Thanks again, sincerely, THANKS!!!)


Top
 Profile  
 
 Post subject:
PostPosted: Tue Mar 11, 2008 2:53 pm 
Offline
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location: Farmington, MI USA
raoul wrote:
Well, we (the wife as my proxy) had to cd to /mnt then cd to /hda1 and THEN into /etc to get to the file.

She fixed the typo, and rebooted.

VOILA! Not only did the box boot up all the way, but the audio problem got fixed as well.
All's well that ends well, eh? Glad you got it worked out.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 8 guests


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 post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu