/usr/share/doc/bootcd/examples/bootcd2disk.conf.lvm is in bootcd 4.05.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 | # Example for 3 disks and lvm:
#
# Disk: +---DISK0-----+ +---DISK1-----+ +DISK2+
# Partition: DISK0P1 DISK0P2 DISK1P1 DISK1P2 DISK2P1
# Volumegroups: +----VG00-----+ +----VG01-----+
# Logical Volumes: LV00 LV01 LV02
# Usage: /boot swap / /usr
#
#
ERRLOG=/var/log/bootcd2disk.log
# the disk's, we have 3
DISK0="auto"
DISK1="auto"
DISK2="auto"
# Syntax:
# LVMGRP="<group> <diskdev> [<diskdev> ...][<vgcreate-cmd>][\n ...]"
#
LVMGRP="vg00 DISK0P2 DISK1P1
vg01 DISK1P2 DISK2P1"
# Syntax:
# LVMVOL="<volname> <size> <group> [<lvcreate-cmd>][\n ...]"
#
# size in vgcreate syntax, e.g.: 100 means 100 MByte
#
LVMVOL="lv00 100 vg00
lv01 2000 vg00
lv02 2000 vg01 lvcreate -n lv02 -i 2 -I 8 -L 2000 vg01"
TRYFIRST=""
# If you don't want to repartition anything use:
# SFDISK0=""
# If you want to specify yourself: see man sfdisk
# SFDISK0="
# ,50
# ,100,S
# ;
# "
# If you want to do it automatically. There will be 3 partitions
# /boot, swap and /. /boot is created first to be sure the bios can load
# the kernel also on very large disks.
SFDISK0="
,50
,3000
"
SFDISK1="
,3000
,3000
"
SFDISK2="
,3000
"
# VFAT is normally only needed on ia64 for EFI files.
VFAT=""
# Do not run mke2fs:
# EXT2FS=""
EXT2FS="DISK0P1
/dev/vg00/lv01
/dev/vg01/lv02"
EXT3="auto"
# If you don't want to run mkswap use:
# SWAP=""
# If you want to specify partitions for mkswap:
# SWAP="/dev/hda2"
# If you want to automatically use mke2fs:
SWAP="/dev/vg00/lv00"
# If you don't want to mount anything, before copying the cd to /mnt
# MOUNT=""
# UMOUNT=""
# hint: Use also newlines for new commands instead of ";".
MOUNT="mount /dev/vg00/lv01 /mnt
mkdir /mnt/boot; mount DISK0P1 /mnt/boot
mkdir /mnt/usr; mount /dev/vg01/lv02 /mnt/usr"
UMOUNT="umount /mnt/usr
umount /mnt/boot
umount /mnt"
# If you don't want to change the /etc/fstab copied form cd:
# FSTAB=""
FSTAB="
DISK0P1 /boot ext2 defaults,errors=remount-ro 0 1
/dev/vg00/lv00 none swap sw 0 0
/dev/vg00/lv01 / ext3 defaults,errors=remount-ro 0 1
/dev/vg01/lv02 /usr ext3 defaults,errors=remount-ro 0 1
proc /proc proc defaults 0 0
"
GRUB2=""
# If you don't want to use GRUB:
# GRUB=""
GRUB="
default 0
timeout 5
color cyan/blue white/blue
title Debian GNU/Linux
root (hd0,0)
kernel /vmlinuz-2.6.18-4-686 root=/dev/mapper/vg00-lv01 ro
initrd /initrd.img-2.6.18-4-686
savedefault
boot
"
# Only if you BIOS sees another disk as the first disk you may
# have to change the next line.
GRUBBOOTDISK="hd0"
# If GRUB is defined and installed LILO will be ignored.
LILO="auto"
# SSHOSTKEY=yes|no
SSHHOSTKEY=yes
# UDEV_FIXNET=yes|no
UDEV_FIXNET="yes"
# IMAGEURL="url"
IMAGEURL=""
|