Difference between revisions of "How To Root A Box"

From FreekiWiki
Jump to navigation Jump to search
Line 13: Line 13:
 
On the next screen there will be a long line of code. the important part of this will be '''root=/dev/hda3 ro'''
 
On the next screen there will be a long line of code. the important part of this will be '''root=/dev/hda3 ro'''
  
Change the '''/dev/hda3''' to '''/bin/bash''' and the '''ro''' to '''rw'''
+
In between the '''/dev/hda3''' and the '''ro'''  type'''init=/bin/bash''' and change the '''ro''' to '''rw'''.
 +
 
 +
Delete everything after the '''rw'''.
  
 
Press '''enter''' to save the new line and then '''b''' to boot with the new instructions.
 
Press '''enter''' to save the new line and then '''b''' to boot with the new instructions.
  
When booting has completed you will see a black screen with a line that says '''root@freekbox:/#''' and a blinking  
+
When booting has completed you will see a black screen with a line that says '''root@(none):/#''' and a blinking  
  
 
cursor.
 
cursor.
  
Here type
+
Here type '''passwd''' and a space, then hit the '''tab''' button two times quickly. A list of possible users should
 +
 
 +
appear. One should look like June's. like juneh or jqhart or junehartung or whatever. Type that username after passwd.
 +
 
 +
It will say '''enter new UNIX password''' enter a new password. Hit '''enter'''.
 +
 
 +
Retype it to confirm. Hit '''enter'''.
 +
 
 +
Remember Both the username and password and restart the computer.
 +
 
 +
login with the old name and new password. If it works, Yay! if not, Repeat!

Revision as of 12:53, 28 December 2006

Grub Loading...3..2..1

Here is where you press Esc

Next you will see stuff that says Ubuntu, kernel 2.6...

There will be several lines of this. The first one should be highlighted by default. If it isn't, use the arrow keys

to highlight it and press e to edit this line.

On the next screen highlight the second line and press e again.

On the next screen there will be a long line of code. the important part of this will be root=/dev/hda3 ro

In between the /dev/hda3 and the ro typeinit=/bin/bash and change the ro to rw.

Delete everything after the rw.

Press enter to save the new line and then b to boot with the new instructions.

When booting has completed you will see a black screen with a line that says root@(none):/# and a blinking

cursor.

Here type passwd and a space, then hit the tab button two times quickly. A list of possible users should

appear. One should look like June's. like juneh or jqhart or junehartung or whatever. Type that username after passwd.

It will say enter new UNIX password enter a new password. Hit enter.

Retype it to confirm. Hit enter.

Remember Both the username and password and restart the computer.

login with the old name and new password. If it works, Yay! if not, Repeat!