Openmptcprouter: Unable to move the image to the Router

Created on 11 Nov 2020  Â·  72Comments  Â·  Source: Ysurac/openmptcprouter

I downloaded this image to the USB

It booted up but it is missing many components and i was not sure how to move the image
https://twitter.com/rifaterdemsahin/status/1325909939521540097

Image I used
https://twitter.com/rifaterdemsahin/status/1325910424320012288

Script I could not trigger
https://twitter.com/rifaterdemsahin/status/1325911021840715783

I tried to move the image Error I got
https://twitter.com/rifaterdemsahin/status/1325915622778220545

Is there a way that has been done for this ?

Device
This is the device i am installing on
https://youtu.be/rfc2iSnOLsc

All 72 comments

Difficult to read...
So you can see boot screen but partitions are not mounted ? A driver may be needed but I would need more technical info about the device.

Difficult to read

Ok here are all the screenshots
Downloaded Image
image

Moved image to usb
image

The machine starts like
image

Loads from usb
image

I could not trigger this from the image
image

I cant find my script
image

Script

cd /tmp
wget https://download.openmptcprouter.com/release/v0.56.4/x86_64/targets/x86/64/openmptcprouter-v0.56.4-r0+14653-a439f1bb47-x86-64-generic-ext4-combined-efi.img.gz
gzip -d -c openmptcprouter-v0.56.4-r0+14653-a439f1bb47-x86-64-generic-ext4-combined-efi.img.gz | dd of=/dev/sda bs=1M

Drive
image

Block Info
image

So you can see boot screen but partitions are not mounted ?

I cant see the partitions:

A driver may be needed but I would need more technical info about the device.

Device
image

Manufacturer
https://protectli.com/vault-6-port/

thsi device seems ton support ubuntu and other distro...

did you try EFI and non EFI img ...

try 0.56.5

do you try to start OMR on a usb key ?

why not start this device on usb key like ubunut or other distro and transfert image to SSD
with

gunzip openmptcprouter-.img.gz
dd bs=4M if=openmptcprouter-
.img of=/dev/sdX conv=fsync

https://protectli.com/kb/how-to-create-a-bootable-usb-drive-for-software-installation/

u seems to be log via SSH on OMR i dont understand why ???

why do you want to launch this script, to copy image u seems to be on an OMR working because u are log in ssh on OMR ...

my idea : launch your device with ubuntu / debian on a live usb.

get OMR img from the web site..

transfert the image to the ssd..

relaunch and select ssd in te boot

u seems to be log via SSH on OMR i dont understand why ???

why do you want to launch this script, to copy image u seems to be on an OMR working because u are log in ssh on OMR ...

my idea : launch your device with ubuntu / debian on a live usb.

get OMR img from the web site..

transfert the image to the ssd..

relaunch and select ssd in te boot

I tried and failed
https://twitter.com/rifaterdemsahin/status/1326667556535603200?s=19

20201111_231856

There is only one drive left
16051375961551933502781396734576

MaYbe my image should not be the generic x64 one ?

Get the last one

This also did not work
Screenshot_20201111-233629_Chrome

Uploading Screenshot_20201111-233925_Chrome.jpg…

If you create an usb omr usb under winfows with img and software like etcher is this usb key with omr start?

Under an usb live key with unbuntu is the ssd reconized? Is the ssd active in bios?

Ssd active in bios
-uz5ad1

I did install Ubuntu to the ssd.
Ssd works on that box

So 1st is ssd 2nd is usb key ? Like 3rd

With usb omr the box starts but I can't find the ssd when I start with omr usb key.

Should I install debian
And do
https://github.com/Ysurac/openmptcprouter/wiki/Create-image-for-unsupported-platform

P0 is the ssd

If you start a unbuntu live usb is the ssd reconized?

If you start a unbuntu live usb is the ssd reconized?

Yes

Is ubuntu reconized ssd?

So from ubuntu transfert omr img to the ssd...

What is the name of the device under ubuntu? Sdx? Sdb sdc??

Download img with wget of from the web browser under ubuntu...

Then i a terminal...

gunzip omr-.img.gz
dd bs=4M if=omr-
.img of=/dev/sdX conv=fsync

Replace omr-*.img with the complete name of the download img... ans /dev/sdX with the real name of the sss

Wtah was the result?

Send us result of the command...

Is ubuntu reconized ssd?
yes I can install ubuntu on to the box

So from ubuntu transfert omr img to the ssd...
How can I transfer if it is a running image
I tried movinng the image with dd from usb key but that throw the errror or : unknow file system

What is the name of the device under ubuntu? Sdx? Sdb sdc??
sda5

