ASA5505 disk0: is empty

I accidently erased the disk0 on a ASA5505.
Now it is not booting anymore:

CISCO SYSTEMS
Embedded BIOS Version 1.0(12)13 08/28/08 15:50:37.45

Low Memory: 632 KB
High Memory: 251 MB
PCI Device Table.
Bus Dev Func VendID DevID Class              Irq
 00  01  00   1022   2080  Host Bridge
 00  01  02   1022   2082  Chipset En/Decrypt 11
 00  0C  00   1148   4320  Ethernet           11
 00  0D  00   177D   0003  Network En/Decrypt 10
 00  0F  00   1022   2090  ISA Bridge
 00  0F  02   1022   2092  IDE Controller
 00  0F  03   1022   2093  Audio              10
 00  0F  04   1022   2094  Serial Bus         9
 00  0F  05   1022   2095  Serial Bus         9

Evaluating BIOS Options ...
Launch BIOS Extension to setup ROMMON

Cisco Systems ROMMON Version (1.0(12)13) #0: Thu Aug 28 15:55:27 PDT 2008

Platform ASA5505

Use BREAK or ESC to interrupt boot.
Use SPACE to begin boot immediately.

Launching BootLoader...
Default configuration file contains 1 entry.

Searching / for images to boot.

No images in /
Error 15: File not found

unable to boot an image


Failsafe booting engaged.
Default configuration file contains 1 entry.

Searching / for images to boot.

No images in /
Error 15: File not found

unable to boot an image



CISCO SYSTEMS
Embedded BIOS Version 1.0(12)13 08/28/08 15:50:37.45

Low Memory: 632 KB
High Memory: 251 MB
PCI Device Table.
Bus Dev Func VendID DevID Class              Irq
 00  01  00   1022   2080  Host Bridge
 00  01  02   1022   2082  Chipset En/Decrypt 11
 00  0C  00   1148   4320  Ethernet           11
 00  0D  00   177D   0003  Network En/Decrypt 10
 00  0F  00   1022   2090  ISA Bridge
 00  0F  02   1022   2092  IDE Controller
 00  0F  03   1022   2093  Audio              10
 00  0F  04   1022   2094  Serial Bus         9
 00  0F  05   1022   2095  Serial Bus         9

Evaluating BIOS Options ...
Launch BIOS Extension to setup ROMMON

Cisco Systems ROMMON Version (1.0(12)13) #0: Thu Aug 28 15:55:27 PDT 2008

Platform ASA5505

Use BREAK or ESC to interrupt boot.
Use SPACE to begin boot immediately.
Boot interrupted.

Ethernet0/0
MAC Address: 0026.cbbd.4dbd
Link is DOWN

Use ? for help.
rommon #0>


I have the correct bin-file downloaded from Cisco on my PC... but how do I get it into the disk0?
ambisasiaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Markus BraunCEOCommented:
Hi
just a few steps
e.g.
rommon #1> ADDRESS=192.168.1.10 (ip address of the ASA)
rommon #2> SERVER=192.168.1.1 (IP address of your PC)
rommon #3> IMAGE=asa800-232-k8.bin (or whatever image you have)
rommon #4> PORT=Ethernet0/0 (which port you plugged in you laptop/pc)

after that just type
rommon #5> tftp

and it will load the image into the flash

you need a tftp server running on your pc
you can get a free one from solarwinds or just google for 3com 3cdaemon
or here http://support.3com.com/software/utilities_for_windows_32_bit.htm
0
ambisasiaAuthor Commented:
ok I got it booted again, but how do I get the bin-file from the flash into disk0?
0
Markus BraunCEOCommented:
disk0 is the flash, so its in the right place - if it booted again, you are done
you may want to upload the ASDM Image too (the one that is for whatever image you uploaded)
so you can access it via WEB Interface

other than that - nothing more to do
0
Managing Security & Risk at the Speed of Business

Gartner Research VP, Neil McDonald & AlgoSec CTO, Prof. Avishai Wool, discuss the business-driven approach to automated security policy management, its benefits and how to align security policy management with business processes to address today's security challenges.

ambisasiaAuthor Commented:
After it finished uploading the bin-file it automatically started to go to the ciscoasa> point where I could do 'ena' and I got ciscoasa#.
But if I check the disk0 with 'dir' the bin-file is still not there and when I reboot the ASA everything is lost again.
I also tried to do 'copy run start' but same result after reboot.
What do I have to do to make it keep the bin-file in the disk0?
0
Markus BraunCEOCommented:
after it boots - do this
ASA# sh disk0
--#--  --length--  -----date/time------  path
   47  16275456    Oct 02 2009 19:05:48  asa821-k8.bin
   48  11348300    Oct 02 2009 19:37:56  asdm-621.bin

255426560 bytes total (211795968 bytes free)
and compare - it should be the same
ASA# sh flash
--#--  --length--  -----date/time------  path
   47  16275456    Oct 02 2009 19:05:48  asa821-k8.bin
   48  11348300    Oct 02 2009 19:37:56  asdm-621.bin
255426560 bytes total (211795968 bytes free)

disk0 is the internal flash and disk1 is the external (optional) one - you can see the empty slot

are you sure the flash is empty after it boots ???
because if there i stilll a startup config, in it it says what boot image to use and if it is incorrect it may
not load - although it should just load any available image
- do a wr erase once it is up again
0
ambisasiaAuthor Commented:
here is all I have on the screen during the procedure...

Rebooting....

CISCO SYSTEMS
Embedded BIOS Version 1.0(12)13 08/28/08 15:50:37.45

Low Memory: 632 KB
High Memory: 251 MB
PCI Device Table.
Bus Dev Func VendID DevID Class              Irq
 00  01  00   1022   2080  Host Bridge
 00  01  02   1022   2082  Chipset En/Decrypt 11
 00  0C  00   1148   4320  Ethernet           11
 00  0D  00   177D   0003  Network En/Decrypt 10
 00  0F  00   1022   2090  ISA Bridge
 00  0F  02   1022   2092  IDE Controller
 00  0F  03   1022   2093  Audio              10
 00  0F  04   1022   2094  Serial Bus         9
 00  0F  05   1022   2095  Serial Bus         9

Evaluating BIOS Options ...
Launch BIOS Extension to setup ROMMON

Cisco Systems ROMMON Version (1.0(12)13) #0: Thu Aug 28 15:55:27 PDT 2008

Platform ASA5505
Ethernet0/0
MAC Address: 0026.cbbd.4dbd
Link is DOWN

Use ? for help.
rommon #0> address 10.212.2.253
rommon #1> server 10.212.2.11
rommon #2> gateway 10.212.1.1
rommon #3> interface ethernet0/7
Ethernet0/7
MAC Address: 0026.cbbd.4dbd
Link is UP
rommon #4> file asdm-625.bin
rommon #5> set
ROMMON Variable Settings:
  ADDRESS=10.212.2.253
  SERVER=10.212.2.11
  GATEWAY=10.212.1.1
  PORT=Ethernet0/7
  VLAN=untagged
  IMAGE=asdm-625.bin
  CONFIG=
  LINKTIMEOUT=20
  PKTTIMEOUT=4
  RETRY=20

rommon #6> tftpdnld
ROMMON Variable Settings:
  ADDRESS=10.212.2.253
  SERVER=10.212.2.11
  GATEWAY=10.212.1.1
  PORT=Ethernet0/7
  VLAN=untagged
  IMAGE=asdm-625.bin
  CONFIG=
  LINKTIMEOUT=20
  PKTTIMEOUT=4
  RETRY=20

tftp asdm-625.bin@10.212.2.11 via 10.212.1.1
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Received 11862220 bytes

Bad magic number (0x69617462)
rommon #7> file asa822-k8.bin
rommon #8> set
ROMMON Variable Settings:
  ADDRESS=10.212.2.253
  SERVER=10.212.2.11
  GATEWAY=10.212.1.1
  PORT=Ethernet0/7
  VLAN=untagged
  IMAGE=asa822-k8.bin
  CONFIG=
  LINKTIMEOUT=20
  PKTTIMEOUT=4
  RETRY=20

rommon #9> tftpdnld
ROMMON Variable Settings:
  ADDRESS=10.212.2.253
  SERVER=10.212.2.11
  GATEWAY=10.212.1.1
  PORT=Ethernet0/7
  VLAN=untagged
  IMAGE=asa822-k8.bin
  CONFIG=
  LINKTIMEOUT=20
  PKTTIMEOUT=4
  RETRY=20

tftp asa822-k8.bin@10.212.2.11 via 10.212.1.1
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Received 16459776 bytes

