Turning off ext4 journal

General discussion relating to the O2 Joggler, from the default O2 setup, to alternative operating systems and applications.
Post Reply
danruz
Posts: 5
Joined: Sun May 01, 2011 7:27 pm

Turning off ext4 journal

Post 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
danruz
Posts: 5
Joined: Sun May 01, 2011 7:27 pm

Re: Turning off ext4 journal

Post 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:
User avatar
BuZz
Site Admin
Posts: 1462
Joined: Fri Mar 04, 2011 1:15 am

Re: Turning off ext4 journal

Post by BuZz »

Yeh you will need to do it as root. That should work fine. Glad you like the image :)
Post Reply