LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware - Installation (https://www.linuxquestions.org/questions/slackware-installation-40/)
-   -   Making a Live Slackware USB Installation (https://www.linuxquestions.org/questions/slackware-installation-40/making-a-live-slackware-usb-installation-4175562149/)

robinspi 12-22-2015 04:22 PM

Making a Live Slackware USB Installation
 
Hello everybody.

So, I am a relatively new person to linux. I have used Ubuntu and Chrome OS, but I don't really think those count. ;) Anyway, to cut to the chase, I wanted to learn more about Linux and so somebody recommended slackware. So I looked it up, and found that it looked... satisfactory. So, I basically want to install slackware to my 32GB USB 3.0 drive (http://www.amazon.com/gp/product/B00...501D1MNT8Y9VF6).

I looked at some other threads and saw that most of them wanted me to use a DVD/CD to install it. Now, I have no intention of spending more money on the slackware installation DVD set right now, (I might later depending on how this all pans out)I don't have any disks laying around that I can burn to and use, and just want a USB drive I can boot onto and play with slackware right there. This way, I can boot onto the drive at school, at home and not have to wipe a computer clean. A portable learning sandbox, one might say.

To install it, I have two options:

1. The family computer with Windows 8 (ehhh...)
2. My friend's (who recommended this in the first place) laptop which has slackware (14.1 x86_64 I think is what he said it was) on it right now. I kinda prefer this option as I have played around a little bit with it, and it hopefully will help me learn more.
(Plus, me doing "weird stuff" on the family computer generally annoys everybody else, and they will bug be to stop it. :D)

If there is a guide to this sort of thing or somebody knows off the top of their head how to do this, awesome. Help is greatly appreciated.

Thanks for helping out a noob.

-robinspi

willysr 12-22-2015 07:10 PM

See here: http://alien.slackbook.org/blog/slac...dition-beta-2/

robinspi 12-22-2015 08:56 PM

That is a lot less complicated than I thought it would be... Thanks!

I am guessing this is the "quick and dirty way" to do it for USB and non hard-installs?

onebuck 12-23-2015 08:14 AM

Member response
 
Hi,

Welcome to LQ & Slackware!

The link provided by willysr is for a Slackwarer64 LiveUSB for Live sessions. If you want a Slackware64 install then you will need to get the ISO and burn to a DVD or use usb-and-pxe-installers/ for a USB install.

You can look at Slackware Doc Project for additional information.

Hope this helps.
Have fun & enjoy!
:hattip:

Drakeo 12-23-2015 11:53 AM

with alien bob's live cd any hardrive and thumdrive any of them labeled LIVESLAK it will work.
I took a hard drive partition and formatted it then labeled it LIVESLAK then created my custom liveslack and used the live slack scripts to install it on to that harddrive. it boot it runs. it another cool toy.
I see this as a use full tool becuase if you mess anything up you can always go back to default install.

Al these wonderful toys that are made from a simple script written years ago.
Code:

    #!/bin/sh
    for dir in a ap d e f k kde l n t tcl x xap xfce y ; do
      ( cd $dir ; upgradepkg --install-new *.t?z )
    done

I started using slacko puppy linux 3 years ago to install on partition.
Code:

    #!/bin/sh
    cd /mnt/sdc3/ftp/pub/Linux/Slackware/slackware64-14.1/slackware64/
    for dir in a ap d e f k kde l n t tcl x xap xfce y ; do
      ( cd $dir ; installpkg -root /mnt/sdb5 *.t?z )
    done

it is quick it is dirty then drop your
Code:

fstab
group
group-
gshadow
gshadow-
hosts
hosts.allow
passwd
passwd-
shadow
shadow-

in /etc and your system is ready.

BAcidEvil 01-01-2016 01:34 AM

Is this the same concept as having a USB drive and not a DVD drive and downloading the Slack64-Current ISO and extracting to the USB then booting from it and installing the packages that are on it?

kyknos123 01-01-2016 07:09 AM

sorry my bad english, If i understand you want to run the slackware live from usb and runing from there any pc/laptop? or install from usb to hard disk; if you apply the first acceptation You can make your tutorial as I have made and me my personnly live slackware.

onebuck 01-01-2016 09:20 AM

Member response
 
Hi,
Quote:

Originally Posted by BAcidEvil (Post 5471697)
Is this the same concept as having a USB drive and not a DVD drive and downloading the Slack64-Current ISO and extracting to the USB then booting from it and installing the packages that are on it?

I suggest that you read Alien_Bob/Eric's blog to see what is planned for Slackware64 Live.

Hope this helps.
Have fun & enjoy!
:hattip:

BAcidEvil 01-01-2016 09:26 AM

Quote:

Originally Posted by onebuck (Post 5471793)
Hi,


I suggest that you read Alien_Bob/Eric's blog to see what is planned for Slackware64 Live.

Hope this helps.
Have fun & enjoy!
:hattip:

Oh, I have... But it appears that unless I have the /current packages downloaded already that it appears I may as well just d-load the current ISO and burn it.

Also I may have not expressed myself.... I did not want to run Slack OFF of the USB but simply use it "as" I would a DVD and install the full current (whenever I felt like downloaded current) and install it [full] to my HD instead of burning DVD's every so often.

onebuck 01-01-2016 10:12 AM

Member response
 
Hi,

Yes, I read your post as wanting to use Live for the install. If you want to download '-current' then I suggest that you use Eric's script; mirror-slackware-current.sh to create the ISO & tree (or no tree).You can create a mirror-salckware-current.conf in the same directory as the 'mirror-salckware-current.sh' file by passing '-w' to the mirror-salckware-current.sh script. That config file can then be used to create your ISO type or any other configuration by using the well commented description within mirror-salckware-current.conf file. You may want to use the 'no source' for the ISO since you could then use the created ISO image to fit by then burning to the DVD.
Hope this helps.
Have fun & enjoy!
:hattip:

kyknos123 01-01-2016 10:39 AM

it is not necessary to wait Alien_Bob/Eric's, my way firt downloaded current slackware
http://taper.alienbase.nl/mirrors/sl...64-current-iso
and burning iso to dvd after this boot there and install to hdd create partition,swap and procced install, etc, after all these relatively
and installed Your favorites packages are you ready to create custom slackware iso, how? login as root downloaded two packages
this http://pkgs.org/slackware-14.1/alien...alien.tgz.html
and http://pkgs.org/slackware-14.1/slack...4-1sl.txz.html installed both and the end
downloaded slax https://www.slax.org/
make folder to desktop slackware extract the slax iso in to path,delete after the slax
open the forder delete selected keep this 01-core.sb,
http://i.imgur.com/iWkASJJ.png?1:
now mount your system, open terminal mkdir /mnt/system
http://i.imgur.com/ZiRRPpV.png?1
after mount /dev/sdax where x the drive letter your system
for example My own located /dev/sda4
Code:

mount /dev/sda4 /mnt/system
now to squashfs up system, syntax:
Code:

mksquashfs /mnt/system /root/Desktop/slackware/slax/02-root.sb
http://i.imgur.com/Z6jpiO8.png?1
waiting the finish,as you can see created the filesystem After creating doing unmount the system,
http://i.imgur.com/3TioxBA.png?1
if we want to check the filesystem I created then syntax:
Code:

mount -t squashfs /root/Desktop/slackware/slax/02-root.sb /mnt
and after :
Code:

umount /mnt
now the finished part make to bootable live iso syntax
Code:

mkisofs -r -V "Slax CD" -cache-inodes -J -l \-b slax/boot/isolinux.bin -c slax/boot/isolinux.boot -no-emul-boot \-boot-load-size 4 -boot-info-table -o "/root/Desktop/slackware 14.1 live.iso" /root/Desktop/slackware
http://i.imgur.com/mgqkfFy.png?1
to testing in virtual box
http://i.imgur.com/aMyBlc8.png?1
http://i.imgur.com/R7N0Wnf.png?1
http://i.imgur.com/gOvfvL1.png?1
http://i.imgur.com/DrhKCHl.png?1
http://i.imgur.com/RKDgB7N.png?1
http://i.imgur.com/5UkL7IS.png?1
http://i.imgur.com/80enOdV.png?1
http://i.imgur.com/2WzsQG1.png?1
http://i.imgur.com/Q2INaiI.png?1
http://i.imgur.com/hlyjDNM.png?1
now burn to disk image to dvd or usb an run live
thank you watch, next time I will show you how to install this

BAcidEvil 01-01-2016 10:43 AM

Quote:

Originally Posted by onebuck (Post 5471811)
Hi,

Yes, I read your post as wanting to use Live for the install. If you want to download '-current' then I suggest that you use Eric's script; mirror-slackware-current.sh to create the ISO & tree (or no tree).You can create a mirror-salckware-current.conf in the same directory as the 'mirror-salckware-current.sh' file by passing '-w' to the mirror-salckware-current.sh script. That config file can then be used to create your ISO type or any other configuration by using the well commented description within mirror-salckware-current.conf file. You may want to use the 'no source' for the ISO since you could then use the created ISO image to fit by then burning to the DVD.
Hope this helps.
Have fun & enjoy!
:hattip:


Maybe it is the large quantities of alcohol within my blood but can this said ISO then be "burnt" (expanded and read as a bootable USB drive) to the USB stick?
Or is that what would happen by using the mirror-Slackware-current.sh when directed to the USB Mount?

onebuck 01-01-2016 11:43 AM

Member response
 
Hi,

The ISO you create by using the script can be treated as if you downloaded a '-current' ISO directly. The script allows you to create the ISO by settings within the '.conf' file. You could load this ISO as a 'loop' then point to the mnt when asked for source to read from after you start the setup. You could look at; usb-and-pxe-installers/ for Slackware64 -current.
Hope this helps.
Have fun & enjoy!
:hattip:

BAcidEvil 01-01-2016 11:56 AM

Quote:

Originally Posted by onebuck (Post 5471843)
Hi,

The ISO you create by using the script can be treated as if you downloaded a '-current' ISO directly. The script allows you to create the ISO by settings within the '.conf' file. You could load this ISO as a 'loop' then point to the mnt when asked for source to read from after you start the setup. You could look at; usb-and-pxe-installers/ for Slackware64 -current.
Hope this helps.
Have fun & enjoy!
:hattip:


Absolutely, thank you.

Many times with me it's just a weird confirmation I need to realize what it seems I knew... Thanks Dad, for that.

BAcidEvil 01-01-2016 06:50 PM

Quote:

Originally Posted by onebuck (Post 5471843)
Hi,

The ISO you create by using the script can be treated as if you downloaded a '-current' ISO directly. The script allows you to create the ISO by settings within the '.conf' file. You could load this ISO as a 'loop' then point to the mnt when asked for source to read from after you start the setup. You could look at; usb-and-pxe-installers/ for Slackware64 -current.
Hope this helps.
Have fun & enjoy!
:hattip:


Got home and did just that... Worked flawlessly... Installed Slack 64 14.2 4.1 Kernel...
Now off to Multilib.

Thank you


All times are GMT -5. The time now is 11:54 AM.