LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware - Installation (http://www.linuxquestions.org/questions/slackware-installation-40/)
-   -   Help a New Member Install Slackware!!! (http://www.linuxquestions.org/questions/slackware-installation-40/help-a-new-member-install-slackware-905819/)

DMTspice 09-30-2011 03:35 PM

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 :banghead:
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.

MS3FGX 09-30-2011 04:45 PM

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.

DMTspice 09-30-2011 05:04 PM

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?

MS3FGX 09-30-2011 05:24 PM

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.

DMTspice 09-30-2011 05:47 PM

Quote:

Originally Posted by MS3FGX (Post 4486722)
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?

DMTspice 10-01-2011 08:24 AM

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.

colorpurple21859 10-01-2011 07:50 PM

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

DMTspice 10-02-2011 12:16 AM

@colorpurple21859- Thanks, I really appreciate that.

DMTspice 10-03-2011 01:45 PM

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?

colorpurple21859 10-03-2011 06:35 PM

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

DMTspice 10-03-2011 07:28 PM

Quote:

Originally Posted by colorpurple21859 (Post 4489161)
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

colorpurple21859 10-03-2011 07:39 PM

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.

DMTspice 10-04-2011 02:15 PM

Where are these directories being created, the USB drive, my primary HD, or the secondary HD where I want to install slackware?

MS3FGX 10-04-2011 02:19 PM

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.

colorpurple21859 10-04-2011 06:13 PM

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.


All times are GMT -5. The time now is 04:02 AM.