LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - Installation
User Name
Password
Slackware - Installation This forum is for the discussion of installation issues with Slackware.

Notices


Reply
  Search this Thread
Old 11-23-2011, 07:02 PM   #31
.Clockwork.
Member
 
Registered: Nov 2011
Posts: 47

Original Poster
Rep: Reputation: Disabled

Minor hiccup in preparation?

>> Open a DOS box (i.e. get a command prompt) by running

Code:
cmd.exe
(check)

Run the following command at the prompt:

Code:
dd if=d:\usb-and-pxe-installers\usbboot.img of=\\.\u:
(check) <<

Result: 'dd' is not recognized as an internal or external command, operable program or batch file.

(Attempted with dd located on Desktop and on USB drive).

Possible solution:

Located usbboot.img on flash drive by unetbootin and ran as if I were unpacking the ISO. It proceeded to create:

ubnkern
ubninit
syslinux
menu.c32

Will this work for what I need, if going with an external network installation?
 
Old 11-23-2011, 08:10 PM   #32
ukiuki
Senior Member
 
Registered: May 2010
Location: Planet Earth
Distribution: Debian
Posts: 1,030

Rep: Reputation: 380Reputation: 380Reputation: 380Reputation: 380
Quote:
Originally Posted by TobiSGD View Post
... Remember that Slackware has no dependency solving package manager, so you have to know exactly what you do when you decide to not install a package...
Thanks for reminding that !!
 
Old 11-23-2011, 10:46 PM   #33
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4858Reputation: 4858Reputation: 4858Reputation: 4858Reputation: 4858Reputation: 4858Reputation: 4858Reputation: 4858Reputation: 4858Reputation: 4858Reputation: 4858
Quote:
Originally Posted by .Clockwork. View Post
Minor hiccup in preparation?

>> Open a DOS box (i.e. get a command prompt) by running

Code:
cmd.exe
(check)

Run the following command at the prompt:

Code:
dd if=d:\usb-and-pxe-installers\usbboot.img of=\\.\u:
(check) <<

Result: 'dd' is not recognized as an internal or external command, operable program or batch file.

(Attempted with dd located on Desktop and on USB drive).

Possible solution:

Located usbboot.img on flash drive by unetbootin and ran as if I were unpacking the ISO. It proceeded to create:

ubnkern
ubninit
syslinux
menu.c32

Will this work for what I need, if going with an external network installation?
If you use unetbootin for writing the imag to the pendrive you have to change the type from ISO to IMG in the selection, otherwise unetbootin tries to install its own bootloader, which is not needed here.

