[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: S7-2 Debian 12 ISO Installation via NFS



Dennis,

**Revised: Fixed some typos and clarified a step to easily detect nfs related "SUNRemote ISO CDROM" boot string.

Many ways to accomplish this goal, just showing what works on my end.  In any event, successfully installed Debian 12 sparc64 via NFS as well.  So USB and NFS based Debian12 sparc64 ISO installs all work on my end.  Hope the following step-by-step will help.


*NOTE:

This is a temp demonstration, I am not concerned about security for this quick example.  You can re-enable the firewall or revert any changes on your nfs server system, after the Debian 12 sparc64 installation is finished.  Doing so to rule out any potential firewall related issues between ILOM and NFS.

#---------------------------------------------------------------------------------------------------

Section A:  on NFS Server: In my case, this is manjaro x86-64

#---------------------------------------------------------------------------------------------------

1) Ensure nfs-server related package is installed for your linux system.

2) Add an "/export" entry similar to the following within /etc/exports for your network. In my case, it is 192.168.21.0/24 (see below).

However, this will most likely differ on your end.  This will be the export directory to other systems.

# /etc/exports - exports(5) - directories exported to NFS clients
#
# Example for NFSv3:
#  /srv/home        hostname1(rw,sync) hostname2(ro,sync)
# Example for NFSv4:
#  /srv/nfs4        hostname1(rw,sync,fsid=0)
#  /srv/nfs4/home   hostname1(rw,sync,nohide)
# Using Kerberos and integrity checking:
#  /srv/nfs4        *(rw,sync,sec=krb5i,fsid=0)
#  /srv/nfs4/home   *(rw,sync,sec=krb5i,nohide)
#
# Use `exportfs -arv` to reload.
/export 192.168.21.0/24(rw,sync)

3) sudo bash

4) mkdir  /export

5) chmod 777  /export

6) copy debian 12 iso image within /export directory

Example:    cp   ./debian-12.0.0-sparc64-NETINST-1-08212025.iso  /export/

7) chmod 777 to the debian 12 sparc64  iso image

Example:  chmod 777 /export/debian-12.0.0-sparc64-NETINST-1-08212025.iso

8) exportfs -arv

9) Disable your firewall temporality on your NFS server, until the Debian 12 sparc64 ISO install is finished.

10) Ensure the nfs-server service is started for your distro. Example: systemctl restart nfs-server


#--------------------------------------------------------------------------------------------------

Section B:  S7-2

#--------------------------------------------------------------------------------------------------

1) Log in to the Oracle ILOM web interface (should be root or admin user)

1a) In the "NAVIGATION" pane, click on "Remote Control" and then select "Host Storage Device".

1b) In the "Mode" dropdown menu, select "Remote".

For the URI field, enter the NFS path to your ISO file using the format: nfs://<NFS_SERVER_IP>:/<path_to_iso>

1c) For example: nfs://192.168.21.22:/export/debian-12.0.0-sparc64-NETINST-1-08212025.iso

Click "Save".  ILOM will now attempt to connect to the NFS server and mount the ISO. The status field should change to "Operational" .

**If it doesn't work or appears hung with a "Time-Out" message or a "Connecting" status that takes a long time (over 60 seconds). Then try changing "Mode" to "Disabled" then click "Save".  Perform some troubleshooting regarding then NFS server, firewall, etc, then try steps (1a) to (1c) again.  On the NFS Server system, issue: "sudo showmount -a"  and check for S7-ILOM related IP address along with the /export directory.

2) Login to ILOM MGMT CLI [ethernet port]  (should also be root or admin user)

# Start the system

-> start /SYS

# Start the Console

-> start /SP/console

3) ok prompt related

# wait until you see an ok prompt

{0} ok

# Now issue proble-all command

{0} ok probe-all

NOTICE: Probing PCI devices.
NOTICE: Finished PCI probing.
NOTICE: Probing USB devices.
NOTICE: Finished USB probing.

# Now use probe-scsi-all command, doing so will enable to quickly locate the correct boot string

{0} ok probe-scsi-all
/pci@302/pci@2/pci@0/pci@14/LSI,sas@0

FCode Version 1.00.65, MPT Version 2.05, Firmware Version 10.00.00.00

Target 9
  Unit 0   Disk   ATA      SAMSUNG MZ7LN256 3L6Q    500118192 Blocks, 256 GB
  SATAWorldWideName 5002538d00000000  PhyNum 2

/pci@300/pci@1/pci@0/pci@2/usb@0/storage@1
  Unit 0   Disk     smiMICRON  eUSB DISK       1112

/pci@300/pci@1/pci@0/pci@2/usb@0/hub@2/storage@1
  Unit 0   Removable Read Only device    SUNRemote ISO CDROM1.01


#NOTE: The boot string we want has the SUNRemote ISO CDROM Keyword listed.  This may differ for you, but in my case it is:

/pci@300/pci@1/pci@0/pci@2/usb@0/hub@2/storage@1


# Now issue show-disks command and select the letter that has a similar boot string.

{0} ok show-disks
a) /reboot-memory@0
b) /pci@302/pci@2/pci@0/pci@14/LSI,sas@0/disk
c) /pci@300/pci@1/pci@0/pci@2/usb@0/hub@2/storage@1/disk
d) /pci@300/pci@1/pci@0/pci@2/usb@0/storage@1/disk
e) /iscsi-hba/disk
q) NO SELECTION
Enter Selection, q to quit: c

* In my case, the SUNRemote ISO CDROM related ilom device is letter "c".

# Now type boot then press Control Y    Doing so will paste the boot string for you.

Example;

{0} boot   /pci@300/pci@1/pci@0/pci@2/usb@0/hub@2/storage@1/disk

# *Note: If unsuccessful, you should try a different boot string until you find the correct one (repeat step 3, ok prompt related again).

#-------------------------------------------------------------------------------------------------------------

4)  # If all went well, now you should see a grub install menu. I selected "Default install".


                            GNU GRUB  version 2.12-9

 +----------------------------------------------------------------------------+
 | Debian GNU/Linux installer boot menu
 |
 |* Default install
 | Automated install
 | Expert install
 | Rescue mode
 |
 |
 |
 |
 |
 |
 +----------------------------------------------------------------------------+

      Use the ^ and v keys to select which entry is highlighted.
      Press enter to boot the selected OS, `e' to edit the commands
      before booting or `c' for a command-line.

5) #  After that you will see the words

"loading...."

NOTE: this may take a while (approx 5 to 10 minutes) - it didn't hang.  Currently connected to ILOM management Ethernet port using 1GBE (unsure if the management port supports 10GBE).

Menus are faster after that long "loading..." message.

6) After installation is finished, see section B step 1b, change mode to "Disabled" and hit save.  You can now enable the firewall on the nfs server and revert any changes made (if needed).


Regards,

Tony Rodriguez

https://www.linkedin.com/in/unixpro1970/?_l=en_US


Reply to: