Quellcode |
|
1 2 |
kernel /boot/kernel-2.6.34-gentoo-r1 dolvm root=/dev/ram0 real_root=/dev/vg/root init=/linuxrc ramdisk=8192 initrd=/boot/initramfs-x86_64-2.6.34-gentoo-r1 |
Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »Michigen« (25.08.2010, 11:07)
Quellcode |
|
1 2 |
mount /dev/vg/Test-Crypt /mnt/Test-Crypt/ mount: /dev/mapper/vg-Test--Crypt already mounted or /mnt/Test-Crypt/ busy |
Quellcode |
|
1 2 3 |
# cryptsetup luksOpen /dev/mapper/vg-private1 crypt-blabla1 Geben Sie den Passsatz für /dev/mapper/vg-private1 ein: # mount /dev/mapper/crypt-blabla1 /media/private1 |
Quellcode |
|
1 2 3 |
mkfs.ext3 /dev/vg/Test-Crypt mke2fs 1.41.11 (14-Mar-2010) /dev/vg/Test-Crypt is apparently in use by the system; will not make a filesystem here! |
Merke, luksOpen erzeugt ein neues Device unter /dev/mapper.
Quellcode |
|
1 |
mkfs.ext3 /dev/mapper/Test |
Quellcode |
|
1 2 3 |
mkfs.ext3 /dev/mapper/vg-Test mke2fs 1.41.11 (14-Mar-2010) /dev/mapper/vg-Test is apparently in use by the system; will not make a filesystem here! |
Quellcode |
|
1 2 3 4 5 6 7 8 |
ls -l /dev/mapper/ total 0 lrwxrwxrwx 1 root root 7 Aug 25 07:54 Test -> ../dm-4 crw-rw---- 1 root root 10, 60 Aug 25 2010 control lrwxrwxrwx 1 root root 7 Aug 25 2010 vg-home -> ../dm-1 lrwxrwxrwx 1 root root 7 Aug 25 2010 vg-Test -> ../dm-3 lrwxrwxrwx 1 root root 7 Aug 25 2010 vg-root -> ../dm-0 lrwxrwxrwx 1 root root 7 Aug 25 2010 vg-swap -> ../dm-2 |
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Michigen« (25.08.2010, 08:12)
Quellcode |
|
1 2 3 4 |
lvm volumes are no longer automatically created for │ │baselayout-2 users. If you are using baselayout-2, be sure to │ │run: # rc-update add lvm boot │ │Do NOT add it if you are using baselayout-1 still. |
Quellcode |
|
1 2 |
kernel /boot/kernel-2.6.34-gentoo-r1 dolvm root=/dev/ram0 real_root=/dev/mapper/root init=/linuxrc crypt_root=/dev/vg/root ramdisk=8192 initrd=/boot/initramfs-x86_64-2.6.34-gentoo-r1 |
Quellcode |
|
1 2 3 4 5 6 7 8 9 10 11 12 |
>>Activating Volume Groups 4 logical volumes in volume group "vg" now active Enter passphrase for /dev/mapper/vg-root: device-mapper:reload ioctl failed: Invalid argument Failed to setup dm-crypt key mapping for device /dev/mapper/vg-root. Check that kernel support aes-cbc-essiv:sha256 ciper (check syslog for more info) Failed to read from key storage. !!Failed to open LUKS device /dev/mapper/vg-root !!Could not find the root in /dev/mapper/vg-root. Please specify another value or: press Enter for the same, type "shell" for a shell, or "q" to skip... root(/dev/mapper/vg-root) :: |
Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Michigen« (26.08.2010, 12:46)
Quellcode |
|
1 2 |
kernel /boot/kernel-2.6.34-gentoo-r1 dolvm crypt_root=/dev/vg/root initrd=/boot/initramfs-x86_64-2.6.34-gentoo-r1 |