Question : Problems with password recovery and factory default reset on my catalyst 4006 switch

Hello im trying to do a password recovery and factory default reset on my catalyst 4006 switch and tryed following this guide.... http://www.cisco.com/en/US/products/hw/switches/ps663/products_password_recovery09186a00800945f7.shtml
But I can't really opperate the rommon promt. When i try to issue the confrag command i just get this errormessage.
1:
2:
rommon 1 >confreg
confreg: Command not found.

I tryed to force it with this command:
1:
rommon 2 >confreg=2142

It somewhat worked I don't have to enter any password anymore but now the factory default is not working. The first command I should do is at stage 5 in the guide above where I should run configure memory command or the copy startup-config running-config  but all i get is more stuff not working for me....
1:
2:
3:
4:
CPHSW1004> (enable) configure memory
Usage: configure <host> <file> [rcp]
Usage: configure network
CPHSW1004> (enable)

and...
1:
2:
3:
4:
5:
6:
7:
8:
CPHSW1004> (enable) copy startup-config runnig-config

11910908 bytes available on device bootflash, proceed (y/n) [n]? y
error = -9

Can not open source file bootflash:startup-config (file not found)
Cannot copy from bootflash:startup-config to bootflash:runnig-config
CPHSW1004> (enable)


Is there something wrong with my startupfile? how do i recreate it if that is the problem?


If this is to any help this is my set file in the rommonprompt
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
rommon 3 >set
PS1=rommon ! >
BlockedGigaportCount=45600
SkipDiagsAlways=0
SkipDiags=0
TftpServer=10.1.1.1
DiagBootMode=post
InvalidPacketBufferCrcs=2
confreg=0x2142
MemorySize=64
ResetCause=20
TmpfsAddr=2197815296
TmpfsSize=12582912
TmpfsDirectorySize=10240
DiagFreePageLimit=12288
AutobootStatus=fail
?=0
CONFIG_FILE=bootflash:switch.cfg
BOOT=bootflash:cat4000.6-1-1.bin,1;bootflash:cat4000.5-4-2.bin,1;
WHICHBOOT=bootflash:cat4000.6-1-1.bin
ROMVERSION=5.4(1)

What should I do? Im using HyperTerminal via XPP

Answer : Problems with password recovery and factory default reset on my catalyst 4006 switch

Also, perhaps you are running CatOS and should be using this instead?
http://www.cisco.com/en/US/products/hw/switches/ps708/products_password_recovery09186a00801349aa.shtml
Random Solutions  
 
programming4us programming4us