progress
This commit is contained in:
parent
3bdaafd339
commit
94bb5ff3c8
1 changed files with 2 additions and 2 deletions
|
@ -53,6 +53,7 @@ then
|
||||||
error
|
error
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
message " ----==== nanodesk Installer ====----"
|
||||||
message "Make sure you have a linux compatible filesystem at $target"
|
message "Make sure you have a linux compatible filesystem at $target"
|
||||||
message "!! The installer immediately begins to write things to disk !!"
|
message "!! The installer immediately begins to write things to disk !!"
|
||||||
message "!! The installer only works reliable with legacy BIOS boot !!"
|
message "!! The installer only works reliable with legacy BIOS boot !!"
|
||||||
|
@ -85,8 +86,7 @@ message "create tmp script for reinstalling grub and kernel"
|
||||||
echo "DEBIAN_FRONTEND=noninteractive
|
echo "DEBIAN_FRONTEND=noninteractive
|
||||||
export DEBIAN_FRONTEND
|
export DEBIAN_FRONTEND
|
||||||
/usr/bin/apt --yes purge 'linux-image-*' 'grub-*'
|
/usr/bin/apt --yes purge 'linux-image-*' 'grub-*'
|
||||||
#/usr/bin/apt --yes install 'linux-image-amd64' 'grub-pc'
|
#/usr/bin/apt --yes install linux-image-amd64 linux-image-$(uname -r) grub-pc grub-pc-bin" > /mnt/tmp/reinstall_kernel.sh
|
||||||
/usr/bin/dpkg -i /root/kernel_deb/*.deb" > /mnt/tmp/reinstall_kernel.sh
|
|
||||||
|
|
||||||
message "install kernel and grub"
|
message "install kernel and grub"
|
||||||
$CHROOTCMD /bin/bash /tmp/reinstall_kernel.sh || error
|
$CHROOTCMD /bin/bash /tmp/reinstall_kernel.sh || error
|
||||||
|
|
Loading…
Reference in a new issue