Linux kernel
-
@Maorui2k Ok, than it either seems like…
- you have a magic kernel installed on disk (we’ll try that one out in a minute)
- or booting from HD is different than PXE and USB
- or systemd is playing a role here.
For the first idea, this is something we can test. Boot up your installed Ubuntu and copy
/boot/vmlinuz-4.4.0-62-generic
(or whichever the one is that you boot on that system (find out byuname -a
) over to your FOG server. Keep the initrd.gz that you were using from the extracted ISO file last time. See if this makes a difference. -
@sebastian-roth I tried the 1st option, but the PC hung after the language selection screen showed up, both keyboard & power button were frozen. Didn’t see any error message, so I don’t know if it is realted to HID driver or not, but anyway I cannot do the testing, should be driver missed or conflicted.
-
@Maorui2k So which initrd did you use?
-
@sebastian-roth The one extracted from ISO
-
@Maorui2k Maybe the kernel version does not match up with the modules version in the initrd? What did you get from
uname -r
? If you get something different than4.4.0-62-generic
then try this:wget http://old-releases.ubuntu.com/releases/16.04.2/ubuntu-16.04.2-server-amd64.iso mkdir extract cd extract 7z x ../ubuntu-16.04.2-server-amd64.iso cd install gunzip initrd.gz mkdir extract cd extract cpio -idv <../initrd mv lib/modules/4.4.0-62-generic/ lib/modules/$(uname -r)/ find . -print | cpio -ov -H newc > ../initrd cd .. gzip initrd
You should end up with a newly created
initrd.gz
file. Copy that to/var/www/fog/service/ipxe/
directory on your FOG server and boot from that! -
@sebastian-roth still failed at the same position…
-
@Maorui2k I think I am out of ideas for now. Sorry to say this. It’s just way to complicated to merge an Ubuntu initrd with ours to make it work as a proper FOG initrd. I definitely won’t go there. Not sure what else you could try. Maybe think about buying new (proper) hardware?
-
@sebastian-roth I have no idea too… Changing hardware is not an option, too many PCs… Currently I would keep using fog 1.3.x and kernel 3.17.3, so far it could meet my requirement. Maybe I would try to merge the initrd later. Anyway thank you so much for your support!!!
-
@Maorui2k I am not saying it’s impossible to figure out but doing this in the forums one post every couple of days forth and back won’t get us anywhere. If you are really keen to get this solved then send over a machine so I can test and I’ll see what I can do. Just not sure if it’s worth sending it around the world as I am located in Germany.
You could still stick to test different linux distros like all kinds of live linux CDs (system rescue CD, …) as well as installed distros and see which ones work and which have the issue. Maybe you can figure out what they all have in common.
-
@sebastian-roth said in Linux kernel:
Just not sure if it’s worth sending it around the world as I am located in Germany.
His org could just buy you one and have it shipped to you. Of course you are deserving of much more than a crap hardware model, Sebastian.