LinuxQuestions.org
Help answer threads with 0 replies.
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-02-2019, 04:19 PM   #61
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,478

Original Poster
Rep: Reputation: 446Reputation: 446Reputation: 446Reputation: 446Reputation: 446

Hey the iso I uploaded is bad, because the script I ran to make it did not rename vmlinuz-4.19.47-xanmod24 to vmlinuz so I'm uploading a corrected version now, apologies
You can rename it yourself if running from usb and it'll work
 
Old 06-02-2019, 04:55 PM   #62
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, puppy, ubuntu
Posts: 2,954

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
I haven't tried it yet.have been playing around with making it boot in EFI mode using dd to usb. The vmlinuz naming was one of the issues with the grub menu in efi mode, I used your grub.cfg from your previous iso without modify it. Just about have that done. Stopped to go to church. I should have it booting in efi mode later on tonight

Last edited by colorpurple21859; 06-02-2019 at 05:04 PM.
 
1 members found this post helpful.
Old 06-02-2019, 07:38 PM   #63
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,478

Original Poster
Rep: Reputation: 446Reputation: 446Reputation: 446Reputation: 446Reputation: 446
hey colorpurple21859 Ive got the new iso ready for download sans efi stuff but I do have boot/grub stuff including grub.cfg so you aint gotta edit it

Also, I earlier today used the AntiX usb installer on the RoninOS iso and it created everything perfectly for efi etc except it didnt copy the empty folders "changes" and "modules" from iso, maybe because they were empty? so i jsut made the folders manually. It creates a 50mb fat32 partition at end of usb, not beginning, and rest is ext4

Last edited by linus72; 06-02-2019 at 07:42 PM.
 
1 members found this post helpful.
Old 06-02-2019, 08:15 PM   #64
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, puppy, ubuntu
Posts: 2,954

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
okay I'll check them out tomorrow when I get a chance
 
1 members found this post helpful.
Old 06-03-2019, 06:18 AM   #65
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, puppy, ubuntu
Posts: 2,954

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
Neither iso works in efi mode if DD is used. I used windows rufus to put both on a fat32 partition. RoninOS worked in efi mode, Slackerc did not. Rufu doesn't do persistence, but is a good for transfering iso files to a fat32 usb and making it bootable. The grub in efi mode defaults to plotbt which caused my system to skip to harddrive bootloader.
 
Old 06-03-2019, 07:02 AM   #66
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,478

Original Poster
Rep: Reputation: 446Reputation: 446Reputation: 446Reputation: 446Reputation: 446
Ah ok...does Rufus dd the iso to usb or just copy it?
If it just copies it then you have persistence if you want

I'll fix the grub in efi mode so default is RoninOS default
Thanks for your input too
 
Old 06-03-2019, 07:35 AM   #67
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, puppy, ubuntu
Posts: 2,954

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
Quote:
does Rufus dd the iso to usb or just copy it?
rufus sets up the usb in several different modes: legacy/efi, efi only, dd. Rufus doesn't do persistent you have to do that manually aftr running rufus. I usually do the legacy/efi mode: clears out mbr, sets disk type to msdos, formats the usb to fat32, copies files from the iso to the usb, sets up syslinux to boot in legacy mode. It very seldom ever glitches and when it does it usually a minor glitch.
 
1 members found this post helpful.
Old 06-03-2019, 08:04 AM   #68
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,478

Original Poster
Rep: Reputation: 446Reputation: 446Reputation: 446Reputation: 446Reputation: 446
Ok thanks

Now, I'm still working on why the Slackware versions do a dirty umount of the persistent container "changes.dat" at reboot/shutdown, I believe it's because linux-live-kit is made for Debian (systemd) and Slackware doesn't use systemd right?

