Clone multi OS system
-
Remember: FOG, until fog 0.32, uses partimage. And partimage don’t support ext4.
We clone mulitboot systems without problems (windows XP/(k)Ubuntu 10.xx to (k)Ubuntu 11.xx with ext3).
-
[quote=“Fernando Gietz, post: 598, member: 13”]Remember: FOG, until fog 0.32, uses partimage. And partimage don’t support ext4.
We clone mulitboot systems without problems (windows XP/(k)Ubuntu 10.xx to (k)Ubuntu 11.xx with ext3).[/quote]
Even when the GNU/Linux OS are installed on an extended partitions ?
Cloning machine with extended partition was not supported in fog 0.29 iircThanks
-
Yes. Linux are installed on an extended partitions, but we use a customized fog 0.30.
I don’t remember if FOG oficial version 0.30 support extended partitions. -
Hi,
First of all, thank GOD for the new forum format. And by God, I assume I mean Peter.
I’m trying to clone a multiboot windows/linux partition. I cloned the image and it is set to multiple partitions/single disk mode.
So I’m trying to do this by setting up a single partition using fdisk, setting it to windows 7 mode and making it bootable, etc and then imaging the computer…
looking for hard disks gives me Error: Can’t have a partition outside the disk!
I don’t know how the partition table needs to be set up before hand in order to do this. seems like nothing I do is right. Can anybody provide some guidance?
Thanks!
-Lee -
When get you the error? When you upload the image or deploying it?
-
I get the issue when deploying. I think, upon reflection, that this may be because I was attempting to deploy a 160gb image from a 320gb hard drive to a smaller 250gb hd, which is not allowed unless using DD mode I understand.
However, when I try to deploy to an equal size partition I get a segmentation fault of some sort (I’m sorry I haven’t saved the error).
I’m using fog 0.32 on Lenovo laptops.
I just made an image using DD and I’m now trying to deploy it to another computer using deploy with debug.
I get this, among other notifications:
acerhdf: unknown (unsupported) BIOS version LENOVO… etc etc etc. ( I always get this error )
variable dump:
osid=50
osname=Linux
mbrfile=
type=down
storage=192.168.1.101/images/
img=frontenddevraw
hd=/dev/sda
part=/dev/sda1I type fog:
everything goes smoothly until…
Now FOG will attempt to restore the image using DD. Starting transfer, this may take a very long time…
/bin/fog: line 1169 gunzip: not found
0+0 records in
0+0 records out
Changing hostname… umount: can’t umount /ntfs: Invalid argument.
Done- Updating Computer Database Status
- Database Updated!
- Task Complete, computer will now restart
I also have tried to do this with the OS field set to Other and received an Operating System not found error.
I checked fdisk and it appears to have partitioned the target computer’s hard drive more or less according to the partitions of the source before it failed… See uploaded screenshots for comparison.
I ended up just booting into debug mode and then mounting the /images folder as it says to do here: “[url]http://www.fogproject.org/wiki/index.php?title=Troubleshooting_an_image_push_to_a_client[/url]” and then running this command:
dd if=/images/frontenddevraw of=/dev/sda
Now it’s echoing “[ 1044.2528912 ] r8169 0000:09: 00.0: eth0: link up” over and over but incrementing the number and occasionally interspersing other messages. Is it doing anything?
Can anyone help? I would love it if there was a guide to imaging windows/linux dual boot systems…
THANK YOU
The top one is from the target computer, the bottom one is from the source[ATTACH=full]27[/ATTACH][ATTACH=full]28[/ATTACH]
[url=“/_imported_xf_attachments/0/27_photo.jpg?:”]photo.jpg[/url][url=“/_imported_xf_attachments/0/28_photo (1).jpg?:”]photo (1).jpg[/url]
-
I don’t have any idea where is the problem. We deploy multisystem images, but windows XP and Ubuntu, and multipartition images and not dd images.
Can you upload an image from 250GB HD and deploy it on 360GB HD as multipartition image and not dd image?
-
Hi Fernando Gietz,
I see you are deploying a multiboot WinXP/Ubuntu.
I’m trying the (almost) same: a single disk, multipartition deploy of a system with Win 7/Ubuntu,
using [FONT=Ubuntu][COLOR=#333333] Version: 0.32 (just downloaded form the site/no customization done)[/COLOR][/FONT]The image deploy are done correctly, and the MBR is correctly dded on destination PC,
but the system do not boot: if I start with a live CD and do a grub-install everything starts
correctly.I imagine that the part of the script fog which prepare the disks miss something:
you say you use a personalized version?
Can you make available the modifications? do they include the script “fog”?
Do you declare the OS in the fog WebUI as Windows or Linux?thanks
giammy -
[quote=“giammy, post: 1148, member: 362”]
The image deploy are done correctly, and the MBR is correctly dded on destination PC,
but the system do not boot: if I start with a live CD and do a grub-install everything starts
correctly.[/quote]
Yes, we deploy multisystems, but when you deploy only a Ubuntu 11.xx system, it crash. The PC reboots constantly.
The solution is simply (you can see it [URL=‘http://www.ehu.es/es/web/instalaciones/fogehu/-/wiki/main/conocimiento#Despliegue_de_imágenes_con_Ubuntu_11.04’]here[/URL] in spanish). Using Google Traductor :
[I]Deployment of images with Ubuntu 11.04
Although FOG not support Linux-based systems, the tool can deploy images with these systems. With the latest release to date, Ubuntu 11.04, we have encountered a problem when displaying images with this system only installed. With dual systems is not presented.
Symptoms: The computer after deploying an image of Ubuntu 11.04, reboots constantly.
Solution:[/I]
[LIST]
[*][I]Create or modify / boot / grub menu.lst file[/I]
[/LIST]
[CODE] timeout 0
Grub title
root (hd0, 0)
kernel / boot/vmlinuz-2.6.38-8-generic root = / dev/sda1 ro quiet splash
initrd / boot/initrd.img-2.6.38-8-generic
quiet
savedefault
boot[/CODE]
[I]Note: Verify that there initrd and vmlinuz files makes referred to in the menu.lst[/I]
[LIST]
[*][I]Run: (install and configure grub-legacy)[/I]
[/LIST]
[CODE]$ sudo apt-get install grub
$ sudo grup-install / dev / sda[/CODE]
Try it and say, please, if it works.
[I][/I] -
Sorry, i forget it.
[quote=“giammy, post: 1148, member: 362”]
I imagine that the part of the script fog which prepare the disks miss something:
you say you use a personalized version?
Can you make available the modifications? do they include the script “fog”?
Do you declare the OS in the fog WebUI as Windows or Linux?
[/quote][LIST]
[]We use a personalized version, we have modificated the script “fog” but not this point, multisystems deploy. We use fog 0.30.
[]We have reduced the number of options in the web interface. All our images are defined, by default, as windows Multipartition [type = mps and OS = 1]. The script “fog” is clever , and does not trust what we have said. When we upload an image to the server, this script checks again what type of system is: windows XP, windows 7, linux …
[/LIST] -
Hi guys,
and thank you Fernando: it’s now working!
The configuration is:
- a multiboot Win7/Ubuntu 12.04 (alpha2) (anyway 11.10 is the same) deploying on a Dell Optiplex 960
- Fog 0.32 (no cutomization)
The PC configuration is:
4 primary partitions sda1 and sda2 for Windows7, sda3 for swap, sda4 for linux (ext3)The fog server configuration is 1 disk, multipartition, declaring as ostype linux
(declaring it as windows does not work)The installations are a base Windows 7 installation, and a base Ubuntu installation
CHANGING TO GRUB-LEGACY: this was my problem: grub2 seems to be not working.Now I’m writing some documentation, and then I’ll try to customize my Ubuntu and Windows
installation to fit my organization, but the base deploying infrastructure seems ok!thank you again
giammy