Wtah was the result?
I ran dd bs=4M if=omr-.img of=/dev/sdX conv=fsync
I got After boot : unknown file system

ubuntu sees sda5
image

and dd command should have worked but i get
image

I think hou mixed some...

1st launch ubunutu live usb... dont install ubuntu on ssd just launch.. in live usb start. You will have a system wotking...
Download under ubunutu from website the img for x86-64 ...

Open in ubuntu a terminal and gunzip and dd to the ssd. Shutdown remove usb restart.. and launch the system on the ssd

`I think hou mixed some...

1st launcj ubunutu live usb... dont install ubuntu on ssd just launch.. in live usb start. You will have a system wotking...
Dowload under ubunutu from website the img for x86-64 ...

Open in uvuntu a terminql and gunzip and dd to the ssd. Shutdown rdmove usb restart.. and launch the system on the ssd`

I did all. here is the proof
image

and i got the error/ i removed the USB
image

maybe something wrong with the image.
I am too tired and need to go to sleep

the VPS is runnning i would try to set the OMR if i can tomorrow.
Maybe installing debian is the way to go ?

After relaunch omr system will start on ssd....
After that system should be accessible ...throught browser via another machine on your networh

I think there is a problem du to your many try...probleme with grub.... not with omr ... because system stop in grub... perhaps @Ysurac can help now....

i could not move the image
even though i thought i did or the image is corrupted
image

The error is ghat the dd command is sda not sda5 ..... i think problem will be solved...

I will try this one more time
https://protectli.com/kb/how-to-create-a-bootable-usb-drive-for-software-installation/

i can use the machine from usb and forget the ssd
crappy solution on my end

Try to replace sda5 by sda.....

I will try this one more time
https://protectli.com/kb

Try first to replace sda5 with sda😉

Also can't get the drive names
Uploading 16051411108992433693950771969403.jpg…

Try to replace sda5 by sda.....

I will give it a try

Please dont send so big image is difficilt to load for me...

Let me know if it is ok ..

Could be sda as spam is under sda

16051416869131644440196065850290

Sorry dont understand...

Just try the dd command with /dev/sda

Sda is your ssd 500Go and sdb your usb key 128Go right...?
Try
gunzip omr-.img.gz
dd bs=4M if=omr-
.img of=/dev/sda conv=fsync

16051420125198681384707492775681

Sda worked i got stuck

At something different i used the first efi image
16051421282067375071282724433390

Its better..

Thanks a lot by the way

You have a probleme with efi in bios try to disable efi signature or option mike that...

Have you check that omr image is not corrupt after download with sha256 sum.. just ho be sure

From the boot sequence I selected uefi

And I now got stuck here

16051425478687611712526709405848

https://forums.gentoo.org/viewtopic-t-1112264-start-0.html leave efi boot but disable secure boot

From the boot sequence I selected uefi

And I now got stuck here

16051425478687611712526709405848

Is it starting or stop at this point

What are the efi option in the bios menu?

20201112_010225
Screenshot_20201112-010149_Chrome
Screenshot_20201112-010130_Chrome
20201112_005951
20201112_005918

Now I am stuck and it says booti openmptcprouter
16051430415616047423003143312118

Try to put efi and legacy...
And try different option in the boot menu

Have hou check that the omr image was not corrupt after download...to check if image is really good or not

Grub opened up at 3rd reset

20201112_011236
20201112_011219
20201112_011150
20201112_011131
20201112_011128
20201112_011112

Doing a checksum check

Looks the same will retry than go and sleep
16051440178798590155692363946232

Now the router is in a loop of restarting and entering bios

20201112_012741
20201112_012651

I am contacting the manufacturer [email protected]

as it entered into a booting loop

image

after uploading defaults and reloading the router opened up. I will try to connect

Sda worked i got stuck

At something different i used the first efi image
16051421282067375071282724433390

After re reading the post i think it was the best result you had. So the question is why this data corruption...
Error in dd command... or other problem

I have solved after doing the sda update and the bios reset

now started setting the interfaces
https://twitter.com/rifaterdemsahin/status/1326791203602493440

I have solved after doing the sda update and the bios reset

now started setting the interfaces
https://twitter.com/rifaterdemsahin/status/1326791203602493440

What do you understand by sda update???

Was this page helpful?
0 / 5 - 0 ratings

Related issues

dnwk picture dnwk  Â·  8Comments

Adorfer picture Adorfer  Â·  3Comments

ndaptardar picture ndaptardar  Â·  3Comments

Scaff31 picture Scaff31  Â·  5Comments

CurseStaff picture CurseStaff  Â·  4Comments