10-18-2024 05:33 AM
Hi all,
I'm re-using a ISR4431 that was in stock for some testing, and noticed it's got rather old IOS-XE image, so started upgrade process following the steps here which had worked many time in the past.
Cisco ISR & ASR 1k Routers: IOS-XE/Firmware Upgrade (Install Mode) - Cisco Community
The rommon has already been upgraded to 16.12(2r) successfully.
Current running version is 03.16.09.S, and am trying to upgrade to 17.9.4a.
However on this occasion, I'm getting the below error after issuing the request platform command.
request platform software package expand file bootflash:isr4400-universalk9.17.09.04a.SPA.bin force verbose
Verifying parameters
... parameters verified
Validating package type
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
or too many mounted file systems
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)
Any idea how to get around this?
Many thanks in advance.
Solved! Go to Solution.
10-21-2024 03:52 AM
Try and boot the firmware in Bundle Mode.
10-21-2024 02:45 PM
Now convert it Install Mode and see if the same error message occurs.
10-18-2024 05:53 AM
- Check integrity for isr4400-universalk9.17.09.04a.SPA.bin ; verify md5sum (checksum)
M.
10-18-2024 05:54 AM
try clean up - request platform software package clean and check you have enough space before installing.
10-18-2024 07:37 AM
verified that MD5 checksum checks out.
Clean get the following error:
Cleaning sw/isos
Scanning boot directory for packages ... done.
Preparing packages list to delete ...
mkdir: cannot create directory `.CLEANUP_IN_PROGRESS': Read-only file system
FAILED: Failed to create directory .CLEANUP_IN_PROGRESS
10-18-2024 08:22 AM
- Try : fsck bootflash:
M.
10-18-2024 09:38 AM
post below output complete :
show version
dir bootflash:
10-18-2024 08:40 AM
that completed with no errors. clean and expand still fail though.
bootflash: clean, 149/885280 files, 462933/1770495 blocks (check after next mount)
fsck completed with no errors
fsck of bootflash: complete
10-18-2024 04:38 PM - edited 10-18-2024 04:46 PM
@atsukane wrote:
mount: wrong fs type, bad option, bad superblock on /dev/loop0, or too many mounted file systems
Try this:
conf t
service internal
end
wr
clear install state
The router will reboot. After the reboot, turn it back off to normalize.
conf t
NO service internal
end
wr
And try the upgrade again.
And if does not work, I have another trick to pull.
10-18-2024 05:40 PM
Hello @Leo Laohoo ,
How OP
>>
ount: wrong fs type, bad option, bad superblock on /dev/loop0,
or too many mounted file systems
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)
becomes
conf t
service internal
end
wr
clear install state
forgive me for this stupid question .....:)
best regards
10-18-2024 08:46 PM
Some kind of process has "locked up" the write to the flash. That is how I am seeing the error.
"clear install state" will forcibly unhook them and reboot the router.
10-19-2024 01:44 AM
Thanks @Leo Laohoo ill try this next week and report back.
10-21-2024 01:18 AM
Good morning.
It would appear that "clear install state" isn't available on this version (03.16.09.S) of ISR unfortunately
router#clear install state
^
% Invalid input detected at '^' marker.
router#clear in?
interface
router#
10-21-2024 02:12 AM
The command "clear install state" is invalid if the configuration "service internal" is not used.
conf t
service internal
end
wr
clear install state
The router will reboot. After the reboot, turn it back off to normalize.
conf t
NO service internal
end
wr
10-21-2024 03:16 AM
Hi @Leo Laohoo I did issue "service internal" before issuing "clear install".
router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
router(config)# service internal
router(config)#end
router#wr
Building configuration...
[OK]
router#clear install state
^
% Invalid input detected at '^' marker.
router#cle
router#clear in?
interface
router#clear in
10-21-2024 03:52 AM
Try and boot the firmware in Bundle Mode.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide