Solved

Raw Devices

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.:

760 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

27 Experts available now in Live!

Get 1:1 Help Now