SOLVED 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
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.
Try the latest version (SVN 3540). The bug is fixed.
Thanks for reporting!
Thank you! I found the bug. I’ll notify you when it is fixed.
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
@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!
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?
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.
Wayne Workman last edited by Wayne Workman
Sure, i’ll do a factory restore and just send the image that way.
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?
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]