mirror of
https://github.com/bohanyang/debi.git
synced 2026-09-26 22:16:11 +00:00
Update
This commit is contained in:
@@ -186,7 +186,7 @@
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright 2018 Brent, Yang Bohan
|
||||
Copyright 2018-present Brent, Yang Bohan
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
- A clean normally running true virtualization (e.g. KVM) VPS with GRUB 2 and VNC access. This script have been tested on SolusVM KVM VPS & Alibaba Cloud ECS with Debian 9 & Ubuntu 16.04.
|
||||
- Then check `/etc/default/grub` with your preferred editor (e.g. `nano` or `vi`).
|
||||
- Set `GRUB_DEFAULT` to `debian-netboot-installer` select the installer to boot automatically after timeout.
|
||||
- Set `GRUB_DEFAULT` to `debi` select the installer to boot automatically after timeout.
|
||||
- Make sure there's reasonable number for `GRUB_TIMEOUT` **timeout**. You can just set `GRUB_TIMEOUT=10` which will be fine.
|
||||
- Make sure there's **no** `GRUB_HIDDEN_TIMEOUT_QUIET` and `GRUB_HIDDEN_TIMEOUT`. **Just delete them.**
|
||||
|
||||
@@ -78,5 +78,5 @@ You can select a template for quickly applying options. All custom settings will
|
||||
- `sudo reboot` with your SSH and the VM should **reboot**.
|
||||
- Switch to your VNC window **quickly**. You should enter the **GRUB selection menu** now.
|
||||
- If you've configured correct `GRUB_DEFAULT`, it should be booted into installer automatically after timeout.
|
||||
- Or, use your keyboard to **select** `New Install` and **enter** it. Also, **be quick**, just do not miss the `GRUB_TIMEOUT` timeout you've set.
|
||||
- Or, use your keyboard to **select** `Debian Installer` and **enter** it. Also, **be quick**, just do not miss the `GRUB_TIMEOUT` timeout you've set.
|
||||
- Finally, you should see the screen of Debian Installer now. It will setup all things automatically and reboot when complete.
|
||||
|
||||
+1
-1
@@ -359,7 +359,7 @@ if [ "$DEBI_DRYRUN" != true ]; then
|
||||
gzip initrd
|
||||
|
||||
cat >> "$DEBI_GRUB_CONFIG" << EOF
|
||||
menuentry 'New Install' --id debian-netboot-installer {
|
||||
menuentry 'Debian Installer' --id debi {
|
||||
insmod part_msdos
|
||||
insmod ext2
|
||||
set root='(hd0,msdos1)'
|
||||
|
||||
Reference in New Issue
Block a user