Open ludo77 opened 1 year ago
**Describe the bug after creating the iso, I get the busybox window
grub >
To reproduce Steps to reproduce the behavior :
I use your script ./build.sh -
with the config.sh file (which I've modified with my programs): here's the script:
`#!/bin/bash
export TARGET_UBUNTU_VERSION="jammy"
export TARGET_UBUNTU_MIRROR="http://us.archive.ubuntu.com/ubuntu/"
export TARGET_KERNEL_PACKAGE="linux-generic"
export TARGET_NAME="ubuntu-from-scratch"
export GRUB_LIVEBOOT_LABEL="Try Ubuntu FS without installing"
export GRUB_INSTALL_LABEL="Install Ubuntu FS"
export TARGET_PACKAGE_REMOVE=" ubiquity \ casper \ discover \ laptop-detect \ os-prober \ "
function customize_image() {
apt-get install -y \ mate-core \ software-properties-common \ xorg \ xserver-xorg-video-vesa \ synaptic \ xinit \ lightdm \ xfonts-base \ python3-pip \ nano
wget "https://www.zotero.org/download/client/dl?channel=release&platform=linux-x86_64" -O zotero64.tar.bz2 tar -xf zotero64.tar.bz2 mv Zotero_linux-x86_64 /opt/zotero cd /opt/zotero ./set_launcher_icon
cd / wget -qO- https://cloud.r-project.org/bin/linux/ubuntu/marutter_pubkey.asc | gpg --dearmor -o /usr/share/keyrings/r-project.gpg echo "deb [signed-by=/usr/share/keyrings/r-project.gpg] https://cloud.r-project.org/bin/linux/ubuntu jammy-cran40/" | tee -a /etc/apt/sources.list.d/r-project.list apt install --no-install-recommends r-base
wget https://download1.rstudio.org/electron/jammy/amd64/rstudio-2023.03.0-386-amd64.deb apt install -f ./rstudio-2023.03.0-386-amd64.deb cd / rm rstudio-2023.03.0-386-amd64.deb zotero64.tar.bz2
cat < /etc/apt/preferences.d/nosnap Package: snapd Pin: release * Pin-Priority: -1 EOF
cat < /etc/apt/preferences.d/firefox-for-nosnaps Package: firefox Pin: release o=Ubuntu Pin-Priority: -1
Package: * Pin: release o=LP-PPA-mozillateam Pin-Priority: 99 EOF
cat < /etc/apt/apt.conf.d/50unattended-upgrades-firefox Unattended-Upgrade::Allowed-Origins:: "LP-PPA-mozillateam:${distro_codename}"; EOF
add-apt-repository ppa:mozillateam/ppa apt install firefox
pip install jupyterlab
# useful tools apt-get install -y \ libreoffice \ imagej \ ugene \ vlc \ python3-biopython
apt update apt upgrade
}
export CONFIG_FILE_VERSION="0.4"`
Desktop (please complete the following information):
**Describe the bug after creating the iso, I get the busybox window
grub >
To reproduce Steps to reproduce the behavior :
I use your script ./build.sh -
with the config.sh file (which I've modified with my programs): here's the script:
`#!/bin/bash
This script provides common customization options for the ISO
Usage: Copy this file to config.sh and make changes there. Keep this file (default_config.sh) as-is
so that subsequent changes can be easily merged from upstream. Keep all customiations in config.sh
The version of Ubuntu to generate. Successfully tested: bionic, cosmic, disco, eoan, focal, groovy, jammy
See https://wiki.ubuntu.com/DevelopmentCodeNames for details
export TARGET_UBUNTU_VERSION="jammy"
The Ubuntu Mirror URL. It's better to change for faster download.
More mirrors see: https://launchpad.net/ubuntu/+archivemirrors
export TARGET_UBUNTU_MIRROR="http://us.archive.ubuntu.com/ubuntu/"
The packaged version of the Linux kernel to install on target image.
See https://wiki.ubuntu.com/Kernel/LTSEnablementStack for details
export TARGET_KERNEL_PACKAGE="linux-generic"
The file (no extension) of the ISO containing the generated disk image,
the volume id, and the hostname of the live environment are set from this name.
export TARGET_NAME="ubuntu-from-scratch"
The text label shown in GRUB for booting into the live environment
export GRUB_LIVEBOOT_LABEL="Try Ubuntu FS without installing"
The text label shown in GRUB for starting installation
export GRUB_INSTALL_LABEL="Install Ubuntu FS"
Packages to be removed from the target system after installation completes succesfully
export TARGET_PACKAGE_REMOVE=" ubiquity \ casper \ discover \ laptop-detect \ os-prober \ "
Package customisation function. Update this function to customize packages
present on the installed system.
function customize_image() {
install graphics and desktop
zotero
wget "https://www.zotero.org/download/client/dl?channel=release&platform=linux-x86_64" -O zotero64.tar.bz2 tar -xf zotero64.tar.bz2 mv Zotero_linux-x86_64 /opt/zotero cd /opt/zotero ./set_launcher_icon
R et Rstudio
cd / wget -qO- https://cloud.r-project.org/bin/linux/ubuntu/marutter_pubkey.asc | gpg --dearmor -o /usr/share/keyrings/r-project.gpg echo "deb [signed-by=/usr/share/keyrings/r-project.gpg] https://cloud.r-project.org/bin/linux/ubuntu jammy-cran40/" | tee -a /etc/apt/sources.list.d/r-project.list apt install --no-install-recommends r-base
wget https://download1.rstudio.org/electron/jammy/amd64/rstudio-2023.03.0-386-amd64.deb apt install -f ./rstudio-2023.03.0-386-amd64.deb cd / rm rstudio-2023.03.0-386-amd64.deb zotero64.tar.bz2
cat < /etc/apt/preferences.d/nosnap
Package: snapd
Pin: release *
Pin-Priority: -1
EOF
cat < /etc/apt/preferences.d/firefox-for-nosnaps
Package: firefox
Pin: release o=Ubuntu
Pin-Priority: -1
Package: * Pin: release o=LP-PPA-mozillateam Pin-Priority: 99 EOF
cat < /etc/apt/apt.conf.d/50unattended-upgrades-firefox
Unattended-Upgrade::Allowed-Origins:: "LP-PPA-mozillateam:${distro_codename}";
EOF
add-apt-repository ppa:mozillateam/ppa apt install firefox
pip install jupyterlab
apt update apt upgrade
}
Used to version the configuration. If breaking changes occur, manual
updates to this file from the default may be necessary.
export CONFIG_FILE_VERSION="0.4"`
Desktop (please complete the following information):