LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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 02-16-2015, 12:14 PM   #1336
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled

Quote:
Originally Posted by dugan View Post
I'd like efibootmgr to be runnable from the installation DVD.
You mean, be able to use it even if Slackware is not yet installed? What use case do you have in mind?

Anyway that shouldn't be an issue as the binary is not heavy and all dependencies are already shipped in the installer. I could add that to the Slint installers with its manual page if someone is interested (in the small ones as well).
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 02-16-2015, 12:30 PM   #1337
j_v
Member
 
Registered: Oct 2011
Distribution: Slackware64
Posts: 364

Rep: Reputation: 67
Having efibootmgr on installation cd/dvd would facilitate repairs to efi boot menu when unable to boot to installed root partition. Of course, so long as you can boot the disk in efi mode, then you should be able to boot the root partition from there, install efibootmgr from there, and do repair. So long as the efivars kernel module is available once booted to root. If installed kernel and boot kernel don't match, then loading modules is a bit more work; I guess they should be available by mounting the installation media. Geepers, I could argue this circle into an oval.
 
Old 02-16-2015, 04:31 PM   #1338
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
util-linux-2.26 should be due out soon.

https://www.kernel.org/pub/linux/uti...l-linux/v2.26/

From the github documentation, it seems they are waiting on some last minute i80n data to be submitted before they release 2.26 out as final.
 
Old 02-17-2015, 01:07 PM   #1339
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,222

Rep: Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319Reputation: 5319
Get this in, Pat. We need this.

http://libslack.org/

(no, not really).
 
Old 02-17-2015, 01:13 PM   #1340
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by ReaperX7 View Post
From the github documentation, it seems they are waiting on some last minute i80n data to be submitted before they release 2.26 out as final.
Quick random note, it is i18n, because there is 18 letters in between the i and n in the word internationalization. Sometimes you will see l10n, which is the same concept but for localization.
 
Old 02-17-2015, 01:25 PM   #1341
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware64 15; SlackwareARM-current (aarch64); Debian 12
Posts: 8,298
Blog Entries: 61

Rep: Reputation: Disabled
Quote:
Originally Posted by dugan View Post
Get this in, Pat. We need this.

http://libslack.org/

(no, not really).
Here it is:
http://slackbuilds.org/repository/14...ries/libslack/
 
1 members found this post helpful.
Old 02-17-2015, 11:36 PM   #1342
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Quote:
Originally Posted by bassmadrigal View Post
Quick random note, it is i18n, because there is 18 letters in between the i and n in the word internationalization. Sometimes you will see l10n, which is the same concept but for localization.
Thank man!
 
Old 02-19-2015, 10:35 AM   #1343
jtsn
Member
 
Registered: Sep 2011
Posts: 922

Rep: Reputation: 480Reputation: 480Reputation: 480Reputation: 480Reputation: 480
Quote:
Originally Posted by dugan View Post
Get this in, Pat. We need this.

http://libslack.org/
Nice development. Completely wrong license choice for a library. So much wasted effort...
 
Old 02-19-2015, 10:43 AM   #1344
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
I personally prefer ISC or MIT licenses.
 
Old 02-19-2015, 01:45 PM   #1345
jtsn
Member
 
Registered: Sep 2011
Posts: 922

Rep: Reputation: 480Reputation: 480Reputation: 480Reputation: 480Reputation: 480
Quote:
Originally Posted by ReaperX7 View Post
I personally prefer ISC or MIT licenses.
This is is not about preferences. A GPL library restricts your licensing options for your own code, if you import it. So it's no-go terroritory, wasted. For this specific reason LGPL was created.
 
Old 02-19-2015, 01:50 PM   #1346
bartgymnast
Member
 
Registered: Feb 2003
Location: Almere, Netherlands
Distribution: slack 7.1 till latest and -current, LFS
Posts: 368

Rep: Reputation: 165Reputation: 165
and today they released util-linux 2.26 (19 februari)

https://www.kernel.org/pub/linux/uti...6-ReleaseNotes
 
2 members found this post helpful.
Old 05-26-2015, 02:33 AM   #1347
jostber
Member
 
Registered: Jul 2001
Location: Skien, Norway
Distribution: Slackware Current 64-bit
Posts: 543

Rep: Reputation: 178Reputation: 178
Quote:
Originally Posted by j_v View Post
Having efibootmgr on installation cd/dvd would facilitate repairs to efi boot menu when unable to boot to installed root partition. Of course, so long as you can boot the disk in efi mode, then you should be able to boot the root partition from there, install efibootmgr from there, and do repair. So long as the efivars kernel module is available once booted to root. If installed kernel and boot kernel don't match, then loading modules is a bit more work; I guess they should be available by mounting the installation media. Geepers, I could argue this circle into an oval.
Another program that would very useful to have included on the usbboot.img would be to have the static version of testdisk with photorec. Having this available would make most repairs, saving partitions and copying data from shaky disks possible. strace and gdb could be useful to have there too.
 
Old 05-26-2015, 02:52 PM   #1348
j_v
Member
 
Registered: Oct 2011
Distribution: Slackware64
Posts: 364