Here's output of mount in the RoninOS debian build running in frugal mode off /dev/sda1 hard drive partition (ext4)
Code:
root@debian:~# mount
tmpfs on /run/initramfs type tmpfs (rw,relatime,size=3028728k)
/dev/sda1 on /run/initramfs/memory/data type ext4 (rw,relatime)
/dev/sda1 on /run/initramfs/memory/changes type ext4 (rw,relatime)
aufs on / type aufs (rw,relatime,si=4ab5e1fbdb2821ad,trunc_xino)
/dev/loop0 on /run/initramfs/memory/bundles/RoninOS.sb type squashfs (ro,relatime)
tmpfs on /run type tmpfs (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
proc on /proc type proc (rw,relatime)
devtmpfs on /dev type devtmpfs (rw,nosuid,size=1509228k,nr_inodes=377307,mode=755)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,mode=755)
cgroup2 on /sys/fs/cgroup/unified type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate)
cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,xattr,name=systemd)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/hugetlb type cgroup (rw,nosuid,nodev,noexec,relatime,hugetlb)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/rdma type cgroup (rw,nosuid,nodev,noexec,relatime,rdma)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=40,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=12760)
configfs on /sys/kernel/config type configfs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
mqueue on /dev/mqueue type mqueue (rw,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
tmpfs on /run/user/1001 type tmpfs (rw,nosuid,nodev,relatime,size=302872k,mode=700,uid=1001,gid=1001)
gvfsd-fuse on /run/user/1001/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1001,group_id=1001)
tmpfs on /run/user/115 type tmpfs (rw,nosuid,nodev,relatime,size=302872k,mode=700,uid=115,gid=123)
gvfsd-fuse on /run/user/115/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=115,group_id=123)
tmpfs on /run/user/0 type tmpfs (rw,nosuid,nodev,relatime,size=302872k,mode=700)
gvfsd-fuse on /run/user/0/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=0,group_id=0)
and the mount for Slackerc running off /dev/sda5 hard drive partition (ext4) in frugal mode
Code:
bash-5.0# mount
tmpfs on /run/initramfs type tmpfs (rw,relatime,size=3028852k)
/dev/sda5 on /run/initramfs/memory/data type ext4 (rw,relatime)
/dev/sda5 on /run/initramfs/memory/changes type ext4 (rw,relatime)
aufs on / type aufs (rw,relatime,si=2c9af17e2c05f5d2,trunc_xino)
/dev/loop0 on /run/initramfs/memory/bundles/Slackerc.sb type squashfs (ro,relatime)
tmpfs on /run type tmpfs (rw,relatime)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
devtmpfs on /dev type devtmpfs (rw,relatime,size=8192k,nr_inodes=377274,mode=755)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /dev/shm type tmpfs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
cgroup_root on /sys/fs/cgroup type tmpfs (rw,relatime,size=8192k,mode=755)
cpuset on /sys/fs/cgroup/cpuset type cgroup (rw,relatime,cpuset,clone_children)
cpu on /sys/fs/cgroup/cpu type cgroup (rw,relatime,cpu)
cpuacct on /sys/fs/cgroup/cpuacct type cgroup (rw,relatime,cpuacct)
blkio on /sys/fs/cgroup/blkio type cgroup (rw,relatime,blkio)
memory on /sys/fs/cgroup/memory type cgroup (rw,relatime,memory)
devices on /sys/fs/cgroup/devices type cgroup (rw,relatime,devices)
freezer on /sys/fs/cgroup/freezer type cgroup (rw,relatime,freezer)
net_cls on /sys/fs/cgroup/net_cls type cgroup (rw,relatime,net_cls)
perf_event on /sys/fs/cgroup/perf_event type cgroup (rw,relatime,perf_event)
net_prio on /sys/fs/cgroup/net_prio type cgroup (rw,relatime,net_prio)
hugetlb on /sys/fs/cgroup/hugetlb type cgroup (rw,relatime,hugetlb)
pids on /sys/fs/cgroup/pids type cgroup (rw,relatime,pids)
rdma on /sys/fs/cgroup/rdma type cgroup (rw,relatime,rdma,release_agent=/run/cgmanager/agents/cgm-release-agent.rdma)                                                                           
gvfsd-fuse on /root/.cache/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=0,group_id=0)
Pics attached are screenshots of both partitions- /dev/sda1 contains the hard drive install of Buster with the frugal install of RoninOS as well, I use the hard drive installed version to make new versions of the frugal persistent install version, /dev/sda5 contains the hard drive install of Slackware current and the frugal install of Slackerc.
Attached Thumbnails
Click image for larger version

Name:	snapshot2.png
Views:	8
Size:	119.1 KB
ID:	30697   Click image for larger version

Name:	Screenshot_2019-06-03_09-03-59.png
Views:	6
Size:	68.7 KB
ID:	30698  
 
Old 06-03-2019, 09:36 AM   #69
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, puppy, ubuntu
Posts: 2,954

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
I can't help a whole lot on that one. If I had to guess it could be something getting unmounted before it should be. A shutdown script may have to be modified.
 
Old 06-03-2019, 09:41 PM   #70
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, puppy, ubuntu
Posts: 2,954

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
to get both slackerc and roninos to boot in efi mode using dd I did similar to what is in post 56.
With roninos I used your efi/boot/debian/grub.cfg for the grub-embedded.cfg
 
1 members found this post helpful.
Old 06-08-2019, 05:29 PM   #71
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,478

Original Poster
Rep: Reputation: 446Reputation: 446Reputation: 446Reputation: 446Reputation: 446
I have a new iso/isohybrid uploaded Slackerc-current-060819-x86_64.iso, all upgraded to today
Still trying to solve the dirty umount if using fat32 usb, but it runs nice if dd'd to usb
https://sourceforge.net/projects/slacker-live/files/
 
Old 06-08-2019, 08:24 PM   #72
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, puppy, ubuntu
Posts: 2,954

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
IF you want to boot in efi mode using dd you will need to edit line 46 of EFI/BOOT/make-grub.sh to
Code:
mv efiboot.img ../../boot/isolinux
and add this to the end of gen_slacker_iso.sh
Code:
-eltorito-alt-boot -eltorito-platform 0xEF -eltorito-boot boot/isolinux/efiboot.img -no-emul-boot .
If your doing this from debian will have to have grub-efi installed. Then
run isohybrid and isohybrid -u on the iso afterwards.

Last edited by colorpurple21859; 06-08-2019 at 08:48 PM.
 
1 members found this post helpful.
Old 06-08-2019, 08:27 PM   #73
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,478

Original Poster
Rep: Reputation: 446Reputation: 446Reputation: 446Reputation: 446Reputation: 446
Awesome thanks colorpurple21859!
I tried making a grub iso today but it fails to boot using dd, I'll check into it
also, I havent yet been able to make a loop bootable iso like GRML...
 
Old 06-08-2019, 09:26 PM   #74
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida panhandle
Distribution: slackware64-current, puppy, ubuntu
Posts: 2,954

Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
I
Quote:
tried making a grub iso today but it fails to boot using dd,
maybe this will help. It is a long read but maybe will give you an idea of how to do it.
http://lukeluo.blogspot.com/2013/06/...-iso-with.html
 
1 members found this post helpful.
Old 06-09-2019, 08:47 AM   #75
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,478

Original Poster
Rep: Reputation: 446Reputation: 446Reputation: 446Reputation: 446Reputation: 446
Hey colorpurple21859
It no longer comes with it (slax/linux-live-kit) but if you make a folder in Slackerc named rootcopy, it will act as a persistent store even if not using the slax-flags=perch boot parameter. Not if dd'd though, just one ext2/3/4 or fat32/ntfs
For instance, I booted up Slackerc in default/fresh mode, then opened firefox, logged into linux questions, then made the folder rootcopy inside of folder Slackerc, then in rootcopy I made folders root, then made folder .cache, then copied the mozilla folder from my /root/.cache to usb/Slackerc/rootcopy/root/.cache and then copied the folder /root/.mozilla folder to /usb/Slackerc/rootcopy/root/ and I have persistent firefox settings. etc without constant usb activity as with persistent boot parameter which keeps the whole filesystem persistent.

You can do same with any bit of it, like copy the whole home folder of root to /run/initramfs/memory/data/Slackerc/rootcopy and your home folder will be persistent, but not whole system, cool huh?

Also, if you've noticed there are "modules" for console.sb (runlevel3) and gui.sb (runlevel4), these are simply a folder named etc with /etc/inittab inside then made into a "slax bundle" or .sb
on usb make folder etc inside Slackerc/modules, then copy /etc/inittab to Slackerc/modules/etc and inside modules folder do

Code:
dir2sb etc gui.sb
That's for runlevel 4 you know or name it whatever you wish.
You can make whole programs into .sb modules, etc or scripts, etc
 
  


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 11:54 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration