Slackware - InstallationThis forum is for the discussion of installation issues with Slackware.
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.
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.
Some months ago I started to load Slackware 13.37 on a new computer with a 40 GB SSD. I went back to finish the job today and could not get fdisk to find sda. The command df found the drive in /dev/devtmpfs, however I haven't been able to get fdisk to connect to the SSD which apparently is not mounted. The installation program will not proceed and complains that the drive has not been partitioned.
I clicked the "find similar threads", but lost the results and can not repeat that initial search. I tried this about 5 times.
I though that I had finished partitioning the SSD when I shut it down last time, but was not happy with the way it turned out.
It is a new,modern machine using an i3-3220 CPU, 40 GB SSD, 8 GB of ram, with a DVD optical drive.
Needless to say I am a newbie and would appreciate any help.
It's possible that your SSD may not be physically connected any longer or you didn't finish partitioning it properly the last time.
Assuming there is no data on the SSD you want to keep ...
Boot the Slackware installation media (as you did before) and list the disks found with the command ...
Code:
fdisk -l
(that's a lowercase L)
Note the disk names that are listed. Probably "/dev/sda".
Then partition the disk with the command
Code:
fdisk /dev/sda
.. or whatever device name the fdisk -l command returns.
Remember in fdisk to execute the command 'w' to write the partition to the drive.
If no disks are found check the connections.
Some people prefer to use cfdisk instead of fdisk. I like fdisk.
-------
Quote:
... however I haven't been able to get fdisk to connect to the SSD which apparently is not mounted.
Technical Note: filesystems are mounted not disk drives nor disk partitions. First you partition a disk, then you create a file system on the partition, then you mount that file system. All you have to do is partition the disk, the installation process ("setup") will take care of the rest as you follow the process.
EDIT: Slow typist. syg00 mentioned the important part.
Last edited by TracyTiger; 08-22-2014 at 12:33 AM.
I am using a Kindle to send this, so typing is a challenge.
Not sure if this is a Kindle issue or not but to make sure you're typing the commands correctly ...
Since you've booted the from installation media you're running each of these commands as root.
Quote:
fdisk -1. Returns :/# That is nothing only the prompt.
The argument for this fdisk command is a lowercase 'L' not the digit '1'.
Quote:
fdisk-1 /dev/sda Returns: no such file or directory.
The command to find all connected disks is:
Code:
fdisk -l
The command to partition a disk is:
Code:
fdisk /dev/sda
No "-l" (ell) argument is used when partitioning a disk.
Quote:
lsbik -o MAJ,NAME,KNAME,FSTYPT,MODEL,SIZE,,TYPE,MOUNTPOINT,STATE returns. lsbik: not found. Using lower case L.
The command is lsblk (LSBLK - list block devices). There is no 'i' (eye) in the command.
You probably typed all of the commands properly and are just struggling with the use of Kindle in the post. I just mention these items in case you mistyped them in Slackware.
Last edited by TracyTiger; 08-22-2014 at 11:05 AM.
Reason: typo, clarification
lsblk -o, gave me a list of available columns. Type and state were not included. There may have been more, I do not know how to scroll back. There was a note that for more information see the MAN pages.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.