Launching TFTP Image...

Cisco Security Appliance admin loader (3.0) #0: Mon Jan 11 14:23:33 MST 2010
Platform ASA5505
Loading...
Disabling IRQ #9
dosfsck 2.11, 12 Mar 2005, FAT32, LFN
open /dev/hda1:No such device or address
dosfsck(/dev/hda1) returned 1
mount: mounting /dev/hda1 on /mnt/disk0 failed: No such device or address
mount: mounting /dev/hda1 on /mnt/disk0 failed: No such device or address
Set 'tap0' persistent and owned by uid 0
IO memory 39583744 bytes

Processor memory 141635584, Reserved memory: 41943040 (DSOs: 0 + kernel: 41943040)

Total SSMs found: 0

Total NICs found: 10
88E6095 rev 2 Gigabit Ethernet @ index 09 MAC: 0000.0003.0002
88E6095 rev 2 Ethernet @ index 08 MAC: 0026.cbbd.4dbc
88E6095 rev 2 Ethernet @ index 07 MAC: 0026.cbbd.4dbb
88E6095 rev 2 Ethernet @ index 06 MAC: 0026.cbbd.4dba
88E6095 rev 2 Ethernet @ index 05 MAC: 0026.cbbd.4db9
88E6095 rev 2 Ethernet @ index 04 MAC: 0026.cbbd.4db8
88E6095 rev 2 Ethernet @ index 03 MAC: 0026.cbbd.4db7
88E6095 rev 2 Ethernet @ index 02 MAC: 0026.cbbd.4db6
88E6095 rev 2 Ethernet @ index 01 MAC: 0026.cbbd.4db5
y88acs06 rev16 Gigabit Ethernet @ index 00 MAC: 0026.cbbd.4dbd

INFO: Unable to read firewall mode from flash
       Writing default firewall mode (single) to flash
Running Activation Key: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000

This activation key is not valid.
Use default settings only
imb_upgrade_thread: IMB in slot 0 is version 1.7
imb_upgrade_thread: IMB in slot 0 is being upgraded to 1.8
Encryption hardware device : Cisco ASA-5505 on-board accelerator (revision 0x0)
                             Boot microcode   : CN1000-MC-BOOT-2.00
                             SSL/IKE microcode: CNLite-MC-SSLm-PLUS-2.03
                             IPSec microcode  : CNlite-MC-IPSECm-MAIN-2.04
IMBFS: Updating the IMB to v1.8. Please wait...
IMBFS: The IMB software was changed to v1.8.

Cisco Adaptive Security Appliance Software Version 8.2(2)

  ****************************** Warning *******************************
  This product contains cryptographic features and is
  subject to United States and local country laws
  governing, import, export, transfer, and use.
  Delivery of Cisco cryptographic products does not
  imply third-party authority to import, export,
  distribute, or use encryption. Importers, exporters,
  distributors and users are responsible for compliance
  with U.S. and local country laws. By using this
  product you agree to comply with applicable laws and
  regulations. If you are unable to comply with U.S.
  and local laws, return the enclosed items immediately.
 
  A summary of U.S. laws governing Cisco cryptographic
  products may be found at:
  http://www.cisco.com/wwl/export/crypto/tool/stqrg.html 

  If you require further assistance please contact us by
  sending email to export@cisco.com.
  ******************************* Warning *******************************

Copyright (c) 1996-2010 by Cisco Systems, Inc.
               
                 Restricted Rights Legend

Use, duplication, or disclosure by the Government is
subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software - Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.

                Cisco Systems, Inc.
                170 West Tasman Drive
                San Jose, California 95134-1706

Insufficient flash space available for this request:
  Size info: request:32 free:0  delta:32
open or write(ffsdev/2/write/32) failed
Could not initialize system files in flash.
Type help or '?' for a list of available commands.
ciscoasa> ena
Password:
ciscoasa# sh disk0
--#--  --length--  -----date/time------  path
  514  0           Mar 24 2010 19:17:47  coredumpinfo
  515  43          Mar 24 2010 19:17:47  coredumpinfo/coredump.cfg
  512  0           Mar 24 2010 19:17:36  crypto_archive
  499  0           Mar 24 2010 19:17:29  log

