View RSS Feed

James' openSUSE Bash Scripting (and other things) Blog - Your Comments are Welcome!

S.C.L.U. - SuSE Create Live USB - Version 1.12

Rate this Entry
by , 15-Dec-2011 at 22:05 (7800 Views)


I have written a new bash script I am calling SuSE Create Live USB or S.C.L.U. for short. and I have included the eigth basic LiveCD image URL's plus the four normal installation DVD's URL's for openSUSE versions 12.2 and 12.1 but it can be modified to include any openSUSE LiveCD version URL's. When first run, S.C.L.U. will identify your USB Thumb Drive by internal name and drive size, un-mount if it is mounted and allow the selection of one of the 12 openSUSE 12.2 & 12.1 images. The image will be downloaded for you if it is not already in your Downloads folder. In version 1.12 I have added the ability to select an existing ISO file in your default Downloads folder and I have added in the ISO file list for openSUSE 12.2. So, here is S.C.L.U. for your consideration.

To create S.C.L.U., Copy and Paste the text of this script into a text editor and save it as the file sclu in your home area bin folder (~/bin/sclu). The script is too large to be posted in a message here and is now included in SUSE Paste.

S.C.L.U. - SuSE Create Live USB - Version 1.12

Open the above Link in a new Tab. Select the Download option in the top right and then select Open With Kwrite or other text editor and then save the bash script text file as ~/bin/sclu. It is possible to directly download S.C.L.U. using the following terminal command (You must delete or rename the old version of S.C.L.U. first should one exist):

Code:
rm ~/bin/sclu
Code:
wget -nc http://paste.opensuse.org/view/download/2364187 -O ~/bin/sclu
Save this bash script as the text file slrc in the folder ~/bin (/home/username/bin). This script must be marked executable to be used. Please run the following Terminal command:

Code:
chmod +x ~/bin/sclu
It is even possible to string all three of these commands together as one. Copy the following command, open up a terminal session, paste it in and press enter:

Code:
rm ~/bin/sclu ; wget -nc http://paste.opensuse.org/view/download/2364187 -O ~/bin/sclu ; chmod +x ~/bin/sclu
To use sclu, just open a terminal session and type in the command:

Code:
sclu
If you have downloaded my bash script called asroot then it is possible to run S.C.L.U. without entering the root user password. The syntax would then be:

Code:
asroot sclu ~/Downloads
Where ~/Downloads is the default ISO download folder and must exist. If you have any questions about the usage of this bash script, please let me know.

Thank You,

Blogs: asroot : Bash : Packet Filter : C.F.U. : GPU's : fewrup : F.S.M. : H.I. : nVIDIA : LNVHW : N.S.F. : S.A.K.C. : MMCHECK
S.A.S.I. : S.C.L.U. : S.G.T.B. : S.K.I.M. : S.L.A.V.E. : S.L.R.C. : S.T.A.R.T. : S.U.F.F. : SYSEdit : systemd : YaST Power

Submit "S.C.L.U. - SuSE Create Live USB - Version 1.12" to Digg Submit "S.C.L.U. - SuSE Create Live USB - Version 1.12" to del.icio.us Submit "S.C.L.U. - SuSE Create Live USB - Version 1.12" to StumbleUpon Submit "S.C.L.U. - SuSE Create Live USB - Version 1.12" to Google Submit "S.C.L.U. - SuSE Create Live USB - Version 1.12" to Facebook Submit "S.C.L.U. - SuSE Create Live USB - Version 1.12" to Twitter

Updated 26-Mar-2013 at 19:28 by jdmcdaniel3

Categories
Technical Advice , openSUSE Software

Comments

  1. akoyich's Avatar
    Is there any way to change the script to use an ISO I have already downloaded? I downloaded the GNOME 3.2 openSUSE 64bit ISO and would like to install that on my thumb drive.

    Thank you,
    Alex K
  2. jdmcdaniel3's Avatar
    Quote Originally Posted by akoyich
    Is there any way to change the script to use an ISO I have already downloaded? I downloaded the GNOME 3.2 openSUSE 64bit ISO and would like to install that on my thumb drive.

    Thank you,
    Alex K
    If the ISO named in the script is already been downloaded, it will use it. You would have to add the ISO file name to the script choices for it to be used and at the moment, all included names must come from the same URL. So, you can add or modify the script to include a ISO file you have already downloaded, but you must understand how the script works. I may add such a feature in the future.

    Thank You,
  3. jdmcdaniel3's Avatar
    Quote Originally Posted by akoyich
    Is there any way to change the script to use an ISO I have already downloaded? I downloaded the GNOME 3.2 openSUSE 64bit ISO and would like to install that on my thumb drive.

    Thank you,
    Alex K
    It is done Alex. Please find S.C.L.U. version 1.10 which includes the ability to use an ISO that already exists in your Download folder.

    Thank You,
  4. akoyich's Avatar
    [QUOTE=jdmcdaniel3;bt303]It is done Alex. Please find S.C.L.U. version 1.10 which includes the ability to use an ISO that already exists in your Download folder.

    Thank You,[/QUOTE]

    Thank you very much. Forgive my tardy reply, but I was not informed when you posted.

    Hazaa,
    Alex K
  5. jdmcdaniel3's Avatar
    Quote Originally Posted by akoyich
    Thank you very much. Forgive my tardy reply, but I was not informed when you posted.

    Hazaa,
    Alex K
    You are welcome Alex. Indeed you get no notification on any action with our blogs. By design or not, the best yu can do it to refer back ever so often, but its just how it seems to work. Let me know if you have any other requests. I have been playing with the code and I have added the ability to make a ISO image with SCLU (which is not posted here), but the ISO copy and burn to Thumb Drive only works with openSUSE images, which you can already download and not with anything else. Though you can burn the ISO image back to a CD or DVD. Since it does not seem to help with SCLU, I have decided to not put in any ISO creation ability for the released copy for now.

    Thank You,
    Updated 14-Jan-2012 at 08:38 by jdmcdaniel3
  6. jdmcdaniel3's Avatar
    S.C.L.U. - SuSE Create Live USB has been updated to Version 1.12 with the inclusion of the new openSUSE 12.2 iso disk download links. Other basic updates to the bash script have also been made.

    Thank You,
  7. jcdole's Avatar
    I have modified the size limit (MaxTDSize) because I want to use an unused 160Go sata drive that I have put in an external hard drive box. I can use' it as an USB 3.0 drive.

    Is there any predictable inconvenience because it seems working correctly ?
  8. jdmcdaniel3's Avatar
    Quote Originally Posted by jcdole
    I have modified the size limit (MaxTDSize) because I want to use an unused 160Go sata drive that I have put in an external hard drive box. I can use' it as an USB 3.0 drive.

    Is there any predictable inconvenience because it seems working correctly ?
    The only issue really is just a waste of disk space. Using it as a LiveCD works on anything, but you can install openSUSE onto this drive directly and use on it on a specific system with full disk size available. Also consider that the drive may need to be completely wiped out, including the partition table, to revert back to its original disk setup. Otherwise, if it works it works as they say.

    Thank You,

Search Engine Friendly URLs by vBSEO 3.5.2 PL2