LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-25-2005, 07:40 AM   #1
denning
Member
 
Registered: Jan 2004
Location: Oxford
Distribution: Slackware, Debian, Fedora, FreeBSD, NetBSD
Posts: 150

Rep: Reputation: 15
hacking the slackware installer


anyone try hacking into the slackware installer?

I've tried burning my owm slackware installation cd from the current files successfully, but I am still trying to work out howto make changes to the installer itself.

I am guessing cfdisk and setup are somewhere in the initrd.img file in /isolinux. THat image was made with mkinitrd i think. Next step is working out how to mod it.
 
Old 02-25-2005, 08:50 AM   #2
killerbob
Member
 
Registered: Oct 2004
Location: Ottawa, ON
Distribution: Slackware
Posts: 662

Rep: Reputation: 31
You could try mounting the initrd.img and see what's on it... you could probably also modify the contents if you mount it as read-write.
 
Old 02-25-2005, 12:47 PM   #3
SVN
LQ Newbie
 
Registered: Mar 2004
Location: Belgium
Distribution: Gentoo
Posts: 11

Rep: Reputation: 0
You can find on this site how you can modify slackware: http://cookingupsomeslack.com/
 
Old 02-25-2005, 01:41 PM   #4
denning
Member
 
Registered: Jan 2004
Location: Oxford
Distribution: Slackware, Debian, Fedora, FreeBSD, NetBSD
Posts: 150

Original Poster
Rep: Reputation: 15
Thank you so much killer bob and SVN. Wow! cooking up slack is the nirvana for customizing slackware! that is so cool.

I am thinking of making a Slackware derivative so it is important that I remove all mentions of Slackware in order to comply with the licence. I will look into that webpage and fiddle around with the initrd.img.

in the meantime, i really should be working on my essay!

thnx guys!
 
Old 02-25-2005, 05:09 PM   #5
denning
Member
 
Registered: Jan 2004
Location: Oxford
Distribution: Slackware, Debian, Fedora, FreeBSD, NetBSD
Posts: 150

Original Poster
Rep: Reputation: 15
hmmm...i can't seem to even mount the initrd.img file.

I do mount -o loop initrd.img /mnt/initrd.img and i keep getting

mount: could not find any free loop device

I tried going to /dev and ./MAKEDEV all

also tried modprobe loop, all to no avail:
modprobe: can't locate loop
 
Old 01-26-2010, 09:04 PM   #6
tallship
Member
 
Registered: Jul 2003
Location: On the Beaches of Super Sunny Southern San Clemente, California USA
Distribution: Slackware - duh!
Posts: 534
Blog Entries: 3

Rep: Reputation: 118Reputation: 118
Question

Quote:
Originally Posted by SVN View Post
You can find on this site how you can modify slackware: http://cookingupsomeslack.com/

The link above no longer exists in that location. The new location, which should *take up some slack* (sic), is now here: http://web.archive.org/web/200512011...someslack.com/

Last edited by tallship; 01-26-2010 at 09:27 PM.
 
Old 01-27-2010, 12:32 AM   #7
lumak
Member
 
Registered: Aug 2008
Location: Phoenix
Distribution: Arch
Posts: 799
Blog Entries: 32

Rep: Reputation: 111Reputation: 111
Odd pondering... I wonder if it would be feasible to offer a software package of pre-compiled binaries of SlackBuilds' packages on a CD that one could boot then install to their slackware partition O.o. Not that one couldn't simply download the ones they need from a repository. It would be more of a promotional gimmick.
 
Old 01-27-2010, 12:47 AM   #8
tallship
Member
 
Registered: Jul 2003
Location: On the Beaches of Super Sunny Southern San Clemente, California USA
Distribution: Slackware - duh!
Posts: 534
Blog Entries: 3

Rep: Reputation: 118Reputation: 118
Quote:
Originally Posted by lumak View Post

I wonder if it would be feasible to offer a software package of pre-compiled binaries of SlackBuilds' packages on a CD that one could boot then install to their slackware partition
I don't really see the purpose of that actually. I can see carrying around a CD of packages for convenience, or whatever reason to have them handy, but all you would need to do is install/mount the CD and then

Code:
installpkg /mnt/cdrom/package_name
I'm missing your reasoning behind why you would want the CD to be bootable, so you could install a package into a partition that already has an operational Linux system accessing it as part of it's file system, instead of just installing the package(s) from the CD using the running OS.
 
Old 01-27-2010, 08:05 PM   #9
lumak
Member
 
