Ich hab meinen Laptop heute neu aufgesetzt mit cryptroot und lvm, dH ich hab folgende plattenstruktur:
/dev/sda1 /boot
/dev/sda2 luks
\- vg clavicula
|- lv clavicula-root /
|- lv clavicula-home /home
|- lv clavicula-swap swap
So Problem: Ich bin grad mit grml 2009.10 online und wollte grub installieren. Also alles gemountet:
/dev/mapper/clavicula-root /mnt/bla/
/dev/mapper/clavicula-home /mnt/bla/home
/dev/sda1 /mnt/bla/boot
/proc /mnt/bla/proc
/dev /mnt/bla/dev
Dann grub-install --root-directory=/mnt/bla /dev/sda
Grub ist auch da, nur hab ich keine config -.- das grub was installiert ist ist 0.97-59
Die Platten sind in /etc/crypttab und /etc/fstab eingetragen, wenn ich eine grub config habe kanns los gehen
![Smile :)](./images/smilies/icon_smile.gif)
edit: ok ich bin ein bisserl weiter, das cryptoroot wird erkannt und geunlocked
Problem: grub gibt mir einen coolen Error aus (ausm gedächntnis)
cryptsetup: lvm device name (clavicula) does not contain a dash
extraced aus der grub.cnf:
Code: Alles auswählen
menuentry "Debian GNU/Linux, with Linux 2.6.30-2-686" {
insmod ext2
set root=(hd0,1)
search --no-floppy --fs-uuid --set bc217af7-a205-4b04-8c6e-b7332d35df50
echo Loading Linux 2.6.30-2-686 ...
linux //vmlinuz-2.6.30-2-686 root=/dev/mapper/clavicula-root ro quiet video=uvesafb:mode_option=1280x768-24 resume=/dev/mapper/clavicula-swap
echo Loading initial ramdisk ...
initrd //initrd.img-2.6.30-2-686
}
Code: Alles auswählen
(hd0) /dev/sda
(hd1) /dev/mapper/cryptoroot
edit2: es waren die einträge für initramfs falsch, jetzt klappt es!