Thats looks good...no idea why its not working. Last time i made a install media i didnt specify the blocksize...so just give it a try without bs=64k. Also no real need to blank the CF first.
Regards, Jonas Am Donnerstag, den 10.02.2011, 16:11 +0000 schrieb Martin T: > Looks like I'm unable to boot from "PCMCIA ATA Flash Card": > > <<<<< > Award Modular BIOS v4.51PG, An Energy Star Ally > Copyright (C) 1984-98, Award Software, Inc. > > BIOS Version 1.2 > 11/02/2004-i440GX-SMC67X-2A69TU00C-00 > > Will try to boot from : > PCMCIA ATA Flash Card > Compact Flash > Primary IDE Hard Disk > Ethernet > > Trying to Boot from PCMCIA ATA Flash Card > > Trying to Boot from Compact Flash > > Trying to Boot from Primary IDE Hard Disk > >>>>> > > > I did following: > > Downloaded "install-media-10.2R3.10-export" file from Juniper Support > page and verified MD5 hash: > > root@ubuntu:/media# md5sum /media/martin/install-media-10.2R3.10-export > 445b2820c1d67b8219d855aa7009ce4f /media/martin/install-media-10.2R3.10-export > root@ubuntu:/media# > > ..zero-filled my CF card(it's 1GB "SiliconDrive CF", Juniper original) > which I will use for "PC Card" adapter(SanDisk CompactFlash PC Card > Adapter): > > root@ubuntu:/media# dd if=/dev/zero of=/dev/sdb bs=10M > dd: writing `/dev/sdb': No space left on device > 100+0 records in > 99+0 records out > 1047674880 bytes (1.0 GB) copied, 1096.18 s, 956 kB/s > root@ubuntu:/media# > > ..and copied install-media-10.2R3.10-export to blank /dev/sdb using dd(1): > > root@ubuntu:/media# dd if=/media/martin/install-media-10.2R3.10-export > of=/dev/sdb bs=64k > 5199+1 records in > 5199+1 records out > 340752384 bytes (341 MB) copied, 356.629 s, 955 kB/s > root@ubuntu:/media# > > ..and verified, that MD5 hash of /dev/sdb is the > same(445b2820c1d67b8219d855aa7009ce4f) as on Juniper web-site: > > root@ubuntu:/media# dd if=/dev/sdb of=/media/verification2 bs=512 count=665532 > 665532+0 records in > 665532+0 records out > 340752384 bytes (341 MB) copied, 358.987 s, 949 kB/s > root@ubuntu:/media# md5sum /media/verification2 > 445b2820c1d67b8219d855aa7009ce4f /media/verification2 > root@ubuntu:/media# > > As you can see, it did. According to fdisk(8) and file(1), everything > seems to be fine as well: > > root@ubuntu:/media# fdisk -l /dev/sdb > > Disk /dev/sdb: 1047 MB, 1047674880 bytes > 1 heads, 1 sectors/track, 2046240 cylinders, total 2046240 sectors > Units = cylinders of 1 * 512 = 512 bytes > Disk identifier: 0x00000000 > > Device Boot Start End Blocks Id System > /dev/sdb1 645053 665532 10240 4 FAT16 <32M > /dev/sdb2 * 521 645052 322266 a5 FreeBSD > > Partition table entries are not in disk order > root@ubuntu:/media# file -s /dev/sdb > /dev/sdb: x86 boot sector; partition 1: ID=0x4, starthead 0, > startsector 645052, 20480 sectors; partition 2: ID=0xa5, active, > starthead 0, startsector 520, 644532 sectors > root@ubuntu:/media# > > > In addition, if I put this very same "PCMCIA ATA Flash Card" to a > working Juniper, following messages are printed to the > /var/log/messages: > > Feb 10 16:07:06 /kernel: ata2: <SILICONSYSTEMS VER2.00> at port > 0x100-0x10f irq 15 function 0 config 1 on pccard0 > Feb 10 16:07:06 /kernel: ad3: Device does not support APM > Feb 10 16:07:06 /kernel: ad3: 999MB <SILICONSYSTEMS INC 1GB V2.23> > at ata2-master PIO2 > Feb 10 16:07:06 rpd[1292]: RPD_SCHED_SLIP_KEVENT: 5 sec 499048 usec > kevent block > Feb 10 16:07:07 chassisd[1177]: CHASSISD_SNMP_TRAP7: SNMP trap > generated: FRU insertion (jnxFruContentsIndex 9, jnxFruL1Index 2, > jnxFruL2Index 1, jnxFruL3Index 0, jnxFruName Routing Engine 1 PCMCIA > Card 0, jnxFruType 6, jnxFruSlot 1) > > ..however, there is no "ad3" under "show system storage": > > root> show system storage | match ad3 > > root> > > > Any ideas, what might cause RE-850 not to boot from this "PCMCIA ATA > Flash Card"? > > regards, > martin > > > 2011/2/10 Jonas Frey (Probe Networks) <[email protected]>: > > Martin, > > > > yes thats the correct way to do it. Only the pc-card slot is able to > > fully partition both CF and HDD using a install-media image and get you > > a fresh and blank JunOS installed. > > It will install on both CF and HDD and thus you will have a redundant > > setup (when either CF or HDD fails). > > > > Regards, > > Jonas > > > > > > Am Donnerstag, den 10.02.2011, 02:52 +0200 schrieb Martin T: > >> Chris, Alex: > >> > >> so one needs to download "install-media-*", dd(1) this image(as I > >> understand, it contains MBR and file-system with installation files) > >> to CF and finally insert the CF to "PC Card" adapter in order to > >> insert it into "PC Card" slot of RE-850? This will make default setup, > >> where JUNOS is installed to CF(ad0), but /var is mounted to HDD(ad1)? > >> In addition, how to make a redundant setup, where RE is able to boot > >> from HDD and be fully functional if CF fails(I have CF as first boot > >> device and HDD second one)? > >> > >> regards, > >> martin > >> > >> 2011/2/9 Ryu, Alex <[email protected]>: > >> > You just need to copy installation media image to PCMCIA media, and use > >> > it for installation. > >> > It will automatically format/partition/install JUNOS into RE during the > >> > boot. > >> > > >> > Alex > >> > > >> > > >> > ===================================================================== > >> > Alex Ryu (Formerly known as "Hyunseog Ryu") > >> > Engineer III / Data Engineering > >> > Windstream Communications > >> > (Formerly KDL, Inc. / Norlight, Inc.) > >> > 13935 Bishops Drive > >> > Brookfield, WI 53005 > >> > U.S.A. > >> > Email) [email protected] or [email protected] > >> > Phone) +1-262-792-4993 > >> > Fax) +1-812-206-4682 > >> > ===================================================================== > >> > > >> > -----Original Message----- > >> > From: [email protected] > >> > [mailto:[email protected]] On Behalf Of Martin T > >> > Sent: Wednesday, February 09, 2011 1:00 PM > >> > To: [email protected] > >> > Subject: [j-nsp] general guidelines for installing JUNOS to RE, where > >> > HDD and CF are blank > >> > > >> > I have a RE-850 with Compact Flash and PATA 2.5" form factor HDD > >> > installed. However, both of these are zero-filled. What are the general > >> > guidelines to get JONOS running on this RE? > >> > > >> > Boot order in BIOS is following: > >> > > >> > PCMCIA ATA Flash Card > >> > Compact Flash > >> > Primary IDE Hard Disk > >> > Ethernet > >> > > >> > As I have no "PCMCIA ATA Flash Card" in RE, I think it's smart to start > >> > with CF. Are the required steps something like this: > >> > > >> > 1) insert compact flash card(1GB) to laptop using CF-to-PC-Card adapter > >> > > >> > 2) create MBR partition table like this(CF card is associated with > >> > /dev/sdb): > >> > > >> > printf "0,1024,a5,*\n0,0\n0,0\n0,0\n;\n" | sfdisk -uM /dev/sdb > >> > > >> > ..it will make a partition in 1024MB size with "system ID" a5(FreeBSD) > >> > and make it bootable. Other three primary partitions are not used. In > >> > other words output should be something like this: > >> > > >> > Device Boot Start End Blocks Id System > >> > /dev/sdb1 * 1 2030 1023088+ a5 FreeBSD > >> > > >> > 3) make filesystem to this /dev/sdb1 partition using ufsutils mkfs.ufs > >> > utility: > >> > > >> > mkfs.ufs -O 1 /dev/sdb1 > >> > > >> > ..however, I'm very unsure, should I enable journaling, is volume name > >> > needed or any other more advanced filesystem options(?) > >> > > >> > 4) as I understand, now I need to install FreeBSD in order to install > >> > jinstall-xxxx.tgz bundle using pkg_add later. How to accomplish FreeBSD > >> > installation in such conditions? Which version should I install? Or are > >> > there any other possibilities to get JUNOS running on CF? > >> > > >> > > >> > regards, > >> > martin > >> > _______________________________________________ > >> > juniper-nsp mailing list [email protected] > >> > https://puck.nether.net/mailman/listinfo/juniper-nsp > >> > > >> > *************************************************************************************** > >> > The information contained in this message, including attachments, may > >> > contain > >> > privileged or confidential information that is intended to be delivered > >> > only to the > >> > person identified above. If you are not the intended recipient, or the > >> > person > >> > responsible for delivering this message to the intended recipient, > >> > Windstream requests > >> > that you immediately notify the sender and asks that you do not read the > >> > message or its > >> > attachments, and that you delete them without copying or sending them to > >> > anyone else. > >> > > >> > >> _______________________________________________ > >> juniper-nsp mailing list [email protected] > >> https://puck.nether.net/mailman/listinfo/juniper-nsp > >
signature.asc
Description: This is a digitally signed message part
_______________________________________________ juniper-nsp mailing list [email protected] https://puck.nether.net/mailman/listinfo/juniper-nsp

