Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #177973 > unrolled thread
| Started by | jurek <jurek.mlynarczyk@o2.pl> |
|---|---|
| First post | 2017-02-18 14:40 +0100 |
| Last post | 2017-02-19 01:20 +0100 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.debian.user
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
| From | jurek <jurek.mlynarczyk@o2.pl> |
|---|---|
| Date | 2017-02-18 14:40 +0100 |
| Subject | customizing debian-installer |
| Message-ID | <tcdp0-2tj-7@gated-at.bofh.it> |
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
[toc] | [next] | [standalone]
| From | Brian <ad44@cityscape.co.uk> |
|---|---|
| Date | 2017-02-19 01:20 +0100 |
| Message-ID | <tcnol-kh-1@gated-at.bofh.it> |
| In reply to | #177973 |
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.
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web