Solved

Raw Devices

Posted on 2003-11-13
5
333 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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…

816 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now