From 3e468cd132a746e5227b7e203426f80a851ffdb9 Mon Sep 17 00:00:00 2001 From: BodgeMaster <> Date: Fri, 14 Jul 2023 23:19:18 +0200 Subject: [PATCH] =?UTF-8?q?install=20stage=201:=20don=E2=80=99t=20show=20o?= =?UTF-8?q?ptical=20drives?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- install-stage1.sh | 6 +++--- notes_to_self.txt | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/install-stage1.sh b/install-stage1.sh index 2ded17e..b17021d 100644 --- a/install-stage1.sh +++ b/install-stage1.sh @@ -86,13 +86,13 @@ KBD_LAYOUT="de-latin1" clear echo "Select the USB stick to install to (NAME column below)... " -# exclude loop devices -lsblk --exclude 7 --nodeps --output NAME,SIZE,MODEL +# exclude loop devices and optical drives +lsblk --exclude 7,11 --nodeps --output NAME,SIZE,MODEL echo "" read -p "> " TARGET_DISK while [ ! -b "/dev/$TARGET_DISK" ]; do - lsblk --exclude 7 --nodeps --output NAME,SIZE,MODEL + lsblk --exclude 7,11 --nodeps --output NAME,SIZE,MODEL echo "$TARGET_DISK is not a valid device!" read -p "> " TARGET_DISK done diff --git a/notes_to_self.txt b/notes_to_self.txt index 6fc29f7..eb9e252 100644 --- a/notes_to_self.txt +++ b/notes_to_self.txt @@ -13,7 +13,6 @@ make our own or extract (if feasible) kb selection and time zone selection to hi - kbd-data overview of the installation process at the start overall progress indication (step x out of y) -exclude optical drives add bash completion along the line somewhere replace OpenBox with something lighter allow unprivileged users to mount / unmount disks in GUI sessions