** Fabric OS v4.1 이상 버전에서 적용가능.
** 리부팅시 정상 OS 부팅을 하지 않고 prom 상태에서 single 모드로 부팅하여 패스워드 변경.
** Serial port 연결 필요.
1. Serial 연결.(8-N-1(None))
2. H/W 강제 리부팅. 부팅시
“Press escape within 4 seconds to enter boot interface.” 상태에서 “ESC” 키를 눌러 “3) Enter command shell” 을 선택하여 Prom으로 진입
boot <memory address>
The system is coming up, please wait…
Checking system RAM – press any key to stop test
Checking memory address: 01300000
System RAM check terminated by keyboard
System RAM check complete
Press escape within 4 seconds to enter boot interface.
1) Start system.
2) Recover password.
3) Enter command shell.Option? 3
3. 옵션 3번 “Enter command shell.” 을 선택하여 prom shell로 진입
“printenv” 명령으로 현재 OSLoader 확인. 1번째 loader을 지정하여 -s(single) 모드로 부팅.
Password:
> printenv
AutoLoad=yes
ENET_MAC=006069602BD6
InitTest=MEM()
LoadIdentifiers=IDE w/ XFS;IDE w/ XFS & NFS Root
OSLoader=MEM()0xF0000000;MEM()0xF0800000
OSRootPartition=hda1;hda2
SkipWatchdog=yesboot MEM()0xF0000000 -s
또는 OSLoadOptions=single 로 설정 후, boot
> printenv
AutoLoad=yes
BootromVerbose=no
InitTest=MEM()LoadIdentifiers=Fabric Operating System;Fabric Operating System
OSLoadOptions=quiet
OSLoader=ATA()0x8c047;ATA()0x14e978
OSRootPartition=hda1;hda2
SkipWatchdog=yes
baudrate=9600
bootcmd=setenv bootargs mem=${mem} ${OSLoadOptions};ataboot;bootm 0x400000
bootdelay=20
ethact=ppc_4xx_eth0
ethaddr=00:05:1E:5B:4D:C3
hostname=sequoia
> setenv OSLoadOptions single
> printenv
AutoLoad=yes
BootromVerbose=no
InitTest=MEM()
LoadIdentifiers=Fabric Operating System;Fabric Operating System
OSLoadOptions=single
OSLoader=ATA()0x8c047;ATA()0x14e978
OSRootPartition=hda1;hda2 Skip
Watchdog=yes
baudrate=9600
bootcmd=setenv bootargs mem=${mem} ${OSLoadOptions};ataboot;bootm 0x400000
bootdelay=20
ethact=ppc_4xx_eth0
ethaddr=00:05:1E:5B:4D:C3
hostname=sequoia
> boot
4. single mode로 부팅되면 “/” 파티션을 rw옵션으로 remount 하고,
secondly boot device를 /mnt에 마운트(이전의 printenv에서 참조, passwddefault 명령 실행 및 리부팅.
sh-2.04# mount -o remount,rw,noatime /
sh-2.04# mount /dev/hda2 /mnt
sh-2.04# mount
/dev/root on / type unknown (rw,noatime)
none on /proc type proc (rw)
none on /dev/pts type devpts (rw,mode=620)
none on /tmp type ramfs (rw)
/dev/hda2 on /mnt type ext3 (rw)
sh-2.04# /sbin/passwddefault
switch.sh-2.04# reboot -f
5. rebooting이후 Brocade Default 값인 “admin”, “password”로 설정 reset되어 로그인이 가능함.