Registered: Aug 2008
Location: Phoenix
Distribution: Arch
Posts: 799
Blog Entries: 32

Rep: Reputation: 111Reputation: 111
like I said, Odd Pondering. Perhaps not bootable, but provide a menu interface to selecting packages off the CD. It would be targeted at mainstream GNU/Linux users to add third party packages from a semi trusted source. Only slackware power users would really be using the "installpkg" command
 
Old 01-27-2010, 08:54 PM   #10
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,925
Blog Entries: 44

Rep: Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159Reputation: 3159
Hi,

Quote:
Originally Posted by tallship View Post
The link above no longer exists in that location. The new location, which should *take up some slack* (sic), is now here: http://web.archive.org/web/200512011...someslack.com/
LQ has 'Cooking Up Some Slack. (CUSS)'.


The above link and others can be found at 'Slackware-Links'. More than just SlackwareŽ links!
 
Old 01-27-2010, 09:15 PM   #11
tallship
Member
 
Registered: Jul 2003
Location: On the Beaches of Super Sunny Southern San Clemente, California USA
Distribution: Slackware - duh!
Posts: 534
Blog Entries: 3

Rep: Reputation: 118Reputation: 118
Quote:
Originally Posted by onebuck View Post
Hi,



LQ has 'Cooking Up Some Slack. (CUSS)'.


The above link and others can be found at 'Slackware-Links'. More than just SlackwareŽ links!
Ah! oic!

I saw that link here at LQ but just figured it would be a 404 pointing to the old site (The link I provided points to its archive at the wayback machine).

The link here on LQ is "Much improved", actually somewhat complete from the looks of it

Thanks onebuck!
 
Old 01-27-2010, 09:31 PM   #12
tallship
Member
 
Registered: Jul 2003
Location: On the Beaches of Super Sunny Southern San Clemente, California USA
Distribution: Slackware - duh!
Posts: 534
Blog Entries: 3

Rep: Reputation: 118Reputation: 118
Wink

Quote:
Originally Posted by lumak View Post
like I said, Odd Pondering. Perhaps not bootable, but provide a menu interface to selecting packages off the CD. It would be targeted at mainstream GNU/Linux users to add third party packages from a semi trusted source. Only slackware power users would really be using the "installpkg" command
Oh Okay. That solution is present already Yeah, I guess for me I like the ***pkg suite of tools... And when I used to think Redhat was kewl I used rpm -ivh (which you can actually do in Slack if you force and nodep), but I left the Redhat camp completely back with 5.2 - the stuff after that was just junk (IMSNHO). I remember they were including 6.0 with every Proliant, and didn't work the bugs out of it until 6.2 - and the same with the 7.x series of Redhat.

But I digress However, ....

The solution you're looking for already exists in the form of pkgtool - its the gui version, if you will (ncurses) of Slackware's package management system. You can navigate along kinda like you would in the old Norton (or midnight) Commander, pick out your packages, and manage them.

For your particular application, the assumption is that you're interested in carrying around a CD of packages that aren't already in the std Slack distro, so just head on over to http://LinuxPackages.net, pick and choose the packages to d/l (I think the best OpenOffice package is still only available over at rworkman's own site though), burn 'em to your CD and then you're all set!

Pop in your Cd w/all of your packages, run 'pkgtool', navigate, select the packages and then vroom! done

Here's some screen shots: http://www.slackware.com/config/packages.php


Hope that helps

Last edited by tallship; 01-27-2010 at 09:40 PM.
 
Old 01-28-2010, 10:11 PM   #13
lumak
Member
 
Registered: Aug 2008
Location: Phoenix
Distribution: Arch
Posts: 799
Blog Entries: 32

Rep: Reputation: 111Reputation: 111
Doh! forgot pkgtool uses a gui... but either way... you don't have a nice menu grouping the packages and you cant select them from a list to install all at once. At least not from what I could see by glancing at it.

In the end. For that 'promotional gimmick' type of thing, you could probably simplify it all with a custom ncurses gui.
 
  


Reply



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 DVD iso installer? Anthony1uk Slackware - Installation 3 10-19-2005 02:57 AM
Does the Slackware 10.0 installer run 2.6.x? WCprof Slackware 11 07-11-2004 12:00 AM
Hacking Exposed Wireless Hacking Chapter prompt Linux - Wireless Networking 0 05-08-2004 02:44 PM
keyboard not working in slackware installer InsaneBob Linux - Hardware 6 10-27-2003 09:02 AM
Slackware installer cosiek Slackware 3 09-28-2003 01:57 AM

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

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