HDD install

Tim ignored_mailbox at yahoo.com.au
Thu Jun 28 07:44:47 UTC 2007


On Thu, 2007-06-28 at 04:12 +0000, Thufir wrote:
> mkfs -t ext2 /dev/sdb0
> mkfs -t ext2 /dev/sdb1
> 
> to format the boot and swap, respectively? 

"mkswap" to make a swap partition.

Using volume labels?  Read the mkswap man file to see how to make a
volume label at the same time.  Don't trust me, but I did:

mkswap -c -L drivename-swap /dev/sdb7

The "-c" checks the drive for errors as it goes along.  I did the same
with formatting the main partitions, since suffering drive problems in
the past.  I'd rather find out about problems while setting up a drive,
rather than while trying to use the OS.

I have a box with two drives, and two OSs, so I gave each drive a name
(individualised where I wrote "drivename"), to make it easy to use
labels without name clashes.

mkfs.ext3 -c -v -L drivename/home /dev/sdb2

The "-v" gave me more information while it did its business.

-- 
[tim at bigblack ~]$ rm -rfd /*^H^H^H^H^H^H^H^H^H^Huname -ipr
2.6.21-1.3228.fc7 i686 i386

Using FC 4, 5, 6 & 7, plus CentOS 5.  Today, it's FC7.

Don't send private replies to my address, the mailbox is ignored.
I read messages from the public lists.






More information about the users mailing list