Thread: [Thinstation-general] help with local-install.sh
Brought to you by:
doncuppjr
From: Todd P. <pf...@rh...> - 2022-04-29 16:27:26
|
I'm using thinstation 6.2-Stable, git cloned 2022-04-01. I'm trying to get the local-install process working but seem to be missing some pieces of the puzzle. I have a machine configured the way I want it, network booted and running, with runtime config files downloaded via http. All that is working fine. My next step was to try to use local-install.sh to install so that I could support local booting in some cases. My first choice was to use the local nvme drive in this machine, but the nvme drive is not detected, even when running a --allmodules build for hwlister. Is there nvme support in ts6.2? If there is, and if I get this working with my --allmodules build, what modules, packages and params may I need to retain in my customized machine configuration for nvme storage support? My next attempt was to use a usb drive. With a --allmodules build the usb drive is detected and working with local-install.sh. However with my configured build it is not detected. What modules, packages and params may I need to add to my build.conf to support usb storage devices? The next problem I've encountered is with the refind boot-image stuff. Documentation/README.local-install says to copy these directories: build/boot-images/refind build/boot-images/syslinux to "local-install". I have my boot images set to: param bootimages "iso syslinux pxe refind" and during the build process I see output about it creating the refind image, and no errors are generated, but I don't find any refind subdirectory as the documentation tells me to copy to my boot location. Is the documentation missing something that has changed, or is my build process not generating the refind folder in the correct location? There is stuff generated under build/boot-images/syslinux that is related to EFI booting. Is that what I'm supposed to copy? Do I just copy the entire syslinux folder as is, or do I copy some of it to local-install/refind? I also see thinstation/boot/efi/EFI/refind/. Is that what I'm supposed to copy to local-install/? Thanks, Todd |
From: Don C. <don...@ya...> - 2022-05-02 18:01:53
|
Ugh, I have not really looked at local-install for years, since maybe before nvme was released. I think there is also the hdupdate package. It’s also an installer. Sent from Yahoo Mail for iPhone On Sunday, May 1, 2022, 7:39 AM, Todd Pfaff <pf...@rh...> wrote: I'm using thinstation 6.2-Stable, git cloned 2022-04-01. I'm trying to get the local-install process working but seem to be missing some pieces of the puzzle. I have a machine configured the way I want it, network booted and running, with runtime config files downloaded via http. All that is working fine. My next step was to try to use local-install.sh to install so that I could support local booting in some cases. My first choice was to use the local nvme drive in this machine, but the nvme drive is not detected, even when running a --allmodules build for hwlister. Is there nvme support in ts6.2? If there is, and if I get this working with my --allmodules build, what modules, packages and params may I need to retain in my customized machine configuration for nvme storage support? My next attempt was to use a usb drive. With a --allmodules build the usb drive is detected and working with local-install.sh. However with my configured build it is not detected. What modules, packages and params may I need to add to my build.conf to support usb storage devices? The next problem I've encountered is with the refind boot-image stuff. Documentation/README.local-install says to copy these directories: build/boot-images/refind build/boot-images/syslinux to "local-install". I have my boot images set to: param bootimages "iso syslinux pxe refind" and during the build process I see output about it creating the refind image, and no errors are generated, but I don't find any refind subdirectory as the documentation tells me to copy to my boot location. Is the documentation missing something that has changed, or is my build process not generating the refind folder in the correct location? There is stuff generated under build/boot-images/syslinux that is related to EFI booting. Is that what I'm supposed to copy? Do I just copy the entire syslinux folder as is, or do I copy some of it to local-install/refind? I also see thinstation/boot/efi/EFI/refind/. Is that what I'm supposed to copy to local-install/? Thanks, Todd _______________________________________________ Thinstation-general mailing list Thi...@li... https://lists.sourceforge.net/lists/listinfo/thinstation-general |
From: Todd P. <pf...@rh...> - 2022-05-03 00:36:41
|
Ugh is right. I've been saying ugh a lot in recent weeks as I've been exploring the wonders and pitfalls of thinstation. ugh, yuck, ooh, that's kinda nice, you know, things like that. I'd already found hdupdate and this wiki page: https://github.com/Thinstation/thinstation/wiki/Using-the-hdupdate-package but I was hoping there was a documented procedure for getting a ThinStation client from a pxe-booted state to an hdupdate-ready state. No such thing was found I'm afraid. This is the process I'm trying to follow: - pxe boot device with ThinStation 6.2, - ssh to device, - do install to local media, - reboot device from local media, - future updates via hdupdate or something similar. I expect that I can fumble my way through this eventually, I was just hoping that someone had done this already and was willing to share their procedure. Or that it was documented somewhere. I've made some progress. I have a pxe-booted TS6.2 client running (built with --allmodules which is not ideal but see the other question I posted recently about not seeing USB storage without --allmodules). I can ssh and scp to this pxe-booted client. I have a local USB device partitioned, filesystems created, root filesystem mounted, I've used scp to copy syslinux/{boot,EFI} to the USB media, and I can now boot TS6.2 from the USB device. Yay, progress. The only reason I even need to do a local installation on some of our TS clients is that they will be in network locations where we don't yet have a readily available DHCP server, or a DHCP server for which we can set options for TFTP booting (don't ask - moronic enterprise IT stonewall - ugh, again). Is there an rsync package for TS6.2? Don, should I be asking some of these questions on the developers list instead of the users list? Thanks, Todd |
From: Don C. <don...@ya...> - 2022-05-03 00:46:26
|
Your gonna hate this, but I’m just gonna say it’s trivial to make a package. At least for me. First step, just repackage rsync like this,mkrepackage rsync. addpackage rsyncto build.conf, do a build and maybe you have everything you want. Making a UEFI bootable drive is also fairly trivial. You can use the rufus utility and the grub iso from a build, or just copy the output to a fat32 partitioned thumb drive. Sent from Yahoo Mail for iPhone On Monday, May 2, 2022, 5:36 PM, Todd Pfaff <pf...@rh...> wrote: Ugh is right. I've been saying ugh a lot in recent weeks as I've been exploring the wonders and pitfalls of thinstation. ugh, yuck, ooh, that's kinda nice, you know, things like that. I'd already found hdupdate and this wiki page: https://github.com/Thinstation/thinstation/wiki/Using-the-hdupdate-package but I was hoping there was a documented procedure for getting a ThinStation client from a pxe-booted state to an hdupdate-ready state. No such thing was found I'm afraid. This is the process I'm trying to follow: - pxe boot device with ThinStation 6.2, - ssh to device, - do install to local media, - reboot device from local media, - future updates via hdupdate or something similar. I expect that I can fumble my way through this eventually, I was just hoping that someone had done this already and was willing to share their procedure. Or that it was documented somewhere. I've made some progress. I have a pxe-booted TS6.2 client running (built with --allmodules which is not ideal but see the other question I posted recently about not seeing USB storage without --allmodules). I can ssh and scp to this pxe-booted client. I have a local USB device partitioned, filesystems created, root filesystem mounted, I've used scp to copy syslinux/{boot,EFI} to the USB media, and I can now boot TS6.2 from the USB device. Yay, progress. The only reason I even need to do a local installation on some of our TS clients is that they will be in network locations where we don't yet have a readily available DHCP server, or a DHCP server for which we can set options for TFTP booting (don't ask - moronic enterprise IT stonewall - ugh, again). Is there an rsync package for TS6.2? Don, should I be asking some of these questions on the developers list instead of the users list? Thanks, Todd_______________________________________________ Thinstation-general mailing list Thi...@li... https://lists.sourceforge.net/lists/listinfo/thinstation-general |
From: Don C. <don...@ya...> - 2022-05-03 01:24:05
|
After doing a build, try bt net or bt net-efi to test a pxe boot and possibly an install afterwards, bt grub or bt grub-efi to test your install On Monday, May 2, 2022, 05:46:55 PM PDT, Don Cupp via Thinstation-general <thi...@li...> wrote: Your gonna hate this, but I’m just gonna say it’s trivial to make a package. At least for me. First step, just repackage rsync like this, mkrepackage rsync. add package rsync to build.conf, do a build and maybe you have everything you want. Making a UEFI bootable drive is also fairly trivial. You can use the rufus utility and the grub iso from a build, or just copy the output to a fat32 partitioned thumb drive. Sent from Yahoo Mail for iPhone On Monday, May 2, 2022, 5:36 PM, Todd Pfaff <pf...@rh...> wrote: > Ugh is right. I've been saying ugh a lot in recent weeks as I've been > exploring the wonders and pitfalls of thinstation. ugh, yuck, ooh, that's > kinda nice, you know, things like that. > > I'd already found hdupdate and this wiki page: > > https://github.com/Thinstation/thinstation/wiki/Using-the-hdupdate-package > > but I was hoping there was a documented procedure for getting a > ThinStation client from a pxe-booted state to an hdupdate-ready state. > No such thing was found I'm afraid. > > This is the process I'm trying to follow: > > - pxe boot device with ThinStation 6.2, > - ssh to device, > - do install to local media, > - reboot device from local media, > - future updates via hdupdate or something similar. > > I expect that I can fumble my way through this eventually, I was just > hoping that someone had done this already and was willing to share their > procedure. Or that it was documented somewhere. > > I've made some progress. I have a pxe-booted TS6.2 client running (built > with --allmodules which is not ideal but see the other question I posted > recently about not seeing USB storage without --allmodules). I can ssh > and scp to this pxe-booted client. I have a local USB device partitioned, > filesystems created, root filesystem mounted, I've used scp to copy > syslinux/{boot,EFI} to the USB media, and I can now boot TS6.2 from the > USB device. Yay, progress. > > The only reason I even need to do a local installation on some of our TS > clients is that they will be in network locations where we don't yet have > a readily available DHCP server, or a DHCP server for which we can set > options for TFTP booting (don't ask - moronic enterprise IT stonewall - > ugh, again). > > Is there an rsync package for TS6.2? > > Don, should I be asking some of these questions on the developers list > instead of the users list? > > > Thanks, > Todd > _______________________________________________ > Thinstation-general mailing list > Thi...@li... > https://lists.sourceforge.net/lists/listinfo/thinstation-general >> _______________________________________________ Thinstation-general mailing list Thi...@li... https://lists.sourceforge.net/lists/listinfo/thinstation-general |
From: Todd P. <pf...@rh...> - 2022-05-03 03:33:45
|
mkrepackage rsync worked perfectly! Thanks, Todd On Tue, 3 May 2022, Don Cupp wrote: > Your gonna hate this, but I’m just gonna say it’s trivial to make a package. > At least for me. > First step, just repackage rsync like this, > mkrepackage rsync. > add > package rsync > to build.conf, do a build and maybe you have everything you want. > > Making a UEFI bootable drive is also fairly trivial. You can use the rufus > utility and the grub iso from a build, or just copy the output to a fat32 > partitioned thumb drive. > > > Sent from Yahoo Mail for iPhone > > On Monday, May 2, 2022, 5:36 PM, Todd Pfaff <pf...@rh...> wrote: > > Ugh is right. I've been saying ugh a lot in recent weeks as > I've been > exploring the wonders and pitfalls of thinstation. ugh, yuck, > ooh, that's > kinda nice, you know, things like that. > > I'd already found hdupdate and this wiki page: > > > https://github.com/Thinstation/thinstation/wiki/Using-the-hdupdate-package > > but I was hoping there was a documented procedure for getting a > ThinStation client from a pxe-booted state to an hdupdate-ready > state. > No such thing was found I'm afraid. > > This is the process I'm trying to follow: > > - pxe boot device with ThinStation 6.2, > - ssh to device, > - do install to local media, > - reboot device from local media, > - future updates via hdupdate or something similar. > > I expect that I can fumble my way through this eventually, I was > just > hoping that someone had done this already and was willing to > share their > procedure. Or that it was documented somewhere. > > I've made some progress. I have a pxe-booted TS6.2 client > running (built > with --allmodules which is not ideal but see the other question > I posted > recently about not seeing USB storage without --allmodules). I > can ssh > and scp to this pxe-booted client. I have a local USB device > partitioned, > filesystems created, root filesystem mounted, I've used scp to > copy > syslinux/{boot,EFI} to the USB media, and I can now boot TS6.2 > from the > USB device. Yay, progress. > > The only reason I even need to do a local installation on some > of our TS > clients is that they will be in network locations where we don't > yet have > a readily available DHCP server, or a DHCP server for which we > can set > options for TFTP booting (don't ask - moronic enterprise IT > stonewall - > ugh, again). > > Is there an rsync package for TS6.2? > > Don, should I be asking some of these questions on the > developers list > instead of the users list? > > Thanks, > Todd > _______________________________________________ > Thinstation-general mailing list > Thi...@li... > https://lists.sourceforge.net/lists/listinfo/thinstation-general > > > |