I have been faithfully following the instructions here:
SuSE install from USB drive - openSUSE
BUT when I get to this part I am flummoxed and confused.
Make the USB drive bootable
See 2nd comment in Discussion-tab if the mksusebootdisk script program does not finish. !!!
(Note: to run mksusebootdisk, package “syslinux” have to be installed)
* for x86 (i386) media the command is:
mksusebootdisk --32 --partition /dev/sdb1 /mnt/dvd
* for x86-64 (AMD64/EMT64) media the command is:
mksusebootdisk --64 --partition /dev/sdb1 /mnt/dvd
This should work for any architecture e.g. ppc, IA64 by changing the first parameter etc.
* If you get the error
/usr/bin/perl: bad interpreter: Permission denied
make the “mksusebootdisk” script executable by running
chmod +x mksusebootdisk
This command works reasonably fast. It will fail if you forgot to unmount (using umount) the USB disk. It will also fail (and give a “not a FAT file system” error if you press crtl-c) if the drive has errors. To fix the errors, use
fsck.vfat -w -r <part>
* The drive is now bootable.
mksusebootdisk --32 --partition /dev/sdb1 /mnt/dvd
??? WHY
How to execute a PERL script from a root prompt from a live CD?
I tried copying the script to notepad and saving it as mksusebootdisk
importing it from my Win disk to a desktop in a live CD
but from CLI or double click…?
(in the live CD, desktop knows it is PERL, shows it in an icon)
is the --partition something concrete, or should I change it to suit my particular circs? If so what how which?
the /dev/sdb1… should it point to the iso or the USB key?
the /mnt/dvd… should it point to the iso or the key?
I followed the insrtructions to copy the iso to my key, seems to be right. But I have of course rebooted so my “mnt” will no longer exist.
First section of the script is:
#! /usr/bin/perl
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
#
# Create SUSE Linux boot disks.
#
# Try 'mkbootdisk --help' for a usage summary.
#
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
use strict 'vars';
use integer;
%::ConfigData = ( full_product_name => "openSUSE 10.2" );
But I am trying to install 11.1, does this matter?