Junos OS

Expand all | Collapse all

Reinstall juniper M7i

Jump to Best Answer
  • 1.  Reinstall juniper M7i

    Posted 04-04-2018 05:08

    I try to reinstall juniper m7i with install-media-14.1R9, 

    I use 1Gb and 2Gb CF, 80Gb harddisk, but stuck in harddisk is missing 

    "WARNING: Hard disk missing, installing only on compact-flash" 



    Award Modular BIOS v4.51PG, An Energy Star Ally
    Copyright (C) 1984-98, Award Software, Inc.

    BIOS Version 1.2
    Will try to boot from :
    PCMCIA ATA Flash Card
    Compact Flash
    Boot Sequence is reseted due to a PowerUp

    Trying to Boot from PCMCIA ATA Flash Card
    CD Loader 1.00

    Building the boot loader arguments
    Relocating the loader and the BTX
    Starting the BTX loader
    Consoles: serial port
    BIOS drive C: is disk0
    BIOS drive 😧 is disk1
    BIOS drive E: is disk2
    BIOS 639kB/1571840kB available memory

    FreeBSD/i386 bootstrap loader, Revision 1.2
    (builder@larth.juniper.net, Wed Feb 21 16:23:55 UTC 2018)
    Loading /boot/defaults/loader.conf
    /kernel text=0x5de98c data=0x42194+0xa133c syms=[0x4+0x738c0+0x4+0xa9d8a]
    /boot/modules/miibus.ko text=0x7dc0 data=0x408+0x14 syms=[0x4+0xab0+0x4+0xbf7]
    /boot/modules/if_bge.ko text=0xfeec data=0x370+0x80 syms=[0x4+0xe40+0x4+0xe12]
    /boot/modules/if_em.ko text=0x147fc data=0x7e4+0x14 syms=[0x4+0x18d0+0x4+0x1c89]
    /boot/modules/if_bce.ko text=0xd398 data=0x16db8+0x24e4 syms=[0x4+0x1540+0x4+0x17e7]
    /boot/modules/if_bxe.ko text=0xf869c data=0x7dd8+0x28 syms=[0x4+0x2130+0x4+0x2738]
    /boot/modules/mesw.ko text=0x63cc data=0x344+0x78 syms=[0x4+0xbf0+0x4+0xede]
    /boot/modules/sfccb.ko text=0x1168 data=0x1c8+0x20 syms=[0x4+0x5e0+0x4+0x55b]
    /boot/modules/sngcb.ko text=0xfe0 data=0x1d0+0x20 syms=[0x4+0x5b0+0x4+0x510]
    /boot/modules/ptxfabsw.ko text=0x1190 data=0x164+0x10 syms=[0x4+0x430+0x4+0x416]
    /boot/modules/mac_runasnonroot.ko text=0x8d8 data=0x4d8 syms=[0x4+0x330+0x4+0x3bf]
    loading required module 'kernel_mac_support'
    /boot/modules/mac_pcap.ko text=0x640 data=0x4f0+0x4 syms=[0x4+0x300+0x4+0x34e]
    loading required module 'kernel_mac_support'
    /boot/modules/virtio.ko text=0x2160 data=0x210 syms=[0x4+0x7d0+0x4+0x95e]
    /boot/modules/virtio_pci.ko text=0x2de8 data=0x200+0x8 syms=[0x4+0x8f0+0x4+0xb22]
    /boot/modules/virtio_blk.ko text=0x2998 data=0x1e0+0xc syms=[0x4+0x960+0x4+0xa0f]
    /boot/modules/if_vtnet.ko text=0x6104 data=0x35c+0x10 syms=[0x4+0xe10+0x4+0xf2f]

    Hit [Enter] to boot immediately, or space bar for command prompt.
    Booting [/kernel]...
    platform_early_bootinit: M/T/EX Series Early Boot Initialization
    GDB: debug ports: sio
    GDB: current port: sio
    KDB: debugger backends: ddb gdb
    KDB: current backend: ddb
    Copyright (c) 1996-2018, Juniper Networks, Inc.
    All rights reserved.
    Copyright (c) 1992-2007 The FreeBSD Project.
    Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
    The Regents of the University of California. All rights reserved.
    FreeBSD is a registered trademark of The FreeBSD Foundation.
    JUNOS 14.1R9.1 #0: 2018-02-21 18:27:15 UTC
    link_elf: symbol ipv6_linklocal_hint undefined
    KLD file if_em.ko - could not finalize loading
    module_register: module pci/sfccb already exists!
    Module pci/sfccb failed to register: 17
    module_register: module pci/sngcb already exists!
    Module pci/sngcb failed to register: 17
    module_register: module pci/hdkcb_fabsw already exists!
    Module pci/hdkcb_fabsw failed to register: 17
    Timecounter "i8254" frequency 1193182 Hz quality 0
    CPU: Intel Pentium III (845.64-MHz 686-class CPU)
    Origin = "GenuineIntel" Id = 0x68a Stepping = 10
    real memory = 1610612736 (1536 MB)
    avail memory = 1558171648 (1485 MB)
    Initializing M/T/EX platform properties ..
    cpu0 on motherboard
    DRAM Data Integrity Mode: ECC Mode with h/w scrubbing
    pcib0: <Intel 82443GX host to PCI bridge (AGP disabled)> pcibus 0 on motherboard
    pir0: <PCI Interrupt Routing Table: 14 Entries> on motherboard
    pci0: <PCI bus> on pcib0
    isab0: <PCI-ISA bridge> at device 7.0 on pci0
    isa0: <ISA bus> on isab0
    atapci0: <Intel PIIX4 UDMA33 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 7.1 on pci0
    ata0: <ATA channel 0> on atapci0
    ata1: <ATA channel 1> on atapci0
    pci0: <serial bus, USB> at device 7.2 (no driver attached)
    smb0: <Intel 82371AB SMB controller> port 0x5000-0x500f at device 7.3 on pci0
    cbb0: <TI1520 PCI-CardBus Bridge> mem 0xe6045000-0xe6045fff irq 15 at device 13.0 on pci0
    cardbus0: <CardBus bus> on cbb0
    pccard0: <16-bit PCCard bus> on cbb0
    cbb1: <TI1520 PCI-CardBus Bridge> mem 0xe6040000-0xe6040fff irq 9 at device 13.1 on pci0
    cardbus1: <CardBus bus> on cbb1
    pccard1: <16-bit PCCard bus> on cbb1
    fxp0: <Intel 82559ER Embedded 10/100 Ethernet> port 0xdc00-0xdc3f mem 0xe6044000-0xe6044fff,0xe6020000-0xe603ffff irq 9 at device 16.0 on pci0
    fxp1: <Intel 82559ER Embedded 10/100 Ethernet> port 0xe000-0xe03f mem 0xe6047000-0xe6047fff,0xe6000000-0xe601ffff irq 10 at device 19.0 on pci0
    orm0: <ISA Option ROM> at iomem 0xc8000-0xd17ff on isa0
    sc0: <System console> at flags 0x100 on isa0
    sc0: MDA <16 virtual consoles, flags=0x100>
    vga0: <Generic ISA VGA> at port 0x3b0-0x3bb iomem 0xb0000-0xb7fff on isa0
    atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
    atkbd0: <AT Keyboard> irq 1 on atkbdc0
    sio0 at port 0x3f8-0x3ff irq 4 flags 0x90 on isa0
    sio0: type 16550A, console
    sio1 at port 0x2f8-0x2ff irq 3 on isa0
    sio1: type 16550A
    sio2 at port 0x3e8-0x3ef irq 5 on isa0
    sio2: type 16550A
    sio3: configured irq 9 not in bitmap of probed irqs 0x80
    sio3: port may not be enabled
    sio3 at port 0x2e8-0x2ef irq 9 on isa0
    sio3: type 16550A
    Initializing product: 14 ..
    Overriding block private ifstate to PFE
    platform_mastership_init: Unknown product_type 0x0000000e
    fxp0: Ethernet address 00:a0:a5:5c:1e:9f
    Timecounter "TSC" frequency 845640427 Hz quality 800
    ###PCB Group initialized for udppcbgroup
    ###PCB Group initialized for tcppcbgroup
    mata2: <SanDisk SDP> at port 0x100-0x10f irq 15 function 0 config 1 on pccard0
    dad0: 2000MB <UNIGEN FLASH FW100511> at ata0-master PIO4
    ad1: not attached, missing in Boot List
    device_attach: ad1 attach returned 12
    unknown: timeout waiting to issue command
    unknown: error issuing ATA_IDENTIFY command
    unknown: timeout waiting to issue command
    unknown: error issuing ATA_IDENTIFY command
    ad3: 977MB <SanDisk SDCFJ-1024 HDX 4.04> at ata2-master PIO4
    Kernel thread "wkupdaemon" (pid 40) exited prematurely.
    0: Preloaded image </mdimg> 8468480 bytes at 0xc0c17558
    Trying to mount root from cd9660:/dev/md0
    Disabling watchdog
    =================== Bootstrap installer starting ===================
    Initialized the environment
    Routing engine model is RE-850
    HW model is Intel Pentium III
    Discovered that flash disk = ad0 , hard disk = ad1
    ** /dev/ad0s1a
    ** Last Mounted on /mnt
    ** Phase 1 - Check Blocks and Sizes
    ** Phase 2 - Check Pathnames
    ** Phase 3 - Check Connectivity
    ** Phase 4 - Check Reference Counts
    ** Phase 5 - Check Cyl groups
    515 files, 15493 used, 891319 free (63 frags, 111407 blocks, 0.0% fragmentation)
    ** /dev/ad0s1e
    ** Last Mounted on /mnt/config
    ** Phase 1 - Check Blocks and Sizes
    ** Phase 2 - Check Pathnames
    ** Phase 3 - Check Connectivity
    ** Phase 4 - Check Reference Counts
    ** Phase 5 - Check Cyl groups
    2 files, 2 used, 100703 free (23 frags, 12585 blocks, 0.0% fragmentation)
    fsck: cannot open `/dev/ad1s1a': No such file or directory
    fsck: cannot open `/dev/ad1s1e': No such file or directory
    fsck: cannot open `/dev/ad1s1f': No such file or directory
    WARNING: Hard disk missing, installing only on compact-flash
    Disk to install is ad0
    mfs: available=2976272
    hw.physmem: 1610612736
    hw.usermem: 1579700224
    hw.realmem: 1610612736
    Reserving 270336 for mfs /var
    Using 2705936 for /tmp
    WARNING: The installation will erase the contents of your disks.
    Do you wish to continue (y/n)?


    If I choose Y and continue the compact flash is not large enough to complete.

     How do I get the hard disk to be detected?

  • 2.  RE: Reinstall juniper M7i
    Best Answer

    Posted 04-18-2018 00:29


    type in kernel : 

    sysctl -w machdep.bootdevs=pcmcia-flash,compact-flash,disk,lan 


    then reboot and install untill finish. 


    thanks all. 

  • 3.  RE: Reinstall juniper M7i

    Posted 04-18-2018 15:02

    excellent, this solved my problem too....