Results 1 to 9 of 9
Thread: How to format a hard disk?
Enjoy an ad free experience by logging in. Not a member yet? Register.
How to format a hard disk?
Registered Linux User#394486
There is a write option somewhere in there. You can make all of your changes to the disk but you need to write them when you are done. If you don't write it, it will appear as if you made a bunch of changes when in fact you didn't.
BryanLooking for a distro? Look here.
"There can be no doubt that all our knowledge begins with experience." - Immanuel Kant (Critique of Pure Reason)
Queen's University - Arts and Science 2008 (Sociology)
Registered Linux User #386147.
- Join Date
- Sep 2005
Cool I have formatted it with Linux file system. But I can't write anything into it. It says its a read only drive!!Registered Linux User#394486
Mount the partition manually with the following command:
# mount -o rw /dev/hdb1 /mnt/hdb1
/dev/hdb1 /mnt/hdb1 rw 1 1
If you use KDE there might be an option to rmount the drive as read/write if you right click on it but I'm not sure about that.
mmm! even after mounting through "rw" permissions still it says "read only file system"!
I have updated the /etc/fstab so that it mounts automatically when the pc boots.
I am wondering the "Linux" file system in hdb1 which I have created through "cfdisk" is it properly recognised in my pc?
If it doesn't work I will try "parted" as advised by "tellyousomeday".
Thank you fellas for your lightning fast repliesRegistered Linux User#394486
Odd, what filesystem did you end up using for the partition? Ext2, Ext3, Reiser?
You dont have to use parted if you're not resizing partitions, it is uneccessarry, Parted is just a GUI frontend for the filesystem tools that are very easy to use from command line - and there is no difference in the result.
To format the partition with ext3:
# mke2fs -j /dev/hdb1
# mke2fs /dev/hdb1
# mkreiserfs /dev/hdb1
# mount -v -o rw /dev/hdb1 /mnt/hdb1
Thank you nalg0rath its working now...Registered Linux User#394486
- Join Date
- May 2007
Thanks nalg0rath. Seems to be working for me also (ubuntu 6.10 32bit). Partitioned with cfdisk, formatted in ext3 using mke2fs, and mounted. I also had to chmod the file system after it was mounted to get write access to it.