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 |
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 |
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. |
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 |
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? |
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 |
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 |
I see where it is is. Follow Alien Bob's post. It is more exact than mine.
Brian |
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: |
Glad to see you have it up and working.
Brian |
All times are GMT -5. The time now is 05:55 AM. |