Hi,
I have a similar problem and followed the same suggested solution but the router still returns to debugging subshell after a reboot.
Timecounter "TSC" frequency 398935746 Hz quality 800
Timecounters tick every 1.000 msec
md0: Preloaded image </boot/modules/mdimg> 5783552 bytes at 0xc09ed554
ad1: 38154MB <FUJITSU MHV2040AS 00000096> at ata0-slave UDMA33
Trying to mount root from cd9660:/dev/md0
Disabling watchdog
=================== Bootstrap installer starting ===================
Initialized the environment
Routing engine model is RE-5.0
Discovered that flash disk = ad0 , hard disk = ad1
ERROR: discover_install_drive: tmp/preinstall/install.conf not found
You are now in a debugging subshell (you may not see a prompt)...
#
This is in the debugging subshell prompt with the directories output.
# pwd
/
# ls
anim dev mnt tmp
bin etc packagemnt usr
boot instrootmnt sbin var
# df -k
Filesystem 512-blocks Used Avail Capacity Mounted on
/dev/md0 11296 11296 0 100% /
devfs 2 2 0 100% /dev
devfs 2 2 0 100% /dev
/dev/ad1s1f 73308120 643000 66800472 1% /mnt
I was able to run the fsck in /dev/ad1s1f but it failed when I ran it in /dev/md0.
# fsck -y /dev/admd0
fsck: exec fsck_cd9660 for /dev/md0: No such file or directory
# fsck /-y /dev/ad1s1f
** /dev/ad1s1f (NO WRITE)
** Last Mounted on /mnt
** Phase 1 - Check Blocks and Sizes
** Phase 2 - Check Pathnames
** Phase 3 - Check Connectivity
** Phase 4 - Check Reference Counts
** Phase 5 - Check Cyl groups
200 files, 160750 used, 18166280 free (464 frags, 2270727 blocks, 0.0% fragmentation)