pepperminty wrote:Step 5 is impossible, because there was no line that began with "kernel".
@pepperminty,
you are very close...
here is just explanation,
if you use grub legacy, then, it boots from kernel line that start with the word
kernelsince now you boot with grub2, the kernel line has the word
linux.....
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/bashthen ctrl-x or f10 to boot,
when it boots up, the console will look like this
(none) /#your next step is to list your home directory (ls /home) to find your last login name
- Code: Select all
ls /home
terminal will show
your_namenext step is to type after the #
- Code: Select all
passwd your_name
and enter your new password twice when prompted.
if all is well, reboot and use new password.
hope it helps
ps, capture mine to show you where exactly to type
this are the lines
the one you need to use is highlighted in
REDinsmod 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
move cursor to
RED line, type in, so the line look likes
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