[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



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Walter Hurry wrote:
> 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.> 

Thank you both for these suggestions.  Before doing a new installation I
shall try them and report back with the results.

Ken
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAk5yEC4ACgkQlNlJzOkJmTeMVACeJVhLC8G5q5wGNhjb8DLIjcSx
0wgAniyQwrLA+Ie9SMyidHhbxJFNHhvt
=SW/s
-----END PGP SIGNATURE-----


Reply to: