Re: parted

From: Alexandros Karypidis <akarypid_at_yahoo.gr>
Date: Sat, 3 Feb 2007 21:03:31 +0200

I believe parted can only "resize" an ext2 partition by moving its END.
the starting point has to remain fixed.

Try using the "move" command first and resizing afterwards:

(parted) move 2 100.1MB

On Saturday 03 February 2007 21:02:58 Eduardo N. Hering wrote:
> Marcus,
>
> I tried parted through ssh but:
>
> root_at_ramdisk-rescue:~# parted
> GNU Parted 1.7.1
> Using /dev/mmcblk0
> Welcome to GNU Parted! Type 'help' to view a list of commands.
> (parted) print all
>
> Disk /dev/mmcblk0: 1030MB
> Sector size (logical/physical): 512B/512B
> Partition Table: msdos
>
> Number Start End Size Type File system Flags
> 1 124kB 100MB 99.9MB primary fat16
> 2 946MB 1030MB 83.9MB primary ext2 boot
>
>
> Error: Unable to open /dev/mtdblock3 - unrecognised disk label.
>
> Error: Unable to open /dev/mtdblock2 - unrecognised disk label.
>
> Error: Unable to open /dev/mtdblock1 - unrecognised disk label.
>
> Error: Unable to open /dev/mtdblock0 - unrecognised disk label.
>
> (parted) resize 2
> Start? [946MB]? 100.1MB
> End? [1030MB]?
> Error: Unable to satisfy all constraints on the partition.
>
> ---------------------------------------------------------------------
>--
>
> Is there a limit for the ex2 partition size?
>
> Regards,
>
> Eduardo
__________________________________________________
Χρησιμοποιείτε Yahoo!;
Βαρεθήκατε τα ενοχλητικά μηνύματα (spam); Το Yahoo! Mail διαθέτει την καλύτερη δυνατή προστασία κατά των ενοχλητικών μηνυμάτων
http://mail.yahoo.gr
Received on Sat Feb 03 2007 - 14:09:35 EST

This archive was generated by hypermail 2.2.0 : Sat Feb 03 2007 - 14:10:44 EST