#!/bin/bash # Manual bootable image creation script set -e WORK_DIR="$1" if [ -z "$WORK_DIR" ]; then echo "Usage: $0 " exit 1 fi echo "Creating bootable image from $WORK_DIR" echo "This script will create a bootable image with GRUB bootloader" # Create a simple test to see if the script runs echo "Script is running successfully!" echo "Work directory: $WORK_DIR" echo "Current directory: $(pwd)"