LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 06-09-2019, 09:03 AM   #76
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470

actually it only works if you manually copy stuff from wherever between reboots, my mistake
so before you reboot/shutdown maybe use rsync or cp to make it persistent...

cp -r /root/.cache/mozilla /run/initramfs/memory/date/Slackerc/rootcopy/.cache
cp -r /root/.mozilla /run/initramfs/memory/date/Slackerc/rootcopy

rsync probably better...I'll design a shutdown script....
 
Old 06-15-2019, 01:34 PM   #77
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
Got the newest Slackerc (current) build up today, thanks to anyone trying it

The newest is Slackerc-061519-x86_64.iso with 2 kernels (4.19.47-xanmod24 and 5.1.9-xanmod6), upgraded packages and some added Slackbuilds.
It is also a isohybrid so you can dd it to usb.
You can install it with Unetbootin also, but best way is below for frugal install to usb/hard drive.
The default desktop is now a customized Fluxbox desktop with Slackware-xdg-menus for all desktops (mwm,windowmaker,fvwm2, etc).
You can change desktops upon logging out or boot to console login and use xwmconfig to pick a desktop (KDE,XFCE$,Fluxbox,Etc).
NOTE! Until I get the umount bug fixed, IF you're running PERSISTENT, please only use ext2/ext3 or ext4 formatted usb's/hard drives to boot from, not Fat32!

Direct link
https://sourceforge.net/projects/sla...4.iso/download

Screenshot attached below
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2019-06-15_14-19-01.jpg
Views:	15
Size:	61.5 KB
ID:	30745  
 
Old 06-16-2019, 02:03 PM   #78
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
ok Ive fixed the dirty umount on fat32 usb so ill be uploading a new iso soon
I had to edit /run/initramfs/shutdown and /etc/rc.d/rc.6 as so
the areas in BLUE are my edits

Here is /run/initramfs/shutdown

Code:
#!/bin/sh
# Shutdown script for initramfs. It's automatically started by
# systemd (if you use it) on shutdown, no need for any tweaks.
# Purpose of this script is to unmount everything cleanly.
#
# Author: Tomas M <http://www.linux-live.org/>
#

. /run/initramfs/lib/config
. /run/initramfs/lib/livekitlib

debug_start

debug_log "Entering shutdown procedures of Linux Live Kit"
debug_log "Called with arguments: " "$*"

# if debug is enabled, run shell now
debug_shell

detach_free_loops()
{
   losetup -a | cut -d : -f 1 | xargs -r -n 1 losetup -d
}

# $1=dir
umount_all()
{
   tac /proc/mounts | cut -d " " -f 2 | grep ^$1 | while read LINE; do
      umount $LINE 2>/dev/null
   done
}

# Update devs so we are aware of all active /dev/loop* files.
# Detach loop devices which are no longer used
debug_log "- Detaching loops"
#mdev -s
detach_free_loops

# do it the dirty way, simply try to umount everything to get rid of most mounts
debug_log "- Unmounting submounts of union"
umount_all /oldroot

# free aufs of /run mount, and umount aufs
debug_log "- Unmounting union itself"
mkdir /run2
mount --move /oldroot/run /run2
umount /oldroot

# remember from which device we are started, so we can eject it later
DEVICE="$(cat /proc/mounts | grep /memory/data | grep /dev/ | cut -d " " -f 1)"

debug_log "- going through several cycles of umounts to clear everything left"
umount_all /run2
detach_free_loops
umount_all /run2
detach_free_loops
umount_all /run2

# eject cdrom device if we were running from it
for i in $(cat /proc/sys/dev/cdrom/info | grep name); do
   if [ "$DEVICE" = "/dev/$i" ]; then
      echo "[  OK  ] Attemptiong to eject /dev/$i..."
      eject /dev/$i
      echo "[  OK  ] CD/DVD tray will close in 6 seconds..."
      sleep 6
      eject -t /dev/$i
   fi
done

debug_shell

debug_log $1 -f
$1 -f

debug_log reboot -f
reboot -f

echo We should never reach so far. Something is totally fucked up.
echo Here you have a shell, to experiment with the universe.
/bin/sh
Here is what I added to rc.6 right before rc.local_shutdown gets called

# Run any local Slax shutdown scripts:
if [ -x /run/initramfs/shutdown ]; then
/run/initramfs/shutdown
fi


Originally it should say "stop" after "/run/initramfs/shutdown"
If I edit out the stop parameter it shutsdown/reboots very quick
If I add the parameter "stop" it continues on with rc.6 script..
Either way it now works and no more errors on fat32!

NOTE: Linux-live-kit is made for Debian with systemd so I think that's the problem, though fixed for now
 
Old 06-16-2019, 03:29 PM   #79
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,438

Rep: Reputation: 7645Reputation: 7645Reputation: 7645Reputation: 7645Reputation: 7645Reputation: 7645Reputation: 7645Reputation: 7645Reputation: 7645Reputation: 7645Reputation: 7645
When will you finally change your signature text? I do not have to see proof all the time, of the fact that religious people are warmongers. It gets insulting, really.
 
1 members found this post helpful.
Old 06-16-2019, 03:55 PM   #80
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
too bad for you, try counseling?
What does any of that have to do with anything?

Last edited by linus72; 06-16-2019 at 04:02 PM.
 
1 members found this post helpful.
Old 06-17-2019, 12:29 PM   #81
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
Ok I have the new iso uploaded which doesn't have anymore fat32 errors when running persistent

