Free web space - 258 Part III . Choosing and Installing a
258 Part III . Choosing and Installing a Linux Distribution To see how each partition is being used on your current system, type the following: # df h Filesystem Size Used Avail Use% Mounted on /dev/hda2 37G 5.4G 30G 16% / /dev/hda1 99M 8.6M 86M 10% /boot none 61M 0 61M 0% /dev/shm From the output of df, you can see that the root of your Linux system (/) is on the /dev/hda2 partition and that the /dev/hda1 partition is used for /boot. If this had been a dual-boot system (with Windows 98), you might have seen a Windows partition from fdisk that looked like the following: /dev/hda1 * 1 83 666666+ b Win95 FAT32 You could mount that partition in Linux (to get to your Windows files when Linux is booted) by typing: # mkdir /mnt/win # mount -t vfat /dev/hda1 /mnt/win Before using fdisk to change your partitions, I strongly recommend running the df h command to see how your partitions are currently being defined. This will help reduce the risk of changing or deleting the wrong partition. To use fdisk to change your partitions, you need to identify the hard disk you are partitioning. For example, the first IDE hard disk is identified as /dev/hda. So, to partition your first IDE hard drive, you can begin (as root user) by typing: # fdisk /dev/hda For different hard drive types or numbers, /dev/hda is replaced by the name of the device you want to work with. For example, here are some of your choices: Device Description /dev/hda For the first IDE hard disk; hdb, hdc, and so on for other IDE disks. /dev/sda For the first SCSI hard disk; sdb, sdc, and so on for other SCSI disks. /dev/rd/c0d0 For a RAID device. /dev/ida/c0d0 Also for a RAID device. After you have started fdisk, type m to see the options. Here is what you can do with fdisk: Caution Note
From our experience, we can recommend PHP Web Hosting services, if you need affordable webhost to host and run your web application.