How to install X86_64 with USB stick into Protectli FW2B ?

Post new topic   Reply to topic    DD-WRT Forum Index -> X86 based Hardware
Author Message
Richie79
DD-WRT Novice


Joined: 21 Oct 2018
Posts: 27

PostPosted: Mon Jun 22, 2020 19:45    Post subject: How to install X86_64 with USB stick into Protectli FW2B ? Reply with quote
Hi guys, I've just bought Protectli FW2B baremetal router and I would like to install DD-WRT X86_64 version into it via USB stick. I've been using DD-WRT before for couple of years e.g. in Linksys router, so I'm comfortable using it.

Is it possible to write the DD-WRT image file in bootable format into USB stick and then initiate the installation via USB in Protectli? Or is the only way to install X86_64 version by writing the image directly into Protectli's M2 SSD?

I tried to write the DD-WRT .image file into USB via Rufus, Etcher and Physdiskwrite in Windows and Etcher in Linux, but with no success: Etcher doesn't recognize the file format (.image), Rufus is able to write it, but unable to the write partition table (e.g. MBR) and Physdiskwrite fails to do anything. I guess the .image format is not an ISO file or similar to .img format. I'm going to try to use the dd utility in Linux next. Thanks!


Last edited by Richie79 on Fri Jun 26, 2020 21:11; edited 1 time in total
Sponsor
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14216
Location: Texas, USA

PostPosted: Mon Jun 22, 2020 19:58    Post subject: Reply with quote
I couldn't find anything hardware specific, but. I'm absolutely positive that you STFW for this.

https://wiki.dd-wrt.com/wiki/index.php/X86

https://wiki.dd-wrt.com/wiki/index.php/Index:FAQ

https://wiki.dd-wrt.com/wiki/index.php/PC-Engines

_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
Richie79
DD-WRT Novice


Joined: 21 Oct 2018
Posts: 27

PostPosted: Mon Jun 22, 2020 20:36    Post subject: Reply with quote
kernel-panic69 wrote:
I couldn't find anything hardware specific, but. I'm absolutely positive that you STFW for this.

https://wiki.dd-wrt.com/wiki/index.php/X86

https://wiki.dd-wrt.com/wiki/index.php/Index:FAQ

https://wiki.dd-wrt.com/wiki/index.php/PC-Engines


Thanks @kernel-panic69. I appreciate your effort, but you guessed correctly: I've already browsed through those sites with no luck. Thanks anyway!
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14216
Location: Texas, USA

PostPosted: Mon Jun 22, 2020 21:45    Post subject: Reply with quote
Physdiskwrite. If you do a little digging, you will realize you can use it to write to USB drives.
_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
Richie79
DD-WRT Novice


Joined: 21 Oct 2018
Posts: 27

PostPosted: Tue Jun 23, 2020 21:42    Post subject: SOLVED Reply with quote
I got it installed! I had to practice bit of out-of-the-box-thinking, but here's how I did it.

First I copied the DD-WRT x86_64 image into a USB stick.

Then with Balena Etcher I wrote what-ever-Linux-live-CD-distro (Ubuntu 20.4 in my case) into another USB stick and booted my Protectli router from that live CD USB stick.

While in Ubuntu I used "lshw -c disk" command to found out the logical path of my Protectli router's disk drive (M2 SSD). It was /dev/sda.

Then I navigated to the folder where the DD-WRT image file was located (the USB stick) and used the "dd" command to write the DD-WRT image directly into my Protectli router's disk drive: dd if=dd-wrt_x64_public_vga.image of=/dev/sda

After that I shutdown my router, removed both USB sticks and re-started my Protectli. Voilà! It worked fine and booted straight into DD-WRT console.
Next step is configuring it. Thanks for reading, I hope this helps someone else too! Very Happy
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Index -> X86 based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum