Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have uninstalled the Centos from my 40G hard drive yesterday. While I am trying to format it and reinstall the linux today, I just found out that my hard drive is showing only 19G instead of 40G.
I tried fdisk, write zero and so on but still no luck.
Can anyone (please) advise me how to fix it to show the correct capacity 40G?
I tried with A:\>format -1 /dev/hda, I got Parameter Format Not Correct- -1 error message.
When I tried with A:\>format /dev/hda, I got Invalid Swhitch- /dev
I also tried with sd instead of hd too.
Here is more info about my system's currant state:
PC: P4 HD: Western Digital 40G (but showing only 19G) Story: I just uninstalled Centos. When I tried to fdisk and format the hard drive with win98 dos disk, it only shows 19G instead of 40G. I also tried with Western Digital write zero utility but it still showing 19G.
You were asked for the output of "fdisk -l" (lower case ell, not the number one). Why were you running a "format" command ???.
Leave the device off; just use (as root) "fdisk -l"
From your most recent post, it appears as if you are using DOS commands without using DOS parameters.
If you want to use the "FORMAT" command from DOS, you must use the correct parameters. To see what they are, from the DOS command line type, "format /?"
It could be you have a 19GB formatted partition on your hard drive and another unformatted (unseen) partition of 20+GB.
I am not familiar with centos, but you might want to check the centos site for information. I believe I read in one of the centos formats where one individual had a problem similar to yours. He had to delete the centos partition using "FDISK" from a Windows startup disk.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.