




pepperminty wrote:Hello,
I have been away from my Linux Mint OS for some time and forgot the password. I am the the only user of the Linux Mint. I have the sudo/admin access. I remember the username.
How can I reset the password?
I'm using Linux Mint 13 MATE. Thank you.




rw init=/bin/bash


Booting a command list
Loading Linux 3.2.0-23-generic ...
Error: unknown command `rw'.
Press any key to continue...





pepperminty wrote:Step 5 is impossible, because there was no line that began with "kernel".
ls /homepasswd your_nameinsmod gzio
insmod part_msdos
insmod ext2
set root='(/dev/sda,msdos6)'
search --no-floppy --fs-uuid --set=root be31f4b1-ceb1-4f3a-a59a-73e96f5497a9
echo 'Loading Linux 3.7.0-2.dmz.1-liquorix-686 ...'
linux /boot/vmlinuz-3.7.0-2.dmz.1-liquorix-686 root=UUID=be31f4b1-ceb1-4f3a-a59a-73e96f5497a9 ro quiet splash
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-3.7.0-2.dmz.1-liquorix-686
linux /boot/vmlinuz-3.7.0-2.dmz.1-liquorix-686 root=UUID=be31f4b1-ceb1-4f3a-a59a-73e96f5497a9 ro quiet splash rw init=/bin/bash

wayne128 wrote:so you are supposed to scroll to the linux line, move cursor untill the end of the line
and type the command
rw init=/bin/bash
wayne128 wrote:then ctrl-x or f10 to boot,
when it boots up, the console will look like this
(none) /#


pepperminty wrote:Here's how my GRUB text looks after implementing your advice:
http://i.imgur.com/8xRJc2K.jpg.


mkdir mint
mount /dev/sda2 mint
sudo chroot mint
passwd <username>
rw init=/bin/bash

pepperminty wrote:
I press F10 and I get this:
http://i.imgur.com/iuoLWES.jpg
And my Caps Lock LED light is blinking. I did a hard power off on the computer to restart the computer.
Please help.

cwsnyder wrote:I'm sorry one of the above methods didn't work for you.
This method works, but requires another Linux system, either a Live Linux medium, either your Mint install medium, Knoppix, Slitaz, Puppy Linux, or similar on CD/DVD or USB key, whichever will boot on your computer, or another Linux install on your system.
1) Boot into your Live Linux system.
2) Mount your Mint root partition. If you don't see an icon on your desktop, you can open a Terminal instance and type fdisk -l (that is the lower case L) to find the device name for your root partition or open whatever partitioning software is available to you to get that information. It will look something like /dev/sdaX where X is the number of the partition on the hard drive.
3) Still in Terminal, typeChange /dev/sda2 to point to the partition containing your Mint root partition, of course, and use the <username> of the user which you need to change the password.
- Code: Select all
mkdir mint
mount /dev/sda2 mint
sudo chroot mint
passwd <username>
4) Type in the new password twice as prompted.
5) Use exit or Ctrl-D key combination to exit chroot and then the terminal.
6) Reboot and use the newly assigned password.



cwsnyder wrote:You will have to ensure that you have the encryptfs support installed and that you know the password you assigned. Otherwise . . . probably not.


cwsnyder wrote:
- Code: Select all
mkdir mint
mount /dev/sda2 mint
sudo chroot mint
passwd <username>
caleb:$6$G38q2krH$Oj5.F6agZhabI..INOSZ8Qkk/9hpr9xBkhj/TK2KmTFijXh.nqCjFQtjdaEAk$jdaEAkLRqTRDl8kZHBFXAt/TbRuFHD0:15846:0:99999:7:::caleb::15846:0:99999:7:::
CalebW wrote:cwsnyder wrote:
- Code: Select all
mkdir mint
mount /dev/sda2 mint
sudo chroot mint
passwd <username>
The above instructions should work because when you installed linux and it asked if you wanted to encrypt your "home" folder, it doesn't encrypt everything else.








Users browsing this forum: No registered users and 14 guests