• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 341
  • Last Modified:

Raw Devices

How do i format a disk as raw partitions.
0
MrCrawfish
Asked:
MrCrawfish
  • 3
1 Solution
 
shivsaCommented:
try fdisk.
man fdisk for more information.
0
 
shivsaCommented:
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
 
paullamhkgCommented:
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
 
shivsaCommented:
my suggestion.

this question is answered.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now