I have no idea how to fix the syslinux issue, but if it does not work I would recommend to keep a boot partition with the kernel image etc. unencrypted on your harddisk. Since this partition doesn't contain any sensitive data, there's no need for it to be encrypted. You can then modify the linuxrc file in the initrd image to mount a usb-stick with your keyfiles stored on and after that mount your encrypted partitions.but, i've a problem: i tried to starting the system with an usb-device, but when starting the system syslinux print out a message that say "the sysstem is not avabile for this device, inserit the corret device"
Code: Select all
CONFIG_BLK_DEV_DM=y
CONFIG_DM_CRYPT=y
CONFIG_BLK_DEV_LOOP=y
CONFIG_BLK_DEV_INITRD=y
CONFIG_BLK_DEV_RAM=y
CONFIG_CRYPTO_SHA256=y
CONFIG_CRYPTO_BLOWFISH=y
CONFIG_CRYPTO_SERPENT=y

it seems that this is a question for me, isn't it?alecpap wrote:I don't mean to beat a dead horse, but I'm also getting the failed to setup dm-crypt mapping error message.
Code: Select all
exec /bin/sh Code: Select all
usb 2-1: new full speed USB device using ohci_hcd and address 2
ub(2.2): GetMaxLUN returned 0, using 1 LUNs
uba: uba1 < uba5 >
Code: Select all
mkdir /mnt
mkdir /mnt/usbkey
mount -t ext2 /dev/uba5 /mnt/usbkey


Code: Select all
unable to mount root fs on unknown-block{1,0)Code: Select all
default 0
timeout 5
splashimage=(hd0,0)/grub/splash.xpm.gz
title=Gentoo
root(hd0,0)
kernel /kernel-2.6.15-gentoo-r1 root=/dev/ram0 rw init=/linuxrc vga=0x318 video=vedafb:mtrr,ywrap
initid (hd0,0)/initrd


luks encryption is done to the partition, not the disk. It is safe to install windows IF you left free space for it. Be aware that windows will overwrite your MBR though.mephist0 wrote: Is it possible to install windows xp afterwards ? is it safe ?
I mean, I dont want to loose my data
EDIT : As I installed Gentoo I left 50GB free space for windows for gaming ... someone got a tip ?
Thanks

Thanks for the info !GenKreton wrote:luks encryption is done to the partition, not the disk. It is safe to install windows IF you left free space for it. Be aware that windows will overwrite your MBR though.mephist0 wrote: Is it possible to install windows xp afterwards ? is it safe ?
I mean, I dont want to loose my data
EDIT : As I installed Gentoo I left 50GB free space for windows for gaming ... someone got a tip ?
Thanks
That should be sufficient. You just need to add it to the grub menu as well. It's actually easier to get grub to boot windows than it is Linux ironically...mephist0 wrote: Thanks for the info !
After installing Windows, I think I can boot from the Gentoo installCD and launch grub-install again ?
so, time to go to bed ...
gn8 all
Yes, read the last entry of the FAQ section.fuzebest wrote:Sorry, for little offtopic.
Are there any guide how to create encrypted CD/DVD images using LUKS?
thank you!
sorry again
No, it's not, make sure you're not reading the passphrase from /dev/random.Armageddon wrote: hello,
first of all thank you for this really great howto
i installed a encryptet system and all works fine.
The only thing not working correctly is the Encypting swap at boot.
It needs more then 15 mins to make the swap is that normal?
herejester42 wrote:
I have got one question right now: is the skull-ascii-art shown in the article available for download somewhere? i quite like it![]()
I have no idea, I think i remember seeing something about this in on some Mailing lists, but I dont have the links to it, sorry.Mr.Pink wrote: Hi all,
sorry swit for interrupting you and posting a new question without yours being answered...
I read the HOWTO and the posts in here and now I'd like to try to setup an encrypted system. The problem thereby is that I'd like to use LVM to create individual resizable partitions for not only root but also /home, /usr etc.
Am I right when I say that in this case it would be necessary to encrypt the whole harddisc at once using /dev/hda for instance and then setting up the LVM partitions to use with LVM or will I have to encrypt every LVM partition itself with a different key/passphrase?
Or is it even impossible to use LVM and encryption at the same time?
Regards
Mr.Pink

Code: Select all
root=*) # get root and fs typeCode: Select all
root=/dev/sda2:ext3) # get root and fs typeCode: Select all
default 0
timeout 90
splashimage=(hd0,0)/grub/splash.xpm.gz
title=Gentoo Linux 2.6.16
root (hd0,0)
kernel /kernel-2.6.16-gentoo-r7 root=/dev/sda2:ext3 vga=0x31B video=vesafb:ywrap,mtrr:3