mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-02 01:18:08 +01:00
Support reboot in non-chroot modes using grub and an init script
We use grub-2.06 as 2.12 has some packaging issues, and can't be built in live-bootstrap for now.
This commit is contained in:
parent
eb3414c2da
commit
6d26855dc6
9 changed files with 168 additions and 2 deletions
|
|
@ -32,6 +32,7 @@ if [ $((0x$(stat -c "%T" "/dev/${DISK}") % 8)) -eq 0 ]; then
|
|||
echo "Creating ext4 partition..."
|
||||
mkfs.ext4 -F -F "/dev/${DISK}1"
|
||||
DISK="${DISK}1"
|
||||
echo DISK="${DISK}" >> /steps/bootstrap.cfg
|
||||
fi
|
||||
|
||||
# Mount the partition, move everything into /external
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue