Ian! D. Allen [NCFreeNet]
2001-Sep-04 04:44 UTC
converted ext2->ext3 root won't mount on boot as ext3
Kernel 2.4.8 on an Athlon 500. e2fsprogs-1.23 ext3 compiled as a module. I used "tune2fs" to make /boot and /home into ext3, and remounted them OK. (I am so amazed to see the system come right back without an lengthy fsck on these two file systems after a power off! Well done!) I also used "tune2fs -j" on /, it created a /.journal file. The debugfs features command shows that root has a journal; but, every boot has root come up as: VFS: Mounted root (ext2 filesystem) readonly. I created an initrd using mkinitrd; mkinitrd included jbd.o and ext3.o as well as the scsi modules for my tape drive and CDROM. (My disks are all IDE.) When booting with that initrd, jbd.o and then ext3.o load just before the above VFS message. "cat /proc/mounts" shows root is still ext2. I tried adding "rw" to the grub boot line; that caused the boot to die in fsck being unable to check the root. Please point me at the FAQ for this one? Merci! -- -IAN! Ian! D. Allen Ottawa, Ontario, Canada idallen@ncf.ca Home Page on the Ottawa FreeNet: http://www.ncf.ca/~aa610/ College professor at: http://www.algonquincollege.com/~alleni/ Board Member, TeleCommunities CANADA http://www.tc.ca/
Hi! I was just wondering where i could find a patch for for example kernel 2.4.9.. I always downloaded redhat's rawhide kernel, but there has to be a patch outthere that i can apply to a clean fresh kernel, like 2.4.9 myself? Where is that? Thanks in advance! Bart Verwilst
Andreas Dilger
2001-Sep-04 16:34 UTC
Re: converted ext2->ext3 root won't mount on boot as ext3
On Sep 04, 2001 00:44 -0400, Ian! D. Allen [NCFreeNet] wrote:> Kernel 2.4.8 on an Athlon 500. > e2fsprogs-1.23 > ext3 compiled as a module. > > I created an initrd using mkinitrd; mkinitrd included jbd.o and ext3.o > as well as the scsi modules for my tape drive and CDROM. (My disks are > all IDE.) When booting with that initrd, jbd.o and then ext3.o load > just before the above VFS message. "cat /proc/mounts" shows root is > still ext2. I tried adding "rw" to the grub boot line; that caused > the boot to die in fsck being unable to check the root.You need to verify that the initrd tries to mount the root fs as ext3. If it is leaving it up to the kernel/mount, then because ext3 is a module it will be checked after ext2 (see order in /proc/filesystems). You need to explicitly give "mount -t ext3 <dev> /" to mount it. Cheers, Andreas -- Andreas Dilger \ "If a man ate a pound of pasta and a pound of antipasto, \ would they cancel out, leaving him still hungry?" http://www-mddsp.enel.ucalgary.ca/People/adilger/ -- Dogbert