Sunday 11 June 2017

Installing respun ISOs without an internet connection


Unfortunately the standard Ubuntu ISO requires an internet connection when installing on devices with a 32-bit boot loader otherwise the following error is encountered:

The 'grub-efi-ia32' package failed to install into /target/. Without the GRUB boot loader, the installed system will not boot.


My latest version of 'isorespin.sh' fixes this as it will now add the required GRUB packages allowing the installation to successfully complete.


Other Ubuntu ISOs including the Ubuntu flavours and distros based on Ubuntu (such as Linux Mint) etc. can also be respun and installed without the internet on 32-bit devices.

Update: Note the success of installing an ISO without internet on 32-bit devices depends on the original ISOs installation capability on 64-bit devices. For example as Lubuntu 17.04 cannot be installed on 64-bit devices without internet (as the ISO does not contain '/pool' with required packages) then likewise after respinning its installation on 32-bit devices is not possible. However Lubuntu 16.04.2 can be installed on both 64-bit and 32-bit devices after respinning. See http://cdimage.ubuntu.com/lubuntu/releases/16.04.2/release/lubuntu-16.04.2-desktop-amd64.list and http://cdimage.ubuntu.com/lubuntu/releases/17.04/release/lubuntu-17.04-desktop-amd64.list) for detailed package information.

If you find this useful then please donate using the following link http://goo.gl/nXWSGf as everything helps with development costs.

3 comments:

testMiniPC said...

Hi Ian,
First of all, great work as always.
Second, I was giving your newest isorespin a try and found some error messages while respinning a Lubuntu ISO:

mv: cannot move 'iso-chroot/usr/src/grub-efi-ia32-bin_2.02~beta3-4ubuntu2_amd64.deb' to 'iso-directory-structure/pool/main/g/grub2': No such file or directory
mv: target 'iso-directory-structure/pool/main/g/grub2' is not a directory

This is my isorespin.log

Script './isorespin.sh' called with '-i /home/test1/Development/ICS/lubuntu-17.04-desktop-amd64.iso -u -l "/home/test1/Development/ICS/rtl8723bs_4.12.0_amd64.deb" -f "/home/test1/Development/ICS/linuxium-install-UCM-files.sh" -f "/home/test1/Development/ICS/linuxium-install-bootloader.sh" -f "/home/test1/Development/ICS/wrapper-linuxium-install-UCM-files.sh" -w /home/test1/Development/ICS -c "wrapper-linuxium-install-UCM-files.sh"' ...
Work directory '/home/test1/Development/ICS' used ...
ISO '/home/test1/Development/ICS/lubuntu-17.04-desktop-amd64.iso' respun ...
Bootloader 'GRUB' added ...
Kernel updated with mainline kernel version '4.12.0-041200rc4-generic' ...
Local package '/home/test1/Development/ICS/rtl8723bs_4.12.0_amd64.deb' added ...
File '/home/test1/Development/ICS/linuxium-install-UCM-files.sh' added ...
File '/home/test1/Development/ICS/linuxium-install-bootloader.sh' added ...
File '/home/test1/Development/ICS/wrapper-linuxium-install-UCM-files.sh' added ...
Command run ...
# wrapper-linuxium-install-UCM-files.sh
./linuxium-install-UCM-files.sh: Extracting UCM files ...
./linuxium-install-UCM-files.sh: Installing UCM files ...
./linuxium-install-UCM-files.sh: Reloading UCM driver ...
./linuxium-install-UCM-files.sh: Installation of UCM finished
Respun ISO created as 'linuxium-v4.12-rc4-lubuntu-17.04-desktop-amd64.iso' in '/home/test1/Development/ICS'

I haven't tried this ISO yet, but I just wanted to share the info just to see if there was something wrong with my environment or is this an error in the isorespin script

Linuxium said...

Thanks for reporting this. I've updated the above post with the reasons for this and I've updated the script so the error messages are not displayed. Because of how the official Lubuntu 17.04 has been created you will not be able to install it without an internet connection however Lubuntu 16.04.2 will be installable.

testMiniPC said...

Thanks for letting me know and thanks for the quick update.

Post a Comment