Hi,

On Tue, Jul 23, 2002 at 07:51:04PM +0300, Diego Iastrubni wrote:
> Hello,
> 
> When I first partitioned the disk I am using, I gave to /dev/hda1 500 mbytes, 
> and the rest I put in an  partition, in which I have several OS'es. Now I 
> decided to change the size of /dev/hda1 (I can delete /dev/hda5), is there a 
> way to change the size of this partition without  up my hd  recognition nor 
> formating?

You can try parted.
I didn't, yet. For shrinking FAT only, fips is far older, probably more
tested, and I used it tens of times.
I know people that used PartitionMagic happily, but it's not free and
doesn't run on Linux, so it's not good enough for me (and parted is
very close to it now, feature-wise).

> 
> My current layout is:
> 
> Disk /dev/hda: 255 heads, 63 sectors, 4865 cylinders
> Units = cylinders of 16065 * 512 bytes
> 
>    Device Boot    Start       End    Blocks   Id  System
> /dev/hda1   *         1        66    530113+   b  Win95 FAT32
> /dev/hda2            67      3321  26145787+   f  Win95 Ext'd (LBA)
> /dev/hda5            67       704   5124703+   b  Win95 FAT32
> /dev/hda6           705      1342   5124703+   7  HPFS/NTFS
> /dev/hda7          1343      1980   5124703+   7  HPFS/NTFS
> /dev/hda8          1981      2662   5478133+  83  Linux
> /dev/hda9          2663      2712    401562   82  Linux swap
> /dev/hda10         2713      2713      8001   83  Linux
> /dev/hda11         2714      3321   4883728+  83  Linux
> 
> Is it safe to just change the values of /dev/hda2+/dev/hda5 (s=704) and 
> /dev/hda2(e=703)etc?

It's safe, but it will not grow your filesystem. It could be used
as a primitive way to hide things on your disk, though.

> 
> Is there a better way? (I will back up what's important, don't worry)

That's the best thing to do. After that - play and tell us your story,
if it was interesting.

> 
> - diego
> 
> -- Be self-reliant and your success is assured.
> 
> 
> 
> =================================================================
> To unsubscribe, send mail to [EMAIL PROTECTED] with
> the word "unsubscribe" in the message body, e.g., run the command
> echo unsubscribe | mail [EMAIL PROTECTED]

        Didi


=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to