Re: Newbie question about image generation

2021-12-03 Diskussionsfäden Carlos Almeida Jr via linux-fai
Diese Nachricht wurde eingewickelt um DMARC-kompatibel zu sein. Die
eigentliche Nachricht steht dadurch in einem Anhang.

This message was wrapped to be DMARC compliant. The actual message
text is therefore in an attachment.--- Begin Message ---
Thomas,

You hit the nail on the head.

Thank you very much! :)

Best regards from Brazil.--
Carlos Almeida Jr



Dec 3, 2021, 07:45 by la...@cs.uni-koeln.de:

>
> > The complete log was stored in: https://controlc.com/2cfb50fd
>
>
> + dd if=/dev/zero of=/tmp/scratch/efiboot.img bs=1M count=3
> cleanup_liveos_mounts
> + cleanup_liveos_mounts
>
> This is the part where it failes. I guess there's no disk space left
> in /tmp/scratch when creating this small image.
> -- 
> viele Grüße Thomas
>

--- End Message ---


Re: Newbie question about image generation

2021-12-03 Diskussionsfäden Thomas Lange


> The complete log was stored in: https://controlc.com/2cfb50fd


+ dd if=/dev/zero of=/tmp/scratch/efiboot.img bs=1M count=3
cleanup_liveos_mounts
+ cleanup_liveos_mounts

This is the part where it failes. I guess there's no disk space left
in /tmp/scratch when creating this small image.
-- 
viele Grüße Thomas


Re: Newbie question about image generation

2021-12-03 Diskussionsfäden Carlos Almeida Jr via linux-fai
Diese Nachricht wurde eingewickelt um DMARC-kompatibel zu sein. Die
eigentliche Nachricht steht dadurch in einem Anhang.

This message was wrapped to be DMARC compliant. The actual message
text is therefore in an attachment.--- Begin Message ---
Hi Thomas,

I've executed the command as you told me.

The complete log was stored in: https://controlc.com/2cfb50fd

Thanks,
--
Carlos Almeida Jr



Dec 3, 2021, 06:27 by la...@cs.uni-koeln.de:

> Hi Carlos,
>
> that is strange.
> I see this in my logs:
>
> Copying the nfsroot to CD image
> Copying the config space to CD image
> Parallel mksquashfs: Using 2 processors
> .
> .
> .
> Number of gids 1
>  root (0)
> mkfs.fat 4.2 (2021-01-31)
> Writing FAI CD-ROM image to /home/lange/a.iso. This may need some time.
> xorriso 1.5.2 : RockRidge filesystem manipulator, libburnia project.
>
> ISO image size and filename: 338M   /home/lange/a.iso
>
>
> So it seems that some commands are not exexcuted. Please call:
> bash -xv fai-cd 
>
> so we can debug why fai-cd stops without creating an ISO file.
>
>
>
>  > 3. Generating Image
>
>  > fai-cd -C /root/fai-bullseye -g $PWD/grub.cfg.install-only -m/home/mirror 
> /home/fai.iso
>
>  > All commands are executed flawlessly, but the ISO is not generated.
>
>  > Complete log: https://controlc.com/19c9cc6e
>
> -- 
> viele Grüße Thomas
>

--- End Message ---


Re: Newbie question about image generation

2021-12-03 Diskussionsfäden Thomas Lange
Hi Carlos,

that is strange.
I see this in my logs:

Copying the nfsroot to CD image
Copying the config space to CD image
Parallel mksquashfs: Using 2 processors
.
.
.
Number of gids 1
root (0)
mkfs.fat 4.2 (2021-01-31)
Writing FAI CD-ROM image to /home/lange/a.iso. This may need some time.
xorriso 1.5.2 : RockRidge filesystem manipulator, libburnia project.

ISO image size and filename: 338M   /home/lange/a.iso


So it seems that some commands are not exexcuted. Please call:
bash -xv fai-cd 

so we can debug why fai-cd stops without creating an ISO file.



> 3. Generating Image

> fai-cd -C /root/fai-bullseye -g $PWD/grub.cfg.install-only -m/home/mirror 
/home/fai.iso

> All commands are executed flawlessly, but the ISO is not generated.

> Complete log: https://controlc.com/19c9cc6e

-- 
viele Grüße Thomas