Slackerc-current-061719-x86_64.iso
https://sourceforge.net/projects/sla...acker-current/
 
Old 07-04-2019, 12:29 PM   #82
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
Got a new iso up today MinSlack -current with XFCE and 5.1.9-xanmod6 kernel plus a few sbopkg's.
MinSlack is a smaller XFCE version of current without development apps/libs, etc

From the readme on iso, works for EFI booting too I hope
Quote:
You must partition your usb with at least a 200mb fat32 partition 1st partition (/dev/sdb1), then copy the boot and EFI folders to sdb1 and copy the MinSlack folder to sdb2 as described below.
You can use a ext4 formatted usb with just one partition if you want, do not put the MinSlack folder on fat32 usb as it does a rough umount on reboot/shutdown and presistent saves will get corrupted. That's why you put the boot/efi folders on fat32 usb and MinSlack on ext2/3/4 formatted partition.

Get it here 1GB isohybrid iso
https://sourceforge.net/projects/sla...acker-current/

I'm off to play with explosives!

Last edited by linus72; 07-04-2019 at 12:48 PM.
 
Old 07-14-2019, 03:49 PM   #83
iNC0GNi70
Member
 
Registered: Apr 2015
Distribution: Slackware64 14.2
Posts: 32

Rep: Reputation: 1
Hello, I recently acquired a new computer and wished to install Slackware on it, only for me to find out that the Hardware was too cutting edge for everything but the 5.X kernel line, then I stumbled upon your work and I found out that it is just what I needed, so I fired up the latest Current Slackerc-current-061719-x86_64.iso, and followed the instructions the best I could for an NVMe UEFI PC, but then noticed that I couldn't boot, any idea of what I could be doing wrong ? The machine won't run anything but 15.0/Current and I'm with the device being good at nothing till I get it working with GNU/Linux.
 
Old 07-14-2019, 03:53 PM   #84
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
hey man
ok let me look at my iso...I'm still learning about uefi stuff too, i dont have a uefi machine
so, anyway I'm gonna see if I got something wrong in that iso for uefi booting Ill be back in a minute...thanks for trying it too
 
Old 07-14-2019, 03:58 PM   #85
iNC0GNi70
Member
 
Registered: Apr 2015
Distribution: Slackware64 14.2
Posts: 32

Rep: Reputation: 1
Wow thanks for the blazing fast reply !

I got the thing to boot from USB, but when I sb2dir Slacker.sb and proceed to create all folders and fill fstab, I get stuck on how to install a loader such as eLilo or Grub, it just doesn't work whatever I do.
 
Old 07-14-2019, 04:06 PM   #86
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
oh so you were gonna do the hard drive install?
did you install lilo or elilo or grub?
I think you have to use elilo...try pkgtool then select rerun slackware scripts and it has a elilo option...did you try that?
 
Old 07-14-2019, 04:53 PM   #87
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
what errors did you get when trying to install elilo/lilo or grub to hard drive?

colorpurple21859 has some good stuff about uefi in post #56 of this thread...
 
Old 07-14-2019, 04:54 PM   #88
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, fedora,Xubuntu, others
Posts: 5,296

Rep: Reputation: 1020Reputation: 1020Reputation: 1020Reputation: 1020Reputation: 1020Reputation: 1020Reputation: 1020Reputation: 1020
The iso will boot from usb in efi mode if you format the usb as fat32 and then copy the contents of the iso to the usb. If you have a windows machine rufus works good for this. The iso will not boot in efi mode if you use dd to put iso on usb
 
1 members found this post helpful.
Old 07-14-2019, 05:00 PM   #89
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
hi colorpurple21859
until I get the bad umount running persistent off fat32 usb fixed, you gotta make a fat32 partition (1st partition) on usb of whatever size- put the boot and EFI folders on that partition and make a second partition on usb that is formatted ext4, put the Slackerc folder on that partition, edit syslinux.cfg so it says /boot/vmlinuz, /boot/initrfs.img instead of Slackerc/vmlinuz, /Slackerc/initrfs.img and copy kernel and initramfs from Slackerc folder to boot folder then everything works fine.
This seems the way AntiX also does a usb, a small fat32 partition for efi and a ext4 filesystem for antix to play from, thats what the antix usb installer did to my usb when I used it to install slackerc to usb....
 
Old 07-14-2019, 05:11 PM   #90
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, fedora,Xubuntu, others
Posts: 5,296

Rep: Reputation: 1020Reputation: 1020Reputation: 1020Reputation: 1020Reputation: 1020Reputation: 1020Reputation: 1020Reputation: 1020
I was under the impression the op was wanting to do a hard drive install from the usb, henceforth perstitence wasn' t needed
 
1 members found this post helpful.
  


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
Announcing Linux-Live-Kit x86_64 Debian Stretch Live XFCE MultiDistro Remasterable/Persistent HDD/USB linus72 Debian 6 04-22-2019 09:05 PM
Slackware 14.1 + XFCE4 - xfce4-notifyd and volume controls Freaksta Slackware 1 08-10-2014 10:00 AM
LXer: G+ "Lets Talk About It" Sunday Featuring Special Guest Dietrich Schmitz LXer Syndicated Linux News 0 04-09-2013 07:30 PM
Script driven Ubuntu 9.10 builds Featuring e17-svn and LXDE ready for download! linus72 Linux - General 38 08-22-2010 04:15 PM
upgrade to slackware 12.2 + xfce4.6 (xfce4-power-manager doesn't work) zux Slackware 4 04-22-2009 11:28 AM

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

All times are GMT -5. The time now is 04:13 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