Comments on: Diskless iSCSI boot with PXE HOWTO https://backreference.org/2013/12/23/diskless-iscsi-boot-with-pxe-howto/ Proudly uncool and out of fashion Mon, 11 Feb 2019 16:59:21 +0000 hourly 1 https://wordpress.org/?v=5.8.2 By: waldner https://backreference.org/2013/12/23/diskless-iscsi-boot-with-pxe-howto/#comment-25472 Mon, 11 Feb 2019 16:59:21 +0000 http://backreference.org/?p=4686#comment-25472 In reply to Berrie.

Sadly, I don't have any experience booting syslinux.

]]>
By: Berrie https://backreference.org/2013/12/23/diskless-iscsi-boot-with-pxe-howto/#comment-25458 Tue, 05 Feb 2019 12:41:38 +0000 http://backreference.org/?p=4686#comment-25458 This page has been very helpful in gaining an understanding of iPXE with iSCSI.

My world runs on a home grown LFS 8.1 Linux version that boots through syslinux 6.03 on regular disks

This config has been moved to a Synology iSCSI Lun/Target.
The Lun is partitioned using gpt with only 2 partitions for / (ext4) and /boot (fat32)
The gptmbr is put in place
The syslinux is put in place on /boot and extlinux -i . is run

When powering up the machine, I get to the iPXE prompt
= run dhcp -> route shows that I got IP/mask and gateway addresses
= set the iSCSI initiator identifier
= sanboot the iSCSI Lun on the Synology that was prepared above

At that point I see:
. the SAN device 0x80 gets registered
. it tells me 'Booting from SAN device 0x80'
. A "SYSLINUX 6.03...." banner is shown
.... immediately followed by the machine resetting

It looks as if syslinux/extlinux is barely starting and crashing for reasons it cannot tell on the console...

Any pointers as to why the recipe on this page should not be used for my setup, or pointers how I could address this are appreciated :-)

]]>
By: gas https://backreference.org/2013/12/23/diskless-iscsi-boot-with-pxe-howto/#comment-25211 Sat, 08 Aug 2015 00:36:39 +0000 http://backreference.org/?p=4686#comment-25211 Thanks for this.
I confirm this works also for ubuntu 12.04.
What you need to do is to install ubuntu 12.04 to iscsi first. (login to iscsi target, use entire disk and lvm)
When you boot up you will have a lot of ip-config problems.

To solve that just drop into recovery mode, make file system r/w, and then perform the above modifications to grub:

i.e. modify /etc/default/grub and add those two lines
then update-grub.

]]>
By: waldner https://backreference.org/2013/12/23/diskless-iscsi-boot-with-pxe-howto/#comment-25156 Sun, 07 Dec 2014 16:31:45 +0000 http://backreference.org/?p=4686#comment-25156 In reply to Franz.

I'm not seeing any problems. When I reboot I see that Debian correctly detects that / is on iSCSI and delays/avoids any umount or deactivation attempt. Other than that, which is expected and correct, the system reboots just fine.

Sample output:

[....] Unmounting iscsi-backed filesystems: Unmounting all devices marked _netdev
[.ok
[warn] /etc/iscsi/iscsi.initramfs present, not stopping iscsid yet ... (warning).
[ ok ] Shutting down ALSA...done.
[ ok ] Asking all remaining processes to terminate...done.
[ ok ] All processes ended within 2 seconds...done.
[ ok ] Stoppping enhanced syslogd: rsyslogd.
[info] Saving the system clock.
[warn] not deconfiguring network interfaces: ISCSI root is mounted. ... (warning).
[info] Hardware Clock updated to Sun Dec  7 16:24:01 UTC 2014.
[ ok ] Deactivating swap...done.
[  971.426497] EXT4-fs (sda2): re-mounted. Opts: (null)
[info] Will now restart.

/etc/fstab on that machine:

UUID=ff5ce2be-2f95-4ef0-a866-03de10290dbf / ext4 errors=remount-ro 0 1
UUID=59df9489-2544-4631-abe4-e6e75590182c none swap sw 0 0
]]>
By: Franz https://backreference.org/2013/12/23/diskless-iscsi-boot-with-pxe-howto/#comment-25153 Thu, 13 Nov 2014 08:15:32 +0000 http://backreference.org/?p=4686#comment-25153 Dou you have problems with reboots with thic configuration.
I use debian 7 and when I try to reboot client I get sysnc SCSI cache and system halts.

]]>