![]() ![]() |
Feb 23 2007, 02:40 AM
Post
#1
|
|
|
Group: Members Posts: 193 Joined: 21-November 05 Member No.: 8,574 |
I have pdaXrom beta3 on my SL-C3100 installed. Now I want to setup my partitions as Chero did before.
- big root (121Mb) --> Done - swap on SD (128Mb) --> Done - ide(1) : 1Gb ext2 to install apps - ide2 : 2Gb ext2 for data and compiling - ide3 : 1Gb fat exchange data with my Win2K How can I scale down my big 4GByte partition to 1GB and make the two others bigger? Regards climber |
|
|
|
Feb 23 2007, 04:53 AM
Post
#2
|
|
![]() Group: Members Posts: 2,350 Joined: 30-July 06 Member No.: 10,575 |
You have to delete data off of your drive to do that so far as I know, but here goes:
-Unmount /mnt/ide, /mnt/ide2, and /mnt/ide3 -Do an #fdisk /dev/hda -Type "d" for delete partition, repeat if necessary -Type "n" for new partition. Make it 1 GB (it won't automatically put stuff in MB or GB, so you have to do some math and guess). Repeat for other partitions, making each the desired size. -Do a "mkfs.ext2 /dev/hda1" and a "mkfs /dev/hda2" to make the first and second partitions ext2 -Do a "mkfs.vfat" on the third partition to make it FAT(32?) Mount the partitions manually or just reboot. |
|
|
|
Feb 23 2007, 05:05 AM
Post
#3
|
|
|
Group: Members Posts: 1,141 Joined: 22-April 04 From: Belgium Member No.: 2,962 |
QUOTE(Capn_Fish @ Feb 23 2007, 01:53 PM) You have to delete data off of your drive to do that so far as I know, but here goes: -Unmount /mnt/ide, /mnt/ide2, and /mnt/ide3 -Do an #fdisk /dev/hda -Type "d" for delete partition, repeat if necessary -Type "n" for new partition. Make it 1 GB (it won't automatically put stuff in MB or GB, so you have to do some math and guess). Repeat for other partitions, making each the desired size. -Do a "mkfs.ext2 /dev/hda1" and a "mkfs /dev/hda2" to make the first and second partitions ext2 -Do a "mkfs.vfat" on the third partition to make it FAT(32?) Mount the partitions manually or just reboot. Hi Capn_Fish, No offence meant, but I'd add a few things to this : No need to delete anything, fdisk will take care of that, so : all data on drive will be lost when creating new partitions : "n" for new, choose primary, "1" for the first, "2" for the second for the size : use "+1024M" (and "+2048M" for the second one), just enter for the last one. setting type of the partition : "t", choose partition number (1, 2 or 3), use type "83" for the first 2 and type "6" for the third one. Then save the table : "w" (write to disk). BTW : read the instructions on screen during fdisk, they can be very helpful. and exit fdisk. After that you can start formatting. Good luck. Chero. |
|
|
|
Feb 23 2007, 05:07 AM
Post
#4
|
|
![]() Group: Admin Posts: 1,208 Joined: 20-January 06 From: York, Pennsylvania Member No.: 8,961 |
QUOTE(Capn_Fish @ Feb 23 2007, 07:53 AM) -Type "n" for new partition. Make it 1 GB (it won't automatically put stuff in MB or GB, so you have to do some math and guess). Repeat for other partitions, making each the desired size. To make a 1 gig Partition... make the start the default which is usually "1" and the end "+1024MB" Late |
|
|
|
Feb 23 2007, 05:09 AM
Post
#5
|
|
|
Group: Members Posts: 1,141 Joined: 22-April 04 From: Belgium Member No.: 2,962 |
QUOTE(InSearchOf @ Feb 23 2007, 02:07 PM) QUOTE(Capn_Fish @ Feb 23 2007, 07:53 AM) -Type "n" for new partition. Make it 1 GB (it won't automatically put stuff in MB or GB, so you have to do some math and guess). Repeat for other partitions, making each the desired size. To make a 1 gig Partition... make the start the default which is usually "1" and the end "+1024MB" Late Now I beat you ... |
|
|
|
Feb 23 2007, 11:10 AM
Post
#6
|
|
![]() Group: Members Posts: 2,350 Joined: 30-July 06 Member No.: 10,575 |
QUOTE(Chero @ Feb 23 2007, 08:05 AM) QUOTE(Capn_Fish @ Feb 23 2007, 01:53 PM) You have to delete data off of your drive to do that so far as I know, but here goes: -Unmount /mnt/ide, /mnt/ide2, and /mnt/ide3 -Do an #fdisk /dev/hda -Type "d" for delete partition, repeat if necessary -Type "n" for new partition. Make it 1 GB (it won't automatically put stuff in MB or GB, so you have to do some math and guess). Repeat for other partitions, making each the desired size. -Do a "mkfs.ext2 /dev/hda1" and a "mkfs /dev/hda2" to make the first and second partitions ext2 -Do a "mkfs.vfat" on the third partition to make it FAT(32?) Mount the partitions manually or just reboot. Hi Capn_Fish, No offence meant, but I'd add a few things to this : No need to delete anything, fdisk will take care of that, so : all data on drive will be lost when creating new partitions : "n" for new, choose primary, "1" for the first, "2" for the second for the size : use "+1024M" (and "+2048M" for the second one), just enter for the last one. setting type of the partition : "t", choose partition number (1, 2 or 3), use type "83" for the first 2 and type "6" for the third one. Then save the table : "w" (write to disk). BTW : read the instructions on screen during fdisk, they can be very helpful. and exit fdisk. After that you can start formatting. Good luck. Chero. None taken! I may not have said it clearly, but I meant that you would lose your data from formatting the drive, not that you had to delete everything first. |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 24th May 2013 - 06:27 PM |