Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have made an error in the rd_local file which, Linux is having problem starting up because of this. Is there any way I can edit this file without starting up or am I screwed?

share|improve this question

migrated from stackoverflow.com Mar 16 '10 at 20:32

This question came from our site for professional and enthusiast programmers.

add comment

2 Answers

up vote 2 down vote accepted

can too boot in other linux, as parted magic to edit these file

share|improve this answer
add comment

Do you mean rc.local file?

Anyway, if you want to edit files but do not want (or can't) boot from hard disc, do this:

1) Boot your system with the Slackware install DVD or first CD using whatever kernel options you need to see your hard disk. Once logged in and presented with the console, mount your root partition to /mnt with the following command (assuming your root partition is /dev/hda3)

mount /dev/hda3 /mnt

2) chroot into the system with this command

chroot /mnt

3) Once chrooted, you may edit configuration files

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.