LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   booting in single-user mode with write and execute? (https://www.linuxquestions.org/questions/linux-general-1/booting-in-single-user-mode-with-write-and-execute-390594/)

surfbass 12-08-2005 01:20 PM

booting in single-user mode with write and execute?
 
Is it possible? I tried 'chroot' to my hdd with knopix but for some reasin it has an error with 'sh', all i need to do is replace some files back into /bin so my computer will boot up properly.
thanks

acid_kewpie 12-08-2005 01:47 PM

if a partition has been mounted read-only, use "mount -o remount,rw /dev/hda1" etc.. to make it readable.

surfbass 12-09-2005 01:39 PM

Well here is the exact error when i try to mount it in knoppix:

Code:

# chroot /mnt/hda2
chroot: cannot run command '/bin/bash':no such file or directory

even though /bin/bash is on hda2 and the knoppix cd. what is the deal here?


All times are GMT -5. The time now is 11:57 AM.