@george1421 I was able to fix the issue.
I update the fog server and set DHCP 067 to ipxe.efi
but at least it seems I need to disable secure start in the Hyper-V
@george1421 I was able to fix the issue.
I update the fog server and set DHCP 067 to ipxe.efi
but at least it seems I need to disable secure start in the Hyper-V
@george1421 Thank you!
I have the problem, that my Hyper-VM don´t show me the PXE menu:
Hyper-V gen2, booting PXE with the info:
But booting then up to Windows Login.
In the DHCP I set the 2 options 66 and 67:
Is there in FOG maybe a mistake in the settings?
Hello!
I need to reinstall 25 PCs with Windows 10. All PCs are in a local domain.
How is the correct way to create the base image?
My idea:
a) install one PC with Windows 10 new
b) install all programms
c) create the fog image
But did I get a problem, when all have the same UUID in the network? Also the name must be replaced by a new one. Then it should be join in the domain automatic.
A Tutorial would be great.
Thank you!
@sebastian-roth Hello Sebastian,
for my unterstanding:
When I choose “Advanced menu” in PXE menu, I log in and get back to the menu and see the menu items which has “Advanced Login Required”.
I enable Advanced Menu Login in iPXE General Configuration -> Advanced Menu settings:
now the menu item is displayed:
I login and hit enter, then this happen:
I guess I need to set the “Advanced menu command”? But why is this not out of the box working?
Or did I misunderstood this feature?
@sebastian-roth Hi Sebastian,
thank you!
Well, the 3 partitions are because of the Ubuntu software Raid.
I need the Raid to prevent system halt, because the server is not local monitoring. so no one will check if the HDD goes failed.
I finish my setup and try to capture … as long he copy 1:1 the HDD for the backup its fine
@sebastian-roth said in Capture Ubuntu 20.04 just free diskspace:
@seppim said in Capture Ubuntu 20.04 just free diskspace:
Host Primary Disk: /dev/md126
This might be specific to Intel (software) RAID, but I am not sure. Why do you need to use a complex setup with LVM or RAID?
Well, the LVM I dont need and already deleted.
The Raid I need when a disk get failure (not so unusual)
I finish setuping the Ubuntu Server and try then again to capture.
@sebastian-roth Hi Sebastian,
I made a data backup and install Ubuntu 20.04 new. This time with Ubuntu Software Raid 1 and no LVM.
When I start capture he throws the error: no resizeable disks where found.
I added this to my host:
Host Kernel Arguments: mdraid=true
Host Primary Disk: /dev/md126
This is my system:
cat /proc/mdstat
Personalities : [raid1] [linear] [multipath] [raid0] [raid6] [raid5] [raid4] [raid10]
md0 : active raid1 sdb2[1] sda2[0]
1046528 blocks super 1.2 [2/2] [UU]
md2 : active raid1 sdb4[1] sda4[0]
967189504 blocks super 1.2 [2/2] [UU]
[=====>...............] resync = 29.8% (288817088/967189504) finish=83.6min speed=135156K/sec
bitmap: 7/8 pages [28KB], 65536KB chunk
md1 : active raid1 sda3[0] sdb3[1]
8379392 blocks super 1.2 [2/2] [UU]
unused devices: <none>
Are this not resizeable or did I need to change the host settings?
Hello,
the instruction here:
Ubuntu 1910 Desktop
are not longer working, because the link:
http://archive.ubuntu.com/ubuntu/dists/eoan/main/installer-amd64/current/images/netboot/netboot.tar.gz
is no longer working!
I tried Ubuntu 20.04 … copy from the iso the content:
kernel tftp://${fog-ip}/liveOs/ubuntu/Desk20.04/vmlinuz
initrd tftp://${fog-ip}/liveOs/ubuntu/Desk20.04/initrd
imgargs linux root=/dev/nfs boot=casper netboot=nfs nfsroot=${fog-ip}:/images/liveOs/ubuntu/Desk20.04/ locale=en_US.UTF-8 keyboard-configuration/layoutcode=us quiet splash ip=dhcp rw
boot || goto MENU
but he did not find a live file system:
@sebastian-roth Hi Sebastian,
Or did you just blindly skip through the partition setup when installing Ubuntu.
Yes
Well, at the end he finished the capture … but seems the image on the fog server ist not really huge. I set compression to 20!
Size 4.5GB on FOG Server
Yes, the boot Partition is much to big. This happen, because:
I change the size of the LVM… but I do this again … Boot Partition I need just 1GB and the rest I added to the LVM.
I deploy now back the image (before 1HDD, now 2HDD in Raid1) and seems the LVM disadvantage ist “just” the time while capture/deploy
Hello,
I capture a physical Ubuntu 20.04 Server.
There is a 1 TB HDD, which are in different Partition´s.
Now I capture the PC and set the compression very high, to save diskspace on the FOG server.
But he show me for /dev/sda3 while capturing:
Device size 566GB
Space in use: 566GB
Free space: 0 Byte
And it takes hours to capture it.
Is it sure, that he just capture just the used space? Because in this partition are just around 10GB used.
This is the logical group and logical volume from Ubuntu 20.04
Filesystem Size Used Avail Use% Mounted on
udev 3.8G 0 3.8G 0% /dev
tmpfs 779M 1.4M 778M 1% /run
/dev/mapper/ubuntu--vg-ubuntu--lv 520G 6.9G 492G 2% /
tmpfs 3.9G 0 3.9G 0% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 3.9G 0 3.9G 0% /sys/fs/cgroup
/dev/sda2 398G 201M 378G 1% /boot
/dev/loop0 56M 56M 0 100% /snap/core18/1944
/dev/loop3 70M 70M 0 100% /snap/lxd/19032
/dev/loop5 32M 32M 0 100% /snap/snapd/10707
/dev/loop1 56M 56M 0 100% /snap/core18/1932
/dev/loop4 32M 32M 0 100% /snap/snapd/10492
/dev/loop2 68M 68M 0 100% /snap/lxd/18150
tmpfs 3.9G 5.6M 3.8G 1% /opt/omd/sites/monitoring/tmp
tmpfs 779M 0 779M 0% /run/user/1000
Thank you!
Hello,
I set the “fog.advancedlogin” to “All hosts”
I set an own menu item to “Advanced Options”
When I boot in the menu, I see the Advanced Menu item … he asking for a login.
After login, he switch back to the main menu, which looks exactly same as before.
Where is my mistake? I want display a menu item only after login.
Thank you!
Hello,
I use a own background … this has on Top a image and while the menu is displaying, its fine.
Because the menu has a top margin(?)
but when I start loading a image or ISO, then the screen will be cleared and he begin on top to write.
But this is not good to read, because the background image is behind.
Can I set a top margin for all lines which are printed on the sreen?
Thank you!
@george1421 Hello,
thank you! This is now loading super fast. Just around 10sek.
But:
on my physical laptop he throw an error, there is not enough memory available to create virtual RAM disk.
On my Virtual Box VM, I have first the same error (2.3GB Ram) and increase it to 4.2GB … then he booting the Hirens BootCD.
But the Laptop has 8GB Ram … did you know why I get this error?
My Parameters:
initrd http://${fog-ip}/iso/HBCD_PE_x64.iso
chain memdisk iso raw ||
boot || goto start
Thank you!
@tom-elliott Hello,
how can I get the http path, where I need to copy the ISO to?
I installed FOG on my Ubuntu 18 Server
Hello,
when I load an 1.3GB ISO over pxe it takes very long … around 15min.
But I have a 5GBit Link. A iPerf3 speed test show me to the fog server:
Connecting to host 192.168.0.244, port 5201
[ 4] local 192.168.0.98 port 63421 connected to 192.168.0.244 port 5201
[ ID] Interval Transfer Bandwidth
[ 4] 0.00-1.00 sec 120 MBytes 1.01 Gbits/sec
[ 4] 1.00-2.01 sec 22.8 MBytes 189 Mbits/sec
[ 4] 2.01-3.00 sec 109 MBytes 918 Mbits/sec
[ 4] 3.00-4.00 sec 144 MBytes 1.21 Gbits/sec
[ 4] 4.00-5.00 sec 149 MBytes 1.25 Gbits/sec
[ 4] 5.00-6.00 sec 140 MBytes 1.17 Gbits/sec
[ 4] 6.00-7.00 sec 170 MBytes 1.42 Gbits/sec
[ 4] 7.00-8.00 sec 175 MBytes 1.47 Gbits/sec
[ 4] 8.00-9.00 sec 159 MBytes 1.34 Gbits/sec
[ 4] 9.00-10.00 sec 144 MBytes 1.21 Gbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bandwidth
[ 4] 0.00-10.00 sec 1.30 GBytes 1.12 Gbits/sec sender
[ 4] 0.00-10.00 sec 1.30 GBytes 1.12 Gbits/sec receiver
So around 1.12Gbits … way takes to load the ISO over TFTP so long?
Thank you!
@truetus Hello,
I tried also to boot the Hirens BootCD and same problem with bootmgr
Maybe someone has the correct option?
To boot the complete ISO takes a quit longer time, right?
Thank you!
@george1421 Hello,
yes, but not working. I guess because I use the files from the Hiren`s Image?:
He load the 1.3GB boot.wim … and after the error displayed.
I set this in the menu:
set tftp-path tftp://${fog-ip}
set pe-path ${tftp-path}/os/hirens
kernel ${tftp-path}/wimboot gui
imgfetch --name BCD ${pe-path}/BCD BCD
imgfetch --name boot.sdi ${pe-path}/boot.sdi boot.sdi
imgfetch --name boot.wim ${pe-path}/boot.wim boot.wim
boot || goto MENU
Files in folder:
@george1421 Hello,
thank you … I´m booting via Virtualbox … but now it seems the Hiren´s Boot CD is a better choice for rescue systems:
https://www.hirensbootcd.org/
I download the latest ISO and mount it:
I read different posts:
https://forums.fogproject.org/topic/12939/adding-hiren-s-bootcd-pe-to-advanced-menu
https://wiki.fogproject.org/wiki/index.php/Include_any_ISO_in_the_FOG_Bootmenu#Hirens_15.04 (seems it is Ubuntu 15.04)
https://forums.fogproject.org/topic/10944/using-fog-to-pxe-boot-into-your-favorite-installer-images/19?_=1609149532133
But not sure how do.
Maybe you have a instruction for the current Hiren´s Boot CD?
Thank you!