Skip to content
Snippets Groups Projects
Verified Commit f09837d5 authored by Vladimír Štill's avatar Vladimír Štill
Browse files

debootstrap: Boot EFI dir in EFI mode

parent 27710d7e
No related branches found
No related tags found
No related merge requests found
......@@ -66,6 +66,10 @@ mkfs.xfs -m reflink=1 $ROOTD
ROOT=/mnt/root
mkdir -p $ROOT
mount $ROOTD $ROOT
if [[ "$EFI" = "efi" ]]; then
mkdir -p $ROOT/boot/efi
mount $(getpart $DISK 1) $ROOT/boot/efi
fi
debootstrap stable $ROOT http://ftp.cz.debian.org/debian/
cp debootstrap-stage2 $ROOT/root/
genfstab $ROOT > $ROOT/etc/fstab
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment