12GB MBR



  • I’ve started using fog trunk and am testing the upload portion of the functionality right now. I have attempted to upload images from dell laptops of both windows 7 and 8.1. The 8.1 seems to have uploaded fine, however the Windows 7 image was uploaded with an MBR of over 12GB.

    Images settings are as follows:
    OS: Windows 7
    Image type: single disk - resizable
    Parition: everything
    Compression: 7

    If theres anything you need me to do to debug, let me know.

    Thanks for any assistance you can offer.



  • Confirmed fixed, MBR looks like a much more reasonable 32k now.

    Thanks!


  • Developer

    Try the latest version (SVN 3540). The bug is fixed.

    Thanks for reporting!


  • Developer

    Thank you! I found the bug. I’ll notify you when it is fixed.



  • @cspence

    Sure; here’s the contents of that file:

    label: dos
    label-id: 0x552e1400
    device: /dev/sda
    unit: sectors
    
    /dev/sda1 : start=          63, size=       80262, type=de
    /dev/sda2 : start=       81920, size=    20430172, type=7, bootable
    /dev/sda3 : start=    24686592, size=   952084480, type=7
    

  • Developer

    @Wayne-Workman Thanks! It’s been a while since I have checked out the forums. I’ve been mostly playing around with FOG on git quietly.



  • @cspence Welcome back!


  • Developer

    I’m pretty sure I can get this fixed. I just need to get some example output.

    Can you get the contents of d1.original.partitions for me?



  • @Wayne-Workman

    Hmmm… I don’t have vanilla installation media on hand; these are dell machines that came pre-imaged and only with 8.1 restore media.

    Let me see what I can do.



  • @contewit said:

    @Wayne-Workman

    Sure, i’ll do a factory restore and just send the image that way.

    The factory build might be what’s causing this… if there’s 5 partitions on there (recovery, diagnostics, system reserved, whatever else), that could be it…

    Can you please try installing Win7 instead?



  • @Wayne-Workman

    Sure, i’ll do a factory restore and just send the image that way.



  • @contewit

    Wow, yep 12 gig…

    Can you (very quickly) just throw together a brand new Win7 build (no updates, no software, no patches, nothing, just real fast) and try to upload that and see if the MBR comes out correct or not?



  • Sure thing.

    Rev is latest - to validate the results, i did a clean reinstall of fog with the latest rev (Revision: 3530) and re-imaged the machine again.

    $ls -lahR /images
    /images:
    total 8.0K
    drwxrwxrwx  5 fog  root   68 Jun  9 13:01 .
    drwxr-xr-x 25 root root 4.0K Jun  9 12:32 ..
    drwxrwxrwx  2 root root   22 Jun  9 13:01 dev
    drwxrwxrwx  2 root root 4.0K Jun  9 13:01 Win7Img
    drwxrwxrwx  2 root root   29 Jun  9 12:32 postdownloadscripts
    
    /images/dev:
    total 0
    drwxrwxrwx 2 root root 22 Jun  9 13:01 .
    drwxrwxrwx 5 fog  root 68 Jun  9 13:01 ..
    -rwxrwxrwx 1 root root  0 Jun  9 12:32 .mntcheck
    
    /images/Win7Img:
    total 33G
    drwxrwxrwx 2 root root 4.0K Jun  9 13:01 .
    drwxrwxrwx 5 fog  root   68 Jun  9 13:01 ..
    -rwxrwxrwx 1 root root    4 Jun  9 12:38 d1.fixed_size_partitions
    -rwxrwxrwx 1 root root  12G Jun  9 12:44 d1.mbr
    -rwxrwxrwx 1 root root  240 Jun  9 08:38 d1.minimum.partitions
    -rwxrwxrwx 1 root root   44 Jun  9 12:38 d1.original.fstypes
    -rwxrwxrwx 1 root root  249 Jun  9 08:38 d1.original.partitions
    -rwxrwxrwx 1 root root    0 Jun  9 12:38 d1.original.swapuuids
    -rwxrwxrwx 1 root root  79K Jun  9 12:45 d1p1.img
    -rwxrwxrwx 1 root root 8.2G Jun  9 12:49 d1p2.img
    -rwxrwxrwx 1 root root  14G Jun  9 13:01 d1p3.img
    
    /images/postdownloadscripts:
    total 4.0K
    drwxrwxrwx 2 root root  29 Jun  9 12:32 .
    drwxrwxrwx 5 fog  root  68 Jun  9 13:01 ..
    -rwxrwxrwx 1 root root 233 Jun  9 12:32 fog.postdownload
    
    


  • What revision of FOG Trunk?

    and can you please post the output of this:

    [CODE]ls -lahR /path/to/your/images[/CODE]

    on a typical installation, the path to images would be:
    [CODE]ls -lahR /images[/CODE]


 

500
Online

41.8k
Users

12.3k
Topics

116.1k
Posts