Hi,

I'd like to have several debian-installers on one pendrive (luks
encrypted) and
keep them in subdirectories.

I've set up grub.cfg in mbr to choose between them.

At the moment it works, but I need to run several commands manually:

For example:

anna-install cryptsetup-udeb
anna-install crypto-dm-modules
anna-install crypto-modules
depmod -a
modprobe dm-mod
cryptsetup luksOpen /dev/sda3 sda3
mkdir cdr
mount -t ext4 /dev/mapper/sda3 /cdr
umount /cdrom
mount --bind /cdr/i386 /cdrom

How can I automate those commands?

Thanks!
Jurek

Reply via email to