The good thing is that my disk drive is ok YAY and the encrypted root stuff still works on it. Can you give me the steps that you used to make a bootable /boot on cd?
Chad
Code: Select all
default 0
timeout 15
splashimage=/boot/grub/splash.xpm.gz
title=Boot
root (hd0,0)
kernel /bzImage ro root=/dev/ram0
initrd /initrd.gz

Great info, eonic!eonic wrote:Sure
mke2fs /dev/fd0
mount /dev/fd0 /mnt/floppy
...

This is an EXCELLENT question -- because of course if you use suspend-to-disk with an unencrypted swap, ANYONE with access to your hard disk can read your memory -- including any kernel structures that hold your keys to the encrypted disk!xi wrote:is it possible to use encrypted swap (cryptoloop or loop-aes) with swsusp (suspend to disk) ?




OK, thanks, I get it... your XFS partition is NOT encrypted, right? I had horrible I/O errors with encrypted XFS under 2.5.69-bk18, with both loop-AES and cryptoAPI.chadders wrote:HI watersb! I didnt use anything special on my mkfs.xfs and used the defaults.
Do I think it's stable enough now... um, no. It seems to work for me, and it seems like a relatively small layer on top of the CryptoAPI, but things could break in the next kernel release (which I will try Real Soon Now).I'm thinking about trying out crypto-api again because I want to use 2.5 kernels. I tried loop-AES on 2.5.something a while ago and it didnt work too good. Do you think crypto-API is stable enough now?

Code: Select all
Code maturity level options --->
[*] Prompt for development and/or incomplete code/drivers
Processor type and features --->
[*] MTRR (Memory Type Range Register) support
Block Devices ->
[*] Loopback device support
[*] RAM disk support
(4096) Default RAM disk size
[*] Initial RAM disk (initrd) support
Console Drivers ->
[*] VGA text console
[*] Video mode selection support
Frame-buffer support ->
[*] Support for frame buffer devices
[*] VESA VGA graphics console
[*] Use splash screen instead of boot logo


This sounds like a /dev/vc/... issue to me.TinheadNed wrote: Now it (presumably) correctly mounts the boot partition, but all it says is "could not open initial console" and halts again. I have absolutely no idea where this comes from in the source for build-initrd, it only appears to open /dev/console after mounting the root partition (which I never get asked the password for), so it seems to be doing it before trying to mount any other drives.
Code: Select all
# TERMINALS
c1:12345:respawn:/sbin/agetty 38400 vc/1 liunx
c2:12345:respawn:/sbin/agetty 38400 vc/2 liunx

Check this out...bryon wrote:Has anyone figured out how to get /boot on a USB drive to work yet?

Thanks! That wasn't it... still trying...Spider wrote:those who had problems getting the initrd to load properly, heres a hint from the developers:
http://mail.nl.linux.org/linux-crypto/2 ... 00122.html