From 7f7d4d818ac510ac4584e12dedb8fe2c2986f39a Mon Sep 17 00:00:00 2001 From: root Date: Sat, 15 Apr 2023 00:17:39 +0200 Subject: [PATCH] new thoughts... --- resources/tgt.win10.conf | 14 ++++++++++++++ todo.md | 27 +++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 resources/tgt.win10.conf create mode 100644 todo.md diff --git a/resources/tgt.win10.conf b/resources/tgt.win10.conf new file mode 100644 index 0000000..dc12695 --- /dev/null +++ b/resources/tgt.win10.conf @@ -0,0 +1,14 @@ + # create new + +# if you set some devices, add - and set the same way with follows +# naming rule : [ iqn.(year)-(month).(reverse of domain name):(any name you like) ] + + + # provided devicce as a iSCSI target + backing-store /root/pxe-bootserver/temp/Windows10_21H2_2021-11-18.iso + # iSCSI Initiator's IQN you allow to connect + #initiator-name iqn.2021-08.world.srv:node01.initiator01 + # authentication info ( set anyone you like for "username", "password" ) + #incominguser username password + + diff --git a/todo.md b/todo.md new file mode 100644 index 0000000..35eb201 --- /dev/null +++ b/todo.md @@ -0,0 +1,27 @@ +# To Do... + +* Modular pxelinux menu: + * split menu in parts: Knoppix, Rescuezilla, Acronis, etc. + * use settings.sh as configuration file, e.g. MENU_KNOPPIX=YES or MENU_NON-FREE=NO + * create template files in ./resources: menu-knoppix.cfg, menu-rescuezilla.cfg + * use INCLUDE command if possible https://wiki.syslinux.org/wiki/index.php?title=Menu#INCLUDE + * read settings.sh and parse templates to fill in variables + + +* iSCSI Target: + * apt install tgt + * zless /usr/share/doc/tgt/README.iscsi.gz + * tgtadm --lld iscsi --op new --mode target --tid 1 -T iqn.2020-11.tld.ostrach:target1 + * tgtadm --lld iscsi --op show --mode target + * tgtadm --lld iscsi --op new --mode logicalunit --tid 1 --lun 1 -b /dev/hdc1 + * tgtadm --lld iscsi --op bind --mode target --tid 1 -I ALL + +* https://www.server-world.info/en/note?os=Debian_11&p=iscsi&f=2 +* http://etherboot.org/wiki/sanboot +* https://ipxe.org/howto/winpe + +1. install tgt +2. parse settings.sh and create tgt config files to: +3. a Windows 10 DVD target (.iso under /srv/tftp/non-free/windows10.iso) + +Remeber: Check if a iSCSI Tape-Target could be used to trick a Tape Backup Software to use HardDisks as Tapes