Qm8700 upgrade failed

,

1, i install in partiton 2, it still the old image after all steps progress.

MQM8700 [standalone: master] # show images 

Installed images:
  Partition 1:
    version: X86_64 OPT-OS_06_01_20 2020-06-01 07:09:12 x86_64

  Partition 2:
    version: (Could not determine image version -- install in progress?)

Last boot partition: 1
Next boot partition: 1

Images available to be installed:
  1:
    Image  : webimage-20240502.tbz
    Version: X86_64 3.11.4002 2024-05-02 14:34:16 x86_64

Serve image files via HTTP/HTTPS: yes

No image install currently in progress.
No boot manager password is set.

Image signing              : trusted signature always required
Admin require signed images: yes

Settings for next boot only:
  Fallback reboot on configuration failure: yes (default)

MQM8700 [standalone: master] # image  install webimage-20240502.tbz ?
<cr>                           Install image to next boot location after one currently booted
location                       Specify a location to which to install the image
progress                       Override CLI default to display installation progress
verify                         Image verification options for installation
MQM8700 [standalone: master] # image  install webimage-20240502.tbz location ?
<partition number>             
1                              
2                              
MQM8700 [standalone: master] # image  install webimage-20240502.tbz location 2
Step 1 of 4: Verify Image
 100.0%  [######################################################################################################################]  
Step 2 of 4: Uncompress Image
 100.0%  [######################################################################################################################]  
Step 3 of 4: Create Filesystems
 100.0%  [######################################################################################################################]  
Step 4 of 4: Extract Image
 100.0%  [######################################################################################################################]  
MQM8700 [standalone: master] # 
MQM8700 [standalone: master] # image boot next
MQM8700 [standalone: master] # show images

Installed images:
  Partition 1:
    version: X86_64 OPT-OS_06_01_20 2020-06-01 07:09:12 x86_64

  Partition 2:
    version: (Could not determine image version -- install in progress?)

Last boot partition: 1
Next boot partition: 2

Images available to be installed:
  1:
    Image  : webimage-20240502.tbz
    Version: X86_64 3.11.4002 2024-05-02 14:34:16 x86_64

Serve image files via HTTP/HTTPS: yes

No image install currently in progress.
No boot manager password is set.

Image signing              : trusted signature always required
Admin require signed images: yes

Settings for next boot only:
  Fallback reboot on configuration failure: yes (default)

MQM8700 [standalone: master] # show bootvar 

Installed images:
  Partition 1:
    version: X86_64 OPT-OS_06_01_20 2020-06-01 07:09:12 x86_64

  Partition 2:
    version: (Could not determine image version -- install in progress?)

Last boot partition             : 1
Next boot partition             : 1
Serve image files via HTTP/HTTPS: yes

No boot manager password is set.

Image signing              : trusted signature always required
Admin require signed images: yes

Settings for next boot only:
  Fallback reboot on configuration failure: yes (default)

2, then, i try to install to partition 1, i couldnt be.

MQM8700 [standalone: master] # image  install webimage-20240502.tbz location 1

% Cannot install to same partition just booted from.

So, how i upgrade my machine???

it seems some problem with the partition. i login mangerment and get some information:

Mellanox MLNX-OS Switch Management

Mellanox Switch

[admin@MQM8700 ~]# lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0  14.7G  0 disk 
|-sda4   8:4    0   512B  0 part 
|-sda2   8:2    0 133.4M  0 part /boot
|-sda7   8:7    0 196.1M  0 part /output
|-sda5   8:5    0     3G  0 part /
|-sda3   8:3    0 133.4M  0 part 
|-sda1   8:1    0 133.4M  0 part /bootmgr
|-sda8   8:8    0    11G  0 part /var
`-sda6   8:6    0 196.1M  0 part /config
[admin@MQM8700 ~]# 
[admin@MQM8700 ~]# df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/root       2.9G  1.8G  993M  65% /
devtmpfs        3.9G     0  3.9G   0% /dev
tmpfs           3.9G   16M  3.9G   1% /dev/shm
tmpfs           3.9G  728K  3.9G   1% /run
tmpfs           3.9G     0  3.9G   0% /sys/fs/cgroup
/dev/sda1       126M  311K  119M   1% /bootmgr
/dev/sda2       126M  8.9M  110M   8% /boot
/dev/sda7       186M  178K  176M   1% /output
/dev/sda6       186M  3.4M  173M   2% /config
/dev/sda8        11G  3.9G  6.3G  39% /var
tmpfs           300M  2.8M  298M   1% /vtmp
tmpfs           700M   24K  700M   1% /stats-files
tmpfs           400M     0  400M   0% /stats-reports
tmpfs           100M     0  100M   0% /sched_job_results

[admin@MQM8700 ~]# fdisk -l

Disk /dev/ram0: 184 MB, 184549376 bytes, 360448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram1: 184 MB, 184549376 bytes, 360448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram2: 184 MB, 184549376 bytes, 360448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram3: 184 MB, 184549376 bytes, 360448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram4: 184 MB, 184549376 bytes, 360448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram5: 184 MB, 184549376 bytes, 360448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram6: 184 MB, 184549376 bytes, 360448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram7: 184 MB, 184549376 bytes, 360448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram8: 184 MB, 184549376 bytes, 360448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram9: 184 MB, 184549376 bytes, 360448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram10: 184 MB, 184549376 bytes, 360448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram11: 184 MB, 184549376 bytes, 360448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram12: 184 MB, 184549376 bytes, 360448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram13: 184 MB, 184549376 bytes, 360448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram14: 184 MB, 184549376 bytes, 360448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/ram15: 184 MB, 184549376 bytes, 360448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes


Disk /dev/sda: 15.8 GB, 15804137472 bytes, 30867456 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1      273104      136552   83  Linux
/dev/sda2          273105      546209      136552+  83  Linux
/dev/sda3          546210      819314      136552+  83  Linux
/dev/sda4          819315    30860864    15020775    f  W95 Ext'd (LBA)
/dev/sda5          819316     7116794     3148739+  83  Linux
/dev/sda6         7116796     7518419      200812   83  Linux
/dev/sda7         7518421     7920044      200812   83  Linux
/dev/sda8         7920046    30860864    11470409+  83  Linux

pls help. another question: where is partion 2?
thanks