Re: whole disk encryption -- not prompting for passphrase



On Monday 20 October 2008 19:13, Hatta wrote:
Yes, I have run 'update-initramfs -v -u -k 2.6.24-1-686'

This had no effect.

I cannot find any documentation as to how the system is supposed to find
and
unencrypt encrypted drives. When in the boot process is the system
supposed to load these drives? What commands does it use? In what files
do those commands
reside? Where is the documentation for this stuff? All I can find are
HOWTOs,
which contain absolutely no theory, and so are absolutely useless for
troubleshooting.

Can *anybody* help me with this?

I'm not sure how helpful this will be, but you can investigate from
within busybox, within limits, of course -- the "mount" command is
available, and you can step through the various start-up scripts in
the initramfs. Try booting with "break=mount" as a kernel argument,
and see how things look from inside -- this will dump you into
busybox just before the root fs gets mounted. The kernel command
line is in /proc/cmdline, so you can see if the bootloader maybe
made hamburger out of your parameters.

Failing that, you can unpack the initramfs (it's a cpio archive)
onto a convenient system and step through the boot process manually --
almost everything in there is a shell script, and I think they start with
/sbin/init, or something equally obvious.

The initramfs's search strategy has got to be in there, and I bet
it's not complicated. I recently untangled some net-booting issues
this way.

-- A.
--
Andrew Reid / reidac@xxxxxxxxxxxxxxxx


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: [opensuse] Up to date bonding documentation ?
    ... the most current documentation under ... I've found some docs about "bonding" but it is written that it is an obsolete page! ... To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx ... For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx ...
    (SuSE)
  • Re: How to convert the date ?
    ... yuo can see the documentation of this modules on http://search.cpan.org ... and want to display as ... To unsubscribe, e-mail: beginners-unsubscribe@xxxxxxxx ... For additional commands, e-mail: beginners-help@xxxxxxxx ...
    (perl.beginners)
  • Re: [opensuse] Bootable Flash Drive building with OpenSUSE
    ... There is some documentation on the wikibut I've never used it myself. ... To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx ... For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx ...
    (SuSE)
  • Re: [opensuse] Hardware req. for server?
    ... I was looking at the documentation for apacheand felt a little ... You can't stop it from forking entirely -- it needs one process for each ... To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx ... For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx ...
    (SuSE)
  • Re: Finding installed package files
    ... is a package with the common man pages for the thousand odd common commands ... Seeing as how 18 percent of the package is documentation - have you looked ... >a set of commands and 'man' pages, could produce such a directory to make it ... There are 16 books in front of me between the monitors, ...
    (alt.os.linux.redhat)