Booting Ubuntu 16.04 ISO from FOG; /dev/sr0: No medium found
-
@Tom-Elliott Sorry for the late reply, I’ve looked through that thread extensively before and again now, it’s why I’m left so utterly confused. The original poster of that thread has both a linux distro and hiren’s working, neither of which can I get working, despite having the same setup for the advanced configuration.
However, I did fix the /dev/sr0 problem by disabling the CD-ROM drive in the VM settings. Thank you for that.
I boot the iso, do Try Without Uninstalling, and then it just says it’s unable to find a medium containing a live file system. Other ISOs I try to boot from (that other people have working) just bring me to Operating System Not Found, which I believe means it’s failed booting the ISO and is trying to boot from the hard drive (of which there are none).
Again, sorry for the late reply, as it is this reply took two days to make I’ve been so swamped.
-
@Fitzzz You’re not following the information as laid out.
-
You are still trying to boot the ISO as an ISO, rather than extracting the ISO and using the file structure FROM the iso.
-
@Tom-Elliott I’ve tried that as well, it brought me to the same issue, unfortunately. I haven’t tried it for the other ISO’s though. Will do that this morning.
-
Then I need to see the menu entry and settings you have.
-
:MENU menu item --gap -- ---------------- iPXE boot menu ---------------- item mint Mint item ubuntu Ubuntu 16.04 Desktop item ubuntu2 Ubuntu Extracted ISO Test item hirens Hiren's Boot CD item shell ipxe shell item return Return to previous menu choose --default return --timeout 15000 target && goto ${target} :mint kernel http://$(fog-ip)/fog/service/ipxe/mint/casper/vmlinuz initrd http://$(fog-ip)/fog/service/ipxe/mint/casper/initrd.lz boot || goto MENU :ubuntu initrd http://${fog-ip}/fog/service/ipxe/Linux/ubuntu-16.04-desktop-amd64.iso chain memdisk iso raw || goto MENU :hirens initrd http://$(fog-ip)/fog/service/ipxe/hirens/hirens.iso chain memdisk iso raw || goto MENU :ubuntu2 kernel http://$(fog-ip)/fog/service/ipxe/Linux/iso/casper/vmlinuz.efi initrd http://${fog-ip}/fog/service/ipxe/Linux/iso/casper/initrd.lz boot || goto MENU :shell shell || goto MENU :return chain http://${fog-ip}/${fog-webroot}/service/ipxe/boot.php?mac=${net0/mac} || prompt goto MENU
Is this what you’re looking for? And how would I go about showing you the settings, exporting a backup?
As I post this I see the apostrophe affects the code’s display, does it affect how the code is interpreted by FOG? -
@Fitzzz For the location, you have the mint folder loaded in /var/www/html/fog/service/ipxe/mint, and the files exist?
-
@Tom-Elliott Yeah, the files are all there. I extracted everything from the ISO to that location, and previously I was using just the ISO. Both return “Operating System Not Found”.
-
@Fitzzz Is this in advanced menu? If the selections are in “advanced” i’d suspect you need to choose it from that location.
-
@Tom-Elliott Yeah, I go down to the advanced menu and select my options there. Seeing the menu items isn’t a problem.
-
Okay, what I just tried was recording the error message when trying to boot into the Ubuntu extracted ISO.
The error code is Error 0x3e11613b.
Searching for what it specifically is right now, just thought I’d update. -
@Fitzzz http://ipxe.org/err/3e1161 Error: DNS name does not exist
-
Do you know if this would be a configuration setting I may have screwed up in FOG itself? Or is this a system-based problem.
-
@Fitzzz First, I think, I need to know what version of FOG you’re running. Second, I need to see what the fog-ip variable is being set to to begin with. From the sounds of things, though, it would seem your dns has no record for the domain name you have defined as your fog-server.
-
@Tom-Elliott
It seems I made the disastrous decision to assume that the variable I saw online in another post was a FOG default-created and set variable, so I’ve been using it assuming it had been assigned the correct IP. I made that assumption because the first menu item I created, the original Ubuntu ISO, had worked, so I was just reusing what I had “working”.I changed the code to just the IP, because of that DNS issue and your question, and now I can successfully boot the extracted ISOs. Now I have a slew of other things to deal with therein, but at least now I’m there.
Mint and Ubuntu (extracted) need some work to get running, but Hiren’s runs perfectly,
-
@Fitzzz Post your working configuration, please?
-
Hi,
Did you manage to get this to go? I am in the same situation. I’ve tried both extracting and just using the ISOs. Looks like I can boot hiren but no luck with any version of Ubuntu tried 12.04 as someone said that worked differently.
Dan,
-
@bumlard That does work differently.
-
-
I’ve adapted this from the Fog Wiki page (which I had already TRIED to use), to what’s below… I get warning fsck not present so skipping file system. Mount, can’t find /root in /etc/fstab
mounting /dev on /root/dev failed no such file or directory.
My version in advanced section: (Hiren works fine but guess it doesn’t load drivers etc)
:ultimate
initrd http://${fog-ip}/${fog-webroot}/iso/HirenBootCD.iso
chain memdisk iso raw ||
goto MENU
:ubuntu16.04_64
set path /fog/service/ipxe/16.04_64
set nfs_path /var/www/html/fog/service/16.04_64
kernel http://10.60.54.224/fog/service/ipxe/16.04_64/casper/vmlinuz
initrd http://10.60.54.224/fog/service/ipxe/16.04_64/casper/initrd.lz
boot ||
goto MENU