LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-30-2011, 02:35 PM   #1
DMTspice
Member
 
Registered: Sep 2011
Posts: 42

Rep: Reputation: Disabled
Help a New Member Install Slackware!!!


Greetings All-

So I've been lurking around this site and all over the web for the last couple of days gathering info to install slackware 13.37 on my secondary hard drive from a bootable USB. I have to say, it's all very intimidating to me.

So I took the plunge and registered my account here to get some help from other forum members. I have to stress that I'm a complete newbie.

I'm currently running Maverick on my primary drive. I already downloaded the slackware64-13.37-iso.

I've read the instructions here but still unclear on how to proceed
http://slackware.osuosl.org/slackwar...README_USB.TXT

It seems like the more I read, the more terminology I run into that has me rushing to lookup definitions further compacting my confusion.

Anyway, any help will be greatly appreciated. Anything else you guys need to know feel free to ask.
 
Old 09-30-2011, 03:45 PM   #2
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
Well, what exactly is the problem you're having? Which step are you not able to complete? Is there some kind of error message you are seeing?

Getting an idea of how far you have actually progressed through the steps would make assisting you a lot easier.
 
Old 09-30-2011, 04:04 PM   #3
DMTspice
Member
 
Registered: Sep 2011
Posts: 42

Original Poster
Rep: Reputation: Disabled
Hi MS3FGX, thanks for responding. I'm stuck at preparing my usb dirve to use it as a bootable device. I haven't even attempted to boot the Slackware installer from a USB stick, and I'm sure I'll have many more questions when I get to that point.

The instructions on the page I referenced are unclear to me. It tells me to copy the 'usbboot.img' file to a USB stick, but after that I get a little fuzzy.

I have an 8 gig USB drive, is there any way to burn all the packages to the drive and install from there?
 
Old 09-30-2011, 04:24 PM   #4
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
The Slackware USB installer doesn't contain any packages, it is just the installer itself which needs to be pointed to packages stored either locally or over the network/Internet.

If you wanted to put everything on the flash drive, the easiest method would be to follow the section of the README_USB called "Create a bootable USB stick non-destructively", and afterwards copy the contents of the Slackware package tree to the USB stick. You could just drop the ISO on the drive actually, it can be mounted as if the disc was present once the system boots.

Another way to do it would be to simply keep a copy of the Slackware DVD ISO on your primary drive, and once booted into the installer, mount the ISO off of the primary drive and read the packages that way.
 
Old 09-30-2011, 04:47 PM   #5
DMTspice
Member
 
Registered: Sep 2011
Posts: 42

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by MS3FGX View Post
Another way to do it would be to simply keep a copy of the Slackware DVD ISO on your primary drive, and once booted into the installer, mount the ISO off of the primary drive and read the packages that way.

Okay- lets say I try the method above... I pick up everything you're laying down except for having to mount the ISO off of the primary drive. How is that done after I boot into the installer?

***EDIT***
I just attempted to transfer usbboot.img to the usb drive by issuing the following command:
dd if=usbboot.img of=/dev/sdc bs=512

and I got "permission denied"

Is this administrator privileges related or something else?

Last edited by DMTspice; 09-30-2011 at 05:31 PM.
 
Old 10-01-2011, 07:24 AM   #6
DMTspice
Member
 
Registered: Sep 2011
Posts: 42

Original Poster
Rep: Reputation: Disabled
Another update- I figured out that little permission denied hurtle. I just ran the command as as superuser. My USB flash drive is ready with the usbboot.img.

Can anyone tell me how to proceed from here? The guy that was helping me out kind of bailed- I'm sure he has a life and all so no worries.

so just a recap... flash drive is ready to go.

slackware13.37.iso is on my primary drive.

Just need to know what the next steps are after I boot from the USB.
 
Old 10-01-2011, 06:50 PM   #7
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida
Distribution: slackware64-current, puppy, ubuntu
Posts: 1,344

Rep: Reputation: 184Reputation: 184
1.Copy the iso to the usb key.
2. Boot the usb key.
3. At the command prompt, run "fdisk -l" without the quotes to find the name of you second harddrive then "cfdisk <name of second harddrive> to create a swap partition and linux partition.
4.At the command prompt create two new directories. one named slackiso and one named usbmount. Names are arbitrary.
5. mount your usb key to the usbmount directory then mount the slackware iso on the usb key to the slackiso directory.
6. Run setup and when asked where the slack files are, select from a directory and enter the slackiso directory.

Another alternative is if you have a decent internet connection and easily to configure internet card then you can select the option to install from a mirror, but will need complete mirror address before starting installation. with this method you can just boot the usb key and go straight into setup. Steps 1, 4, and 5 can be skipped and with this method

This is the short and sweet of how do to it. "mkdir" is the command to create a new directory. To mount the usb key and iso file will have to use the "mount" command, "fdisk -l" should give you the name of you usb key to be used with the mount command

Last edited by colorpurple21859; 10-02-2011 at 08:54 PM.
 
Old 10-01-2011, 11:16 PM   #8
DMTspice
Member
 
Registered: Sep 2011
Posts: 42

Original Poster
Rep: Reputation: Disabled
@colorpurple21859- Thanks, I really appreciate that.
 
Old 10-03-2011, 12:45 PM   #9
DMTspice
Member
 
Registered: Sep 2011
Posts: 42

Original Poster
Rep: Reputation: Disabled
Okay- I tried it and on the setup menu got an "error/restart" when it prompted me for the directory where iso packages are located (packages were still on my hard drive)

I reviewed your instructions and noticed that #1. is "copy the iso to the usb key". At first glance I missed what you were actually saying, which I assume is to copy the actual slackware iso dvd to my usb key and not the usbboot.img which I had already copied previously.

Do I copy the slackware iso to my usb key issuing the following command:

Quote:
dd if=slackware-13.37-install-dvd.iso of=/dev/sdc
My command line skills are a little weak so please bare with me. Also, wouldn't this delete the usbboot.img that's currently on my usb key?

Last edited by DMTspice; 10-03-2011 at 01:17 PM.
 
Old 10-03-2011, 05:35 PM   #10
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida
Distribution: slackware64-current, puppy, ubuntu
Posts: 1,344

Rep: Reputation: 184Reputation: 184
Quote:
dd if=slackware-13.37-install-dvd.iso of=/dev/sdc
do not do this! can you just copy the iso file to the usb key after dd the usbboot.img? or can you mount your hardrive and mount the iso file from there

Last edited by colorpurple21859; 10-03-2011 at 05:37 PM.
 
Old 10-03-2011, 06:28 PM   #11
DMTspice
Member
 
Registered: Sep 2011
Posts: 42

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by colorpurple21859 View Post
do not do this! can you just copy the iso file to the usb key after dd the usbboot.img? or can you mount your hardrive and mount the iso file from there
I don't know. I was hoping you would tell me.

When I tried the install, The iso files were in my primary hardrive. At setup, I was prompted for the partition where files are located. I entered /dev/sda. Then it prompted me for the directory of the ISO files- I entered /home/username/slackware64-13.37-iso. That's where I get error/restart
 
Old 10-03-2011, 06:39 PM   #12
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida
Distribution: slackware64-current, puppy, ubuntu
Posts: 1,344

Rep: Reputation: 184Reputation: 184
at the prompt
Quote:
mount /dev/sda1 /usbmount
this is assuming you created the usbmount directory and your iso file is on /dev/sda1
It will be easier if your put the iso file in the top directory of the hard drive it is located on. then this
Quote:
mount -o loop /usbmount/<name of iso file> /slackiso
will mount the iso to the slackiso directory, again assuming you created the slackiso directory. run setup and you slack files should be in /slackiso/slackware, unless something unforseen happens.

Last edited by colorpurple21859; 10-03-2011 at 06:45 PM.
 
Old 10-04-2011, 01:15 PM   #13
DMTspice
Member
 
Registered: Sep 2011
Posts: 42

Original Poster
Rep: Reputation: Disabled
Where are these directories being created, the USB drive, my primary HD, or the secondary HD where I want to install slackware?
 
Old 10-04-2011, 01:19 PM   #14
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
Nowhere, really. You do this while running the Slackware installer, which runs out of memory. You don't need to change anything on the primary drive or the booted USB drive.
 
Old 10-04-2011, 05:13 PM   #15
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida
Distribution: slackware64-current, puppy, ubuntu
Posts: 1,344

Rep: Reputation: 184Reputation: 184
The usb image has a slackware system with the tools need for installation, that is loaded into ram memory when booted. New directories that are created in the root file system will be lost every time the system is rebooted because they are created in the ram filesystem, therefore the slackiso and usbmount directories will have to be recreated each time the installtion system is rebooted. The exception to this is new directories or files that are created inside a directory that a physical drive has been mounted to.
 
  


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
New member, Slackware 13.0 on a 15" Macbook Pro macslack LinuxQuestions.org Member Intro 1 11-25-2009 06:58 PM
New member, old Slackware user slackx64 LinuxQuestions.org Member Intro 3 07-20-2009 05:32 AM
Suse 8 (ex-Slackware member) sapilas Linux - Distributions 42 06-13-2002 08:38 PM


All times are GMT -5. The time now is 10:07 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration