Chroot: Install kernel and grub
This commit is contained in:
parent
b8fff539b9
commit
6583d32ddf
|
@ -237,6 +237,12 @@ printf '%b\n' "Europe/Paris" > /target/etc/timezone
|
||||||
ln -fs /usr/share/zoneinfo/Europe/Paris /target/etc/localtime
|
ln -fs /usr/share/zoneinfo/Europe/Paris /target/etc/localtime
|
||||||
chroot /target dpkg-reconfigure --frontend noninteractive tzdata
|
chroot /target dpkg-reconfigure --frontend noninteractive tzdata
|
||||||
|
|
||||||
|
## }}}
|
||||||
|
## Kernel and Grub {{{
|
||||||
|
chroot /target aptitude install --assume-yes --without-recommends -- linux-image-amd64 grub-pc
|
||||||
|
chroot /target grub-install "${hdd}"
|
||||||
|
chroot /target update-grub
|
||||||
|
|
||||||
## }}}
|
## }}}
|
||||||
# }}}
|
# }}}
|
||||||
# Finish {{{
|
# Finish {{{
|
||||||
|
|
Loading…
Reference in New Issue