Sponsored Content
Full Discussion: Corrupted Hard Drive
Operating Systems Linux Red Hat Corrupted Hard Drive Post 302375681 by Corona688 on Saturday 28th of November 2009 06:53:17 PM
Old 11-28-2009
Before we get too carried away, you're using fdisk wrong... sda1 shouldn't contain a partition table. Try fdisk -l /dev/sda.
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Partition Hard drive

Hello everyone. I am new to Linux so hope some one could help me here. I have a 30 Gb HD and windows Xp is my O/S, HD is not partitioned,but I want to Partitioned it, so I could Install Knoppix(Linux)on one of the partitioned one, how could I do this? OR should I erase every thing and then... (1 Reply)
Discussion started by: amir
1 Replies

2. SCO

Processor and Hard Drive

I trying to learn Unix and I am using SCO Unixware 7.1. Below are three question that I have: 1) Can someone tell me what command I can use to find out the system processor speed. 2) Can someone tell me what command I can use to find out what's the hard drive size of my unix box. 3) Can... (1 Reply)
Discussion started by: etaup02
1 Replies

3. UNIX for Dummies Questions & Answers

Removing hard drive

Hi, Can someone answer to my question.I' totally new to Unix. What is the command for removing the hard drive from the system? Thanks a lot, Puja (2 Replies)
Discussion started by: pujathakral
2 Replies

4. UNIX for Dummies Questions & Answers

Trying to copy old hard drive to new hard drive.

:confused: ........I have a new hard drive and I need to copy ALL info from the old to the new. I would like to use the dd command. I know the command is as follows...... dd if=/dev/rdsk/c1t1d0s0 of=/dev/rdsk/???????? Where I have the question marks is the problem. How do I find out what the... (4 Replies)
Discussion started by: shorty
4 Replies

5. Filesystems, Disks and Memory

The best partitioning schem for a 250GB Sata hard drive & a 75GB SCSI hard drive

Hi I have 2 75GB SCSI hard drives and 2 250GB SATA hard drives which are using RAID Level 1 respectively. I wana have both FTP and Apache installed on them as services. I'm wondering what's the best partitioning schem? I wana use FC3 as my OS, so, I thought I can use the 75GB hard drive as the /... (0 Replies)
Discussion started by: sirbijan
0 Replies

6. Solaris

Using the rest of my hard drive

Hi When I installed opensolaris, I installed it on a 20GB partition. How do I make use of the other 300GB I have spare? format shows:- -bash-3.2# format Searching for disks...done AVAILABLE DISK SELECTIONS: 0. c3d0 <DEFAULT cyl 2607 alt 2 hd 255 sec 63> ... (12 Replies)
Discussion started by: hellotommy
12 Replies

7. SCO

I need a help with accessing the hard drive

Hello guys, I have got from a friend a hard disk which was used in the SCO OpenServer. He needs some data from it. I have no clue how to copy its content with Linux or Windows-I have tried few Linux distros but the result is always the same-the file system is not recognized so can't be mounted.... (4 Replies)
Discussion started by: kataro
4 Replies

8. Red Hat

Hard drive formating

Im trying to install a fresh version of Fedora 17. I keep getting formating errors when trying to reformat the hard drive. I recieve errors as well I I try to use the entire disk for the install instead of creat new partitions from scratch. I even tried fromatting the disk using PartedMagic and... (7 Replies)
Discussion started by: Fingerz
7 Replies

9. UNIX for Advanced & Expert Users

External hard drive

I have connected an external hard drive. I can't find it. Both ls /media, fdisk -l and ls /dev show nothing. TIA (3 Replies)
Discussion started by: Meow613
3 Replies
CFDISK(8)							 GNU fdisk Manual							 CFDISK(8)

NAME
GNU fdisk, lfdisk, gfdisk - manipulate partition tables on a hard drive SYNOPSIS
fdisk [options] [device] DESCRIPTION
fdisk is a disk partition manipulation program, which allows you to create, destroy, resize, move and copy partitions on a hard drive using a menu-driven interface. It is useful for organising the disk space on a new drive, reorganising an old drive, creating space for new oper- ating systems, and copying data to new hard disks. For a list of the supported partition types, see the --list-partition-types option below. It comes in two variants, gfdisk and lfdisk. Lfdisk aims to resemble Linux fdisk 2.12, while gfdisk supports more advanced disk operations, like resizing the filesystem, moving and copying partitions. When starting fdisk, the default is to run gfdisk. OPTIONS
-h, --help displays a help message. -v, --version displays the program's version. -L, --linux-fdisk turns on Linux fdisk compatibility mode. This is the same as running lfdisk. -G, --gnu-fdisk turns off Linux fdisk compatibility mode. -i, --interactive where necessary, prompts for user intervention. -p, --script never prompts for user intervention. -l, --list lists the partition table on the specified device and exits. If there is no device specified, lists the partition tables on all detected devices. -r, --raw-list displays a hex dump of the partition table of the disk, similar to the way Linux fdisk displays the raw data in the partition table. -u, --sector-units use sectors, instead of cylinders for a default unit. -s, --size=DEVICE prints the size of the partition on DEVICE is printed on the standard output. -t, --list-partition-types displays a list of supported partition types and features. The following options are available only to lfdisk. -b, --sector-size=SIZE Specify the sector size of the disk. Valid values are 512, 1024 and 2048. Should be used only on older kernels, which don't guess the correct sector size. -C, --cylinders=CYLINDERS Specify the number of cylinders of the disk. Currently does nothing, it is left for Linux fdisk compatibility. -H, --heads=HEADS Specify the number of heads of the disk. Reasonable values are 255 or 16. -S, --sectors=SECTORS Specify the number of sectors per track. A reasonable value is 63. BUGS
Before editing a BSD disklabel, the partition with the disklabel should already exist on the disk and be detected by the OS. If you have created a BSD-type partition, you need to write the changes to the disk. If fdisk fails to notify the OS about the changes in partition ta- ble, you need to restart your computer. As fdisk tries to guess the device holding the BSD disklabel, it might fail to edit it at all, even if the OS has detected it. In this case you are adviced to simply open the device with fdisk directly. It is possible that it doesn't work on some operating systems. Getting the size of a partition with -s might fail, if fdisk fails to guess the disk device, for the same reasons as with the previous bug. SEE ALSO
mkfs(8), cfdisk(8), parted(8) The fdisk program is fully documented in the info(1) format GNU fdisk User Manual manual. fdisk 18 August, 2006 CFDISK(8)
All times are GMT -4. The time now is 12:09 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy