Problem setting up partitions
Hi, I think something has gone wrong with my attempt at setting up a new partition. I have two HDDs, initially one was divided into two partitions. I shrank the second partition using resize2fs from a live cd and am trying to create a third partition. I have been trying to follow this: http://www.howtoforge.com/linux_resi...xt3_partitions
Here is the output of fdisk -l and df -h: xebian:~# fdisk -l Disk /dev/ide/host0/bus0/target0/lun0/disc: 80.0 GB, 80026361856 bytes 255 heads, 63 sectors/track, 9729 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/ide/host0/bus0/target0/lun0/part1 1 32 257008+ 1 FAT12 /dev/ide/host0/bus0/target0/lun0/part2 * 33 2089 16522852+ 83 Linux /dev/ide/host0/bus0/target0/lun0/part3 2090 9729 61368300 83 Linux Disk /dev/ide/host0/bus0/target1/lun0/disc: 250.0 GB, 250059350016 bytes 240 heads, 63 sectors/track, 32301 cylinders Units = cylinders of 15120 * 512 = 7741440 bytes Device Boot Start End Blocks Id System /dev/ide/host0/bus0/target1/lun0/part1 * 1 32301 244195528+ 7 HPFS/NTFS xebian:~# df -h Filesystem Size Used Avail Use% Mounted on /dev/ide/host0/bus0/target0/lun0/part2 15G 1015M 14G 7% / tmpfs 29M 0 29M 0% /dev/shm /dev/ide/host0/bus0/target1/lun0/part1 230G 105G 123G 46% /xbox2share |
Quote:
|
That guide is pretty old - not entirely wrong, but things have changed.
Anyway, what was your question ?. |
Quote:
|
Hi,
I will add to what 'catkin' has said. Since you say that a LiveCD (which one) was being used then possibly 'Parted Magic', 'qtparted' or the like can be used to re-size with ease. Also I suggest that you look at 'How to Ask Questions the Smart Way' so in the future your queries provide information that will aid us in diagnosis of the problem. You should place your data or lists within the vbcode tags # or Quote to make your posts cleaner therefore easier to read. :hattip: |
Quote:
|
You have to careful to separate (in your head) partition and filesystem.
You have created a new partition - an empty partition. To use it you need to format a filesystem within it - think format in Windoze. Most distros have GUIs that'll do it for you these days. |
Thanks syg00. I've just used mkfs and it looks good so far. I'm accessing the computer via PuTTY from my laptop so I'm not sure if I have any gui options. I've just rebooted and the other directory has now mounted to /dev/hda3 without any errors so I think all is now good. Time to stop fiddling before I break something.
|
All times are GMT -5. The time now is 06:09 PM. |