Find the answer to your Linux question:
Results 1 to 3 of 3
I've read the howto document about recovering the forgotten passwords. Fot booting system in single user mode, i have to edit Grub but, i couldn't. I've pressed the e key ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie Tutku's Avatar
    Join Date
    Jul 2007
    Location
    Izmir / Turkey
    Posts
    167

    Password Recovery


    I've read the howto document about recovering the forgotten passwords. Fot booting system in single user mode, i have to edit Grub but, i couldn't.
    I've pressed the e key and i add the
    single
    word at the end of the line, which was startted bye kernel /boot....

    But while booting sytem, archlinux ask me, root password for maintaining the system.

    How can i boot my archlinux system with single user mode?

  2. #2
    Linux Enthusiast
    Join Date
    Jul 2005
    Location
    Maryland
    Posts
    522
    It is always good to have Knoppix CD around.
    Boot Knoppix CD, then in terminal, type:
    Code:
    su
    fdisk -l
    use that information to mount the partition on which you need to change root password. For example (assuming partition is /dev/hda1):
    Code:
    mkdir /mnt/hd
    mount /dev/hda1 /mnt/hd
    chroot /mnt/hd
    passwd
    exit
    sync
    umount /mnt/hd
    reboot
    Remove CD, boot the original system and try the new password.

    Hope this helps.

  3. #3
    Linux Newbie Tutku's Avatar
    Join Date
    Jul 2007
    Location
    Izmir / Turkey
    Posts
    167
    Thanks lot, it seems easier than other ways, i'll try this as soon as i can, but i still don't know why i can't boot in single user mode

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •