Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #177984

Re: customizing debian-installer

From Brian <ad44@cityscape.co.uk>
Newsgroups linux.debian.user
Subject Re: customizing debian-installer
Date 2017-02-19 01:20 +0100
Message-ID <tcnol-kh-1@gated-at.bofh.it> (permalink)
References <tcdp0-2tj-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sat 18 Feb 2017 at 14:24:56 +0100, jurek wrote:

> 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?

Take a look at early_command and late_command to begin with. The
Installation Manual should help.

-- 
Brian.

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

customizing debian-installer jurek <jurek.mlynarczyk@o2.pl> - 2017-02-18 14:40 +0100
  Re: customizing debian-installer Brian <ad44@cityscape.co.uk> - 2017-02-19 01:20 +0100

csiph-web