Quote |
Scanning for USB devices.....done Looking for CDROM on /dev/hda2 Can't find Knoppix filesystem Dropping you to a (very limited) shell) |
Code Sample |
# New: also check HD partitions for a KNOPPIX/KNOPPIX image test -n "$FOUND_SCSI" -a -z "$NOSCSI" && DEVICES="$DEVICES /dev/sd?[1-9] /dev/sd?[1-9][0-9]" DEVICES="$DEVICES /dev/hd?[1-9] /dev/hd?[1-9][0-9]" case "$CMDLINE" in *fromhd=/dev/*) DEVICES="$fromhd";;; esac for i in $DEVICES do echo -n "${CRE}${BLUE}Looking for CDROM in: ${MAGENTA}$i${NORMAL} " sleep 20 if mountit $i /cdrom "-o ro" >/dev/null 2>&1 then if test -f /cdrom/$KNOPPIX_DIR/$KNOPPIX_NAME then echo -n "${CRE} ${GREEN}Accessing DSL image at ${MAGENTA}$i${GREEN}...${NORMAL}" FOUND_KNOPPIX="$i" break fi umount /cdrom fi done |