Regarding the network mirror, use one near to your location, I use normally one in Germany. It will ask for the URL (for example http://ftp.gwdg.de) and the path to the particular package directory (on that example mirror it is /pub/linux/slackware/slackware-13.37/slackware/ for the 32 bit version).
 
Old 11-23-2011, 11:12 PM   #34
.Clockwork.
Member
 
Registered: Nov 2011
Posts: 47

Original Poster
Rep: Reputation: Disabled
It's funny that I went to check for verification of the unetbootin query in newbie, expecting you to be gone a while, and you still answered sooner... :P

Checking for the IMG dropdown...
 
Old 11-23-2011, 11:15 PM   #35
.Clockwork.
Member
 
Registered: Nov 2011
Posts: 47

Original Poster
Rep: Reputation: Disabled
I can choose between "ISO" or "Floppy", but not "IMG".

Note: just for curiosity sake, I re-ran unetbootin with the Floppy setting instead of ISO, and it created the exact same files.

Last edited by .Clockwork.; 11-23-2011 at 11:38 PM.
 
Old 11-24-2011, 01:23 AM   #36
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,326

Rep: Reputation: 1360Reputation: 1360Reputation: 1360Reputation: 1360Reputation: 1360Reputation: 1360Reputation: 1360Reputation: 1360Reputation: 1360Reputation: 1360
Personally I wouldn't bother removing packages for any reason other than space saving and even then you have to consider if it isn't worth just adding disk space to the system. Consider the fact that even amazon.com (not the cheapest place for electronics) sells decent 500Gb disk drives for less than $50 (USD), meaning that 6.8Gb of space (the size of a full Slackware 13.37 install) costs less than $0.70. The cost is still pretty low even when choosing more expensive ways of adding storage to your system. For example, Amazon also offers new 8Gb microSD cards for less than $5 (USD).

Granted it is possible to think of examples where adding disk space isn't really feasible, e.g. a VPS (Virtual Private Server) account where you might be paying for disk space use on a month by month basis, or an exotic system like a small ARM-based device that provides no easy way to add storage. Of course there are a few others. I don't know your exact use case so it is hard to advise on whether you can or should add storage.

The other primary reason for slimming an install is to avoid a bloated and slow system. However this isn't really an issue on Slackware. On Slack a full install running a lightweight window manager like Fluxbox will run every bit as fast a slimmed down install running Fluxbox. The reason being that on Slackware if you install some application that runs as a daemon/service, it just sits on the disk doing nothing unless you set it to run. Most other distros would just start it immediately in the post install, hence the more packages you have installed, the slower your system.

This is why you should generally take advice on this matter from other Slackware users rather than those that use other distros. They may have slimmed down their distro because a full install would be unfeasibly large (distros like Debian and openSUSE have very big repositories) or because they noticed that bigger systems seem to run slower (due to the number of processes auto-started in the background). Hence their opinions on why a slim install is important are grounded in observations from their own distro, which may bear little relation to Slackware.

Having said all of that, if after you having done a full install you do discover you want to cut it down to free up some space, then issue the following to produce a sorted list of all packages at least 1Mb in size:

Code:
$ grep "^U.*M$" /var/log/packages/* | sed -r "s|.+/(.+):.+: +(.+)|\2\t\1|" | sort -n
If you are not a regex fan, here is a different way that is perhaps a bit easier to read:
Code:
$ (cd /var/log/packages/; grep -x "U.*M" * | awk -F: '{print $3 "\t" $1}' | sort -n)
Consider the biggest packages first and if or how you use them. This will give you the biggest bang for your buck when cutting the install size down. Some potential candidates for removal include:
  • All of the KDE series for a 900Mb saving
  • kernel-source package 415Mb (installed size). Whilst you will need this package if you want to compile a custom kernel or if you need to compile special kernel modules (like the VitualBox Guest additions), it can be a nice saving if you don't need it. Even if you do need it you can still consider removing after you are finished with it, as it is the type of package you are most likely to want only at the beginning, when first setting up your system.
  • All of the t series for a 250Mb saving
  • Qt another 129Mb (worth it if you aren't using KDE or other Qt based apps)
  • Samba for a 125Mb saving
  • Emacs 90Mb or Vim 26Mb (or both!)
  • Either kernel-modules or kernel-modules-smp as you probably don't need both. The are just over 70Mb each.
  • Seamonkey 66Mb or Firefox 32Mb (or both and install Opera at 34Mb, which could also replace the 30Mb Thunderbird)
  • Gimp 54Mb

Last edited by ruario; 11-24-2011 at 01:55 AM. Reason: list formatting added; changed order of the list: biggest first
 
Old 11-24-2011, 08:54 AM   #37
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 4,341

Rep: Reputation: 1232Reputation: 1232Reputation: 1232Reputation: 1232Reputation: 1232Reputation: 1232Reputation: 1232Reputation: 1232Reputation: 1232
OP has 134gb, there is no need to slim down to save disk space. Full install was suggested a few times, OP seems to be enjoying the challenge of doing it the hard way. I think Clockwork is a kindred spirit and will have fun on the forums.
 
Old 11-24-2011, 11:02 AM   #38
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4858Reputation: 4858Reputation: 4858Reputation: 4858Reputation: 4858Reputation: 4858Reputation: 4858Reputation: 4858Reputation: 4858Reputation: 4858Reputation: 4858
Quote:
Originally Posted by snowpine View Post
OP has 134gb, there is no need to slim down to save disk space. Full install was suggested a few times, OP seems to be enjoying the challenge of doing it the hard way. I think Clockwork is a kindred spirit and will have fun on the forums.
You got it wrong. The issue is that the OP has no CD/DVD-drive on his netbook and his flash-drive is to small to contain the whole installation ISO.
 
Old 11-24-2011, 11:43 AM   #39
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,326

Rep: Reputation: 1360Reputation: 1360Reputation: 1360Reputation: 1360Reputation: 1360Reputation: 1360Reputation: 1360Reputation: 1360Reputation: 1360Reputation: 1360
Quote:
Originally Posted by TobiSGD View Post
You got it wrong. The issue is that the OP has no CD/DVD-drive on his netbook and his flash-drive is to small to contain the whole installation ISO.
Hmm ... seems I scanned all this too fast. Opps! Sorry to the OP.

In that case I go with the net install. As you said it is as easy as typing a URL.
 
Old 11-24-2011, 12:33 PM   #40
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4858Reputation: 4858Reputation: 4858Reputation: 4858Reputation: 4858Reputation: 4858Reputation: 4858Reputation: 4858Reputation: 4858Reputation: 4858Reputation: 4858
Quote:
Originally Posted by .Clockwork. View Post
I can choose between "ISO" or "Floppy", but not "IMG".

Note: just for curiosity sake, I re-ran unetbootin with the Floppy setting instead of ISO, and it created the exact same files.
OK, to help you getting Slackware installed I have created (using AlienBob's mirror-slackware-current.sh) a minimal install ISO (size about 40MB) for Slackware 13.37 32 bit and uploaded it to Rapidshare. You should be able to use unetbootin's ISO approach to get that on your pendrive and use it for a network install. You will find it here.
 
Old 11-24-2011, 12:59 PM   #41
.Clockwork.
Member
 
Registered: Nov 2011
Posts: 47

Original Poster
Rep: Reputation: Disabled
Quote:
OP has 134gb, there is no need to slim down to save disk space. Full install was suggested a few times, OP seems to be enjoying the challenge of doing it the hard way. I think Clockwork is a kindred spirit and will have fun on the forums.
Funny enough, this *is* my personality, though Thanks @snowpine (I think!):P

@ruario: Still really useful info that you've provided, and I'll keep note of it. Space limitations for 134 GB are not high on the concern list, it's true, but virtual memory limitations with 1 GB RAM have bit me in the ... plenty, over the last two years. Besides, picking & choosing, researching, compiling, etc. is fun; fell in love with it 11 years ago, with Redhat 9. I should never have let anyone convince me to give Windows another chance.

@TobiSGD: Part of me wants to go, "grr!," and figure out how to truly customize the installation to USB, now. It's not that @snowpine got me wrong, it's that he didn't also mention the main topic, here. :P I'm still mulling over this... especially since unetbootin only lets me choose between ISO or Floppy and creates the samefiles as mentioned before, regardless choice.

[Edit]
Quote:
OK, to help you getting Slackware installed I have created (using AlienBob's mirror-slackware-current.sh) a minimal install ISO (size about 40MB) for Slackware 13.37 32 bit and uploaded it to Rapidshare. You should be able to use unetbootin's ISO approach to get that on your pendrive and use it for a network install. You will find it here.
But then you go and do something terribly charming like this... and, of course, I must forgive you... and kick my stubborn do-it-yourself side... repeatedly. >_>
[/Edit]

Last edited by .Clockwork.; 11-24-2011 at 01:03 PM.
 
Old 11-24-2011, 02:00 PM   #42
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 7,109

Rep: Reputation: 4855Reputation: 4855Reputation: 4855Reputation: 4855Reputation: 4855Reputation: 4855Reputation: 4855Reputation: 4855Reputation: 4855Reputation: 4855Reputation: 4855
Quote:
Originally Posted by TobiSGD View Post
OK, to help you getting Slackware installed I have created (using AlienBob's mirror-slackware-current.sh) a minimal install ISO (size about 40MB) for Slackware 13.37 32 bit and uploaded it to Rapidshare. You should be able to use unetbootin's ISO approach to get that on your pendrive and use it for a network install. You will find it here.
Just FYI, I have "mini ISOs" for a lot of slackware releases right here, with md5sums and gpg signatures for verification of proper downloads: http://slackware.com/~alien/slackboot/mini/

Those ISOs contain the installer, but not a single package - you will have to use a network installation method using a HTTP or FTP mirror server.

Eric
 
1 members found this post helpful.
Old 11-24-2011, 02:09 PM   #43
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 4,341

Rep: Reputation: 1232Reputation: 1232Reputation: 1232Reputation: 1232Reputation: 1232Reputation: 1232Reputation: 1232Reputation: 1232Reputation: 1232
Wow, kudos to TobiSGD, that was incredibly helpful. Above and beyond the call of duty!
 
Old 12-12-2011, 05:58 AM   #44
.Clockwork.
Member
 
Registered: Nov 2011
Posts: 47

Original Poster
Rep: Reputation: Disabled
Checking in to thank everyone who provided input on this issue, by the way. I've decided to postpone my exploratory venture with Slackware for now, as I've encountered everything from a successful initial installation, but a failure to be able to get the graphic desktop environment operative, to 2 different failed installations (most recent results) - one ended in a sort of kernel-related error, and the other never even got to the bootloader screen. I copied my actions, identically (except for choosing different mirrors from the slackware website), each time... so having each attempt at this process degress in results is a bit dampening to my enthusiasm. :P

I've been going over the list of what's available by the drop-down menu in unetbootin, and am hoping that one of those distributions will successfully install, for now, via my flash drive, and then I can focus on researching - at a bit more leisure - why I'm encountering difficulties, and whether it's something to do with my netbook hardware, or with the kernel (compatibility?).
 
Old 12-17-2011, 05:24 PM   #45
.Clockwork.
Member
 
Registered: Nov 2011
Posts: 47

Original Poster
Rep: Reputation: Disabled
So I might have been offered a "scrap" box to play around with, and I'm waiting to see what comes of that before I decide what I'm doing about Slackware. I'm torn because I really had my heart set on running it, but I've also discovered Sabayon, in the meanwhile, and my happy, little Gentoo-loving self is enthralled with it. :P

If one of you kind folk happens to have the time, I'd like to try to "troubleshoot" the errors I encountered (as best I can recall, at least), in private. Send me a message if you feel up to the task.

Thanks again, for all the help - I learned quite a bit of valuable information (and a lot more about network installing, which is probably a good thing! :P)
 
  


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
[SOLVED] Can't install Slackware on Atom N450 netbook me@asafonov.org Slackware 14 06-06-2012 02:54 AM
How to install Slackware on a Gateway LT2104u (Acer Aspire One 532h) netbook arfon Slackware 12 08-17-2010 06:30 PM
How would I install slackware 13.0 on a netbook? Yaakov22 Linux - Laptop and Netbook 2 11-02-2009 01:57 PM
Slackware install on netbook Norse Linux - Laptop and Netbook 4 11-01-2009 12:56 AM
General Advice on customizing XFCE4 Burgin Linux - General 2 03-02-2005 03:13 PM

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

All times are GMT -5. The time now is 03:30 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration