Update ramfs with chroot...
This commit is contained in:
parent
265c4f8110
commit
a1bee64ed5
|
@ -240,7 +240,7 @@ luks_part_uuid=$(blkid | grep "${hdd}2.*TYPE=\"crypto_LUKS\"" | sed 's/.*UUID="\
|
||||||
printf '%b\n' "${luks_pv_name} UUID=${luks_part_uuid} none luks,discard" >> /target/etc/crypttab
|
printf '%b\n' "${luks_pv_name} UUID=${luks_part_uuid} none luks,discard" >> /target/etc/crypttab
|
||||||
|
|
||||||
### Regenerate initramfs
|
### Regenerate initramfs
|
||||||
update-initramfs -k all -u
|
chroot /target update-initramfs -k all -u
|
||||||
## }}}
|
## }}}
|
||||||
## Network {{{
|
## Network {{{
|
||||||
### Get all informations from current network configuration in rescue mode
|
### Get all informations from current network configuration in rescue mode
|
||||||
|
|
Loading…
Reference in New Issue