LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 08-22-2014, 12:09 AM   #1
ThomasLMcLean
Member
 
Registered: Apr 2011
Location: Metro Portland, OR
Distribution: Linux Mint
Posts: 61

Rep: Reputation: 0
fdisk can't find SSD


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.

Thanks;

Tom
 
Old 08-22-2014, 12:28 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,353

Rep: Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042
What does this return ?
Code:
fdisk -l
(lower case ell, for "list")
 
Old 08-22-2014, 12:30 AM   #3
TracyTiger
Member
 
Registered: Apr 2011
Location: California, USA
Distribution: Slackware
Posts: 276

Rep: Reputation: 65
Hi Tom,

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.
 
Old 08-22-2014, 12:53 AM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,353

Rep: Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042Reputation: 1042
Nah, you were trying to be (more) helpful - I was merely looking for info at this stage ...
 
Old 08-22-2014, 02:35 AM   #5
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,380

Rep: Reputation: 1088Reputation: 1088Reputation: 1088Reputation: 1088Reputation: 1088Reputation: 1088Reputation: 1088Reputation: 1088
[Duplicate of next post, please disregard]

Last edited by Didier Spaier; 08-22-2014 at 02:38 AM.
 
Old 08-22-2014, 02:37 AM   #6
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,380

Rep: Reputation: 1088Reputation: 1088Reputation: 1088Reputation: 1088Reputation: 1088Reputation: 1088Reputation: 1088Reputation: 1088
Maybe this just a problem with the device name. To find out we need the list of all block devices. So please provide the output of following command:
Code:
lsblk -o MAJ:MIN,NAME,KNAME,FSTYPE,MODEL,SIZE,TYPE,MOUNTPOINT,STATE
... And tell us what is the name of the SSD in that output.

Last edited by Didier Spaier; 08-22-2014 at 03:00 AM.
 
Old 08-22-2014, 10:35 AM   #7
ThomasLMcLean
Member
 
Registered: Apr 2011
Location: Metro Portland, OR
Distribution: Linux Mint
Posts: 61

Original Poster
Rep: Reputation: 0
Thanks for the replies. Here is what I get for reach suggestion.

fdisk -1. Returns :/# That is nothing only the prompt.

fdisk-1 /dev/sda Returns: no such file or directory.

lsbik -o MAJ,NAME,KNAME,FSTYPT,MODEL,SIZE,,TYPE,MOUNTPOINT,STATE returns. lsbik: not found. Using lower case L.

Additional information, The bios sees the drive. The motherboard is a Asus P8H77-V.

I am using a Kindle to send this, so typing is a challenge.

Thanks
Tom
 
Old 08-22-2014, 11:02 AM   #8
TracyTiger
Member
 
Registered: Apr 2011
Location: California, USA
Distribution: Slackware
Posts: 276

Rep: Reputation: 65
Quote:
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
 
Old 08-22-2014, 12:02 PM   #9
ThomasLMcLean
Member
 
Registered: Apr 2011
Location: Metro Portland, OR
Distribution: Linux Mint
Posts: 61

Original Poster
Rep: Reputation: 0
Tracy,

I dont think that I have missed typed either time. I have used l, a lower case L for list.

:/# fdisk /dev/sda. Returns, unable to open /dev/sda No such file or directory.

?

The Slackware machine has a key board. The Kindle is a virtual hunt and peck. A real pain.

Tom
 
Old 08-22-2014, 12:12 PM   #10
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,380

Rep: Reputation: 1088Reputation: 1088Reputation: 1088Reputation: 1088Reputation: 1088Reputation: 1088Reputation: 1088Reputation: 1088
What gives the lsblk command, then?
 
Old 08-22-2014, 01:47 PM   #11
ThomasLMcLean
Member
 
Registered: Apr 2011
Location: Metro Portland, OR
Distribution: Linux Mint
Posts: 61

Original Poster
Rep: Reputation: 0
lsbik in root or /dev# returns, lsbik: not found.

Tom
 
Old 08-22-2014, 02:07 PM   #12
TracyTiger
Member
 
Registered: Apr 2011
Location: California, USA
Distribution: Slackware
Posts: 276

Rep: Reputation: 65
Quote:
Originally Posted by ThomasLMcLean View Post
lsbik in root or /dev# returns, lsbik: not found.

Tom
Are you typing lsblk (LSBLK) or lsbik (LSBIK)?
 
Old 08-22-2014, 03:43 PM   #13
ThomasLMcLean
Member
 
Registered: Apr 2011
Location: Metro Portland, OR
Distribution: Linux Mint
Posts: 61

Original Poster
Rep: Reputation: 0
I am typing l ell, s, b, i eye, k. All lower case.

Tom
 
Old 08-22-2014, 03:54 PM   #14
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,380

Rep: Reputation: 1088Reputation: 1088Reputation: 1088Reputation: 1088Reputation: 1088Reputation: 1088Reputation: 1088Reputation: 1088
Quote:
Originally Posted by ThomasLMcLean View Post
I am typing l ell, s, b, i eye, k. All lower case.
That should be l ell, s, b, l ell, k. All lower case.
 
Old 08-22-2014, 09:41 PM   #15
ThomasLMcLean
Member
 
Registered: Apr 2011
Location: Metro Portland, OR
Distribution: Linux Mint
Posts: 61

Original Poster
Rep: Reputation: 0
Dider,

lsblk, just returned to the prompt.

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.

Now it just returnes to the prompt.

Tom
 
  


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
SSD on Jaunty (no show in fdisk or partitioner) terp4life2001 Linux - Hardware 2 10-16-2009 09:51 PM
fdisk cannot find my sda alf_frommars Slackware 13 04-11-2006 05:42 AM
sure, fdisk -l to find devices ... stabu Slackware 7 10-02-2005 01:10 AM
Can't find fdisk Add1Sun Linux - Newbie 5 04-22-2004 01:38 PM
can't find fdisk? nigham Linux - Newbie 4 02-06-2004 01:57 AM


All times are GMT -5. The time now is 11:46 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