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

Deploy on sata disk image captured on nvme disk

Scheduled Pinned Locked Moved
Linux Problems
3
6
473
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 Dec 14, 2022, 11:27 AM

    Hello,
    Fog is able to deploy an image captured on an nvme disk to a machine with a sata disk.
    But on restart, the fstab is not good and the machine remains stuck in the busy box.
    Do you have any advice to solve this problem?

    Fog Version: Fog 1.5.10
    Server OS: AlmaLinux release 8.8

    G 1 Reply Last reply Dec 14, 2022, 1:00 PM Reply Quote 0
    • G
      george1421 Moderator @lebrun78
      last edited by Dec 14, 2022, 1:00 PM

      @lebrun78 I take it the target OS is linux? If that is the case, I’m pretty sure that FOS Linux doesn’t mess with the fstab file. The other issue is even if it did via a post install script, may systems use grub and grub would need to rebuild the initramfs file. Its pretty complicated to explain, other than I don’t think it will work nvme to sata, or sata image to nvme because of the initramfs file.

      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 0
      • S
        Sebastian Roth Moderator
        last edited by Dec 16, 2022, 12:54 AM

        @lebrun78 said in Deploy on sata disk image captured on nvme disk:

        But on restart, the fstab is not good and the machine remains stuck in the busy box.

        This was mostly an issue back when device names (e.g. /dev/sda1) were used in fstab. Pretty much all modern distros use UUIDs instead. Please let us know the Linux OS you use and post contents of /etc/fstab of the original system.

        @george1421 said:

        … grub would need to rebuild the initramfs file …

        Sure GRUB can be an issue. But from the sounds of this topic I would think this is beyond GRUB already and maybe fixing the fstab isn’t too much trouble anymore (either before capturing or through postscripts (chrooting to the cloned Linux OS).

        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

        L 1 Reply Last reply Dec 16, 2022, 7:33 AM Reply Quote 0
        • L
          lebrun78 @Sebastian Roth
          last edited by Dec 16, 2022, 7:33 AM

          @sebastian-roth
          Hello Sebastian,
          The distrib is ubuntu 20.04.
          I tried to edit the fstab from

          /dev/nvme0n1p2   / 		ext3    errors=remount-ro    0 1
          /dev/nvme0n1p3  /lereste     ext2    defaults        1 2
          
          

          to

          /dev/sda2   / 		ext3    errors=remount-ro    0 1
          #/dev/nvme0n1p3  /lereste     ext2    defaults        1 2
          
          

          It was not enough.
          Boot repair did the job but it is a complex process difficult to reproduce.

          Fog Version: Fog 1.5.10
          Server OS: AlmaLinux release 8.8

          1 Reply Last reply Reply Quote 0
          • S
            Sebastian Roth Moderator
            last edited by Dec 16, 2022, 1:20 PM

            @lebrun78 said in Deploy on sata disk image captured on nvme disk:

            It was not enough.
            Boot repair did the job but it is a complex process difficult to reproduce.

            If you need further help with this, then we need more information 🙂

            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

            L 1 Reply Last reply Dec 16, 2022, 1:52 PM Reply Quote 0
            • L
              lebrun78 @Sebastian Roth
              last edited by Dec 16, 2022, 1:52 PM

              @sebastian-roth
              Here is the photo of the error I get on first boot.:(IMG_20221216_144511881.jpg

              Il have no raid configuration neither on source or destination machine.
              So I don’t understant why I get errors with mdadm files.

              If I edit the /etc/fstab file, I always have the error “ALERT! /dev/nvme0n1p2 does not exist”

              Fog Version: Fog 1.5.10
              Server OS: AlmaLinux release 8.8

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

              156

              Online

              12.0k

              Users

              17.3k

              Topics

              155.2k

              Posts
              Copyright © 2012-2024 FOG Project