LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-29-2017, 03:43 PM   #1
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Rep: Reputation: 1246Reputation: 1246Reputation: 1246Reputation: 1246Reputation: 1246Reputation: 1246Reputation: 1246Reputation: 1246Reputation: 1246
Cool A full-featured XFCE desktop for net surfing with 2.6GB installed size, aka: How to install the Eric's XFCE LiveSlak on your hard drive


Disclaimer: all the merits for this amazing XFCE installation with only 2.6GB shall be of Eric Hameleers, who made this minimal live CD for XFCE, used by me for installation.

You heard about LiveSlack? I guess the response is affirmative.

It is an amazing set of multiple ISOs, every one a live Slackware Linux with a theme. You can find there variants from the bare slackware-current to, well... Dlackware. You know, the thing running Sys***D as PID EINS.

There you will find also a little little XFCE one, about of size of a CD, around 700MB, and our Nuclear Dutch claims to be for hardware testing only, so it has no installer to hard drive, like its bigger brothers.

I guess that in the Slackware Development room is a Rule 66, which says: NEVER ENCOURAGE THE USERS TO GET UNDER 10GB INSTALLATIONS, so I do not blame Eric for avoiding shipping the shiny installer on the XFCE live.

Instead, let's see how we can install this XFCE live, with NO additional packages, using only the Dark Side.

First of all, we need The Thing: http://bear.alienbase.nl/mirrors/sla...ce-current.iso and I recommend to check it with http://bear.alienbase.nl/mirrors/sla...urrent.iso.md5

Yup, you will get a minimal slackware-current variant, baked with legendary Dutch precision by Eric.

The next step, will be, of course, to transfer it to a CD or a USB stick. I will leave to you the pleasure to read how to do it here: http://www.slackware.com/~alien/liveslak/ or you can read Eric's many articles on theme, on his blog.

Assuming that you booted it, and you are in the root account of this live XFCE, first we need to partition the target hard drive.

In my experiments, I used a virtual machine, with 2GB RAM and a hard drive of 16GB.

Then, I chosen to create with cfdisk, a 14GB bootable Linux partition for system and the rest, 2GB for swap. Formatted then, as usual, EXT4 and SWAP.

Having the target drive prepared, we will notice that Eric mounted on /mnt/liveslakfs what is the UNION of the SquashFS files used by live.

We will create also a new mount point for our installation: /mnt/target , where we will mount /dev/sda1 which is EXT4, the /dev/sda2 being the SWAP.

Time to start our Voodoo invocations: we will use RSYNC to transfer the files:
Code:
mkdir -p /mnt/target

mount /dev/sda1 /mnt/target

rsync -avKHX /mnt/liveslakfs/ /mnt/target
The files transfer will require a relative short time, the entire installation having only 2.6GB.

After files installation, we should take care of system booting.

Yet, there is no LILO or GRUB, and only the SYSLINUX is installed. So, we will use EXTLINUX, part of SYSLINUX.

BUT, before of all, we need to create the fstab, more precisely: /mnt/target/etc/fstab with the following content:
Code:
/dev/sda2 swap swap defaults 0 0
/dev/sda1 / ext4 defaults 1 1

devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
Then, we will prepare the SYSLINUX installation:
Code:
mkdir -p /mnt/target/boot/extlinux

extlinux --install /mnt/target/boot/extlinux

cat /usr/share/syslinux/mbr.bin > /dev/sda

cp /usr/share/syslinux/menu.c32 /mnt/target/boot/extlinux/
Finally, we need to create the file /mnt/target/boot/extlinux/extlinux.conf
Code:
UI menu.c32
PROMPT 0
MENU TITLE Boot options
TIMEOUT 50
DEFAULT generic

LABEL generic
      MENU LABEL Slackware Linux
      KERNEL /boot/vmlinuz-generic-4.9.50
      APPEND root=/dev/sda1 ro
      INITRD /boot/initrd.gz
Pretty simple config file, right?

YET, you will notice that we need to use an INITRD, because the live ships only the generic kernel, and more precisely the non-SMP one.

So, we create it in chroot:
Code:
chroot /mnt/target

mount /proc

mkinitrd -c -k 4.9.50 -f ext4 -r /dev/sda1 -m mbcache:jbd2:ext4 -u -o /boot/initrd.gz
That command is a generic one, for knowing one more adapted to your real system, you can run /usr/share/mkinitrd/mkinitrd_command_generator.sh

Finally, we should take care by the dangling symlink /mnt/target/etc/X11/xinit/xinitrc which should point to xinitrc.xfce from the same folder.

Now, your installation is ready to boot. Reboot the computer and you will notice the EXTLINUX menu.

You will arrive into console login of your brand new mini-Slackware.

Login as root, with no password, then you should change the password for root, otherwise the graphical login will not permit you to pass.

In other hand, being logged as root, is the perfect time to run netconfig, to configure your network.

Also, if you prefer to be sent to the graphical login, change the default runlevel to 4 in the /etc/inittab

