05 April 2006

Formating a disk for LINUX

Well I found a 8.4GB disk on ebay and it arrived 36 hours after bidding for it.

Now I need to prepare it for LINUX. So what do I do.....

The disk was plugged into the 2nd disk cable as primary

/sbin/fdisk /dev/hdc
Command (m for help): n
Command (m for help): p
Partition number (1-4): 1
First cylinder (1-19376, default 1):
Using default value 1
Last cylinder or +size or +sizeM or +sizeK (1-19376, default 19376): +1000000K
Command (m for help): n
Command action
e extended
p primary partition (1-4)
e
Partition number (1-4): 2
First cylinder (1986-19376, default 1986):
Using default value 1986
Last cylinder or +size or +sizeM or +sizeK (1986-19376, default 19376): 16383

NOTE that 16383 is used. That is because this 10GB disk is being used as a 8.4GB disk

Command (m for help): n
Command action
l logical (5 or over)
p primary partition (1-4)
l
First cylinder (1986-16383, default 1986):
Using default value 1986
Last cylinder or +size or +sizeM or +sizeK (1986-16383, default 16383):
Using default value 16383
Command (m for help): p
Disk /dev/hdc: 16 heads, 63 sectors, 19376 cylinders
Units = cylinders of 1008 * 512 bytes


Device Boot Start End Blocks Id System
/dev/hdc1 1 1985 1000408+ 83 Linux
/dev/hdc2 1986 16383 7256592 5 Extended
/dev/hdc5 1986 16383 7256560+ 83 Linux
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
WARNING: If you have created or modified any DOS 6.xpartitions, please see the fdisk manual page for additionalinformation.
Syncing disks.
[root@andromeda cygnus]#/sbin/mkfs.ext2 -c /dev/hdc1
[root@andromeda cygnus]#/sbin/tune2fs -j /dev/hdc1
[root@andromeda cygnus]#/sbin/mkfs.ext2 -c /dev/hdc5
[root@andromeda cygnus]#/sbin/tune2fs -j /dev/hdc1

Added the following line to /etc/fstab

/dev/hdc5 /dolphin ext3 defaults 1 2


02 April 2006

phoenixbios 4.0 release 5.12

What a day trying to find out the largest capacity disk that the Phoenix BIOS 4.0 release 5.12 can support!

It looks as if 8.4GB is the largest size.

This is one of my Linux systems. Now all I have to do is find a 8.4Gb disk!