Grub2 et fog 1.0.1
-
[quote=“fractal13, post: 27826, member: 24300”]I’ve made updates to the fog.download and fog.upload scripts that use sfdisk to save/restore logical partitions. It appears to be working on my test scenarios. I’ll post them to the developer forum, in case you want to use them.[/quote]
Can this be used to backup MBR?
-
sfdisk is used to save and restore the partition table layout, in addition to the dd commands to save and restore the MBR.
So, my changes only deal with MBR style partitions, and leave the MBR bootloader backup as is.
-
Added in svn trunk.
-
Cool fractal13, Tom, these modifications are already implemented ? I updated this morning, i tried to image a machine with logical volume but no success.
i let Linux as operating system and put multiple partitions image - single disk.
Thank you
-
[quote=“raumin, post: 28024, member: 22348”]Cool fractal13, Tom, these modifications are already implemented ? I updated this morning, i tried to image a machine with logical volume but no success.
i let Linux as operating system and put multiple partitions image - single disk.
Thank you[/quote]
I’m absolutely certain they’re included.
-
raumin,
Check the /images/YOURIMAGE directory. If there is a d1.partitions file, then the partitions were saved during the upload. If not, did you pull from svn, or download the tar.gz file to update?
Thanks.
-
Hi, i update this morning, the imaging works great but when the pc restart, a dash is blinking and that’s all. No grub loading.
d1.mbr is well present, all my partitions are presents and have the correct size.
During the pxe boot, i get a message :
[CODE]esas2r : driver will no be loaded because no ATTO esas2r devices were found i2c-parport-light adaptater type unspecified[/CODE]
Is this important ?
-
[quote=“raumin, post: 28195, member: 22348”]Hi, i update this morning, the imaging works great but when the pc restart, a dash is blinking and that’s all. No grub loading.
d1.mbr is well present, all my partitions are presents and have the correct size.
During the pxe boot, i get a message :
[CODE]esas2r : driver will no be loaded because no ATTO esas2r devices were found i2c-parport-light adaptater type unspecified[/CODE]
Is this important ?[/quote]
No, this is because your system most likely has either of those two devices. It may be a problem if your systems actually DO have these devices and these errors still are present.
-
Ok, i just dont know what it is. i2c is a sensor no?
-
raumin.
Are you still having grub2 problems? I just found some more information that could cause grub2 imaging to fail in some common cases. I’m working on a patch now that appears to be promising.
-
I’ve submitted scripts that improve the grub2 deployment:
[url]http://fogproject.org/forum/threads/improved-grub2-solution-proposal.10674/[/url]
-
I’m working on rebuilding my build system(s) as needed after my transition from this weekend.
That said, I’ve added the code base for this into svn. I have not rebuilt the init’s yet, but that will come shortly.
Thank you,
-
Hi,
@fractal13, i didnt retry with logical partition…i put everything in primary.
@Tom, ok !!But i’ll give it a try ! Thank your support !!
-
[quote=“raumin, post: 28958, member: 22348”]Hi,
@fractal13, i didnt retry with logical partition…i put everything in primary.
@Tom, ok !!But i’ll give it a try ! Thank your support !![/quote]
I’m rebuilding the init’s as we speak. Due to my switchover it’s taking a little longer than I’m used to, but it should be completed sometime today.
-
@fractal13 I can not see your script solution for grub2. I think it was moved or deleted. the link is not working.
-