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