[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: After upgrade to squeeze OS will not accept passphrase to unlock disk



On Wed, 14 Sep 2011 14:20:03 -0600, Bob Proulx wrote:

> Walter Hurry wrote:
>> I don't know what finnix is, but if it allows you to mount and access
>> the Debian filesystem, then here is one way:
>> 
>> Boot into finnix.
>> Become finnix's root.
>> Mount the Debian partition containing /etc. Edit Debian's /etc/inittab.
>> Look for the line under # What to do in single-user mode. Change it
>> from ~~:S:wait:/sbin/sulogin to ~~:S:wait:/bin/bash Now boot Debian
>> into single user mode and you will not be asked for a password. You can
>> now run passwd.
> 
> Even easier is to boot the system with init=/bin/bash as a kernel
> commandline boot parameter.  Then instead of init loading it will load
> bash as the init process.  This is in some ways similar to single user
> mode.  It won't ask for a password and you can then mount disks and
> repair the system.

Agreed. There is more than one way to skin this particular cat.


Reply to: