Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
08-11-2014, 04:07 PM
|
#1
|
Member
Registered: Oct 2007
Distribution: tinkering with whatever suits me at the time
Posts: 73
Rep:
|
USB Install help w/ Slackware 14.1
I've followed these instructions for creating a bootable USB stick with all the slackware64 directories on it for a full-on USB install of Slackware 14.1.
The disk boots fine, and I can get into the installer.
Using the command line, I type the following to create a directory and mount the usb data there:
Code:
mkdir /usbinstall
mount -t vfat -o ro,shortname=mixed $(/sbin/blkid -t LABEL=USBSLACKINS | cut -f1 -d:) /usbinstall
When I run df -h, I see that /dev/sdb1 has been mounted on /usbinstall.
For the life of me, after I run "setup" to enter the installer, I can't find out how to correctly specify the source directory for the slackware64 directory, which contains all of the source files. Do I do option 3 (Hard-disk), or option 7 (Local directory)? I've tried both options with several different inputs, but every time the installer tells me that the directory slackware64 does not exist.
FYI, the source files are in this location: /usbinstall/slackware64. This directory contains the /a, /ap, etc folders required for installation.
Any help on how to do this step?
Thank you
|
|
|
08-11-2014, 05:33 PM
|
#2
|
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,158
Rep:
|
If you already mounted it just choose "Install from a pre-mounted directory"" that will be /usbinstall.
Else choose "Install from a hard drive partition", chose /dev/sdb1 then on the next screen /.
|
|
|
08-11-2014, 05:43 PM
|
#3
|
Member
Registered: Oct 2009
Distribution: Slackware
Posts: 534
|
I just installed Slackware 14.1 from a USB today.. In 14.1 I had the option to install from a USB DISK (wasn't there in 14.0)..
But what Didier said in the upper post should work... Btw.. on "Install from a hard drive partition", if I remember correctly you should enter "/slackware64"
|
|
|
08-11-2014, 07:00 PM
|
#4
|
Member
Registered: Oct 2007
Distribution: tinkering with whatever suits me at the time
Posts: 73
Original Poster
Rep:
|
Thanks folks. I tried both of your suggestions, to no avail.
(Typing it out since the install is on my laptop) please see below for what I'm doing:
Code:
df -h
Filesystem Size Used Available Use% Mounted on
devtmpfs 1.8G 0 1.8G 0% /dev
/dev/sdb1 3.7G 61% 1.5G 61% /usbinstall
Note that this is done after I mount the directory using the command in my first post.
Also:
Code:
pwd
/usbinstall/slackware64
The output I get is the contents of the Slackware tree on the FTP site.
I also have the option for the USB install, but for some reason this does not work--the file tree on the USB is not recognized by the installer for some reason. This was expected though, from the install guides I saw. There were different instructions for installing straight from the USB stick.
Last edited by engineer; 08-11-2014 at 07:05 PM.
Reason: more info
|
|
|
08-11-2014, 07:12 PM
|
#5
|
Member
Registered: Oct 2009
Distribution: Slackware
Posts: 534
|
So, just to be clear, you tried using "Install from a pre-mounted directory" and then typing "/usbinstall/slackware64" ?
Also, try to not mount the usbdisk before choosing the "Install from USB" or "Install from hard drive partition" options... They will handle mounting for you (the instructions you read we're for 13.0 which didn't have this type of options, I think)
If this doesn't work than try redoing the disk.. I can't think of anything else ..
Last edited by Smokey_justme; 08-11-2014 at 07:15 PM.
|
|
|
08-11-2014, 07:24 PM
|
#6
|
Member
Registered: Oct 2007
Distribution: tinkering with whatever suits me at the time
Posts: 73
Original Poster
Rep:
|
Quote:
Originally Posted by Smokey_justme
So, just to be clear, you tried using "Install from a pre-mounted directory" and then typing "/usbinstall/slackware64" ?
Also, try to not mount the usbdisk before choosing the "Install from USB" or "Install from hard drive partition" options... They will handle mounting for you (the instructions you read we're for 13.0 which didn't have this type of options, I think)
If this doesn't work than try redoing the disk.. I can't think of anything else ..
|
Correct. I chose option 7 "Install from a pre-mounted directory" and then typed /usbinstall/slackware64. This then takes me to the screen where I select the packages I want to install. After selecting packages, and pressing enter, I get a notice saying that I'm not ready to install yet because I have to choose the source directory (which I supposedly just did) and a target location.
I'll try doing the disk again and report back.
|
|
|
08-11-2014, 08:41 PM
|
#7
|
Member
Registered: Oct 2007
Distribution: tinkering with whatever suits me at the time
Posts: 73
Original Poster
Rep:
|
Just finished recreating the usb. Tried the suggestions above, again no dice. When I select option 7, and input /usbinstall as the directory to install from, the installer tells me the directory does not exist... same thing if I try /usbinstall/slackware64. This is frustrating. lol
|
|
|
08-11-2014, 10:28 PM
|
#8
|
Senior Member
Registered: Apr 2009
Location: McKinney, Texas
Distribution: Slackware64 15.0
Posts: 3,858
|
You need some partitions to install into, don't you?
|
|
|
08-11-2014, 11:49 PM
|
#9
|
Member
Registered: Dec 2013
Location: NJ / USA
Distribution: Slackware 64 -Current
Posts: 232
Rep:
|
I always use the USB stick to install.. I dont mount anything after booting up on the USB stick I just go into the installer and chose the option to "Install from USB"
|
|
|
08-12-2014, 12:02 AM
|
#10
|
LQ Newbie
Registered: Jun 2014
Location: Sicily, Italy
Distribution: Slackware64-14.1
Posts: 7
Rep:
|
If you created the bootable USB, you shouldn't mount anything.
You must only create the HD partitions, and then, in the installer, choose "Install from USB"; automatically, the system will check for a USB disk which contains the packages for Slackware 14.1.
If it doesn't work, try with "Install from hard drive partition".
But, as I said, the first method should work correctly.
|
|
|
08-12-2014, 04:39 AM
|
#11
|
Member
Registered: May 2005
Location: Boom - The Home Town of Tomorrowland, Belgium
Distribution: Slackware, Xubuntu
Posts: 459
Rep:
|
Quote:
Originally Posted by engineer
When I select option 7, and input /usbinstall as the directory to install from, the installer tells me the directory does not exist... same thing if I try /usbinstall/slackware64.
|
Option 7, “Install from a pre-mounted directory”, wants you to specify a directory into which you copied the Slackware DVD ISO file. In other words, the directory that you specify here, should contain, e.g., the “slackware64-14.1-install-dvd.iso” file (if Slackware64 14.1 is what you’re trying to install).
I got bitten by this, too, and I didn’t understand what was going on either; in fact, I had to study the install scripts to find this out. In my opinion, the description of the option could be a whole lot clearer; who would think, from the description, that the pre-mounted directory needs to have a Slackware ISO file?
If you select Option 2, “Install from a Slackware USB stick”, then you should not mount the USB stick beforehand, since the install script will scan for it, and mount it for you. The stick should contain a “slackware64” directory, with subdirectories “a”, “ap”, “d”, etc.
Option 3, “Install from a hard drive partition”, allows you to install from a directory on a harddisk partition, and seems to support a directory that contains either the ISO image file, or the “slackware64” directory tree. It appears to prefer a partition that is not yet mounted, but can handle a pre-mounted partition just fine.
|
|
1 members found this post helpful.
|
08-12-2014, 04:53 AM
|
#12
|
Member
Registered: May 2005
Location: Boom - The Home Town of Tomorrowland, Belgium
Distribution: Slackware, Xubuntu
Posts: 459
Rep:
|
By the way, as Pat noted in another thread, you can simply use the “dd” command to copy the Slackware 14.1 ISO to a USB stick, and it will boot just fine.
|
|
|
08-12-2014, 09:15 AM
|
#13
|
Member
Registered: Oct 2007
Distribution: tinkering with whatever suits me at the time
Posts: 73
Original Poster
Rep:
|
Thanks a lot for all the help folks--particularly luvr's post. He is correct, it should be much more clear what the installer is looking for if this is the case.
I am going use some windows software to burn the slack .iso file to the USB and try installing that way--that is effectively what dd is doing, correct?
|
|
|
08-12-2014, 09:56 AM
|
#14
|
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,158
Rep:
|
Quote:
Originally Posted by engineer
I am going use some windows software to burn the slack .iso file to the USB and try installing that way--that is effectively what dd is doing, correct?
|
Yes. I suggest that you use rufus that comes handy for that.
|
|
1 members found this post helpful.
|
08-12-2014, 10:09 AM
|
#15
|
Member
Registered: May 2005
Location: Boom - The Home Town of Tomorrowland, Belgium
Distribution: Slackware, Xubuntu
Posts: 459
Rep:
|
Quote:
Originally Posted by engineer
I am going use some windows software to burn the slack .iso file to the USB and try installing that way--that is effectively what dd is doing, correct?
|
If your Windows software simply dumps the ISO file to the USB device, then, yes, that's exactly what dd does, too. If you want to be sure that the copy was made correctly, then, after the copy is done, you may want to mount the USB (and it doesn't matter whether you want to do so under Windows or under Linux), and verify that you find the expected directory structure there.
|
|
|
All times are GMT -5. The time now is 02:42 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|