0 bytes total (0 bytes free)
ciscoasa# sh flash
--#--  --length--  -----date/time------  path
  514  0           Mar 24 2010 19:17:47  coredumpinfo
  515  43          Mar 24 2010 19:17:47  coredumpinfo/coredump.cfg
  512  0           Mar 24 2010 19:17:36  crypto_archive
  499  0           Mar 24 2010 19:17:29  log

0 bytes total (0 bytes free)
ciscoasa#  
 
 
 
 
0
Markus BraunCEOCommented:
ok, this actually looks like there is something wrong with the flash card inside the ASA

--------------------------
open /dev/hda1:No such device or address
dosfsck(/dev/hda1) returned 1
mount: mounting /dev/hda1 on /mnt/disk0 failed: No such device or address
mount: mounting /dev/hda1 on /mnt/disk0 failed: No such device or address
----------------------------------------
Insufficient flash space available for this request:
 Size info: request:32 free:0  delta:32
open or write(ffsdev/2/write/32) failed
Could not initialize system files in flash.
-----------------------------------------------

do you have a 7.x image available?
if you downgrade to it, it reformats the flash card - maybe that will fix it
and after that upgrade back to 8.x
that what i would try next
0
Markus BraunCEOCommented:
or do this

ASA(config)#format disk0:

after that, copy the image back fromthe tftp server

with this,
ASA(config)#fsck disk0:

you can check the fiels system

let me know how it goes
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ambisasiaAuthor Commented:
I tried it with with the 7.x image (asa724-k8.bin) and I was able to use the 'format disk0' to get the disk back online... but how can I copy the file from the tftp to the disk0 when I'm in the ena-mode? I tried to do 'copy tftp disk0' and it was asking me for the tftp address, the source file name and the destination file name but then I get the error ' failed to open tftp://192.168.1.2/asa724-k8.bin (no such device).
when I used the tftp in the rommon> it was working perfect.
0
ambisasiaAuthor Commented:
Here again the command line history for the steps I tried. Any idea what I do wrong?

Rebooting....

CISCO SYSTEMS
Embedded BIOS Version 1.0(12)13 08/28/08 15:50:37.45

Low Memory: 632 KB
High Memory: 251 MB
PCI Device Table.
Bus Dev Func VendID DevID Class              Irq
 00  01  00   1022   2080  Host Bridge
 00  01  02   1022   2082  Chipset En/Decrypt 11
 00  0C  00   1148   4320  Ethernet           11
 00  0D  00   177D   0003  Network En/Decrypt 10
 00  0F  00   1022   2090  ISA Bridge
 00  0F  02   1022   2092  IDE Controller
 00  0F  03   1022   2093  Audio              10
 00  0F  04   1022   2094  Serial Bus         9
 00  0F  05   1022   2095  Serial Bus         9

Evaluating BIOS Options ...
Launch BIOS Extension to setup ROMMON

Cisco Systems ROMMON Version (1.0(12)13) #0: Thu Aug 28 15:55:27 PDT 2008

Platform ASA5505
Ethernet0/0
MAC Address: 0026.cbbd.4dbd
Link is UP

Use ? for help.
rommon #0> address 192.168.1.1
rommon #1> server 192.168.1.2
rommon #2> interface ethernet0/0
Ethernet0/0
MAC Address: 0026.cbbd.4dbd
Link is UP
rommon #3> file asa724-k8.bin
rommon #4> set
ROMMON Variable Settings:
  ADDRESS=192.168.1.1
  SERVER=192.168.1.2
  GATEWAY=0.0.0.0
  PORT=Ethernet0/0
  VLAN=untagged
  IMAGE=asa724-k8.bin
  CONFIG=
  LINKTIMEOUT=20
  PKTTIMEOUT=4
  RETRY=20

rommon #5> tftp
ROMMON Variable Settings:
  ADDRESS=192.168.1.1
  SERVER=192.168.1.2
  GATEWAY=0.0.0.0
  PORT=Ethernet0/0
  VLAN=untagged
  IMAGE=asa724-k8.bin
  CONFIG=
  LINKTIMEOUT=20
  PKTTIMEOUT=4
  RETRY=20

tftp asa724-k8.bin@192.168.1.2
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Received 8515584 bytes

Launching TFTP Image...

Cisco Security Appliance admin loader (3.0) #0: Sun Apr  6 12:13:13 PDT 2008
##############################################################
256MB RAM

Total SSMs found: 0

Total NICs found: 10
88E6095 rev 2 Gigabit Ethernet @ index 09 MAC: 0000.0003.0002
88E6095 rev 2 Ethernet @ index 08 MAC: 0026.cbbd.4dbc
88E6095 rev 2 Ethernet @ index 07 MAC: 0026.cbbd.4dbb
88E6095 rev 2 Ethernet @ index 06 MAC: 0026.cbbd.4dba
88E6095 rev 2 Ethernet @ index 05 MAC: 0026.cbbd.4db9
88E6095 rev 2 Ethernet @ index 04 MAC: 0026.cbbd.4db8
88E6095 rev 2 Ethernet @ index 03 MAC: 0026.cbbd.4db7
88E6095 rev 2 Ethernet @ index 02 MAC: 0026.cbbd.4db6
88E6095 rev 2 Ethernet @ index 01 MAC: 0026.cbbd.4db5
y88acs06 rev16 Gigabit Ethernet @ index 00 MAC: 0026.cbbd.4dbd

INFO: Unable to read firewall mode from flash
       Writing default firewall mode (single) to flash
WARNING: Unable to write firewall mode to flash, this is normal if flash is
         not formatted.
Running Activation Key: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000

This activation key is not valid, use default settings only

Encryption hardware device : Cisco ASA-5505 on-board accelerator (revision 0x0)
                             Boot microcode   : CNlite-MC-Boot-Cisco-1.2
                             SSL/IKE microcode: CNlite-MC-IPSEC-Admin-3.03
                             IPSec microcode  : CNlite-MC-IPSECm-MAIN-2.05

Cisco Adaptive Security Appliance Software Version 7.2(4)

  ****************************** Warning *******************************
  This product contains cryptographic features and is
  subject to United States and local country laws
  governing, import, export, transfer, and use.
  Delivery of Cisco cryptographic products does not
  imply third-party authority to import, export,
  distribute, or use encryption. Importers, exporters,
  distributors and users are responsible for compliance
  with U.S. and local country laws. By using this
  product you agree to comply with applicable laws and
  regulations. If you are unable to comply with U.S.
  and local laws, return the enclosed items immediately.

  A summary of U.S. laws governing Cisco cryptographic
  products may be found at:
  http://www.cisco.com/wwl/export/crypto/tool/stqrg.html 

  If you require further assistance please contact us by
  sending email to export@cisco.com.
  ******************************* Warning *******************************

Copyright (c) 1996-2008 by Cisco Systems, Inc.

                Restricted Rights Legend

Use, duplication, or disclosure by the Government is
subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software - Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.

                Cisco Systems, Inc.
                170 West Tasman Drive
                San Jose, California 95134-1706

open or write(ffsdev/2/write/32) failed
Could not initialize system files in flash.
Type help or '?' for a list of available commands.
ciscoasa> show version

Cisco Adaptive Security Appliance Software Version 7.2(4)

Compiled on Sun 06-Apr-08 13:39 by builders
System image file is "tftp://192.168.1.2/asa724-k8.bin"
Config file at boot was "startup-config"

ciscoasa up 13 secs

Hardware:   ASA5505, 256 MB RAM, CPU Geode 500 MHz
Internal ATA Compact Flash, 128MB
BIOS Flash Firmware Hub @ 0xffe00000, 1024KB

Encryption hardware device : Cisco ASA-5505 on-board accelerator (revision 0x0)
                             Boot microcode   : CNlite-MC-Boot-Cisco-1.2
                             SSL/IKE microcode: CNlite-MC-IPSEC-Admin-3.03
                             IPSec microcode  : CNlite-MC-IPSECm-MAIN-2.05
 0: Int: Internal-Data0/0    : address is 0026.cbbd.4dbd, irq 11
 1: Ext: Ethernet0/0         : address is 0026.cbbd.4db5, irq 255
 2: Ext: Ethernet0/1         : address is 0026.cbbd.4db6, irq 255
 3: Ext: Ethernet0/2         : address is 0026.cbbd.4db7, irq 255
 4: Ext: Ethernet0/3         : address is 0026.cbbd.4db8, irq 255
 5: Ext: Ethernet0/4         : address is 0026.cbbd.4db9, irq 255
 6: Ext: Ethernet0/5         : address is 0026.cbbd.4dba, irq 255
 7: Ext: Ethernet0/6         : address is 0026.cbbd.4dbb, irq 255
 8: Ext: Ethernet0/7         : address is 0026.cbbd.4dbc, irq 255
 9: Int: Internal-Data0/1    : address is 0000.0003.0002, irq 255
