Re: Disk troubles (again...)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2006-01-12 at 04:45 -0800, Chris Norman wrote:
> Hi people,
> How do I format a disk for linux, I tried recovering my 114 gig I was having 
> the last lot of troubles with, but I am having problems with that too.
> 
> I tried using parted /dev/hdb then mklabel bsd and then exit, that seemed to 
> go well. But then when I tried fdisk -l /dev/hdb, it said there wasn't a 
> valid partition table. How do I do this please? I just want 1 ext2 partition 
> filling the hole disk.
> 
I don't use parted. (Some do but I never had the need.) Instead I use
fdisk.

1) What I do is run fdisk /dev/hdb and create the partitions the way I
want them.  It sounds like all you need is one partition so create it.
Then you should have a partition /dev/hdb1.
fdisk -l should now show it.

2) Format the partition (mke2fs -j /dev/hdb1) will give you an ext3
filesystem.

3) Mount it at the location of your choice

4) Edit /etc/fstab to make it mount when you reboot 

Use to your hearts content.


> Cheers,
> 
> Chris Norman
> <!-- chris.norman4@xxxxxxxxxxxx -->
> Selling cheap but functional shell accounts. 
> 


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux