case
17Apr/0912

Reset system password for EeePC


If you managed to lose your Eee PC password, you can reset it with a pretty simple hack without resetting it with the built-in "Restore Factory Settings" and lose everything on your drive.

The first step in recovering your password is to remove the login password request so you can access your system.

Removing the login password request

To remove the password request, you have to delete a configuration file from your file system. You can do this by entering the single user mode.

1. Entering boot loader of the Eee PC

2552237678 a1f65d2bb7 b 300x225 Reset system password for EeePC

Turn on your Eee Pc and as soon as the first screen appears (the one with the "Press F2 to run setup") pres and hold pressed the f9 key, until the Grub main screen will appear.

2551414763 b252529b0a b 300x225 Reset system password for EeePC

Your options are:

  • Normal Boot
  • Perform Disk Scan
  • Restore Factory Settings

2. Booting Single User Mode

Select Perform Disk Scan and press "e" key to edit the line. Now select the second line (the one that begins with "kernel") and pres "e" again

2551415415 69a3670f7b b 300x225 Reset system password for EeePC

The cursor will blink at the end of the line. To enter the single mode you have to replace the string XANDROSSCAN=y with XANDROSBOOTDEBUG=y. Make sure you typed it correctly.

2552239488 7816ee911a b 300x225 Reset system password for EeePC

Now press enter and then press "b" key to boot single mode user.

3. Removing the configuration file with BusyBox

Now you'll enter BusyBox, a small Linux-based system, with an ash shell. With this shell you'll have to delete the configuration file (requireLogin) located in /home/user/.AsusLauncher/. This way you'll remove the login password request !

Once in the BusyBox shell, execute the following commands:

for the Eee PC 701 or Eee PC 904 HD:

- mount /dev/sda2 /mnt-user/

- cd /mnt-user/home/user/

- rm .AsusLauncher/requireLogin

- exit

for the Eee PC 900:

- mknod /dev/sdb b 8 16

- mknod /dev/sdb1 b 8 17

- mount /dev/sdb1 /mnt-user/

- rm /mnt-user/user/.AsusLauncher/requireLogin

- exit

2552240072 2744cefdc2 b 300x225 Reset system password for EeePC

... press return to reboot and to enter your Eee PC without the login request icon wink Reset system password for EeePC This was the the hardest part. Keep reading

Resetting the old password setting a new one

Now you're able to read and edit your files, but you can't administrate your Eee PC; you have to set a new password

Open the terminal (browse for it or just press CTRL+ALT+T) and type:  sudo passwd user

Press enter and type the new password. Do the same for the root password by typing: sudo passwd

As promised, you're playing again with your Eee PC without any data loss! Have fun icon wink Reset system password for EeePC

Comments (12) Trackbacks (0)
  1. Pressing F9 did not work, sent me straight into normal boot up.

    if i bring up a terminal box every time i enter a command to alter the software it will ask for a password

    cannot seem to get around these two problems

    regards andy

  2. It’s F9, be patient. This worked for me, although my cousin’s EEE PC 900 required the set of commands intended for the other models.

  3. i just got an asus EeePc Linux i got to the step 3 and got confused what do i do then

  4. every time i press F9, the windows xp screen runs and then the username-password screen.
    dad’s friend gave the eee pc to us so know nothing about him and stuff..

  5. excellent solution. Thanks a lot. It worked right away!

  6. Changed to XANDROSBOOTDEBUG=y, hit enter – then pressed “b” and nothing happened.

  7. Hi! Kim here. I have forgotten my password. I have a little Asus eepc laptop with windows 7 starter pack on it which expired and the F9 trick didn’t work. Please help. Thank you
    Kim.


Leave a comment


*

CommentLuv badge

No trackbacks yet.