Multiarch support Rock64
#11
Yup sure did. Need to know how to image the sd card before I continue testing. Have the build tweaked but don't want to have to keep adding desktop, apps, etc. every time I break it. Posted the questions I have about how to image all the partitions under a new thread but haven't heard back yet. Maybe that means it's not something people do but in the past, apps like clonezilla or Aomei Backupper have saved me many times. No experience with dd or partclone-dd so I'm a little gun-shy.
  Reply
#12
(09-13-2017, 05:23 PM)Farley56 Wrote: Yup sure did. Need to know how to image the sd card before I continue testing. Have the build tweaked but don't want to have to keep adding desktop, apps, etc. every time I break it. Posted the questions I have about how to image all the partitions under a new thread but haven't heard back yet. Maybe that means it's not something people do but in the past, apps like clonezilla or Aomei Backupper have saved me many times. No experience with dd or partclone-dd so I'm a little gun-shy.

Easiest way is just to pop it in a card reader and windows or linux just do the following.
https://www.howtogeek.com/228886/how-to-...and-linux/

Or

https://computers.tutsplus.com/articles/...-mac-59294
https://sourceforge.net/projects/win32di...t/download is prob easiest on windows to my shame as that is what I have used in the past

Don't no why as never used dd sudo dd if=/blah/foo.img of=/dev/sdb bs=1M even though its dual boot with Ubuntu

PS looks like ayufan has been at his magic and there is another new image to play with Jessie https://github.com/ayufan-rock64/linux-b...m64.img.xz stretch https://github.com/ayufan-rock64/linux-b...m64.img.xz

Also with Ubuntu xenial there is a Armhf image that may save you all the multiarch headaches https://github.com/ayufan-rock64/linux-b...mhf.img.xz
  Reply
#13
(09-13-2017, 10:07 PM)stuartiannaylor Wrote:
(09-13-2017, 05:23 PM)Farley56 Wrote: Yup sure did. Need to know how to image the sd card before I continue testing. Have the build tweaked but don't want to have to keep adding desktop, apps, etc. every time I break it. Posted the questions I have about how to image all the partitions under a new thread but haven't heard back yet. Maybe that means it's not something people do but in the past, apps like clonezilla or Aomei Backupper have saved me many times. No experience with dd or partclone-dd so I'm a little gun-shy.

Easiest way is just to pop it in a card reader and windows or linux just do the following.
https://www.howtogeek.com/228886/how-to-...and-linux/

Or

https://computers.tutsplus.com/articles/...-mac-59294
https://sourceforge.net/projects/win32di...t/download is prob easiest on windows to my shame as that is what I have used in the past

Don't no why as never used dd sudo dd if=/blah/foo.img of=/dev/sdb bs=1M even though its dual boot with Ubuntu

PS looks like ayufan has been at his magic and there is another new image to play with Jessie https://github.com/ayufan-rock64/linux-b...m64.img.xz stretch https://github.com/ayufan-rock64/linux-b...m64.img.xz

Also with Ubuntu xenial there is a Armhf image that may save you all the multiarch headaches https://github.com/ayufan-rock64/linux-b...rmhf.img.x

* Thought about doing that; SD card into Windows PC and imaging it from there but seems every time I put in a card from a working Rock64, Windows complains and says that I need to format it. I've been using Etcher to write a build to the card so I just ignore the Windows error and let Etcher do it's thing. Works fine. I always figured that using another app to write the contents of the SD card to an iso or img wouldn't work because it wouldn't know how to read the card (why Windows complains). Your post got me thinking (thanks), I'll try this:
1. Etcher a build to a card.
2. Boot it in the Rock64.
3. Power down, put card into Windows PC, use Win32 Disk Imager to save the image to the PC.
4. Remove the card, insert different card, use Win32 Disk Imager to write the image to the card.
5. Boot up that card in the Rock64 and see what happens. If it boots back up, do the same thing with my tweaked Stretch build.
6. Load Multiarch stuff till the cows come home as I don't care, can get back to base.

* Could try using the dd command that was in the How-To-Geek link you posted. Maybe could:
1. Attach external HDD via USB to the Rock64 running the image I want to save.
2. DD command from the How-To-Geek link to save it.
3. Power down, insert card with a base build.
4. Boot up and then DD restore (whatever that command is) the saved image to that card.

The Win32 Disk Imager method seems to be the least volatile so I'll try that first.

* I'm running ayufan's .104 image.
* Have a Xenial Mate build running with the JRiver MediaCenter23 software loaded. Works fine and as you mentioned, didn't require any multiarch business. I figured why not try to get  it working on Stretch as it seems to be faster (just my noob observation).

Thanks for taking time to get me thinking. Appreciate it.

I'd eventually like to attach a touch screen to the Rock64, connect it to a small amp/speakers via the add-on DAC optical out and rig up a mount so I can have a somewhat portable media center. I envision being on the treadmill, listening to music in 5.1 sound or watching a movie. Almost like using a VR headset (without the headset) with speakers attached via wired mounts like a spider legs coming out from the screen/Rock64. Not sure what I'll do for the subwoofer but I digress...have to get the software running first.
  Reply
#14
(09-14-2017, 08:45 AM)Farley56 Wrote: The Win32 Disk Imager method seems to be the least volatile so I'll try that first.


Actually, Win32 Disk Imager is the most troublesome ;  which is why we recommend Etcher.  Words to the wise.
marcushh777    Cool

please join us for a chat @  irc.pine64.xyz:6667   or ssl  irc.pine64.xyz:6697

