Skip to main content

Thread: Partitioning causes "mkfs.ext3: invalid blocks count" error.


first off, ca provided here.

note working command line since preparing partitions prior installation in order ensure apple file system required first 3 partitions remains intact.

have appletv trying install mythbuntu (ubuntu 9.10 os) onto separate partition. process taking 40gb drive , breaking 6 separate partitions first 3 created. remaining 3 created original 4th partition. using "parted" per instructions atv-bootloader site (the site seems have gone quite due problems spammers) talk partitioning dries use different sizing wanting use. namely building media partition sda4 , sda5 become ubunt installed partition sda6 swap.

instruction set given appears 4096 byte block count requested linux partition. in following commands execute keep getting error of "mkfs.ext3: invalid blocks count".

# parted -s /dev/sda rm 4
# parted -s /dev/sda rm 5
# parted -s /dev/sda rm 6
# parted -s /dev/sda mkpart primary hfs 2732016s 68595695s
# parted -s /dev/sda mkpart primary ext3 68595696s 76984304s
# parted -s /dev/sda mkpart primary linux-swap 76984305s 78140126s
# partprobe /dev/sda
# mkfs.hfsplus -j -v media /dev/sda4
initialized /dev/sda4 31 gb hfs plus volume 8192k journal
# mkfs.ext3 b -b 4096 -l linux /dev/sda5
mke2fs 1.40.8 (13-mar-2008)
mkfs.ext3: invalid blocks count - /dev/sda5


makes me ask 2 questions.

1.) ubuntu require block size of 4096?

2.) if not block size requires?

3.) regardless, solution proper block count using "parted" command line?

is there no 1 can problem?


Forum The Ubuntu Forum Community Ubuntu Official Flavours Support General Help [SOLVED] Partitioning causes "mkfs.ext3: invalid blocks count" error.


Ubuntu

Comments

Popular posts from this blog

Error: ‘for’ loop initial declarations are only allowed in C99 or C11 mode - Raspberry Pi Forums

class MPU6050 has no member named begin

missing filename after '-o'