How to add live cd iso to Fog 1.2 on Ubuntu 12.04
-
I could be wrong, but is /dev/nfs your own nfs mount point?
-
@AndersenJ Here’s an example that utilizes the built-in memdisk kernel. https://wiki.fogproject.org/wiki/index.php/DBAN_(Darik’s_Boot_and_Nuke) However doing it this way, you need much more RAM than the size of the ISO. There are cleaner ways to do it, and sometimes other ways are required depending on what bootable ISO you’re trying to use.
-
@Tom-Elliott /dev/nfs is just something I copied from the initial example. I don’t really understand a lot about iPXE or how it works, or how nfs mounting is supposed to work.
-
@Wayne-Workman Thanks, I’ll take a look at that.
-
I noticed an additional detail: When I open a web browser to view my.fog.i.p/fog/service/ipxe/arch I can see all my files from the server but not from the computer I’m using as a client. Does anyone know what would cause that?
Edit: never mind, that was an unrelated bug with the client.
-
@Trixsta101 Here is my working Clonezilla setup.
:CLONEZILLA kernel http://${fog-ip}/fog/service/ipxe/clonezilla/vmlinuz initrd http://${fog-ip}/fog/service/ipxe/clonezilla/initrd.img imgargs vmlinuz boot=live username=user fetch=http://${fog-ip}/fog/service/ipxe/clonezilla/filesystem.squashfs locale=en_US.UTF-8 keyboard-layouts=NONE boot || echo failed to boot prompt goto MENU```
-
@jbonilla Just in-case anyone else is trying to get this working, I had to add “union=overlay” after the “filesystem.squashfs” portion to get it working on my server.
:CLONEZILLA
kernel http://${fog-ip}/fog/service/ipxe/clonezilla/vmlinuz
initrd http://${fog-ip}/fog/service/ipxe/clonezilla/initrd.img
imgargs vmlinuz boot=live username=user fetch=http://${fog-ip}/fog/service/ipxe/clonezilla/filesystem.squashfs union=overlay locale=en_US.UTF-8 keyboard-layouts=NONE
boot || echo failed to boot
prompt
goto MENU``` -
- list item
FOG version : 1.4.4
OS: Ubuntu 16.04.2 X64
I want to run a ubuntu 16.04 live iso using pxe on my client. I have read all the guides in this topic.
I only managed to make the Hiren boot to work(only the mini windows works and not the linux enviroment). I have followed instruction from Biet Jeremie to fill in the advanced setting box for Ubuntu iso file. When I choose Ubuntu from the advance menu it loads the Ubuntu menu and when I choose:
“try ubuntu without installation” it says it can not find the medium congaing the live file system.
I have two problem:- I don’t know if the instruction provided has changed from the date this was discussed?
- I’m not sure if I just need to copy the iso file from Ubuntu or I need to extract it in some folder?
Has anyone got this to work?
- list item
-
@amir3161 Usually it’s better to open a new post as your question (Ubuntu 16.04, FOG 1.4.4) does not match the topic. Describe what you did, post your ipxe config and post a picture of the error.
One would think that if 14.04 worked as ISO 16.04 would also do. But maybe there is a difference. Read through this (talks about extracting the ISO because it does not boot otherwise) and open a new topic in case you still can’t make it work.
-
@Sebastian-Roth Thanks Sebastian. You are right! I was not sure if I should post here or create a new topic. I felt bad just to create another post while this was related to the same (kindda) issue.
I have followed the instructions in the link but still have problems. I will create a new topic and post dubug info there -
Failing to get DLCboot ISO to boot through this method.
I have tried with the iso in 2 locations: /ISO/DLCD/DLC.iso and /var/www/service/ipxe/DLCD/DLC.iso
I keep getting similar errors. First I tried with your paramaters
:DLCD
initrd http://$192.168.25.66/var/www/fog/service/ipxe/DLCD/DLC.iso
chain memdisk iso raw ||
goto MENUAnd I got this error:
Then I tried with
:DLCD
initrd http://$192.168.25.66/var/www/fog/service/ipxe/DLCD/DLC.iso
boot || echo failed to boot
prompt
goto MENU```and got this error
Any help or suggestions on why this is timing out or what I am doing wrong would be greatly appreciated. Tearing my hair out with this one.
Thanks
-
@dylz Usually it’s best to open a new thread instead of reviving such an old one that most probably is kind of a different situation - see FOG 1.2.0 is very old and we don’t even support that anymore.
Not to your issue. See there is a
$
sign in front of the IP address.http://$192....
, remove that and you might see it working. -
@sebastian-roth Thanks I’ll open a new thread. I tried removing the $ sign but it just takes me back to the menu.
The new thread has been opened up here