Hi list! I tried parted to increase the size of the ext2 partition on the SD card, created by RamdiskRescue. I seems that there is a bug in parted.. Any ideas on how to fix it?
--------------------------------------------------------------------------------------------- [EMAIL PROTECTED]:~# parted GNU Parted 1.7.1 Using /dev/mmcblk0 Welcome to GNU Parted! Type 'help' to view a list of commands. (parted) help move move NUMBER START END move partition NUMBER NUMBER is the partition number used by Linux. On MS-DOS disk labels, the primary partitions number from 1 to 4, logical partitions from 5 onwards. START and END are disk locations, such as 4GB or 10%. Negative values count from the end of the disk. For example, -1s specifies exactly the last sector. (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) move 2 100MB 183.9MB raw block copying... 95% (time left 00:17) Warning: A resize operation on this file system will use EXPERIMENTAL code that MAY CORRUPT it (although it hasn't doneso yet in the past). You should at least backup your data and run 'e2fsck -f' afterwards. OK/Cancel? OK/Cancel? OK (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 100MB 185MB 84.6MB 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? [100MB]? End? [185MB]? 1030MB Warning: A resize operation on this file system will use EXPERIMENTAL code that MAY CORRUPT it (although it hasn't doneso yet in the past). You should at least backup your data and run 'e2fsck -f' afterwards. OK/Cancel? OK Warning: Block 49414 shouldn't have been marked (0, 1)! Warning: Block 49415 shouldn't have been marked (0, 1)! Warning: Block 49416 shouldn't have been marked (0, 1)! Warning: Block 82182 shouldn't have been marked (0, 1)! Warning: Block 82183 shouldn't have been marked (0, 1)! Warning: Block 82184 shouldn't have been marked (0, 1)! You found a bug in GNU Parted! Here's what you have to do: Don't panic! The bug has most likely not affected any of your data. Help us to fix this bug by doing the following: Check whether the bug has already been fixed by checking the last version of GNU Parted that you can find at: http://ftp.gnu.org/gnu/parted/ Please check this version prior to bug reporting. If this has not been fixed yet or if you don't know how to check, please visit the GNU Parted website: http://www.gnu.org/software/parted for further information. Your report should contain the version of this release (1.7.1) along with the error message below, the output of parted DEVICE unit co print unit s print and additional information about your setup you consider important. Assertion (block < EXT2_SUPER_BLOCKS_COUNT(fs->sb)) at ext2.h:226 in function ext2_is_data_block() failed. -- ----- Eduardo N. Hering, DSc E-mail: [EMAIL PROTECTED] Skype: enhering Jabber: [EMAIL PROTECTED] MSN: [EMAIL PROTECTED] Phone: +55 21 8793-9995 SMS: www.oi.com.br (torpedo) Phone2: +55 21 3521-7025 ----- _______________________________________________ bug-parted mailing list bug-parted@gnu.org http://lists.gnu.org/mailman/listinfo/bug-parted