Cannot boot with jfs as root fs

Bug #22933 reported by Örjan Persson on 2005-10-01
Affects Status Importance Assigned to Milestone
initramfs-tools (Ubuntu)
Jeff Bailey

Bug Description

I believe this bug is related to bug #8607 and #7666, but I don't know. I can't
boot with jfs as root fs. I'm using grub and there's no errors reported when I
install the kernel image. I believe it has to be a problem with the initrd image
/ ramdisk somehow?

Running breezy, I can boot using 2.6.10-5-k7 but not when I try to boot any
kernel image above that. For the latest 2.6.12-9-k7 I get;

FATAL: Module jfs not found.
mount: Mounting /dev/hda5 on /root failed: no such device
mount: Mounting /root/dev on /dev/.static/dev failed: no such file or directory
mount: Mounting /dev on /root/dev failed: no such file or directory
Target filesystem doesn't have /sbin/init.

And then I'm presented with busybox. Earlier kernels (>=2.6.10) gave me the
exact same message but "FATAL: Module unknown not found.". It also looks like
both 2.6.10-5 and 2.6.12-9 has jfs compiled as a module, and the jfs.ko exists
on the correct location.

Colin Watson (cjwatson) wrote :

*** Bug 22941 has been marked as a duplicate of this bug. ***

Colin Watson (cjwatson) wrote :

This is an initramfs-tools bug. Jeff, if I add 'jfs' to the list of
hard-to-autodetect modules at the start of dep_add_modules in
/usr/share/initramfs-tools/hook-functions and regenerate the initramfs, that's
enough to fix it.

Colin Watson (cjwatson) wrote :

Er, I mean add jfs to the list at the start of both dep_add_modules and
auto_add_modules, of course. *That* works.

Jeff Bailey (jbailey) wrote :

Thanks, pending upload of 0.32

Jeff Bailey (jbailey) wrote :

0.32 uploaded.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.