( I regret that I am not able to respond to personal messages;  let's meet on irc! )
  Reply
#15
(09-14-2017, 09:29 AM)MarkHaysHarris777 Wrote:
(09-14-2017, 08:45 AM)Farley56 Wrote: The Win32 Disk Imager method seems to be the least volatile so I'll try that first.


Actually, Win32 Disk Imager is the most troublesome ;  which is why we recommend Etcher.  Words to the wise.

I might be wrong again but etcher can only write images and will not create ISO's.

Dunno used Win32DiskImager with all my Pi setups but haven't got the Rock yet.

(09-14-2017, 08:45 AM)Farley56 Wrote:
(09-13-2017, 10:07 PM)stuartiannaylor Wrote:
(09-13-2017, 05:23 PM)Farley56 Wrote: Yup sure did. Need to know how to image the sd card before I continue testing. Have the build tweaked but don't want to have to keep adding desktop, apps, etc. every time I break it. Posted the questions I have about how to image all the partitions under a new thread but haven't heard back yet. Maybe that means it's not something people do but in the past, apps like clonezilla or Aomei Backupper have saved me many times. No experience with dd or partclone-dd so I'm a little gun-shy.

Easiest way is just to pop it in a card reader and windows or linux just do the following.
https://www.howtogeek.com/228886/how-to-...and-linux/

Or

https://computers.tutsplus.com/articles/...-mac-59294
https://sourceforge.net/projects/win32di...t/download is prob easiest on windows to my shame as that is what I have used in the past

Don't no why as never used dd sudo dd if=/blah/foo.img of=/dev/sdb bs=1M even though its dual boot with Ubuntu

PS looks like ayufan has been at his magic and there is another new image to play with Jessie https://github.com/ayufan-rock64/linux-b...m64.img.xz stretch https://github.com/ayufan-rock64/linux-b...m64.img.xz

Also with Ubuntu xenial there is a Armhf image that may save you all the multiarch headaches https://github.com/ayufan-rock64/linux-b...rmhf.img.x

* Thought about doing that; SD card into Windows PC and imaging it from there but seems every time I put in a card from a working Rock64, Windows complains and says that I need to format it. I've been using Etcher to write a build to the card so I just ignore the Windows error and let Etcher do it's thing. Works fine. I always figured that using another app to write the contents of the SD card to an iso or img wouldn't work because it wouldn't know how to read the card (why Windows complains). Your post got me thinking (thanks), I'll try this:
1. Etcher a build to a card.
2. Boot it in the Rock64.
3. Power down, put card into Windows PC, use Win32 Disk Imager to save the image to the PC.
4. Remove the card, insert different card, use Win32 Disk Imager to write the image to the card.
5. Boot up that card in the Rock64 and see what happens. If it boots back up, do the same thing with my tweaked Stretch build.
6. Load Multiarch stuff till the cows come home as I don't care, can get back to base.

* Could try using the dd command that was in the How-To-Geek link you posted. Maybe could:
1. Attach external HDD via USB to the Rock64 running the image I want to save.
2. DD command from the How-To-Geek link to save it.
3. Power down, insert card with a base build.
4. Boot up and then DD restore (whatever that command is) the saved image to that card.

The Win32 Disk Imager method seems to be the least volatile so I'll try that first.

* I'm running ayufan's .104 image.
* Have a Xenial Mate build running with the JRiver MediaCenter23 software loaded. Works fine and as you mentioned, didn't require any multiarch business. I figured why not try to get  it working on Stretch as it seems to be faster (just my noob observation).

Thanks for taking time to get me thinking. Appreciate it.

I'd eventually like to attach a touch screen to the Rock64, connect it to a small amp/speakers via the add-on DAC optical out and rig up a mount so I can have a somewhat portable media center. I envision being on the treadmill, listening to music in 5.1 sound or watching a movie. Almost like using a VR headset (without the headset) with speakers attached via wired mounts like a spider legs coming out from the screen/Rock64. Not sure what I'll do for the subwoofer but I digress...have to get the software running first.

I think that is a brilliant idea maybe do a deal with the devil and install Alexa on it.

I have been thinking along the same lines but was going to attack a server box first.
I really like the power/cost ratio and size where you can partition at a hardware level and this has had me thinking about a totally different take on storage.
Dunno if you have seen blockchain storage such as https://storj.io/ or http://sia.tech/ where you can backup offsite privately at low cost.
Its basically p2p datacentre storage and its incredibly secure and private but its the manner it distributes chunks and parity to create a decentralized file system that really interests me.

You really need 3 devices minimum all with local attached storage, but once you hit that any extra devices just increase storage capacity and bandwidth.
The data is striped across devices so that network and disk i/o is aggregated across devices.

I have been looking at two projects http://www.xtreemfs.org/http://ceph.com/ also just came across a new one that looks very interesting https://lizardfs.com/
LizardFS is of interest as its seems it can start with a singular device.

The idea is that a modern home when it comes to a mediacentre/alexa units, kodi boxes, router firewalls, game emulators android units you can quickly build past 3 devices and storage becomes a matter of JAA (Just Add Another) where local P2P storage backs up to external P2P storage and there is nothing that comes close in privacy, extensibility and ease of use.
http://bryanapperson.com/blog/the-defini...pberry-pi/ if he has done it on a Pi it should fly on a rock.

Would be great if you would document your project and if the Rock64 had a wiki entry for media players that allowed various community input as when you said Jriver I was like whats that then and it will be interesting to see how you project continues.
  Reply
#16
(09-14-2017, 09:29 AM)MarkHaysHarris777 Wrote:
(09-14-2017, 08:45 AM)Farley56 Wrote: The Win32 Disk Imager method seems to be the least volatile so I'll try that first.


Actually, Win32 Disk Imager is the most troublesome ;  which is why we recommend Etcher.  Words to the wise.


Win32 Disk Imager on my PC didn't work as it (windows) doesn't recognize the SD card. Not sure if it's because of writing the linux image to it or booting it up in the Rock64 or something fubar'd in my windows pc. I've used Win32 Disk imager to write ISOs in the past so I'm confident that's not the culprit. It's on my list of things to test.
1. Format the SD card in windows PC.
2. Remove it, remount it - shouldn't be any issue in the PC. If so, it's my windows PC that's needing attention.
3. Write an image using Etcher on the PC.
4. Eject the card via "safely remove hardware and media" - don't need yanking the card to cause a problem.
5. Put the card back into the PC. Any errors?
6. If no errors, eject it again.
7. Fire up the linux build in the Rock64. Log in per usual.
8. Shutdown and remove the SD card.
9. Put SD card in the windows PC - my money's on windows choking on it. Wagers anyone????? If that's the case, that will tell me booting the image in the Rock64, while great, means I can't use a windows PC to back up the card.
Another test on my list is to:
9. Rather than using the windows PC, put the card in a linux PC (have a Toshiba laptop running Mint) and see if I can read the card - my money's on yes. If so, I can use the Mint laptop to save the image using DD I presume.
Make sense? Waste of time because others have already done this and know the answers?  Shy
  Reply
#17
(09-14-2017, 02:56 PM)Farley56 Wrote:
(09-14-2017, 09:29 AM)MarkHaysHarris777 Wrote:
(09-14-2017, 08:45 AM)Farley56 Wrote: The Win32 Disk Imager method seems to be the least volatile so I'll try that first.


Actually, Win32 Disk Imager is the most troublesome ;  which is why we recommend Etcher.  Words to the wise.


Win32 Disk Imager on my PC didn't work as it (windows) doesn't recognize the SD card. Not sure if it's because of writing the linux image to it or booting it up in the Rock64 or something fubar'd in my windows pc. I've used Win32 Disk imager to write ISOs in the past so I'm confident that's not the culprit. It's on my list of things to test.
1. Format the SD card in windows PC.
2. Remove it, remount it - shouldn't be any issue in the PC. If so, it's my windows PC that's needing attention.
3. Write an image using Etcher on the PC.
4. Eject the card via "safely remove hardware and media" - don't need yanking the card to cause a problem.
5. Put the card back into the PC. Any errors?
6. If no errors, eject it again.
7. Fire up the linux build in the Rock64. Log in per usual.
8. Shutdown and remove the SD card.
9. Put SD card in the windows PC - my money's on windows choking on it. Wagers anyone????? If that's the case, that will tell me booting the image in the Rock64, while great, means I can't use a windows PC to back up the card.
Another test on my list is to:
9. Rather than using the windows PC, put the card in a linux PC (have a Toshiba laptop running Mint) and see if I can read the card - my money's on yes. If so, I can use the Mint laptop to save the image using DD I presume.
Make sense? Waste of time because others have already done this and know the answers?  Shy
Yeah I am same always used Win32 Disk Imager with the Pi but can not say until I get my Rock.
Maybe with The Uboot & the SPI flash its going to be a complete PIA and maybe someone will explain.
Could well be the partition layout just dunno until I try but apparently its on its way.

Might find DD is the same but prob need to see why etcher can write Iso's and is preferred its still a cul-de-sac as you want to make an ISO.
Should so some reading on etcher.
  Reply
#18
(09-14-2017, 10:33 AM)stuartiannaylor Wrote:
(09-14-2017, 09:29 AM)MarkHaysHarris777 Wrote:
(09-14-2017, 08:45 AM)Farley56 Wrote: The Win32 Disk Imager method seems to be the least volatile so I'll try that first.


Actually, Win32 Disk Imager is the most troublesome ;  which is why we recommend Etcher.  Words to the wise.

I might be wrong again but etcher can only write images and will not create ISO's.

Dunno used Win32DiskImager with all my Pi setups but haven't got the Rock yet.

(09-14-2017, 08:45 AM)Farley56 Wrote:
(09-13-2017, 10:07 PM)stuartiannaylor Wrote:
(09-13-2017, 05:23 PM)Farley56 Wrote: Yup sure did. Need to know how to image the sd card before I continue testing. Have the build tweaked but don't want to have to keep adding desktop, apps, etc. every time I break it. Posted the questions I have about how to image all the partitions under a new thread but haven't heard back yet. Maybe that means it's not something people do but in the past, apps like clonezilla or Aomei Backupper have saved me many times. No experience with dd or partclone-dd so I'm a little gun-shy.

Easiest way is just to pop it in a card reader and windows or linux just do the following.
https://www.howtogeek.com/228886/how-to-...and-linux/

Or

https://computers.tutsplus.com/articles/...-mac-59294
https://sourceforge.net/projects/win32di...t/download is prob easiest on windows to my shame as that is what I have used in the past

Don't no why as never used dd sudo dd if=/blah/foo.img of=/dev/sdb bs=1M even though its dual boot with Ubuntu

PS looks like ayufan has been at his magic and there is another new image to play with Jessie https://github.com/ayufan-rock64/linux-b...m64.img.xz stretch https://github.com/ayufan-rock64/linux-b...m64.img.xz

Also with Ubuntu xenial there is a Armhf image that may save you all the multiarch headaches https://github.com/ayufan-rock64/linux-b...rmhf.img.x

* Thought about doing that; SD card into Windows PC and imaging it from there but seems every time I put in a card from a working Rock64, Windows complains and says that I need to format it. I've been using Etcher to write a build to the card so I just ignore the Windows error and let Etcher do it's thing. Works fine. I always figured that using another app to write the contents of the SD card to an iso or img wouldn't work because it wouldn't know how to read the card (why Windows complains). Your post got me thinking (thanks), I'll try this:
1. Etcher a build to a card.
2. Boot it in the Rock64.
3. Power down, put card into Windows PC, use Win32 Disk Imager to save the image to the PC.
4. Remove the card, insert different card, use Win32 Disk Imager to write the image to the card.
5. Boot up that card in the Rock64 and see what happens. If it boots back up, do the same thing with my tweaked Stretch build.
6. Load Multiarch stuff till the cows come home as I don't care, can get back to base.

* Could try using the dd command that was in the How-To-Geek link you posted. Maybe could:
1. Attach external HDD via USB to the Rock64 running the image I want to save.
2. DD command from the How-To-Geek link to save it.
3. Power down, insert card with a base build.
4. Boot up and then DD restore (whatever that command is) the saved image to that card.

The Win32 Disk Imager method seems to be the least volatile so I'll try that first.

* I'm running ayufan's .104 image.
* Have a Xenial Mate build running with the JRiver MediaCenter23 software loaded. Works fine and as you mentioned, didn't require any multiarch business. I figured why not try to get  it working on Stretch as it seems to be faster (just my noob observation).

Thanks for taking time to get me thinking. Appreciate it.

I'd eventually like to attach a touch screen to the Rock64, connect it to a small amp/speakers via the add-on DAC optical out and rig up a mount so I can have a somewhat portable media center. I envision being on the treadmill, listening to music in 5.1 sound or watching a movie. Almost like using a VR headset (without the headset) with speakers attached via wired mounts like a spider legs coming out from the screen/Rock64. Not sure what I'll do for the subwoofer but I digress...have to get the software running first.

I think that is a brilliant idea maybe do a deal with the devil and install Alexa on it.

I have been thinking along the same lines but was going to attack a server box first.
I really like the power/cost ratio and size where you can partition at a hardware level and this has had me thinking about a totally different take on storage.
Dunno if you have seen blockchain storage such as https://storj.io/ or http://sia.tech/ where you can backup offsite privately at low cost.
Its basically p2p datacentre storage and its incredibly secure and private but its the manner it distributes chunks and parity to create a decentralized file system that really interests me.

You really need 3 devices minimum all with local attached storage, but once you hit that any extra devices just increase storage capacity and bandwidth.
The data is striped across devices so that network and disk i/o is aggregated across devices.

I have been looking at two projects http://www.xtreemfs.org/http://ceph.com/ also just came across a new one that looks very interesting https://lizardfs.com/
LizardFS is of interest as its seems it can start with a singular device.

The idea is that a modern home when it comes to a mediacentre/alexa units, kodi boxes, router firewalls, game emulators android units you can quickly build past 3 devices and storage becomes a matter of JAA (Just Add Another) where local P2P storage backs up to external P2P storage and there is nothing that comes close in privacy, extensibility and ease of use.
http://bryanapperson.com/blog/the-defini...pberry-pi/ if he has done it on a Pi it should fly on a rock.

Would be great if you would document your project and if the Rock64 had a wiki entry for media players that allowed various community input as when you said Jriver I was like whats that then and it will be interesting to see how you project continues.

Thanks for the responses and info. I'll definitely check out the links. Will reply later but I liked your mention of Alexa. Not sure how to get that installed but I'll look into it. I remember reading something about it somewhere. Not sure how I'd get Alexa to listen to voice commands (hook up a microphone to it???) but that would be cool.
Don't want to hijack this thread but I have an eMMC loaded with Android - very impressed except for having to use the mouse/keyboard as I don't have a touch screen. Watched a TV show via the Plex app on it (signed into my Plex server PC). Very nice, no lag, beautiful picture, very usable and great fit with the Rock64.
  Reply
#19
Just out of curiosity have you installed any Ext4 drivers for windows.
I usually use http://www.paragon-drivers.com/extfs-windows/ even if the 5GB's after trial period sucks big style.
As after that you should see those partitions.
I have tried the free non nag read only on win 10 before it didn't work but maybe should try http://www.ext2fsd.com/ again
[edit] do for read only and works

PS you can do it for the Pi so guess so https://github.com/alexa-pi/AlexaPi/wiki/Installation

Also winimage rather than winimg32 http://www.winimage.com/download/wima6490.exe

As that will allow you to create a VHD of the SD card and also back again.

Could of sworn I used winimg32 but with my memory anything over a month or so starts to just become fog.
  Reply
#20
Duh - should have guessed. Linux laptop reads the SD card perfectly.
Saved an image of the card using DD
Writing that image to another card now.
I believe it solves the question of how to save an image so I can continue testing of the multiarch adds knowing I can get back to base. Yeah! Thanks for the advice.

Haven't tried DD'ing the card to an external USB HDD while still in the Rock64. Will try that tomorrow.
Haven't loaded any ext4 drivers, nice suggestion, didn't even cross my mind. Will try that soon. Makes sense, how could I expect windows to read a linux card. Oh wait, but linux can read an NTFS card...
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  irradium (based on crux linux) Rock64 riscv64, aarch64 mara 0 53 03-24-2024, 01:07 PM
Last Post: mara
  Rock64 v2 - did not work song / audio sqw200zu 2 1,237 03-14-2024, 03:09 AM
Last Post: dmitrymyadzelets
  Rock64 won't boot dstallmo 0 243 12-27-2023, 10:34 AM
Last Post: dstallmo
  HDMI doesn't work on rock64 Noung1991 1 511 11-21-2023, 08:33 AM
Last Post: as365n4
  Rock64 + Klipper + KlipperScreen Instructions godzilla62 0 512 10-22-2023, 01:52 AM
Last Post: godzilla62
  Rock64 Debian 11 (Bullseye) install problem jbize 15 7,965 10-12-2023, 05:14 PM
Last Post: tpaul
  slarm64 (unofficial slackware) Rock64 RK3328 (aarch64) mara 133 186,453 10-09-2023, 03:31 AM
Last Post: mara
  arch rock64 does not boot nemnob 0 510 07-09-2023, 03:28 AM
Last Post: nemnob
  RXDP from Win10 to Armbian on Rock64 Transportsicherung 0 564 05-27-2023, 06:11 AM
Last Post: Transportsicherung
  DietPi OS for ROCK64 MichaIng 41 31,744 12-07-2022, 08:22 PM
Last Post: luminosity7

Forum Jump:


Users browsing this thread: 2 Guest(s)