Booting Linux and Windows ISO over PXE Post #1245
-
Thanks Wayne. Don’t feel pressure to work on it.
I understand where you are coming from. I worked on this all day.
What is the proper way to make this work though, or can it work? Do I have to extract the .iso to folders? I really don’t want to do that, but if that is what I have to do to make it work then I am willing to do it.
I am the systems admin for over 100 computers and a fog server would make life so much easier. Being able to install windows over PXE, test hardware over PXE, or run AV over PXE would cut down on so much time.
Again don’t feel pressure to work over the weekend. This can wait. Thanks for the response though. -
@steven-attaway The problem with booting Linux ISO’s depends on the Distro you’re trying to boot.
For example, if you’re trying to run an ISO that install’s a linux distribution, the way they’re usually setup is to be booted from a CD. During the Load up of the OS, the OS will actually expect the CD in the drive, and if it’s not found it will not boot because it cannot be found. This is why you need to extract the ISO’s as the files in use on how the OS operates, are not forcibly looking for the CD, but the ISO options to boot are defining a look for the CD.
YUMI or unetbootin are not required to perform the same things and this is because what they do. Essentially, the extract the ISO FOR you and place the files on the USB or Drive you choose.
-
@Tom-Elliott Was just trying to figure out a more simple way for folks.
-
@steven.attaway Here is an example for adding DBAN to FOG: https://wiki.fogproject.org/wiki/index.php/DBAN_(Darik's_Boot_and_Nuke)
This method will work with most Linux distributions - it uses the built in Memtest kernel that the FOG boot environment already has. You don’t always have to extract but if you don’t extract, you absolutely have to mount.
For stuff that is non-Linux based, you will have to do some extracting to get the kernels and inits and such where they need to be for it to work.
-
@Wayne Workman @Tom-Elliot OK so it makes total sense now why extracting is the way to go. I’m not a big fan, but it does seem that it will be the most stable and proven method. So with that being said,
- What would be the correct command line for what I showed you earlier? Assuming all folders are the same and the .iso file will be extracted into some basic folder name, one folder deeper.
- Is this the same method for Microsoft?
- Is there a page that I can reference with all the commands that are being used in the fog advance configuration options? I like trying new things, but I can’t try new things if I can’t speak the language.
- I like the speed of Sanboot, but I notice a lot of initrd being used. Is one better than the other?
Seriously, thanks for all the help.
-
@steven.attaway Actually, I believe Windows ISO’s can just be loaded directly. They’re not implicitly looking for a CD/DVD Drive. The ONLY requirement is that you have enough RAM. For example, if it’s a 4GB DVD, you need AT LEAST 4GB of ram, but most likely far more.
-
@Tom-Elliott As there isn’t much that we can do to “solve” the question, is it safe to at least solve the thread so people don’t think we’re trying to come up with a fix for the problem ourselves?
-
@Tom-Elliott I added windows ISO booting to the WiKi to-do - so now I won’t forget.
-
@Wayne-Workman I am fine with you guys marking it as solved, but I would still like some direction on the coding side and maybe a reference to where I can find a list of what commands I can use, so that I am not just following what other people are doing and I can learn it for my self. Thanks.
-
@steven.attaway for the record - I’ve been messing with adding win7 to FOG as an ISO… no luck so far - I’m working on it tonight too.
-
Booting a Windows image over the network will work best with a WDS server that you chain into FOG. I do not have the how-to handy though.
As for using YUMI, good idea. I’ll take a look at my YUMI flash drive and see how it makes the boot file.
-
I’m only solving because, as far as I’m concerned, the thread question is solved. That said, of course I don’t mind, and I’m sure others won’t either, helping with the learning of the code.
One of the best resources for learning how ipxe does coding, outside of the FOG stuff, is directly from http://ipxe.org/scripting
-
-
@Tom-Elliott Thank you!
With the help of this site http://ipxe.org/howto/winpe I will eliminate “copying the iso to ram” that we have tragically been dealing with for so long.
We will be able to boot a 200mb windows PE environment and auto-launch win7 installation from a network location on the fog server via Samba.
Give me time - but expect a WiKi article on this in the near future
-
@Wayne-Workman Thanks guys for all your help.
-
@Wayne-Workman That is much more elegant than either of my solutions. I doubt you will need my help, but give me a poke if you want me to look at anything with you.