Get Error When Trying to Download Image
-
There is no reason to using diskpart before starting the image deploy. When fog restores the mbr it will take care of this. Try restoring the default windows xp boot record. Enter debug mode and enter:
[B]dd if=/usr/share/fog/mbr/xp.mbr of=/dev/sda[/B]
Then try deploying your image again -
Let me clarify. I use diskpart before installing the OS on the “golden image” machine. I do not diskpart on the machines downloading the image.
How do I enter debug mode? Are you refering to booting to xp hd and pressing f8? What are the steps required to perform the process you describe above?
-
Debug mode is in the fog pxe boot menu. It is also possible that sda is not your hard drive, it might be sdb. You can run these commands to find out:
[B]fdisk -l[/B]
or
[B]partprobe -d -s[/B] -
Ok. sda is the hd. I ran [B]dd if=/usr/share/fog/mbr/xp.mbr of=/dev/sda[/B]
and got these results:
1+0 records in
1+0 records outI’ll try to reimage now.
-
Tried to image and got the same results. I’m stumped.
-
Sorry I gave you the wrong dd command. This probably won’t change anything but the command should have been:
[B]dd if=/usr/share/fog/mbr/xp.mbr of=/dev/sda bs=512 count=1[/B] -
Yep. Same results
-
I misjudged where that error is occurring. That error is just the result of a previous task not finishing correctly but not sure which one. Have you tried doing a manual deploy from debug mode using this guide:
[url]http://fogproject.org/forum/threads/wiki-troubleshooting-an-image-deploy.20/[/url] -
Thanks for your help! I’ll try this in the morning and post back.
-
I’m following the troubleshooting tutorial. After entering the following command on step 7 I get the image that I uploaded below.
/usr/sbin/partimage restore /dev/sda1 /images/AsusXP [B]-f3 -b[/B]Which Option should I select?
[url=“/_imported_xf_attachments/0/66_fogAsusXpDebugScreen.jpg?:”]fogAsusXpDebugScreen.jpg[/url]
-
This image is the result of the option “Simulation of the Restoration”.
What does this mean?
[url=“/_imported_xf_attachments/0/67_fogAsusXpSimulationoftheRestoration.JPG?:”]fogAsusXpSimulationoftheRestoration.JPG[/url]
-
Hard to say, i’ve gotten segmentation fault errors before when there is trouble writing to the hard drive. I am also not sure why your filesystem is RAW, or why you where asked to simulate the restore. It should have automatically just started.
-
I started the process again. This time it automatically started. It imaged 100% in 5 min. When I entered the command [B]/usr/sbin/ntfsresize /dev/sda1 -f -b -P[/B]
I received ERROR (22) Opening /dev/sda1 as NTFS failed…doesn’t have a valid NTFS.When I boot to the hd I get an error that says something like OS missing
[url=“/_imported_xf_attachments/0/68_fogAsusXpDebugErrorAfterImage.jpg?:”]fogAsusXpDebugErrorAfterImage.jpg[/url]
-
We were having problems imaging 1000HA netbooks with a Linux image. It turns out the pxe kernel that ships with 0.32 no longer has the correct drivers for the netbook. You can go into the web interface of your fog server and change the kernel you are using. The kernel that got our netbooks up and running again is
[LEFT][SIZE=13px][FONT=arial][COLOR=#000000]Kernel - 2.6.35.7 KS. This is an older kernel and is farther down on the list for “Kernel Updates”. I hope that fixes your problem as well. [/COLOR][/FONT][/SIZE][/LEFT] -
Teena, Thanks for the update. I’ve never done that before. Do I simply put the text [SIZE=13px][FONT=arial][COLOR=#000000][B]Kernel - 2.6.35.7 KS[/B] in the Host Kernel input box for the host? Would I need to download the kernel from ASUS and drop it somewhere on the fogserver?[/COLOR][/FONT][/SIZE]
-
Since you have not done an update on your kernel, I will give you step by step instructions (Hope you don’t mind).
- Log into your Fog Server and then click on the Question Mark icon (When you mouse over the icon it will say “Other Information”
- A list will come up on the left side. One of the links will say “Kernel Updates”. Click on that.
- You will then be presented with lots of Kernel versions that fog has made. Scroll dow the page until you see Kernel - 2.6.35.7 KS (older KS seem to work as well).
- Click on the icon below the Kernel name and description.
- Another screen will come up. Leave the default name “bzImage” alone and click “Next”.
- Your server will down load the kernel from sourceforge and install it. It will tell you when it is done. At that point you can try to deploy your image again.
Please let me know if you need screen shots (these directions were for the fog interface 0.32).
-
For the life of me, I cannot figure out why these image drops keeping timing out on the second partition. I’ve even tried a single partition Win7 that I created, still no go. Too many days trying to sort this all out, has to be a better way…