I am trying to use data=journal on my root file system. I have separate slices on which journal=data works fine on all of them, except root. I have tried putting rootflags=journal=data on my kernel line in Grub, but I get a kernel panic. I'm missing something simple, I jut know it. It can't be the kernel version because it works on the other slices. My etc/fstab file is as follows: LABEL=/ / ext3 defaults 1 1 LABEL=/boot /boot ext3 data=journal 1 2 LABEL=/data /data ext3 data=journal 1 2 none /dev/pts devpts gid=5,mode=620 0 0 LABEL=/home /home ext3 data=journal 1 2 none /proc proc defaults 0 0 none /dev/shm tmpfs defaults 0 0 LABEL=/tmp /tmp ext3 data=journal 1 2 LABEL=/usr /usr ext3 data=journal 1 2 /dev/hda7 swap swap defaults 0 0
commence Rhett Gibson quotation:> I am trying to use data=journal on my root file system. I have > separate slices on which journal=data works fine on all of them, > except root. I have tried putting rootflags=journal=data on my > kernel line in Grub, but I get a kernel panic.Maybe this is just a typo in your mail, but you are actually passing rootflags=data=journal, right? -- ///////////////// | | The spark of a pin <sneakums@zork.net> | (require 'gnu) | dropping, falling feather-like. \\\\\\\\\\\\\\\\\ | | There is too much noise.
It was a typo. My grub configuration file is:
title Red Hat Linux (2.4.7-10)
root (hd0,0)
kernel /vmlinuz-2.4.7-10 ro root=/dev/hda6
rootflags=data=journal
initrd /initrd-2.4.7-10.img
If I try to boot with this configuration I get a kernel panic. Unable
to mount.
-----Original Message-----
From: Rhett Gibson [mailto:rhett@hdinfo.com]
Sent: Monday, April 22, 2002 9:36 AM
To: 'ext3-users@redhat.com'
Subject: Question about Journaling Root Filesystem.
I am trying to use data=journal on my root file system. I have separate
slices on which journal=data works fine on all of them, except root. I
have tried putting rootflags=journal=data on my kernel line in Grub, but
I get a kernel panic. I'm missing something simple, I jut know it. It
can't be the kernel version because it works on the other slices. My
etc/fstab file is as follows:
LABEL=/ / ext3 defaults
1 1
LABEL=/boot /boot ext3 data=journal
1 2
LABEL=/data /data ext3 data=journal
1 2
none /dev/pts devpts gid=5,mode=620
0 0
LABEL=/home /home ext3 data=journal
1 2
none /proc proc defaults
0 0
none /dev/shm tmpfs defaults
0 0
LABEL=/tmp /tmp ext3 data=journal
1 2
LABEL=/usr /usr ext3 data=journal
1 2
/dev/hda7 swap swap defaults
0 0
On Apr 22, 2002 14:30 -0500, Rhett Gibson wrote:> It was a typo. My grub configuration file is: > title Red Hat Linux (2.4.7-10) > root (hd0,0) > kernel /vmlinuz-2.4.7-10 ro root=/dev/hda6 > rootflags=data=journal > initrd /initrd-2.4.7-10.img > > If I try to boot with this configuration I get a kernel panic. Unable > to mount.It would be considerably easier to help you with this problem if you at least mentioned what the error message is. "Kernel panic" is not an error message. Cheers, Andreas -- Andreas Dilger http://www-mddsp.enel.ucalgary.ca/People/adilger/ http://sourceforge.net/projects/ext2resize/
My specific error is:
EXT2-fs: Unrecognized mount option data
Kernel Panic:VFS:Unable to mount root fs on 01:00
-----Original Message-----
From: Rhett Gibson [mailto:rhett@hdinfo.com]
Sent: Monday, April 22, 2002 2:30 PM
To: 'ext3-users@redhat.com'
Subject: RE: Question about Journaling Root Filesystem.
It was a typo. My grub configuration file is:
title Red Hat Linux (2.4.7-10)
root (hd0,0)
kernel /vmlinuz-2.4.7-10 ro root=/dev/hda6
rootflags=data=journal
initrd /initrd-2.4.7-10.img
If I try to boot with this configuration I get a kernel panic. Unable
to mount.
-----Original Message-----
From: Rhett Gibson [mailto:rhett@hdinfo.com]
Sent: Monday, April 22, 2002 9:36 AM
To: 'ext3-users@redhat.com'
Subject: Question about Journaling Root Filesystem.
I am trying to use data=journal on my root file system. I have separate
slices on which journal=data works fine on all of them, except root. I
have tried putting rootflags=journal=data on my kernel line in Grub, but
I get a kernel panic. I'm missing something simple, I jut know it. It
can't be the kernel version because it works on the other slices. My
etc/fstab file is as follows:
LABEL=/ / ext3 defaults
1 1
LABEL=/boot /boot ext3 data=journal
1 2
LABEL=/data /data ext3 data=journal
1 2
none /dev/pts devpts gid=5,mode=620
0 0
LABEL=/home /home ext3 data=journal
1 2
none /proc proc defaults
0 0
none /dev/shm tmpfs defaults
0 0
LABEL=/tmp /tmp ext3 data=journal
1 2
LABEL=/usr /usr ext3 data=journal
1 2
/dev/hda7 swap swap defaults
0 0