unable to boot JFS root on Crux 2.7

Daniel toothlessbeaver at gmail.com
Sun Dec 4 16:39:55 UTC 2011


Do you have SCSI support?
Was lilo installed correctly?
Is Lilo installed on the mbr?

On Dec 3, 2011 11:10 PM, "samwyse" <samwyse at gmail.com> wrote:
>
> OK, I selected the JFS file system to be compiled into the kernel.  Still
couldn't boot.
>
> I found a note on the wiki about booting without an initrd, I followed
the suggestions, still no luck.
>
> I changed all /=m/ to /=y/ in the .config file to compile *everything*
into the kernel, found that 'make all' asked me some questions, but still
didn't feel the love.  :(
>
> On the other hand, I've noticed that every time I try to mount my root
file system after booting from ISO, I have to run fsck.jfs first.  I
haven't tried mounting it read-only, but it appears that the ISO isn't
cleanly unmounting everything when I shutdown.  I'm not really wed to using
a JFS root, so I may try the more conventional ext4/3/2 and see how they
work.
>
> On Thu, Dec 1, 2011 at 10:48 AM, Niklas Wennerstrand <niklas at allow.se>
wrote:
>>
>> If you don't compile it into the kernel you must create an initrd.img
 with the modules in there...some you will load after the kernel has load.
Otherwise compile into the kernel the easier way..
>>
>> If you want sure.. but i don't  think you haven't to add it…
>>
>> /Niklas
>>
>> On Dec 1, 2011, at 5:26 PM, samwyse wrote:
>>
>>> CONFIG_JFS_FS=m
>>>
>>> Apparently I did not.  :)
>>>
>>> To whom should I suggest adding a warning about this in the guide?
>>>
>>>
>>>
>>> On Thu, Dec 1, 2011 at 9:54 AM, Niklas Wennerstrand <niklas at allow.se>
wrote:
>>>>
>>>> Did you complie your kernel with JFS support?
>>>> Niklas
>>>>
>>>> On 1 dec 2011, at 14:24, samwyse <samwyse at gmail.com> wrote:
>>>>
>>>> > I only recently discovered Crux, while looking for a small distro to
use as the basis of a virtual appliance.  I downloaded the ISO, created a
VM, and followed the directions in the handbook to install.  For some crazy
reason, I decided to give JFS a try as my root file system.  Unfortunately,
my disk won't boot.  I can boot from the ISO and mount the disk just fine,
but the VM's Phoenix BIOS skips over the disk and goes straight to PXE.
>>>> >
>>>> >
>>>> > Here's my lilo.conf:
>>>> > #
>>>> > # /etc/lilo.conf: lilo(8) configuration, see lilo.conf(5)
>>>> > #
>>>> >
>>>> > lba32
>>>> > install=text
>>>> > boot=/dev/sda
>>>> > image=/boot/vmlinuz
>>>> >         label=CRUX
>>>> >         root=/dev/sda1
>>>> >         read-only
>>>> >         append="quiet"
>>>> >
>>>> > # End of file
>>>> >
>>>> >
>>>> > Here's my fstab:
>>>> > #
>>>> > # /etc/fstab: static file system information
>>>> > #
>>>> > # <file system>        <dir>     <type>    <options>
 <dump> <pass>
>>>> >
>>>> > /dev/sda1              /         jfs       defaults               1
     1
>>>> > #/dev/#SWAP#           swap      swap      defaults               0
     0
>>>> > #/dev/cdrom            /cdrom    iso9660   ro,user,noauto,unhide  0
     0
>>>> > #/dev/dvd              /dvd      udf       ro,user,noauto,unhide  0
     0
>>>> > #/dev/floppy/0         /floppy   vfat      user,noauto,unhide     0
     0
>>>> > devpts                 /dev/pts  devpts    defaults               0
     0
>>>> > none                   /sys      sysfs     defaults               0
     0
>>>> > none                   /proc     proc      defaults               0
     0
>>>> > #tmp                   /tmp      tmpfs     defaults               0
     0
>>>> > #shm                   /dev/shm  tmpfs     defaults               0
     0
>>>> > #usb                   /proc/bus/usb usbfs defaults               0
     0
>>>> >
>>>> > # End of file
>>>> >
>>>> > _______________________________________________
>>>> > CRUX mailing list
>>>> > CRUX at lists.crux.nu
>>>> > http://lists.crux.nu/mailman/listinfo/crux
>>>
>>>
>>
>
>
> _______________________________________________
> CRUX mailing list
> CRUX at lists.crux.nu
> http://lists.crux.nu/mailman/listinfo/crux
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.crux.nu/pipermail/crux/attachments/20111204/ae9296e0/attachment.html>


More information about the CRUX mailing list