• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Hongyun
    3. Posts
    H
    • Profile
    • Following 0
    • Followers 0
    • Topics 8
    • Posts 65
    • Best 1
    • Controversial 0
    • Groups 0

    Posts made by Hongyun

    • RE: Imaging Linux systems, UUID for swap not matching on deployed systems. Eh?

      I’m having the same problem with Mageia 4 system. Attached image is what’s show up after deployed a computer. It only complaints about the swap partition UUID.

      And before I upload the image, I’ve already changed the fstab file to use either the disk name /dev/sda5, or the label of the swap partition LABEL=SWAP, in both cases, I get the same result.

      Any idea how to fix this?

      Thanks,
      Hongyun

      [url=“/_imported_xf_attachments/1/1210_dracut_error.JPG?:”]dracut_error.JPG[/url]

      posted in Linux Problems
      H
      Hongyun
    • RE: Mageia 4 Linux image won't boot, dracut warning could not boot, disk by-uuid doesn't exist

      By the way, it only complaints about the swap partition uuid doesn’t exist.

      posted in FOG Problems
      H
      Hongyun
    • Mageia 4 Linux image won't boot, dracut warning could not boot, disk by-uuid doesn't exist

      I have changed /boot/grub/menu.lst file and the /etc/fstab file to use /dev/sdax format instead of the uuid format, but after download the image, even when I downloaded it to the same computer, the system still won’t boot, it will goes to dracut mode.

      Does anyone know how to fix this uuid problem? In the past, when I use Ubuntu or Scientific Linux, by changing menu.lst and the fstab file, everything will work. But for this Mageia system, I don’t know what’s going on.

      thanks,
      Hongyun

      posted in FOG Problems
      H
      Hongyun
    • Change storage node, won't download image

      I have changed the storage node to a subdirectory, and can successfully upload an image, but when I try to download the image, it couldn’t find the image file I just uploaded, so I have to move the image folder to the default /images folder again to make the download work.

      Thanks,
      Hongyun

      posted in FOG Problems
      H
      Hongyun
    • RE: Imaging using partclone instead of partimage

      Thanks for trying to help me. I can try the 0.33b version again. But do you know why when I patch 0.33b there is one error, is it critical? Please see my above post.

      posted in Feature Request
      H
      Hongyun
    • RE: Imaging using partclone instead of partimage

      [quote=“Tom Elliott, post: 20194, member: 7271”]I’ll take a look at the fog 0.32 fog script and make the changes to it. The diff I gave you before is for 0.33[/quote]

      If you could make it work on 0.32, it would be so wonderful! Thank you very much!

      posted in Feature Request
      H
      Hongyun
    • RE: Imaging using partclone instead of partimage

      When I applied it to 0.33b here is the result:

      [B][root@foggy ~]# patch -p1 tmp/bin/fog < fog.diff.txt [/B]
      patching file tmp/bin/fog
      Hunk #1 FAILED at 1.
      1 out of 11 hunks FAILED – saving rejects to file tmp/bin/fog.rej
      [B][root@foggy ~]# cat tmp/bin/fog.rej[/B]
      — /dev/null
      +++ opt/buildroot-2013.08.1/package/fog/scripts/bin/fog2013-11-25 11:55:23.820674638 -0500
      @@ -1,11 +1,11 @@
      #!/bin/sh

      -PIGZ_COMP=“-3”;
      +PIGZ_COMP=“-9”;
      RUN_CHKDSK=“”;
      HOSTNAME_EARLY=“0”;

      -OS_ID_WIN7 = “5”;
      -OS_ID_WIN8 = “6”;
      +OS_ID_WIN7=“5”;
      +OS_ID_WIN8=“6”;

      . /usr/share/fog/lib/funcs.sh

      posted in Feature Request
      H
      Hongyun
    • RE: Imaging using partclone instead of partimage

      Here is the result when I applied the patch to 0.32, and attached is the fog.rej file.

      patch -p1 tmp/bin/fog < ./fog.diff.txt

      patching file tmp/bin/fog
      Hunk #1 FAILED at 1.
      Hunk #2 FAILED at 364.
      Hunk #3 FAILED at 376.
      Hunk #4 FAILED at 387.
      Hunk #5 FAILED at 400.
      Hunk #6 FAILED at 421.
      Hunk #7 FAILED at 493.
      Hunk #8 FAILED at 581.
      Hunk #9 FAILED at 933.
      Hunk #10 FAILED at 1036.
      Hunk #11 FAILED at 1108.
      11 out of 11 hunks FAILED – saving rejects to file tmp/bin/fog.rej

      [url=“/_imported_xf_attachments/0/446_fog.rej.txt?:”]fog.rej.txt[/url]

      posted in Feature Request
      H
      Hongyun
    • RE: Imaging using partclone instead of partimage

      Hi Tom,

      Can I use this script under version 0.32? Honestly, I like 0.32 better than 0.33b

      Thanks,
      Hongyun

      posted in Feature Request
      H
      Hongyun
    • RE: Imaging using partclone instead of partimage

      Thank you, Gilou and Tom! I wish I knew more about programming, and really hope I can do something to help, but it looks like my only hope will be waiting for you guys to come up with a working solution.

      Hongyun

      posted in Feature Request
      H
      Hongyun
    • RE: Imaging using partclone instead of partimage

      Hi Tom,
      Have you ever used clonezilla? someone recommends that for me, but if I could make FOG work with ext4, I really don’t want to switch to something else.
      Hongyun

      posted in Feature Request
      H
      Hongyun
    • RE: Imaging using partclone instead of partimage

      [INDENT=1]So you mean the [FONT=Consolas]partclone.diff.txt file already included everything I need to use partclone?[/FONT][/INDENT]

      posted in Feature Request
      H
      Hongyun
    • RE: Imaging using partclone instead of partimage

      One more question, do I need to have partclone installed on FOG server?

      posted in Feature Request
      H
      Hongyun
    • RE: Imaging using partclone instead of partimage

      Now I get the same error without 000

      mv: Can’t rename ‘/images/7071bc7b70bd/d1p1.img.000’: No such file or directory

      But I found the mac address folder under /images/dev/

      posted in Feature Request
      H
      Hongyun
    • RE: Imaging using partclone instead of partimage

      What about this line: mv ${imgpart}.000 ${imgpart} 2>/dev/null
      change it as well?

      posted in Feature Request
      H
      Hongyun
    • RE: Imaging using partclone instead of partimage

      Hi Tom,

      I tried it with a clean install of FOG 0.33, but it couldn’t upload properly, only 32256 byte got uploaded to the server. When I tried to upload with debug mode, I got the following error messages:

      mv: Can’t rename ‘/images/7071bc7b70bd/d1p1.img.000’: No such file or directory

      Do you know what may be the problem?

      Thanks,
      Hongyun

      posted in Feature Request
      H
      Hongyun
    • RE: Imaging using partclone instead of partimage

      Hi Tom,

      Thank you so much for your reply. I will give it a try, hope it will fix my problem.

      Hongyun

      posted in Feature Request
      H
      Hongyun
    • RE: Imaging using partclone instead of partimage

      Tom,

      How did you add it to init.gz file, would you mind to tell me how to do it?

      Thanks,
      Hongyun

      posted in Feature Request
      H
      Hongyun
    • RE: Imaging using partclone instead of partimage

      [quote=“Gilou, post: 19988, member: 3221”]OK, here’s the patch, quick & dirty for those interested, it’s being worked on, and will certainly not work on a multicast environment. I’m still interested in being able to work on SVN, by the way.[/quote]

      Hello,

      Do you have any detail instructions on how to replace partimage with partclone? where to start?

      posted in Feature Request
      H
      Hongyun
    • RE: EXT4 and 0.33B

      Thank you for replying, but it’s not very clear in that post on how to use partclone, install it on FOG server or included it in bzImage file? Sorry, I’m not a programmer, really can’t understand the attached files in that post, would you mind to explain it in more detail for me?

      Thanks!

      posted in FOG Problems
      H
      Hongyun
    • 1
    • 2
    • 3
    • 4
    • 3 / 4