Solved

Raw Devices

Posted on 2003-11-13
5
335 Views
Last Modified: 2013-12-15
How do i format a disk as raw partitions.
0
Comment
Question by:MrCrawfish
  • 3
5 Comments
 
LVL 24

Expert Comment

by:shivsa
ID: 9743260
try fdisk.
man fdisk for more information.
0
 
LVL 24

Accepted Solution

by:
shivsa earned 125 total points
ID: 9743337
suppose u have a disk called /dev/sdd.

Start fdisk on /dev/sdd:

# fdisk /dev/sdd

      The system returns:

The number of cylinders for this disk is set to 8683
....
Command (m for help):
p - print current partition table
n - new partition table.

press n.

Command action
l   logical (5 or over)
p   primary partition (1-4)

press l.
choose default: First cylinder
(choose default or whatever u decide) Last cylinder
partition number: choose 5.

rest u can choose as u goon and seek help at time to time.
0
 
LVL 12

Expert Comment

by:paullamhkg
ID: 9744953
I'm not quit sure what exactly you need, do you mean to low level format your harddisk? if yes, you can try this http://www.disk-utility.com/hard-disk-low-level-format.html.

if you just wanted to clean up/reformat your harddisk, shivsa gave you a good idea for using the fdisk.
0
 
LVL 24

Expert Comment

by:shivsa
ID: 10175585
my suggestion.

this question is answered.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
AWS Central Authentication 1 100
Impact of disabling SMB v1 on Mac and Linux clients 4 670
Apache LDAP Authentication 20 51
Fuzzy search functionality DB2 UDB 3 30
Fine Tune your automatic Updates for Ubuntu / Debian
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question