Hello!
Dont ask me why, but for some reason I thought the command "newfs" was a brilliant command to use on a switch that i wanted to remove the config on.
Fine, it worked and all config is removed. However now the switch just go into miniboot (i think it's called).
So looking at the available commands in miniboot I thought that boot from usb would be a nice option if I just could copy the files needed from another working switch to a usb stick, boot up the non-working switch and then save all files.
Would that work? and if so, how do I adress the USB stick? Both in normal boot and miniboot.
If it doesnt work, how do I recover the switch that I ran "newfs" on?
Regards,
henrikpa
6400 and newfs command
-
benny
Re: 6400 and newfs command
Hi henrikpa and welcome to the forums.
Here is the procedure to recover your device - it was already posted but I think its time for some modifications.
Power on your OS6400 connect on the console and wait for the following message to appear
As soon as the transfer of the image files is done, you can enter the following command to reboot your switch
The switch should boot up the AOS from the "certified" directory as there is no content in the "working" directory. After logging in with admin/switch you need to do a
Your OS6400 should be recovered now ... (post your console-log if something went wrong...)
Regards,
Benny
Here is the procedure to recover your device - it was already posted but I think its time for some modifications.
Power on your OS6400 connect on the console and wait for the following message to appear
Hit any key to stop the counter and you should be in the u-boot menu with a CLI prompt like thatHit any key to stop autoboot: 2
Now you set the baud-rate to a higher value to make sure it won't take the whole day to transfer the image files (obviously you need a Console application capable of zModem file transfer)=>
The switch should have asked you to change the baud-rate of your console connection by now and you should run at 115200. We boot to the Miniboot now (we will be stuck there any way)=> setenv baudrate 115200
=> setenv bootflags 0x1000
From miniboot you need to create the "working" and "certified" directory=> bootm 0xff900000
We start the zModem transfer now (you should be in the "certified" directory for that.[Miniboot] ->mkdir "working"
[Miniboot] ->mkdir "certified"
[Miniboot] ->cd "certified"
You need to upload the AOS 6.3.3.R01 code where the images start with Gos.img - If you don't have the AOS code you can download it from the BPWS (Business Partner WebSite).[Miniboot]->sysStartZmodem
As soon as the transfer of the image files is done, you can enter the following command to reboot your switch
Your switch will now run at baud-rate 9600 again, so you should adapt your serial connection as well.[Miniboot] ->reboot
The switch should boot up the AOS from the "certified" directory as there is no content in the "working" directory. After logging in with admin/switch you need to do a
To bring the switch back in "working" state.Switch-> copy certified working
Your OS6400 should be recovered now ... (post your console-log if something went wrong...)
Regards,
Benny
-
RUlaszek
Re: 6400 and newfs command
I am new to Alcatel switches and you saved me a lot of time.
Thank you.
-
saeba
Re: 6400 and newfs command
Hi Benny,
I'm a newbie, I would like to ask something about your explanation before, my questions are :
1. What is the meaning of :
=> bootm 0xff900000 (Is it necessary to change bootm?)
2. What is the content of AOS 6.3.3.R01 code, what files needed to uploaad to /flash.
Thanks a lot.
Regards,
Saeba
I'm a newbie, I would like to ask something about your explanation before, my questions are :
1. What is the meaning of :
=> bootm 0xff900000 (Is it necessary to change bootm?)
2. What is the content of AOS 6.3.3.R01 code, what files needed to uploaad to /flash.
Thanks a lot.
Regards,
Saeba
-
cedric1
Re: 6400 and newfs command
1. What is the meaning of :
=> bootm 0xff900000 (Is it necessary to change bootm?) -> no clear info about this command
2. What is the content of AOS 6.3.3.R01 code, what files needed to upload to /flash -> all instead *.bin
=> bootm 0xff900000 (Is it necessary to change bootm?) -> no clear info about this command
2. What is the content of AOS 6.3.3.R01 code, what files needed to upload to /flash -> all instead *.bin
Re: 6400 and newfs command
Is that only me, or the "newfs" command had been decommissioned?
-
devnull
Re: 6400 and newfs command
According to the manuals it should be there
(its in 6.4.4 "newfs /flash" and 6.4.5) AFAIK there is a newFS in bootrom/miniboot as well.
(its in 6.4.4 "newfs /flash" and 6.4.5) AFAIK there is a newFS in bootrom/miniboot as well.