Rep: Reputation: 67
Quote:
Originally Posted by jostber View Post
Another program that would very useful to have included on the usbboot.img would be to have the static version of testdisk with photorec. Having this available would make most repairs, saving partitions and copying data from shaky disks possible. strace and gdb could be useful to have there too.
I like it. I should try to find time to modify an image to have just such additions. I'm a bit swamped, but I should create a todo list so I can add this to it.
 
Old 05-28-2015, 04:07 AM   #1349
jostber
Member
 
Registered: Jul 2001
Location: Skien, Norway
Distribution: Slackware Current 64-bit
Posts: 543

Rep: Reputation: 178Reputation: 178
Quote:
Originally Posted by j_v View Post
I like it. I should try to find time to modify an image to have just such additions. I'm a bit swamped, but I should create a todo list so I can add this to it.
Would be great to have this updated image. It would promote this to the best rescue disk.
 
Old 05-28-2015, 05:31 AM   #1350
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by jostber View Post
Would be great to have this updated image. It would promote this to the best rescue disk.
You do not even have to modify the Slackware installer, only the bootable ISO. Isolinux has a little known feature that it can use multiple initramfs image files and combine them on the fly when booting the kernel.
I once created a modified Slackware mini ISO for a friend who needed an installer that additionally needed to contain ethtool and tcpdump. Instead of modifying the initrd.img file (which contains the Slackware installer), I created a second initramfs file.
I extracted the binaries and libraries from the Slackware packages for ethtool and tcpdump into a temporary directory (dumping binaries in ./sbin and libraries in ./lib64) like this:

Code:
/path/to/initrd64_14.1_addon/
+-- etc
|   +-- libnl
|       +-- classid
|       +-- pktloc
+-- lib64
|   +-- libnl-3.so -> libnl-3.so.200.16.1
|   +-- libnl-3.so.200 -> libnl-3.so.200.16.1
|   +-- libnl-3.so.200.16.1
|   +-- libnl-genl-3.so -> libnl-genl-3.so.200.16.1
|   +-- libnl-genl-3.so.200 -> libnl-genl-3.so.200.16.1
|   +-- libnl-genl-3.so.200.16.1
|   +-- libnl.a
|   +-- libnl.so -> libnl.so.1
|   +-- libnl.so.1 -> libnl.so.1.1.4
|   +-- libnl.so.1.1.4
|   +-- libpcap.a
|   +-- libpcap.so -> libpcap.so.1
|   +-- libpcap.so.1 -> libpcap.so.1.4.0
|   +-- libpcap.so.1.4.0
+-- sbin
    +-- ethtool
    +-- mii-tool
    +-- tcpdump -> tcpdump.4.4.0
    +-- tcpdump.4.4.0
I then packed that directory tree into a new initramfs file using my initramfs generator script, like this:

Code:
# cd /usr/local/bin
# wget http://www.slackware.com/~alien/tools/extract_initramfs.sh
# ln -s extract_initramfs.sh create_initramfs.sh
# create_initramfs.sh /tmp/addons.img /path/to/initrd64_14.1_addon/
Then I modified my standard mini ISO image as follows:

Loop-mount the ISO image and modify the isolinux configuration to take the addons.img into account:
Code:
#mkdir -p /mnt/iso
# mount -o loop slackware_x86_64-14.1-mini-install.iso /mnt/iso/
# mkdir ~/workdir
# cp -a /mnt/iso/* ~/workdir/
# cp -a tmp/addons.img ~/workdir/isolinux
# sed -i 's/initrd.img/&,addons.img/' ~/workdir/isolinux/isolinux.cfg
Which lets isolinux do its magic of combining two separate initramfs images into one filesystem for the kernel to boot with, thus making the addons part of the installer transparently.

Finally a new ISO needs to be created from that workdir, something like this:

Code:
# cd ~/workdir
# mkisofs -o ~/slackware-mini-install.iso \
    -R -J -V "Slackware Mini Install" \
    -hide-rr-moved -hide-joliet-trans-tbl \
    -v -d -N -no-emul-boot -boot-load-size 4 -boot-info-table \
    -b isolinux/isolinux.bin \
    -c isolinux/isolinux.boot \
    -sort isolinux/iso.sort \
    -publisher "The Slackware Linux Project - http://www.slackware.com/" \
    -A "Slackware-14.1 for x86_64 Mini Install CD - build $(date +Y%m%d)" \
    .
After which you can collect the modified ISO in your homedirectory.

If you are using PXE boot then you do not even have to create new ISO images of course, just dump the addons.img file in the pxeboot directory and update the configuration file.

Edit: I should write a Wiki page for this.

Last edited by Alien Bob; 05-28-2015 at 05:33 AM.
 
12 members found this post helpful.
  


Reply

Tags
cd, live



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 future? coyctecm Slackware 12 02-01-2006 10:03 PM
Future of Slackware kratunko Slackware 30 08-12-2005 12:31 PM
Slackware features? rusty_slacker Slackware 49 12-02-2004 04:45 AM
what are the features of the new slackware 9? ethanchic Slackware 2 09-27-2002 06:15 PM

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

All times are GMT -5. The time now is 01:39 PM.

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