BTS

Issue298

Title grml-debootstrap: support LVM
Priority wish Status dead
Superseder Nosy List mika
Assigned To Topics

Created on 2007-09-27.21:48:10 by mika, last changed 2011-06-13.04:11:21 by mru.

Messages
msg3860 (view) Author: mru Date: 2011-06-13.04:11:21
No -> marked as dead 

JFTR with grub2 you wouldn't even need a dedicated /boot partition anymore
msg2997 (view) Author: mika Date: 2010-02-27.20:44:28
Does anyone care about this?
msg831 (view) Author: mika Date: 2007-09-27.21:48:09
The logic itself isn't that complex, we just need some further checks in the 
code. A usage example from reallife:

pvcreate /dev/cciss/c0d0p3
vgcreate avl01_vg /dev/cciss/c0d0p3
lvcreate -n root_lv -L8G avl01_vg
vim /etc/debootstrap/config # set /dev/mapper/avl01_vg-root_lv as target
grml-debootstrap
mkfs.ext3 /dev/cciss/c0d0p1
tune2fs -c 0 -i 0 /dev/cciss/c0d0p1
mount /dev/cciss/c0d0p1 /mnt/test
mount /dev/mapper/avl01_vg-root_lv /mnt/grml
mkdir /mnt/test/boot
cp -a /mnt/grml/boot/* /mnt/test/boot/
grub-install --root-directory=/mnt/test /dev/cciss/c0d0
cd /mnt/grml ; mkdir boot.part ; ln -s boot.part/boot boot
umount /mnt/grml
umount /mnt/test
History
Date User Action Args
2011-06-13 04:11:21mrusetstatus: needs-progress -> dead
messages: + msg3860
2010-02-27 20:44:29mikasetstatus: unread -> needs-progress
messages: + msg2997
2007-09-27 21:48:10mikacreate