FOG Project

    • Register
    • Login
    • Search
    • Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Solved kernel panic-not syncing: VFS: unable to mount root fs on unknown block(1,0)

    FOG Problems
    3
    8
    703
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • AlexPDX
      AlexPDX last edited by

      Hello…im geting this error with FOG 1.5.6
      im using IBM Blade Server with virtualisation…all of the other machines seam to work fine with no problems
      20190618_120118.jpg

      1 Reply Last reply Reply Quote 0
      • george1421
        george1421 Moderator last edited by

        Hmm… I find it interesting that its trying to load a non-fog init (virtual hard drive). Why is it referencing fog/images/init.gz Secondly, the init for fog should be .xz compressed and not .gz compressed. Off the top of my head, I don’t know of the FOG kernel will be able to expand a .gz compressed file since natively it only understand .xz.

        But the error basically says the kernel could not connect to the virtual hard drive.

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

        1 Reply Last reply Reply Quote 1
        • AlexPDX
          AlexPDX last edited by

          It’s done …I have completely installed the virtual machine but also the fog server with the latest version, at the moment it seems that everything works just fine, I managed to capture the image of windows 10 with MBR, also did a full inventory of the work station , i deployed it on another workstation … momentarily I’m with kernel 4.19.36 … I’m thinking to update it at 4.19.48 … but I doubt it will not come up with the same problem … however i will try anyway 🙂
          10x for the help ! …specialy @george1421 but also @Tom-Elliott ( apparently the problem started from the location where my images are saved…bad cfg )

          1 Reply Last reply Reply Quote 0
          • george1421
            george1421 Moderator @AlexPDX last edited by george1421

            @AlexPDX OK, can you show me the host definition for the system Windows10-CLEAN?

            Also I have to ask you why you have this item in the FOG iPXE menu?

            item FOG_1.5.5 FOG Server

            kernel bzImage loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 web=http://192.168.192.111/fog/ consoleblank=0 rootfstype=ext4 storage=192.168.192.111:/images/ storageip=192.168.192.111 loglevel=4
            imgfetch init.xz
            boot || goto MENU

            This is set as default but it doesn’t “do” anything. I know it boots the fog kernel, but its not a standard menu item.

            Back to what you posted there is nothing in the iPXE menu to call fog/images/init.gz that I can see.

            Lets start with the host definition screen shot, then if that doesn’t give us a clue, I’ll have you schedule a capture or deploy (whatever you were doing to that computer when it threw that error), but don’t pxe boot the target computer. I’ll want you to run that second link. As long as the computer mac address is the same it should give us a little better picture. When a task is running, that call to boot.php will be very short.

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

            1 Reply Last reply Reply Quote 1
            • AlexPDX
              AlexPDX @george1421 last edited by george1421

              @george1421 :

              #!ipxe
              set fog-ip 192.168.192.111
              set fog-webroot fog
              set boot-url http://${fog-ip}/${fog-webroot}
              cpuid --ext 29 && set arch x86_64 || set arch i386
              goto get_console
              :console_set
              colour --rgb 0x00567a 1 ||
              colour --rgb 0x00567a 2 ||
              colour --rgb 0x00567a 4 ||
              cpair --foreground 7 --background 2 2 ||
              goto MENU
              :alt_console
              cpair --background 0 1 ||
              cpair --background 1 2 ||
              goto MENU
              :get_console
              console --picture http://192.168.192.111/fog/service/ipxe/bg.png --left 100 --right 80 && goto console_set || goto alt_console
              :MENU
              menu
              colour --rgb 0xff0000 0 ||
              cpair --foreground 1 1 ||
              cpair --foreground 0 3 ||
              cpair --foreground 4 4 ||
              item --gap Host is NOT registered!
              item --gap -- -------------------------------------
              item fog.local Boot from hard disk
              item fog.memtest Run Memtest86+
              item fog.reginput Perform Full Host Registration and Inventory
              item fog.reg Quick Registration and Inventory
              item fog.deployimage Deploy Image
              item fog.multijoin Join Multicast Session
              item fog.sysinfo Client System Information (Compatibility)
              item FOG_1.5.5 FOG Server
              choose --default FOG 1.5.5 --timeout 3000 target && goto ${target}
              :fog.local
              chain -ar ${boot-url}/service/ipxe/grub.exe --config-file="rootnoverify (hd0);chainloader +1" || goto MENU
              :fog.memtest
              kernel memdisk initrd=memtest.bin iso raw
              initrd memtest.bin
              boot || goto MENU
              :fog.reginput
              kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 web=http://192.168.192.111/fog/ consoleblank=0 rootfstype=ext4 storage=192.168.192.111:/images/ storageip=192.168.192.111 loglevel=4 mode=manreg
              imgfetch init_32.xz
              boot || goto MENU
              :fog.reg
              kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 web=http://192.168.192.111/fog/ consoleblank=0 rootfstype=ext4 storage=192.168.192.111:/images/ storageip=192.168.192.111 loglevel=4 mode=autoreg
              imgfetch init_32.xz
              boot || goto MENU
              :fog.deployimage
              login
              params
              param mac0 ${net0/mac}
              param arch ${arch}
              param username ${username}
              param password ${password}
              param qihost 1
              isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
              isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
              param sysuuid ${uuid}
              :fog.multijoin
              login
              params
              param mac0 ${net0/mac}
              param arch ${arch}
              param username ${username}
              param password ${password}
              param sessionJoin 1
              isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
              isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
              param sysuuid ${uuid}
              :fog.sysinfo
              kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 web=http://192.168.192.111/fog/ consoleblank=0 rootfstype=ext4 storage=192.168.192.111:/images/ storageip=192.168.192.111 loglevel=4 mode=sysinfo
              imgfetch init_32.xz
              boot || goto MENU
              :FOG_1.5.5
              kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 web=http://192.168.192.111/fog/ consoleblank=0 rootfstype=ext4 storage=192.168.192.111:/images/ storageip=192.168.192.111 loglevel=4
              imgfetch init_32.xz
              boot || goto MENU
              :bootme
              chain -ar http://192.168.192.111/fog/service/ipxe/boot.php##params ||
              goto MENU
              autoboot
              

              and …

              #!ipxe
              set fog-ip 192.168.192.111
              set fog-webroot fog
              set boot-url http://${fog-ip}/${fog-webroot}
              cpuid --ext 29 && set arch x86_64 || set arch i386
              goto get_console
              :console_set
              colour --rgb 0x00567a 1 ||
              colour --rgb 0x00567a 2 ||
              colour --rgb 0x00567a 4 ||
              cpair --foreground 7 --background 2 2 ||
              goto MENU
              :alt_console
              cpair --background 0 1 ||
              cpair --background 1 2 ||
              goto MENU
              :get_console
              console --picture http://192.168.192.111/fog/service/ipxe/bg.png --left 100 --right 80 && goto console_set || goto alt_console
              :MENU
              menu
              colour --rgb 0x00567a 0 ||
              cpair --foreground 1 1 ||
              cpair --foreground 0 3 ||
              cpair --foreground 4 4 ||
              item --gap Host is registered as Windows10-CLEAN!
              item --gap -- -------------------------------------
              item fog.local Boot from hard disk
              item fog.memtest Run Memtest86+
              item fog.keyreg Update Product Key
              item fog.deployimage Deploy Image
              item fog.multijoin Join Multicast Session
              item fog.quickdel Quick Host Deletion
              item fog.sysinfo Client System Information (Compatibility)
              item FOG_1.5.5 FOG Server
              choose --default FOG 1.5.5 --timeout 3000 target && goto ${target}
              :fog.local
              exit || goto MENU
              :fog.memtest
              kernel memdisk initrd=memtest.bin iso raw
              initrd memtest.bin
              boot || goto MENU
              :fog.keyreg
              login
              params
              param mac0 ${net0/mac}
              param arch ${arch}
              param username ${username}
              param password ${password}
              param keyreg 1
              isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
              isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
              param sysuuid ${uuid}
              :fog.deployimage
              login
              params
              param mac0 ${net0/mac}
              param arch ${arch}
              param username ${username}
              param password ${password}
              param qihost 1
              isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
              isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
              param sysuuid ${uuid}
              :fog.multijoin
              login
              params
              param mac0 ${net0/mac}
              param arch ${arch}
              param username ${username}
              param password ${password}
              param sessionJoin 1
              isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
              isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
              param sysuuid ${uuid}
              :fog.quickdel
              login
              params
              param mac0 ${net0/mac}
              param arch ${arch}
              param username ${username}
              param password ${password}
              param delhost 1
              isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
              isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
              param sysuuid ${uuid}
              :fog.sysinfo
              kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 web=http://192.168.192.111/fog/ consoleblank=0 rootfstype=ext4 storage=192.168.192.111:/images/ storageip=192.168.192.111 loglevel=4 mode=sysinfo
              imgfetch init_32.xz
              boot || goto MENU
              :FOG_1.5.5
              kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=127000 web=http://192.168.192.111/fog/ consoleblank=0 rootfstype=ext4 storage=192.168.192.111:/images/ storageip=192.168.192.111 loglevel=4
              imgfetch init_32.xz
              boot || goto MENU
              :bootme
              chain -ar http://192.168.192.111/fog/service/ipxe/boot.php##params ||
              goto MENU
              autoboot
              

              [Mod note] Fixed post for readability -geo

              george1421 1 Reply Last reply Reply Quote 0
              • george1421
                george1421 Moderator @AlexPDX last edited by

                @AlexPDX said in kernel panic-not syncing: VFS: unable to mount root fs on unknown block(1,0):

                I followed the instalation steps exactly

                I find this hard to understand. If you followed the installation steps exactly then it would not try to load fog/image/init.gz. Where did you get the instructions to install fog 1.5.6?

                Can you go to this url with a web browser and then post the output here. http://192.168.192.111/fog/service/ipxe/boot.php?mac=00:00:00:00:00:00 and also http://192.168.192.111/fog/service/ipxe/boot.php?mac=f8:b1:56:d9:b8:ab

                Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

                AlexPDX 1 Reply Last reply Reply Quote 1
                • AlexPDX
                  AlexPDX last edited by

                  I did not expose myself correctly … my bad : )  … I use the IBM Blate server for virtual machines … each one has its own separate work … and I have taken resources from the server to create a Fog Server. I followed the instalation steps exactly … and this error occurred while trying to capture a workstation with windows 10 MBR

                  george1421 1 Reply Last reply Reply Quote 0
                  • Tom Elliott
                    Tom Elliott last edited by

                    It can open .gz, but you’re right. By default, we use XZ compression for the init’s.

                    Even more odd is the fog/images/init.gz being the configuration path from the old 0.32 versions (and earlier) when it referenced the init from /tftpboot/fog/images/init.gz

                    Did you follow configuration from a very old tutorial?

                    Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                    Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

                    Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

                    1 Reply Last reply Reply Quote 1
                    • george1421
                      george1421 Moderator last edited by

                      Hmm… I find it interesting that its trying to load a non-fog init (virtual hard drive). Why is it referencing fog/images/init.gz Secondly, the init for fog should be .xz compressed and not .gz compressed. Off the top of my head, I don’t know of the FOG kernel will be able to expand a .gz compressed file since natively it only understand .xz.

                      But the error basically says the kernel could not connect to the virtual hard drive.

                      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!

                      1 Reply Last reply Reply Quote 1
                      • 1 / 1
                      • First post
                        Last post

                      169
                      Online

                      10.2k
                      Users

                      16.3k
                      Topics

                      149.9k
                      Posts

                      Copyright © 2012-2020 FOG Project