Finally, you will need another reboot and arrived the time to enjoy your brand new XFCE desktop, in a Slackware installation of only 2.6GB, brought to you by our Nuclear Dutch.

PS. You have even Firefox to go straight to web.

Last edited by Darth Vader; 10-01-2017 at 03:47 PM.
 
Old 09-29-2017, 07:43 PM   #2
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 1,955

Rep: Reputation: 6367Reputation: 6367Reputation: 6367Reputation: 6367Reputation: 6367Reputation: 6367Reputation: 6367Reputation: 6367Reputation: 6367Reputation: 6367Reputation: 6367
Quote:
Originally Posted by Darth Vader View Post
I guess that in the Slackware Development room is a Rule 66, which says: NEVER ENCOURAGE THE USERS TO GET UNDER 10GB INSTALLATIONS, so I do not blame Eric for avoiding shipping the shiny installer on the XFCE live.
I am more than happy to encourage Slackware users (and give complete instructions) on how to get a Slackware installation under 10GB.

Do a complete install.

You're welcome.
 
22 members found this post helpful.
Old 09-29-2017, 08:56 PM   #3
un1x
Member
 
Registered: Oct 2015
Posts: 645

Rep: Reputation: Disabled
The dream . . . has come . . .
 
Old 09-30-2017, 01:57 AM   #4
PROBLEMCHYLD
Senior Member
 
Registered: Apr 2015
Posts: 1,110

Rep: Reputation: Disabled
Quote:
Originally Posted by volkerdi View Post
I am more than happy to encourage Slackware users (and give complete instructions) on how to get a Slackware installation under 10GB.

Do a complete install.

You're welcome.
This is what I have installed on my system (read attachment below)

Now these are the ones I actually use
Code:
Plank
File Roller
ThunarBulkRename
galculator
Orage
xca 
gucharmap
Thunar
catfish
cherrytree 
aspellgui
xfce4-notes
gedit 
edb debugger 
jeex 
klavaro
librecad
blender
gtkcdlabel
scribus
simple-scan
gimp
gthumb
gtkam
xfce4-screenshooter
inkscape
qbittorrent 
claws-mail
bareftp
I2P
hexchat
linpopup
Remmina
palemoon 
asunder
audacious 
qt-recordMyDesktop
xfburn
isomaster
gcdemu
kodi
audacity
flowblade 
smplayer
HandBrake
Pulseaudio
homebank 
Calibre 
WPS Office
master-pdf-editor
src2pkg
truecrypt
bleachbit
system-config-samba
glances
xfce4-terminal
virt-manager
tor
air
java
xchm
gparted live
Do I really need 10GB+ to run my list of software?

@ Darth Vader,
We have had our differences in the past but I embrace your endeavor. You seem to think outside the box, is what I constantly try to tell the misunderstood. The way my setup is, it could be its own distro. I don't want people to follow my path but to explore all possibilities/scenarios, which is something you are doing. I was told I needed a full Slackware install, with no 3rd party software just to reproduce a bug. Boy..... was I wrong...... The brainwash epidemic!!!!!!!!

Last edited by PROBLEMCHYLD; 11-30-2018 at 01:49 PM.
 
Old 09-30-2017, 07:21 AM   #5
enorbet
Senior Member
 
Registered: Jun 2003
Location: Virginia
Distribution: Slackware = Main OpSys
Posts: 3,381

Rep: Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329
[QUOTE=PROBLEMCHYLD;5764678]This is what I have installed on my system (read attachment below)

Do I really need 10GB+ to run my list of software?

If you have any sense I'm sure you have spare batteries, maybe a little food, some tools, etc. stored in your home. I'd be willing to bet that a solid 20% of what you own and store at home is not used regularly. Why so 'scorched earth" about your PC? A 50GB drive would give you similar proportions. Odds are yours is larger... by a LOT.

Last edited by enorbet; 09-30-2017 at 07:22 AM.
 
Old 09-30-2017, 07:36 AM   #6
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.2 & current
Posts: 7,896
Blog Entries: 59

Rep: Reputation: Disabled
@ PROBLEMCHYLD
What volkerdi meant was a full install takes 9+ GB space, less than 10 GB.
 
1 members found this post helpful.
Old 09-30-2017, 07:46 AM   #7
PROBLEMCHYLD
Senior Member
 
Registered: Apr 2015
Posts: 1,110

Rep: Reputation: Disabled
Quote:
Originally Posted by brianL View Post
@ PROBLEMCHYLD
What volkerdi meant was a full install takes 9+ GB space, less than 10 GB.
Roger that.
 
Old 10-01-2017, 02:48 PM   #8
un1x
Member
 
Registered: Oct 2015
Posts: 645

Rep: Reputation: Disabled
Why in the hell do i need 5 gb of software if i do not like 'games' and a lot of others stuff ?

cause the HELL of dependencies of slackware ? ? ? no my problem ! ! !

seems OBSOLETE that kind of distro thats ask for complete installations . . .

right now running Devuan+xfce minimal and flyin literally ! ! !

Last edited by un1x; 10-01-2017 at 02:49 PM.
 
Old 10-01-2017, 03:00 PM   #9
hitest
Guru
 
Registered: Mar 2004
Location: Prince Rupert, B.C., Canada
Distribution: Slackware, Debian, OpenBSD
Posts: 6,536

Rep: Reputation: 2724Reputation: 2724Reputation: 2724Reputation: 2724Reputation: 2724Reputation: 2724Reputation: 2724Reputation: 2724Reputation: 2724Reputation: 2724Reputation: 2724
Quote:
Originally Posted by un1x View Post
seems OBSOLETE that kind of distro thats ask for complete installations . . .
Each to his/her own. That's the beauty of FOSS, you get to choose the OS of your choice.
I'll stick with my distro.
 
1 members found this post helpful.
Old 10-01-2017, 03:11 PM   #10
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1.2 on Lenovo Thinkpad W520
Posts: 9,750

Rep: Reputation: Disabled
Quote:
Originally Posted by un1x View Post
seems OBSOLETE that kind of distro thats ask for complete installations . . .

right now running Devuan+xfce minimal and flyin literally ! ! !
Sounds like someone happy with a new car, visiting dealers selling other brands just to say "Your cars are bad. Mine is better!". Why not...

Last edited by Didier Spaier; 10-01-2017 at 03:59 PM. Reason: Typo fix.
 
4 members found this post helpful.
Old 10-01-2017, 03:22 PM   #11
RadicalDreamer
Senior Member
 
Registered: Jul 2016
Location: USA
Distribution: Slackware64-Current
Posts: 1,323

Rep: Reputation: 658Reputation: 658Reputation: 658Reputation: 658Reputation: 658Reputation: 658
People in glass houses shouldn't throw stones.

Good job Darth! Now we can have Plasma 5 and everyone be happy
 
Old 10-01-2017, 03:27 PM   #12
PROBLEMCHYLD
Senior Member
 
Registered: Apr 2015
Posts: 1,110

Rep: Reputation: Disabled
I will say this, although I don't use a Full Installation and probably never will, its still a great distro and I'm finding ways for it to suit my needs. It lacks a small handful of items but I have learned to improvise (doing whatever is necessary)
I also agree its not obsolete, nonetheless.
 
Old 10-01-2017, 03:38 PM   #13
Darth Vader
Senior Member
 
Registered: May 2008
Location: Romania
Distribution: DARKSTAR Linux 2008.1
Posts: 2,727

Original Poster
Rep: Reputation: 1246Reputation: 1246Reputation: 1246Reputation: 1246Reputation: 1246Reputation: 1246Reputation: 1246Reputation: 1246Reputation: 1246
Quote:
Originally Posted by RadicalDreamer View Post
Good job Darth!
Thanks you!

I made this experiment, mainly trying to help a bit those who have heavy storage constraints.

Quote:
Originally Posted by RadicalDreamer View Post
Now we can have Plasma 5 and everyone be happy
Worry not, I continue intend to use KDE4 till compile, and patching it to work became so complicated to handle myself. So at least several years...

BTW, the complete install of slackware-current hit a size of 11GB on both i586 and x86_64. And still the Plasma 5 wasn't adopted...

To note that I use ISOs generated after latest updates.

PS. Maybe our friend AlienBOB will want to add libwebp to his XFCE Live, because the included MPlayer is dead because this dependency.

Last edited by Darth Vader; 10-01-2017 at 03:59 PM.
 
Old 10-01-2017, 04:14 PM   #14
keithpeter
Member
 
Registered: Nov 2015
Location: 52:30N 1:55W
Distribution: Slackware 14.2 and Current
Posts: 160

Rep: Reputation: Disabled
How would you keep an installation from the XFCE4 live iso up to date?

(Smallest disk I have is the 64Gb ssd in this old Thinkpad so hypothetical for me).

Last edited by keithpeter; 10-01-2017 at 04:20 PM.
 
Old 10-01-2017, 04:24 PM   #15
_peter
Member
 
Registered: Sep 2014
Location: paris
Distribution: slackware
Posts: 153

Rep: Reputation: Disabled
hiya
Quote:
Originally Posted by Darth Vader View Post
I made this experiment, mainly trying to help a bit those who have heavy storage constraints.

BTW, the complete install of slackware-current hit a size of 11GB on both i586 and x86_64. And still the Plasma 5 wasn't adopted...
chasing slackware-current and plasma 5 don't make sense to me for a small disk usage experience on the desktop. solid state media are easily above 10go these days and there are light rtos linux that work.
slackware142 is under 10go as mentioned.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware Salute to Eric aka AlienBob onebuck Slackware 161 10-20-2016 08:44 PM
Will opensuse 11.x 64bit recognise a seagate barracuda XT SATA 6Gb/s 2TB Hard Drive Glenn D. Linux - Hardware 2 12-22-2010 07:51 PM
Ubuntu: Installed to external hard drive; boot to primary hard drive gives error 22 dcorb62 Linux - General 7 09-05-2007 12:28 AM
Hard drive clicking away while surfing BajaNick Linux - Security 2 01-03-2004 04:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:19 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration