LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-29-2013, 08:38 PM   #1
rfarrington
LQ Newbie
 
Registered: Dec 2013
Posts: 1

Rep: Reputation: Disabled
Question Creating a hard disk partition using fdisk


As a root user, I create a new hard disk partition using fdisk /dev/sda2

The new partition name created was sdap2 instead of sda3

sdap2 is not listed in the /dev directory, therefore I can not format and mount.

Can anyone help!

Thanks
 
Old 12-29-2013, 08:45 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
To create a partition /dev/sda3 the correct command is
Code:
fdisk /dev/sda
It is not
Code:
fdisk /dev/sda2
If you run the second command instead you try to create a partition inside the already existing partition /dev/sda2, which, depending on the filesystem in use, will screw up that partition.
 
Old 12-30-2013, 10:52 AM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 15,409

Rep: Reputation: 2208Reputation: 2208Reputation: 2208Reputation: 2208Reputation: 2208Reputation: 2208Reputation: 2208Reputation: 2208Reputation: 2208Reputation: 2208Reputation: 2208
This has some info.

http://www.linuxquestions.org/questi...-entry-708623/

As you see from the post, the user listed how one got to the label sdap.


If you have a gui and have or install gparted, it might be more simple to view what you have.

Last edited by jefro; 12-30-2013 at 10:54 AM.
 
  


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
Creating a 10GB partition with FDISK help needed. NaCo Linux - Software 10 01-03-2015 03:59 AM
partition layout , hard disk name and hard disk size in single output ?? jheengut Linux - Software 1 11-03-2013 06:13 AM
how to partitioning the hard disk using fdisk command Prabhu.Are Linux - Desktop 8 12-21-2012 07:32 AM
Creating partition through fdisk??? your_shadow03 Linux - Newbie 1 06-27-2008 07:04 AM
cannot use 100% of hard disk, fdisk / parted / partition question lucastic Linux - Hardware 5 12-02-2005 09:58 PM


All times are GMT -5. The time now is 08:19 AM.

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