usbimg2disk.sh - 'This is not a directory'
Hi all,
I'm having some trouble working with the usbimg2disk script for Slackware 14.0. Downloaded the Slackware tree using wget, but when attempting to use './usbimg2disk.sh -f -s /slackware-tree/slackware-14.0 -o /dev/sdc/' it returns with 'This is not a directory.' I've tried moving the tree, renaming, but with no luck. I am a general Linux newbie, so maybe I'm missing something simple. Any help is greatly appreciated! |
I have never used that script. If you are in a hurry to install Slackware and if you have another usb stick with some live Linux image, just copy the Slackware kernel and initrd.img into the /syslinux folder, then edit syslinux.cfg adding a line to boot the Slackware installer.
Code:
label Slackware_installer |
I've been able to boot and get the installer up and running just fine from another USB stick, but I was unable to install the packages. For source media I used a USB stick that I mounted where I placed the packages I extracted from an iso. I ended up with either a three second install or only being able to sketch the 'a' package. I thought that using usbimg2disk to get the whole tree to the directory might help, but now I'm running into the directory problem.
|
The usbimg2disk.sh only copies the files needed to get the installer up and running it doesn't include the installation packages. If you have a good internet connection you can install packages from the internet. you will need to know name of the site you will be installing from and the directory path to the packages at that site. another option is to copy the dvd/cd iso to usb make some new directories to mount usb and the iso file and use the premounted directory option as source.
|
Quote:
Eric |
Quote:
Code:
if [ ! -d "$REPODIR" ]; then What is the output of Code:
ls -la /slackware-tree/slackware-14.0 Eric |
Found the problem! For some reason cd ~ would not locate the file, but cd / and typing the full filepath fixed the problem. I think I may need to re-download the Slackware tree though. I'm currently getting
Code:
rsync: mkstemp "/mnt/usb.djwdzR/slackware-14/slackware/a/.index.html?C=M;O=A.eGkukD" failed: Invalid argument (22) |
All times are GMT -5. The time now is 08:46 AM. |