make does not build target iso
# Installed anduinOS on a VM, looks good.
#got the source code with git
git clone https://github.com/Anduin2017/AnduinOS.git
cd AnduinOS/src
make
During make, there are a bunch of errors which scroll over the terminal. I guess the make session does not produce a log file that I can look at.
At the very end of the make session, I get:
[ OK ] Creating EFI boot image on /isolinux/efiboot.img...
10+0 records in
10+0 records out
10485760 bytes (10 MB, 10 MiB) copied, 0.00567311 s, 1.8 GB/s
mkfs.fat 4.2 (2021-01-31)
Installing for i386-pc platform.
grub-install: error: install device isn't specified.
[ OK ] Umount before exit...
umount: new_building_os/sys: no mount point specified.
umount: new_building_os/sys: no mount point specified.
umount: new_building_os/proc: no mount point specified.
umount: new_building_os/proc: no mount point specified.
umount: new_building_os/dev: no mount point specified.
umount: new_building_os/dev: no mount point specified.
umount: new_building_os/run: no mount point specified.
umount: new_building_os/run: no mount point specified.
[ OK ] Umount before exit succeeded
make: *** [makefile:55: current] Error 1
Hi!
What's the branch you are making? Are you builidng it on an AMD64 PC or i386? Mind if sharing more log in stdout? Any configuration change you made?
I'm building it in an AnduinOS VM 1.3.3
(proxmox, 64 bit) as stated on the README file.
the git command is listed, I don't know what branch it brings.
I did not modify args.sh or build.sh, I was hoping make would work as the README says.
(I want to learn how it builds an iso)
Yeah. Please run make and wait till its crash. Share as much log as you can.
I gave the VM 8 cores/16GB
make make.log 2>&1
something happened to the mirror, it cannot connect
Unable to connect to mirror.aiursoft.cn:http: [IP: 45.77.178.215 80]
make.log 2648 lines ... https://termbin.com/c2gc
mirror is up
make2.log file 12093 lines https://termbin.com/uukj
If the mirror is broken, simply change it via editing this file:
https://github.com/Anduin2017/AnduinOS/blob/1.4/src/args.sh
Find the:
export BUILD_UBUNTU_MIRROR="http://mirror.aiursoft.cn/ubuntu/"
And change it to any item in the following:
"https://archive.ubuntu.com/ubuntu/"
"https://mirror.aarnet.edu.au/pub/ubuntu/archive/" # Australia
"https://mirror.fsmg.org.nz/ubuntu/" # New Zealand
"https://mirrors.neterra.net/ubuntu/archive/" # Bulgaria
"https://mirror.csclub.uwaterloo.ca/ubuntu/" # Canada
"https://mirrors.dotsrc.org/ubuntu/" # Denmark
"https://mirrors.nic.funet.fi/ubuntu/" # Finland
"https://mirror.ubuntu.ikoula.com/" # France
"https://mirror.xtom.com.hk/ubuntu/" # Hong Kong
"https://mirrors.piconets.webwerks.in/ubuntu-mirror/ubuntu/" # India
"https://ftp.udx.icscoe.jp/Linux/ubuntu/" # Japan
"https://ftp.kaist.ac.kr/ubuntu/" # Korea
"https://ubuntu.mirror.garr.it/ubuntu/" # Italy
"https://ftp.uni-stuttgart.de/ubuntu/" # Germany
"https://mirror.i3d.net/pub/ubuntu/" # Netherlands
"https://mirroronet.pl/pub/mirrors/ubuntu/" # Poland
"https://ubuntu.mobinhost.com/ubuntu/" # Iran
"http://sg.archive.ubuntu.com/ubuntu/" # Singapore
"http://ossmirror.mycloud.services/os/linux/ubuntu/" # Singapore
"https://mirror.enzu.com/ubuntu/" # United States
"http://jp.archive.ubuntu.com/ubuntu/" # Japan
"http://kr.archive.ubuntu.com/ubuntu/" # Korea
"http://us.archive.ubuntu.com/ubuntu/" # United States
"http://tw.archive.ubuntu.com/ubuntu/" # Taiwan
"https://mirror.twds.com.tw/ubuntu/" # Taiwan
"https://ubuntu.mirrors.uk2.net/ubuntu/" # United Kingdom
"http://mirrors.ustc.edu.cn/ubuntu/" # USTC
"http://ftp.sjtu.edu.cn/ubuntu/" # SJTU
"http://mirrors.tuna.tsinghua.edu.cn/ubuntu/" # Tsinghua
"http://mirrors.aliyun.com/ubuntu/" # Aliyun
"http://mirrors.163.com/ubuntu/" # NetEase
"http://mirrors.cloud.tencent.com/ubuntu/" # Tencent Cloud
"http://mirror.aiursoft.cn/ubuntu/" # Aiursoft
"http://mirrors.huaweicloud.com/ubuntu/" # Huawei Cloud
"http://mirrors.zju.edu.cn/ubuntu/" # Zhejiang University
"http://azure.archive.ubuntu.com/ubuntu/" # Azure
"https://mirrors.isu.net.sa/apt-mirror/" # Saudi Arabia
"https://mirror.team-host.ru/ubuntu/" # Russia
"https://labs.eif.urjc.es/mirror/ubuntu/" # Spain
"https://mirror.alastyr.com/ubuntu/ubuntu-archive/" # Turkey
"https://ftp.acc.umu.se/ubuntu/" # Sweden
"https://mirror.kku.ac.th/ubuntu/" # Thailand
"https://mirror.bizflycloud.vn/ubuntu/" # Vietnam
To @pakair
grub-install: error: install device isn't specified.
I've encountered the situation you mentioned before.
The break point is at src/build.sh
sudo grub-install --efi-directory=efi --uefi-secure-boot --removable --no-nvram
At that time, I did rewrite it, but I just did it to make it pass the compilation.
I did not confirm whether the rewrite could successfully boot the system with UEFI.
I still use "BIOS" to boot.
================================================================
To @Anduin2017
關於樓主提到的這個情形,我以前有遇過,我有紀錄在另一個「討論串」。
中斷點在 src/build.sh,
在下面這一行
sudo grub-install --efi-directory=efi --uefi-secure-boot --removable --no-nvram
那時我有做了改寫,不過我只是為了讓我編譯可以過,
我並沒有確認那段改寫是否可以成功「UEFI」開機,
我目前都還是使用「BIOS」開機。
而且我發現您也還有持續發行新的版本,
表示在您的環境,「Creating EFI boot image」那段程式碼,是可以過的,這也是我一直有點納悶的。
以上提供您參考。
This error might only be happening with BIOS-only machines. I was always using UEFI to build and test and I have never encounterd this issue. I will start a BIOS-only VM to give it a test.
If you're able to make make work, let me know. I see various errors in the make2.log but I'm not a developer.
Tried again to build. make returns:
Processing triggers for hicolor-icon-theme (0.18-2) ...
[ OK ] Installing ubuntu-session-xsession... if available…
Package ubuntu-session-xsession is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
gnome-session ubuntu-session
Error: Package 'ubuntu-session-xsession' has no installation candidate
[ OK ] Umount before exit...
umount: /home/user/AnduinOS/src/new_building_os/dev: target is busy.
[ OK ] Umount before exit succeeded
make: *** [makefile:55: current] Error 100
eventhough gnome-session and ubuntu-session are installed.
The issue:
Error: Package 'ubuntu-session-xsession' has no installation candidate
Was fixed in 1.4. Can you try running make again in a virtual machine with UEFI?
I was able to upgrade my VM from 1.3.5 to 1.3.7 (do_anduino_upgrade) but cannot find version 1.4 to rebuild a VM. Point me where I can find 1.4 thanks
1.4 is not released yet. Just the source code 1.4 branch. You can build it via running make under the repo root.
I pointed to the 1.4 branch git clone https://github.com/Anduin2017/AnduinOS.git cd Anduinos make
TARGET_UBUNTU_VERSION=questing
BUILD_UBUNTU_MIRROR=http://archive.ubuntu.com/ubuntu/
TARGET_NAME=anduinos
TARGET_BUSINESS_NAME=AnduinOS
TARGET_BUILD_VERSION=1.4.0
make: *** [makefile:55: current] Error 1
there is no src/dist dir, no iso generated. make says: grub-install: error: install device isn't specified.
Is there a way to quiet the make output so that it only prints the [ OK ] parts?
Is there a way to quiet the make output so that it only prints the [ OK ] parts?
AFAIK no...
Is this virtual machine BIOS based or UEFI based?
Can you try building it in an UEFI based virtual machine?
Yes, UEFI 1.3.7 is a VM with 16 cores, 16 GB ram.
user@andu:~/AnduinOS$ ./build_all.sh -c ./config/fast.json 2>&1 > makelog (Send STDERR to STDOUT and save all output to makelog)
Today's run, about 1 hour. 34299 lines, 2M but cannot upload to termbin.com (too big)
Is there still an error?
I tried to clean up the makelog file, is 2900 lines now and was able to send it to termbin
https://termbin.com/jwvn
There is a section GNOME Shell 49.0 and after that it fails and says I need to do it manually. At the very end of the file it tells me it failed after 3 attempts.
On Tue, Oct 14, 2025 at 3:36 AM Anduin Xue @.***> wrote:
Anduin2017 left a comment (Anduin2017/AnduinOS#139) https://github.com/Anduin2017/AnduinOS/issues/139#issuecomment-3401166186
Is there still an error?
— Reply to this email directly, view it on GitHub https://github.com/Anduin2017/AnduinOS/issues/139#issuecomment-3401166186, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEJBX3HAL7SN777HK4S3S5L3XTGZDAVCNFSM6AAAAACASQL2MKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTIMBRGE3DMMJYGY . You are receiving this because you were mentioned.Message ID: @.***>
I did another build this morning. The last lines are:
[ WARN ] ============================================
[ WARN ] chroot ENV execution completed!
[ WARN ] ============================================
[ OK ] Run install_all_mods.sh in new_building_os succeeded
[ OK ] Sleeping for 5 seconds to allow chroot to exit cleanly...
[ OK ] Cleaning mods from new_building_os/root...
[ OK ] Clean up new_building_os /root/mods succeeded
[ OK ] Unmounting /proc /sys /dev/pts within chroot...
[ OK ] Unmount /proc /sys /dev/pts succeeded
[ OK ] Unmounting /dev /run outside of chroot...
umount: /home/user/AnduinOS/src/new_building_os/dev: target is busy.
[ OK ] Unmount /dev /run /proc /sys succeeded
[ OK ] Building ISO image...
[ OK ] Creating image directory...
rm: cannot remove 'image/isolinux/efi': Device or resource busy
[ OK ] Umount before exit...
umount: new_building_os/sys: not mounted.
umount: new_building_os/sys: not mounted.
umount: new_building_os/proc: not mounted.
umount: new_building_os/proc: not mounted.
umount: new_building_os/dev: not mounted.
umount: new_building_os/dev: not mounted.
umount: new_building_os/run: not mounted.
umount: new_building_os/run: not mounted.
[ OK ] Umount before exit succeeded
[WARNING] Build failed for LANG_MODE: en_US on attempt 3.
[ERROR] Build failed after 3 attempts for LANG_MODE: en_US.
[ERROR] Stopping build process and waiting for manual intervention.
I have no idea how to do the manual intervention. I just have a terminal.
I suspect there might be something wrong with current mountpoint. Something might unmount failed.
Can you run:
sudo lsblk
to help investigate?
An ideal output may be like:
anduin@ultra:~$ sudo lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
nvme1n1 259:0 0 931.5G 0 disk
├─nvme1n1p1 259:1 0 512M 0 part /boot/efi
└─nvme1n1p2 259:2 0 931G 0 part /
And no matter what output, reboot the server.
Make sure sudo lsblk shows everything clean. Retry make.
@.***:~/AnduinOS$ sudo lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS loop0 7:0 0 10M 0 loop /home/user/AnduinOS/src/image/isolinux/efi sda 8:0 0 32G 0 disk ├─sda1 8:1 0 1M 0 part ├─sda2 8:2 0 513M 0 part /boot/efi └─sda3 8:3 0 31.5G 0 part /
sda is my host SSD and I see a loop0. image/isolinux/efi has no files.
I wish I could "quiet" apt so that the output is manageable. looking at ./build_all.sh -c ./config/fast.json I do not understand it well. Even a sudo apt -qq does not quiet output.
On Tue, Oct 14, 2025 at 8:25 AM Anduin Xue @.***> wrote:
Anduin2017 left a comment (Anduin2017/AnduinOS#139) https://github.com/Anduin2017/AnduinOS/issues/139#issuecomment-3402415955
I suspect there might be something wrong with current mountpoint. Something might unmount failed.
Can you run:
sudo lsblk
to help investigate?
An ideal output may be like:
@.***:~$ sudo lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS nvme1n1 259:0 0 931.5G 0 disk ├─nvme1n1p1 259:1 0 512M 0 part /boot/efi └─nvme1n1p2 259:2 0 931G 0 part /
— Reply to this email directly, view it on GitHub https://github.com/Anduin2017/AnduinOS/issues/139#issuecomment-3402415955, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEJBX3E5S5U3JK4X5GBSFZT3XUIW3AVCNFSM6AAAAACASQL2MKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTIMBSGQYTKOJVGU . You are receiving this because you were mentioned.Message ID: @.***>