OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Resize The Partitions Of The Microdrive
climber
post 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
Go to the top of the page
 
+Quote Post
Capn_Fish
post 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.
Go to the top of the page
 
+Quote Post
Chero
post 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.
Go to the top of the page
 
+Quote Post
InSearchOf
post Feb 23 2007, 05:07 AM
Post #4





Group: Admin
Posts: 1,210
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
Go to the top of the page
 
+Quote Post
Chero
post 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 ... tongue.gif
Go to the top of the page
 
+Quote Post
Capn_Fish
post 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.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd October 2014 - 11:47 PM