Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   CRUX (http://www.linux-archive.org/crux/)
-   -   unable to boot JFS root on Crux 2.7 (http://www.linux-archive.org/crux/605072-unable-boot-jfs-root-crux-2-7-a.html)

Nicholas Lenz 12-01-2011 12:41 PM

unable to boot JFS root on Crux 2.7
 
Did you install lilo? Your BIOS shouldn't skip the disk if a boot loader was installed and your boot order is correct.



On Dec 1, 2011, at 8:24 AM, samwyse <samwyse@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@lists.crux.nu
> http://lists.crux.nu/mailman/listinfo/crux
_______________________________________________
CRUX mailing list
CRUX@lists.crux.nu
http://lists.crux.nu/mailman/listinfo/crux

Niklas Wennerstrand 12-01-2011 02:54 PM

unable to boot JFS root on Crux 2.7
 
Did you complie your kernel with JFS support?
Niklas

On 1 dec 2011, at 14:24, samwyse <samwyse@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@lists.crux.nu
> http://lists.crux.nu/mailman/listinfo/crux
_______________________________________________
CRUX mailing list
CRUX@lists.crux.nu
http://lists.crux.nu/mailman/listinfo/crux

samwyse 12-01-2011 03:26 PM

unable to boot JFS root on Crux 2.7
 
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@allow.se> wrote:


Did you complie your kernel with JFS support?

Niklas



On 1 dec 2011, at 14:24, samwyse <samwyse@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@lists.crux.nu

> http://lists.crux.nu/mailman/listinfo/crux



_______________________________________________
CRUX mailing list
CRUX@lists.crux.nu
http://lists.crux.nu/mailman/listinfo/crux

Milan BuŇ°ka 12-01-2011 06:58 PM

unable to boot JFS root on Crux 2.7
 
samwyse p√*Ň°e v ńĆt 01. 12. 2011 v 10:26 -0600:
> CONFIG_JFS_FS=m

zkus zkompilovat kernel s parametrem
CONFIG_JFS_FS=y

> 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@allow.se>
> wrote:
> Did you complie your kernel with JFS support?
> Niklas
>
>
> On 1 dec 2011, at 14:24, samwyse <samwyse@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@lists.crux.nu
> > http://lists.crux.nu/mailman/listinfo/crux
>
>
>
> _______________________________________________
> CRUX mailing list
> CRUX@lists.crux.nu
> http://lists.crux.nu/mailman/listinfo/crux

Milan

_______________________________________________
CRUX mailing list
CRUX@lists.crux.nu
http://lists.crux.nu/mailman/listinfo/crux

samwyse 12-04-2011 03:08 AM

unable to boot JFS root on Crux 2.7
 
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@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@allow.se> wrote:




Did you complie your kernel with JFS support?

Niklas



On 1 dec 2011, at 14:24, samwyse <samwyse@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@lists.crux.nu

> http://lists.crux.nu/mailman/listinfo/crux






_______________________________________________
CRUX mailing list
CRUX@lists.crux.nu
http://lists.crux.nu/mailman/listinfo/crux

Daniel 12-04-2011 03:39 PM

unable to boot JFS root on Crux 2.7
 
Do you have SCSI support?

Was lilo installed correctly?

Is Lilo installed on the mbr?


On Dec 3, 2011 11:10 PM, "samwyse" <samwyse@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@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@allow.se> wrote:

>>>>

>>>> Did you complie your kernel with JFS support?

>>>> Niklas

>>>>

>>>> On 1 dec 2011, at 14:24, samwyse <samwyse@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@lists.crux.nu

>>>> > http://lists.crux.nu/mailman/listinfo/crux

>>>

>>>

>>

>

>

> _______________________________________________

> CRUX mailing list

> CRUX@lists.crux.nu

> http://lists.crux.nu/mailman/listinfo/crux

>

_______________________________________________
CRUX mailing list
CRUX@lists.crux.nu
http://lists.crux.nu/mailman/listinfo/crux


All times are GMT. The time now is 05:01 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.