Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 12-02-2001, 05:50 PM   #1
LQ Newbie
Registered: Nov 2001
Posts: 4

Rep: Reputation: 0
Unhappy modules.config QUESTION !!!

HI Guys,

I have made a silly mistake and I
do not know how to correct it.

I was configuring my sound card and
it did not work. I have copied some
modules.conf file from the internet
and modified it accordingly.

After that I am not able to boot.
The system boots ( after GRUB screen
and mounting disk...etc, loading modules
Loads the sound module and hangs.

I have to modify my moduels.config
file or remove it, for the system to
boot up clean.

I tried to enter in single user mope,
linux rescue, Interactive but still
the boot hangs and is still loading
the sound module.

How do i repair it......

thank you very much in advance,
- Srivamsi.
Old 12-02-2001, 08:32 PM   #2
Senior Member
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
Did you create a rescue disk or has that already been tried? Only other risky thing you could try is getting a program like explore2fs or LTools. If you have windows that is, you can get into your linux partition and edit the file, MAYBE! The 'write' part of read-write access with these programs is warned against and that it could crap things out. That's why I say risky. So hopefully you have a boot disk. Sorry I can't think of anything else at the moment.
Old 12-02-2001, 11:48 PM   #3
LQ Addict
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
Try getting into single user mode again, but use this command linux single int=/bin/bash .
Old 12-04-2001, 05:41 PM   #4
LQ Guru
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 59
The problem you're having is that it tries to load a bad module on init, so the kernel has booted properly, its just ramming a module in there that you don't want it to. A good answer is: boot a different kernel. If your machine is formatted for the ext2 filesystem, i.e. a distro before RedHat 7.2 and before Mandrake 8.1, then try tomsrtbt , an entire distro that fits on a 3.5 and loads into RAM. After it loads you can mount the filesystem of your distro with:

mount /dev/hdx1 /mnt (where x is the drive letter, usually 'a')


cd /mnt/etc (and either rm modules.conf, or edit it with vi, if you know vi, or just mv the file somewhere else so you can edit it when you boot back into your machine.

If you have ext3 or reiserfs as your file system, you could make a copy of the bare.i disk from Slackware8.0 with RAWRITE from a Windows box and just try the same trick. This is technically the first disk for installing Slackware, but it works great as a system rescue disk for the new filesystems. It won't try to forcefeed that bad sound module in there as even though init will run, it won't be able to find modules to go with the 2.4.5 kernel you are booting. I pulled this trick on a Caldera3.1 buggy install and it worked.

Hope that was close to what you needed,

Old 12-07-2001, 04:23 PM   #5
LQ Newbie
Registered: Nov 2001
Posts: 4

Original Poster
Rep: Reputation: 0
Thumbs up This is how it worked for me !!!

Hi folks,

This is how I did it and I would like
to share this with all of you.

I started the installation process
again and asked the installation
to upgrade my machine.

I have not actually said OK to
go ahead and upgrade but went
up to a stage when it asked me
what packages you want to upgrade.

At this time, my partitions should
have been mounted. When you click
Ctrl-Alt and F2, you will be given
a root shell in RH7.2.

I cded into the /mnt/systemImage .. under
which my partitions exists and the then
I cded into the etc/ and deleted the
modules.config file and after that
I was able to boot properly.

Still couldnot config my sound though.
I am into wine now.. and may the force
be with me.

thank you all very much for
the feedback.

- srivamsi.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post & kernel modules mythief Linux - Software 13 01-08-2005 01:53 PM & kernel modules mythief Mandriva 1 11-17-2004 01:46 PM
modules and network config on startup darkleaf Linux - Software 1 07-22-2004 04:39 AM
config modules, y, n, ? for scanner installation gmichel Linux - Newbie 2 02-18-2004 05:57 AM
Harddrake2 freezes when I click Config module on half the modules osat3ch Mandriva 1 01-18-2004 10:07 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:24 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration