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

Kernel panic -not syncing: VFS: Unable to mount root fs on unknown-block(1,0)

Scheduled Pinned Locked Moved Solved
FOG Problems
2
6
3.3k
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.
  • L
    lebrun78
    last edited by Mar 15, 2017, 8:02 AM

    Server
    • FOG Version: 1.3.4
    • OS: centos 6.8
    Client
    • Service Version:
    • OS: windows 7
    Description

    I upgraded my fog server yesterday from 0.32 to 1.3.4

    Kernel panic -not syncing: VFS: Unable to mount root fs on unknown-block(1,0)
    Kernel Offset: Disabled

    alt text

    I’ve upgraded the kernel, I get the same problem.
    I suppose it’s due to my particular nfs and ftp configuration ?

    Fog Version: Fog 1.5.10
    Server OS: AlmaLinux release 8.8

    1 Reply Last reply Reply Quote 0
    • L
      lebrun78
      last edited by Mar 15, 2017, 8:35 AM

      Hello

      I add this code in my dhcpd.conf, and it works

      group {
      # Groupe pointant vers le pxe du nouveau serveur  Fog                                                                                                                                                                                                                           
              next-server 148.60.4.10;
      #        filename "pxelinux.0";                                                                                                                                                                                                                                                 
      #         filename "ipxe.efi";                                                                                                                                                                                                                                                  
      # next-server 148.60.15.121;                                                                                                                                                                                                                                                    
      class "Legacy" {
              match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00000";
              filename "undionly.kkpxe";
          }
          class "UEFI-32-2" {
              match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00002";
              filename "i386-efi/ipxe.efi";
          }
          class "UEFI-32-1" {
              match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00006";
              filename "i386-efi/ipxe.efi";
          }
          class "UEFI-64-1" {
              match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00007";
              filename "ipxe.efi";
          }
          class "UEFI-64-2" {
              match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00008";
              filename "ipxe.efi";
          }
          class "UEFI-64-3" {
              match if substring(option vendor-class-identifier, 0, 20) = "PXEClient:Arch:00009";
              filename "ipxe.efi";
          }
      

      Fog Version: Fog 1.5.10
      Server OS: AlmaLinux release 8.8

      1 Reply Last reply Reply Quote 0
      • G
        george1421 Moderator
        last edited by Mar 15, 2017, 10:03 AM

        This is interesting. Your dhcp server configuration file looks good. Where we typically see this error is when the dhcp server is still configured to send out pxelinix.0 (which was used in the older versions of FOG). Pxelinux.0 will cause this kernel syncing error.

        The other issue we’ve seen is if the FOS kernel (bzImage) is not consistent with its virtual hard drive (init.xz) (i.e. old bzImage kernel with new inits). Please inspect (on the fog linux console) /var/www/html/fog/service/ipxe directory. Make sure the dates on bzImage, bzImage32, init.zx, and init_32.xz are all in a reasonable date span (days not weeks).

        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!

        L 1 Reply Last reply Mar 15, 2017, 10:23 AM Reply Quote 0
        • L
          lebrun78 @george1421
          last edited by Mar 15, 2017, 10:23 AM

          @george1421
          since i added this code in my dhcpd.conf, it works.
          I added kernel panic without this options in my dhcpd.conf

          Fog Version: Fog 1.5.10
          Server OS: AlmaLinux release 8.8

          G 1 Reply Last reply Mar 15, 2017, 11:27 AM Reply Quote 0
          • G
            george1421 Moderator @lebrun78
            last edited by george1421 Mar 15, 2017, 5:29 AM Mar 15, 2017, 11:27 AM

            @lebrun78 OK just to be clear, you had something else configured for your dhcp options before you added the code below.

            The idea is to document the before and after your fix for others that may find your thread later.

            Either way I’m glad you got it worked out, the current release of FOG is just amazing. You may need to deploy your images and then recapture them using FOG 1.3.x to take advantage of some of the performance improvements.

            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!

            L 1 Reply Last reply Mar 15, 2017, 4:40 PM Reply Quote 0
            • L
              lebrun78 @george1421
              last edited by Mar 15, 2017, 4:40 PM

              @george1421
              I had Pxelinux.0 in my dhcp, the new code replace it now.

              Fog Version: Fog 1.5.10
              Server OS: AlmaLinux release 8.8

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

              256

              Online

              12.0k

              Users

              17.3k

              Topics

              155.2k

              Posts
              Copyright © 2012-2024 FOG Project