Find the answer to your Linux question:
Results 1 to 6 of 6
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Kernel panic - not syncing VFS : installing CRUX on usb flash drive

    Hello please sorry my English i seldom
    write it.

    I'm installing CRUX on usb flash drive.
    (btw my previous experience is of about 3years with Arch)

    Using installation cd i had done :

    mkfs.ext4 /dev/sdc2 # (sdc2 = my pen drive)
    mount /dev/sdc2 /mnt
    setup # installs CRUX core,opt and xorg
    setup-chroot # chroot in /mnt

    # edited various files

    cd /usr/src/linux-.../
    make menuconfig
    make install_modules
    cp arch/i386/boot/bzImage /boot/vmlinuz
    cp /boot

    # edited /etc/lilo.conf


    Booting from my usb flash drive i get this :

    LILO Loading CRUX................
    BIOS data check successfull
    Booting the kernel.
    Kernel panic - not syncing: VFS: Unable to mount root fs on
    unknown block(8,34).

    I tried making more modules builtin doing every time the same
    steps above (except of cource for mkfs )

    but with no results.
    Can you give me a hand ?
    Last edited by E44; 05-04-2013 at 06:31 PM.

  2. #2
    If i need to make anything more clear don't hesitate to ask please!

  3. #3
    Linux Guru Jonathan183's Avatar
    Join Date
    Oct 2007
    I think the error is caused by one of the following:-
    1. driver to access root filesystem is not built into the kernel
    2. the reference to the root filesystem is incorrect in your lilo config
    3. the reference to the root filesystem is incorrect in /etc/fstab

    Check what driver the live cd uses to access the pen drive and make sure you have it compiled into the kernel. I use grub as a bootloader so won't be able to help much with the lilo config.

  4. $spacer_open
  5. #4
    Thank you for the reply.

    I used lsmod , from the live cd .

    Can i post my lsmod so we can dissect it ?

    I'm wondering what is the better method to
    deduce the options to choose in `make menuconfig`
    from the lsmod output.

    Thank you very much

  6. #5
    Linux Guru Jonathan183's Avatar
    Join Date
    Oct 2007
    I'd expect lspci -vnn and lsusb to be useful for determining appropriate drivers. You need to know what hardware you have, compile everything in, or use an initrd.

  7. #6
    Linux Engineer hazel's Avatar
    Join Date
    May 2004
    Harrow, UK
    Either use an initrd or make very sure that the following are built right into your kernel not as modules:

    1) USB storage
    2) The SATA/PATA disk driver
    3) The driver for your chosen filesystem (e.g.ext4, reiserfs)

    Make menuconfig is usually a friendly way to configure a kernel; when using it, make full use of kernel help. Don't remove anything from the default configuration without checking it in help first.
    "I'm just a little old lady; don't try to dazzle me with jargon!"

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts