Page 1 of 1

Turning off ext4 journal

Posted: Sun May 01, 2011 7:51 pm
by danruz
I am running the Natty 11.04 Joggler v1.0 ext4 image and it is brilliant (thanks Buzz!). However, I am having difficulty disabling the ext4 journal. I have tried the following:

1. Booting a pc with an Ubuntu live disc.
2. Plugging in the Joggler USB drive.
3. Unmounting the Joggler drive.
4. Running disk utility to find that the Joggler drive is /dev/sdc
5. Running this command in Terminal: tune2fs -O ^has_journal /dev/sdc3

However, the tune2fs command does not run and I receive the following error:

Permission denied while trying to open /dev/sdc3
Couldn't find valid filesystem superblock.


How do I fix this so that I can run tune2fs to disable the journal?

Apologies if this is a very basic question (I am a linux novice).

Thanks!

Dan

Re: Turning off ext4 journal

Posted: Tue May 03, 2011 1:31 pm
by danruz
I think I have answered my own question (I will check when I get home this evening). I believe the command should be:

sudo tune2fs -O ^has_journal /dev/sdc3

:oops:

Re: Turning off ext4 journal

Posted: Tue May 03, 2011 2:47 pm
by BuZz
Yeh you will need to do it as root. That should work fine. Glad you like the image :)