LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-08-2005, 01:20 PM   #1
surfbass
Member
 
Registered: Dec 2004
Posts: 33

Rep: Reputation: 15
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
 
Old 12-08-2005, 01:47 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
if a partition has been mounted read-only, use "mount -o remount,rw /dev/hda1" etc.. to make it readable.
 
Old 12-09-2005, 01:39 PM   #3
surfbass
Member
 
Registered: Dec 2004
Posts: 33

Original Poster
Rep: Reputation: 15
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?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Preventing Linux from booting in Single User Mode LinuxSeeker Linux - Security 8 08-28-2009 07:12 AM
going to single user mode while booting phanee Linux - Software 4 12-05-2005 01:23 AM
how to go to single user mode while booting phanee Linux - Security 2 12-04-2005 11:49 PM
single user mode while booting ravikumarG AIX 4 08-17-2005 01:57 AM
single user mode... navaladi Mandriva 2 12-26-2004 02:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:05 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration