Open efschu opened 1 year ago
As my devstation is a VM I ended up in adding a second virtual disk and install thinstation from chroot on it.
Then copied the image via iPXE booted clonezilla. Struggled a bit with iPXE config for clonezilla so I want to share a working "line"
:clonezilla
echo Starting CloneZilla with default options
kernel http://<your-IP>/clonezilla/live/vmlinuz
initrd http://<your-IP>/clonezilla/live/initrd.img
imgargs vmlinuz boot=live config noswap nolocales edd=on nomodeset ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_keymap="" ocs_live_batch="no" ocs_daemonon="ssh" usercrypted=Kb/VNchPYhuf6 ocs_lang="" vga=788 nosplash noprompt fetch=http://192.168.0.141/clonezilla/live/filesystem.squashfs
boot || goto failed
goto start
Hi,
I'm having trouble to install it to disk. Installed devstation with latest iso.
build.conf
``` ################################################ ### --- Thinstation Build Config --- ### ################################################ # # # This is Thinstation s basic setup file. In this file you decide which # hardware, programs and features to be included in the Thinstation # boot image generated by running "./build". # # You can customize/limit the possibilities in the thinstation.conf # files later. # # Anything after a "#" is a comment. You activate "things" by removing # the "#" and remove "things" by putting a "#" in front of them. # # First we define which modules to include. Modules are hardware # drivers. NEVER include more than necessary - the more modules, the # longer boot time. ######################################################## ### --- Machine Modules to include in boot image --- ### ######################################################## # A machine profile is a set of modules for a specific set of hardware # components like a thinclient with adapters. It does not include any # filesystem modules, those need to be selected individualy. Making a # a machine profile is a two step process. First you will need to make # an allmodules build like "./build --allmodules" with the extensions-x # package included. Once the client machine is booted with that image # you can open and xterm or telnet in and run "hwlister.sh". hwlister.sh # will compile some lists and attempt to post them to the pxe server assigned # to the client. If the pxe server is this workstation and you are hosting # files directly out of this build env, you can then run # "./mkmachine SOME-MODEL" and the files will be put into the machine folder # under that model name. Now all you have to do is add a line to this file # like "machine SOME-MODEL" and you will no longer have to make # allmodules builds. If this is not the pxe server, you will have to # move stuff around on your own, but the most important files are # modules.list and firmware.list. ################################################ ### --- Modules to include in boot image --- ### ################################################ # Any modules may be added as "module" or "module_pkg". # If defined as a "module", the driver is included in the boot image. # If defined as a "module_pkg", the driver is added from outside the # image, such as from a tftp server. See note below for more details. # # Normally you should use "module". Only use "module_pkg" if you want # to dynamically load modules. # Note: If you create a module_pkg network driver, and decide to load it # from a tftp server, it won t work. This is because the image # won t have a network driver to get the module_pkg in the first # place. #!Hardware #!!Machine module list #machine NT-A3500 # Foxconn AMD E-350 Barebone #machine NT-535 # Foxconn Intel D525 Barebone #machine Dell-FX170 # Dell FX170 D525 Atom Machine #machine VMWare # A good set of modules for a VmWare Virtual Machine #machine Virtualbox-4.1 # A good set of modules for a Virtualbox Virtual Machine #machine qemu #machine classic_generic # Big list of modules that you can choose by unremarking them #machine foxconn-nT-330i # Foxconn nT 330i Barebone #machine foxconn-nT-435 # Foxconn nT 435 Barebone #machine foxconn-nT-535 # Foxconn nT 535 Barebone #machine foxconn-nT-A3800 # Foxconn nT A3800 Barebone #machine foxconn-nT-i2847 # Foxconn nT i2847 Barebone #machine foxconn-nT-iBT18 # Foxconn nT iBT18 Barebone #machine foxconn-nT-n270 # Foxconn nT n270 Barebone #machine Acer-Revo-M1-601 # Acer Revo M1-601 #machine Lenovo-T420s # Lenovo T420s Laptop #machine Lenovo-T430s # Lenovo T430s Laptop machine Fujitsu_Furtro_S720 #!!Wireless Stuff #package wpa_supplicant #package wireless #package wifi-connect #!!!Misc Modules #!!Filesystem Support # Every mounted device needs a filesystem, so choose which ones you need. module usb-storage #module autofs4 # Automount and autofs support module isofs # ISO9960 file system support for CDRoms module udf # CDRom UDF file system support module vfat # Fat and VFat file system support #module ntfs # NTFS file system support #module ext2 # Ext2 file system support module ext4 # Ext4 file system support module nfs # NFS file system support #module cifs # CIFS support (use either this or smbfs - not both) ################################################# ### --- Packages to include in boot image --- ### ################################################# # A package is a program or utility. # Any packages may be added as "package" or "pkg". # If defined as a "package", the program is included in the boot image. # If defined as a "pkg", the program is added from outside the image. # Normally, you should use "package". Only use "pkg" if you want to # dynamically load programs. # --- Packages to include in boot image # --- Packages below may be "package" or "pkg" #!!Miscellaneous #package overlayfs # This is needed in order for squashfs compression mode to work. #package ts-classic # The classic ts logic for network/netfiles/hostname/mounting/telnetd/telnet/playcd #package automount package netfiles # Adds only this package instead of the whole ts-classic. netfiles lets you get thinstation.conf.xxx files # from the TFTP-server package udisks package automount #package networkmanager package autonet #package udisks-glue #package ntp # Utility to obtain date & time from network #package firewall # Basic firewall that blocks inbound "attacks" # Use with caution if you intend to run servers # such as sshd,tftpd,lighttpd on this image #package sound-esd # Enable sound-esd or sound-nasd if you want to be able to control #package sound-nasd # sound on your thin client from another computer or # your remote session. #package alsa #package gnome-core #package gnome-control-center #package volumeicon #package kismet #package gst-plugins-base #package gst-plugins-good #package crystalhd #package libva #package iptables # IP Tables support package cpufreq #package cpuspeed #package wine # Windows Application Execution Platform #!!X related # --- XOrg 7.7 #package xorg7-v4l package xorg7-vesa #A fallback driver that works with almost everything. Does allow resolution changes package xorg7-vmware package xorg7-qxl package xorg7-ati #ATI video driver for most modern ATI chipsets. Usually requires several firmwares package xorg7-amdgpu package xorg7-nouveau #New opensource nvidia driver #package xorg7_nvidia #Proprietary nvidia driver package xorg7-openchrome #Via Video Chipsets driver package xorg7-intel #Intel video driver for most modern chipsets except the GMA3500/3600 #package xorg7-sis #!!Locale or localization files for keyboard and fonts. (Language/Country) #package locale-cs_CZ # Czech #package locale-da_DK # Danish package locale-de_DE # German #package locale-en_GB # English-Great Britain package locale-en_US # English-US #package locale-es_ES # Spanish #package locale-fi_FI # Finnish #package locale-fr_BE # French Belgium #package locale-fr_CA # French Canadian #package locale-fr_CH # French Switzerland #package locale-fr_FR # French #package locale-hr_HR # Croation #package locale-hu_HU # Hungarian #package locale-it_IT # Italian #package locale-ja_JP # Japanese #package locale-nb_NO # Norwegian (bokm\Uffffffff #package locale-pl_PL # Polish #package locale-pt_PT # Portuguese #package locale-pt_BR # Portuguese-Brazil #package locale-ru_RU # Russian #package locale-sv_SE # Swedish #package locale-tr_TR # Turkish #!Applications #!!Connection Package types. Choose *at least* one! #package freerdp # X RDP Client - fork of rdesktop #package rdesktop # X RDP client for Windows Terminal Services (ver 1.7) #package vncviewer # VNC client (vncviewer) #package xorg7vnc # Remote Control Client Workstation #package ica # Citrix ICA client support #package tarantella # Tarantella client support #package xnest # XDM in a window client #package urxvt # Light Xterm Client (vt102) #package xterm # Xterm Client (vt220) #package ssh # Secure Shell client #package tn5250 # 5250 terminal emulator #package dillo # Dillo light web browser #package thinlinc # Cendio ThinLinc client support #package nx # No Machine NX client #package 2x # 2X client #package spice # Redhat Spice Client #package java # Java runtime #package firefox # Firefox current Web Browser #package chrome # Google Chrome Web Browser #package chromium # Chromium Web Browser #package kiosk # Rkiosk Plugin for Firefox #package flash # Flash Current #package filezilla # FileZilla FTP Client for X #package git # GIT Version Control System #package gparted # Gnome Partition Manager package open-vm-tools #package vboxguest #package medit # Notepad #package mplayer # DVD and video player #package vmview # VMware Open-View Client, PCOIP #package xbmc # XBMC Media Center for X #package evince # X PDF Viewer #package openkiosk # OpenKiosk is a cross platform kiosk web browser based on Mozilla Firefox #package xdmcp-connect # Simple connection to XDMCP server #!!Window Managers. Choose no more than 1 window manager. # Not needed if you don t want to manage windows. #package openbox # A spartin clean/fast window manager. #package xdesktop-kiosk # A locked down desktop kiosk using the openbox wm (See packages/xdesktop-kiosk/build/conf for # more help. #package icewm # "ICEWM" window manager. Makes TS a light workstation. #package icewm-theme-xp #package icewm-themes # Extra IceWM themes #package icewm-theme-bernstein #package icewm-theme-bluecrux #package icewm-theme-liquid package xfwm4 #package xfwm4-extra package xfce4-power-manager package terminal # Terminal emulator for xfwm4 -- Pulls in xfwm4 package thunar # File Manager for xfwm4 -- Pulls in xfwm4 #!!Window Manager Utils #package idle-shutdown # Package that lets you specify automatic shutdown settings and logic. #package wbar # Adds icons to desktop #package idesk #!!Other services #package www # Web access to client. From a browser: "http://thinstation.conf.buildtime
```AUDIO_LEVEL=90 MIC_LEVEL=0 SESSION_0_TYPE=xfwm4 SESSION_0_AUTOSTART=on XFWM4_COMPOSITING=true XFWM4_RED=0 XFWM4_GREEN=0 XFWM4_BLUE=0 XFWM4_START_POSITION="BOTTOM" DESKTOP_ICON_SIZE=48 DESKTOP_FONT_SIZE=8 DESKTOP_SHOWTRASH=false DEKSTOP_SHOWHOME=false DESKTOP_SHOWREMOVEABLE=true DESKTOP_SHOWFILESYSTEM=false GTK_THEME=Adwaita XFWM4_THEME=Default PANEL_PAGER=false PANEL_USER=false PANEL_REV_CLOCKSYSTRAY=true ICONS_THEME="Adwaita" ICONS_CUT_SIZES="256x256 scalable" XFWM4_START_ICON=ThinStation XTERM_CMD="xfce4-terminal" NET_USE=BOTH NET_USE_DHCP=on NET_HOSTNAME=ts_* NET_TELNETD_ENABLED=ON TIME_ZONE=Europe/Berlin NET_TIME_SERVER=us.pool.ntp.org NET_REMOTE_ACCESS_FROM="0.0.0.0" TFTP_BLOCKSIZE=8192 BIND_MOUNT0="storage:/mnt/storage" STORAGE_CONFIG1=/mnt/storage USB_STORAGE_SYNC=on LOCALE=de_DE MOUNT_0="LABEL=boot /boot auto x-mount.mkdir,defaults 0 0" MOUNT_1="LABEL=home /home auto x-mount.mkdir,defaults 0 0" MOUNT_2="LABEL=swap swap swap defaults 0 0" SET_RESOLUTION_MULTIMONITOR_EXPAND='mirror' SET_RESOLUTION_MULTIMONITOR_AUTOSCALE='scale' NET_FILE_METHOD=http NET_FILE_ENABLED=On #SESSION_1_TITLE="VDI" #SESSION_1_AUTOSTART=on #SESSION_1_TYPE=vmview #VMVIEW_AUTOCONNECT=TRUE #VMVIEW_DEFAULTBROKER=srv-view04 #SESSION_1_VMVIEW_SERVERURL=srv-view04 #SESSION_1_VMVIEW_FULLSCREEN=false #SESSION_1_VMVIEW_NONINTERACTIVE=true LOCAL_INSTALL_URL=http://192.168.0.141/prod/local-install/ STORAGE_PATH=/mnt/local-install/part2 STORAGE_CONFIG1=/mnt/local-install/part2 ```Fujitsu_Furtro_S720 module.list
```module amdgpu module gpu-sched module radeon module sd_mod module t10-pi module edac_mce_amd module crct10dif-pclmul module i2c-algo-bit module crc32-pclmul module drm_ttm_helper module crc32c-intel module ttm module ghash-clmulni-intel module drm_kms_helper module snd-hda-codec-realtek module snd-hda-codec-generic module ledtrig-audio module snd-hda-codec-hdmi module ahci module snd-hda-intel module snd-intel-dspcfg module libahci module cec module snd-hda-codec module sp5100_tco module k10temp module fam15h_power module libata module i2c-piix4 module snd-hda-core module snd-hwdep module drm module r8169 module scsi_mod module snd-pcm module realtek module snd-timer module snd module soundcore module fujitsu-laptop module sparse-keymap ```Fujitsu_Furtro_S720 firmware.list
```firmware rtl_nic/rtl8168g-2.fw firmware amdgpu/kaveri_uvd.bin firmware amdgpu/kabini_rlc.bin firmware radeon/kaveri_me.bin firmware radeon/kabini_pfp.bin firmware radeon/kabini_sdma.bin firmware radeon/kabini_me.bin firmware radeon/kabini_mec.bin firmware radeon/bonaire_uvd.bin firmware radeon/hawaii_sdma.bin firmware radeon/bonaire_sdma.bin firmware radeon/kabini_rlc.bin firmware radeon/mullins_pfp.bin firmware radeon/kabini_ce.bin firmware radeon/BONAIRE_vce.bin firmware radeon/mullins_mec.bin ```When running install-disk.sh as root in booted pxe system I get the following error:
/bin/local-install.sh: line 108: /tmp/local-install/image/boot/syslinux/syslinux: Permission denied
When downloading syslinux directory and running it manualy from http I do get the same error. File has executing permissions.
When running the command
syslinux /dev/sda1
from the one located in/mnt/disc/sda/part1/boot/syslinux/syslinux
I get no error, but the system installed on disk is not bootable (cursor blinking right after bios).Also I have read the documentation up and down but I could not find out what I have to write in those files and what the syntax would be: