Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
10-04-2006, 04:05 PM
|
#1
|
Member
Registered: Jul 2003
Location: Ontario, Canada
Distribution: Slackware
Posts: 79
Rep:
|
Startup issues?!
I managed to botch a line in my rc.modules files.
Problem is the system hangs when it gets to that line on startup and I can't get it back up to change it?
I tried booting off the install disks but it still hangs at that spot.
What am I doing wrong?
Sorry for the noobish question, it has been awhile since I have played with Slack.
Thanks in advance.
-Brian
|
|
|
10-04-2006, 04:19 PM
|
#2
|
LQ Guru
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
|
Need to boot up with a linux bootable CD. I would think the Install would give you an option like a rescue mode and then mount the current distro partitions in its own /mnt. But that is probably just a Redhat / Redhat clone feature. One way is to use a Live distro CD like Knoppix, Kubuntu, and many others. There are some other smaller boot ISO cd like http://freshmeat.net/projects/systemrescuecd/ that can help.
Brian1
|
|
|
10-04-2006, 04:23 PM
|
#3
|
Member
Registered: Jul 2003
Location: Ontario, Canada
Distribution: Slackware
Posts: 79
Original Poster
Rep:
|
Yeah knoppix might work, but I have to believe there is a more common and readily availbe solution to this problem?
Seems odd I need to use another distro to fix a problem with the one i am currently using..
There has to be a solution to this.
Last edited by Alstare; 10-04-2006 at 04:28 PM.
|
|
|
10-04-2006, 04:30 PM
|
#4
|
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559
|
You can use the Slackware boot CD too, no need for Knoppix.
Boot to the prompt, mount your Slackware root partition, fix the problem, reboot without the CD.
Eric
|
|
|
10-04-2006, 04:35 PM
|
#5
|
Member
Registered: Jul 2003
Location: Ontario, Canada
Distribution: Slackware
Posts: 79
Original Poster
Rep:
|
Yeah I assumed the solution was going to be something like that...
Of course you know my stupid follow up question how do i mount my root partition on there?
|
|
|
10-04-2006, 04:40 PM
|
#6
|
Slackware Contributor
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559
|
I anticipated that but gave you one chance to find out for yourself
- assuming /dev/hda1 contains the root partition -
Don't run "setup" but instead:
Code:
mount /dev/hda1 /mnt
vi /mnt/etc/rc.d/rc.modules
umount /mnt
reboot
|
|
|
10-04-2006, 04:42 PM
|
#7
|
LQ Guru
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
|
My guess once the system is up you can mount the partition that contains the /etc subdirectory like so.
mount /dev/hda1 /mnt
cd /mnt/etc
vi rc.modules
Not sure where rc.modules exist on Slackware so you need to change to its location.
Now change /hda1 to what ever the partition is whether /hda2, /hda3, /hdb1, /sda1,or so many more. You just need to know which partition contains /etc.
Brian
|
|
|
10-04-2006, 04:43 PM
|
#8
|
LQ Guru
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
|
I see where it is is. Follow Alien Bob's post. It is more exact than mine.
Brian
|
|
|
10-04-2006, 04:45 PM
|
#9
|
Member
Registered: Jul 2003
Location: Ontario, Canada
Distribution: Slackware
Posts: 79
Original Poster
Rep:
|
Hah,
Fair enough, the sad part was I did exactly that before I came on here and had no luck, got an error about not being able to open the file even though I could navigate to it.
But of course worked flawlessy after trying it again now after your instruction.
Thanks, much appreciated.
Problem solved and quickly. :beer:
|
|
|
10-04-2006, 04:51 PM
|
#10
|
LQ Guru
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
|
Glad to see you have it up and working.
Brian
|
|
|
All times are GMT -5. The time now is 01:37 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|