10: Int: Not used            : irq 255
11: Int: Not used            : irq 255
The Running Activation Key is not valid, using default settings:

Licensed features for this platform:
Maximum Physical Interfaces : 8
VLANs                       : 3, DMZ Restricted
Inside Hosts                : 10
Failover                    : Disabled
VPN-DES                     : Enabled
VPN-3DES-AES                : Disabled
VPN Peers                   : 10
WebVPN Peers                : 2
Dual ISPs                   : Disabled
VLAN Trunk Ports            : 0

This platform has a Base license.

Serial Number: JMX1402Z0KJ
Running Activation Key: 0x00000000 0x00000000 0x00000000 0x00000000 0x00000000
Configuration register is 0x0
Configuration has not been modified since last system restart.
ciscoasa> ena
Password:
ciscoasa# show run
: Saved
:
ASA Version 7.2(4)
!
hostname ciscoasa
enable password 8Ry2YjIyt7RRXU24 encrypted
passwd 2KFQnbNIdI.2KYOU encrypted
names
!
interface Vlan1
 no nameif
 no security-level
 no ip address
!
interface Ethernet0/0
 shutdown
!
interface Ethernet0/1
 shutdown
!
interface Ethernet0/2
 shutdown
!
interface Ethernet0/3
 shutdown
!
interface Ethernet0/4
 shutdown
!
interface Ethernet0/5
 shutdown
!
interface Ethernet0/6
 shutdown
!
interface Ethernet0/7
 shutdown
!
ftp mode passive
pager lines 24
icmp unreachable rate-limit 1 burst-size 1
no asdm history enable
arp timeout 14400
timeout xlate 3:00:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02
timeout sunrpc 0:10:00 h323 0:05:00 h225 1:00:00 mgcp 0:05:00 mgcp-pat 0:05:00
timeout sip 0:30:00 sip_media 0:02:00 sip-invite 0:03:00 sip-disconnect 0:02:00
timeout sip-provisional-media 0:02:00 uauth 0:05:00 absolute
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart
telnet timeout 5
ssh timeout 5
console timeout 0

!
!
prompt hostname context
Cryptochecksum:00000000000000000000000000000000
: end
ciscoasa# sh disk0
Initializing disk0: cache, please wait...Failed (Invalid DOS media or no media in slot error).

%Error show disk0: (Failed to initialize the Inode table)
ciscoasa# format disk0
WARNING: Saving activation key file failed. Proceed with operation? [confirm]

Format operation may take a while. Continue? [confirm]

Format operation will destroy all data in "disk0:".  Continue? [confirm]

Format: Drive communication & 1st Sector Write OK...

Format: All system sectors written. OK...

Format: Total sectors in formatted partition: 248544
Format: Total bytes in formatted partition: 127254528
Format: Operation completed successfully.

Format of disk0 complete
ciscoasa# sh disk0
Initializing disk0: cache, please wait...Done.
-#- --length-- -----date/time------ path

127102976 bytes available (8192 bytes used)

ciscoasa# copy tftp disk0

Address or name of remote host []? 192.168.1.2

Source filename []? asa724-k8.bin

Destination filename [disk0]?

Accessing tftp://192.168.1.2/asa724-k8.bin...
%Error opening tftp://192.168.1.2/asa724-k8.bin (No such device)
ciscoasa#
 
0
ambisasiaAuthor Commented:
Hi shirkan,
do you have any suggestion?
0
cbsnCommented:
I have a simular issue;

When i do a sh disk0: i receive this message: (%Error show disk0: (Failed to inistialize the Inode table)

Any help would be greatly appreciated

note: I able to load an BIN file to the ASA however; I cannot save it to disk0:???

0
cbsnCommented:
I did a format disk0 which has fix my issues for the time being.

perhaps this will help you as well ambisasia:
0
ambisasiaAuthor Commented:
I found that I had to configure the VLAN 1 ip and than copy the image to the disk0. from the rommon it was only booting directly from the image on the tftp server without really copying it.
Now it is back to normal.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Cisco

From novice to tech pro — start learning today.