Slackware-Init-rd_local-Problem

432
Mark

Ich habe einen Fehler in der Datei rd_local gemacht, der Linux hat Probleme beim Start. Gibt es eine Möglichkeit, diese Datei zu bearbeiten, ohne gestartet zu werden, oder bin ich vermasselt?

1

1 Antwort auf die Frage

2
kliketa

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