Junos OS

 View Only
last person joined: yesterday 

Ask questions and share experiences about Junos OS.
  • 1.  Recovery SRX1500 From USB Media

    Posted 01-04-2024 13:52

    Hello!
    I am trying to recover my SRX1500 after replacing a faulty 16GB SSD. I am attempting to perform installations from a USB.

    USB Media package name: junos-install-media-usb-srxentedge-x86-64-21.4R3-S4.9

    I am encountering an error:

    cp: cannot stat '/etc/init.d/syslog.rsyslog': No such file or directory
    Adding system startup for /etc/init.d/rsyslog.
    Creating platform-specific configurations.
    running pre-rc install steps on SRX1500
    Check secure grub
    [ OK ] secure grub installed
    Creating grub configuration file..
    [ OK ] grub configuration file created.
    No new BIOS update capsule found.
    Updating boot environment ..
    [ OK ] boot environment updated
    Completing the required package installation
    Adding package group: applications
    Adding package path: /var/sw/packages/applications
    
    Adding package group: pkg-srx-700e-junos
    Adding package path: /var/sw/packages/pkg-srx-700e-junos
    
    Installing package: platform-junos
    
    Auditing: package
    [ OK ] platform-junos
    ------------------------------------------
    Partitioning disk for Junos installation
    ------------------------------------------
    Junos installation disk is /dev/sdb
    Deleting partition table on /dev/sdb
    [ ERROR ] Cannot do secure erase, /dev/sdb is not SATA.
    [ FAIL ] Partition table clearing failed.
    [ ERROR ] Installation failed, halting the system.
    INIT: Switching stopping rsyslogd ... done
    Stopping OpenBSD Secure Shell server: sshdno /usr/sbin/sshd found; none killed
    Stopping Advanced Configuration and Power Interface daemon: no /usr/sbin/acpid found; none killed
    acpid.
    Stopping domain name service: named.
    Stopping system message bus: dbus.
    stopping DNS forwarder and DHCP server: dnsmasq... no /usr/bin/dnsmasq found; none killed
    Shutting down irqbalance: no irqbalance found; none killed
    done
    


    Junos installation disk is /dev/sdb
    In my case /dev/sda is the 16GB mSATA Drive.
    /dev/sdb is the USB Flash Drive.

    Do i need the 120GB SSD Drive installed to install JunOS?



  • 2.  RE: Recovery SRX1500 From USB Media
    Best Answer

    Posted 01-05-2024 11:15

    Hi,

    Yes, you need SSD drive. This is how disks are partitioned in a running system from underlying Linux perspective:

    Linux Running command: lsblk >
    NAME                           MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
    sda                              8:0    0  14.9G  0 disk
    |-sda1                           8:1    0 189.8M  0 part /boot/efi
    |-sda2                           8:2    0 976.6M  0 part /boot
    |-sda3                           8:3    0   1.3G  0 part /app_disk
    |-sda4                           8:4    0   6.6G  0 part /
    |-sda5                           8:5    0   4.6G  0 part /var
    `-sda6                           8:6    0 669.5M  0 part
    sdb                              8:16   0  93.2G  0 disk
    |-vg0_vjunos-lv_junos          252:0    0  25.2G  0 lvm  /junos
    |-vg0_vjunos-lv_junos_core     252:1    0   9.3G  0 lvm  /core
    |-vg0_vjunos-lv_junos_onboxlog 252:2    0  50.3G  0 lvm  /var/traffic-log
    `-vg0_vjunos-lv_junos_recovery 252:3    0   8.4G  0 lvm  /recovery

    Regards,
    Wojciech



    ------------------------------
    WOJCIECH JANISZEWSKI
    ------------------------------