Re: Format harddrive with DSL
- From: "J.O. Aho" <user@xxxxxxxxxxx>
- Date: Sun, 25 Nov 2007 11:20:13 +0100
jeff wrote:
Hello, I was wonering if there was an easy way to format a harddrive
with damn small linux, preferably gui, but I'm not afraid of the
command line, or if theres a general linux command, that works too.
(By format I don't mean go through and fille with 0x00, but actually
format with ext2 etc, I'd also like to encrypt it)
mkfs -t ext2 /dev/hdLX
switch the L to the letter that represents your hard drive:
a - primary master
b - primary slave
c - secondary master
d - secondary slave
switch the X to the number of the slice you want to format
to see what you have you can type
fdisk -l
Keep in mind you have to be a privileged user (root) when you are playing with
file systems.
If you use ext2/ext3 I suggest you check the man page for tune2fs, so you can
optimize some settings.
--
//Aho
.
- References:
- Format harddrive with DSL
- From: jeff
- Format harddrive with DSL
- Prev by Date: regex, negations, grep, find and replace (a few questions)
- Next by Date: Re: Beagle chewing up CPU!
- Previous by thread: Re: Format harddrive with DSL
- Next by thread: regex, negations, grep, find and replace (a few questions)
- Index(es):