Raspberry Pi wont remove OpenElec and Kodi - operating-system

I have gotten a used Raspberry Pi 3 Model B (bought used).
I formatted the SD-Card and downloaded Raspbian Stretch Lite. When I turned on the Pi, somehow it opened Openelec with Kodi.
I tried it again and again. I went and tried to install NOOBS instead. Same thing happens. It opens OpenELEC and Kodi.
I have formatted the SD-Card using a Windows 10 PC. Triied it with the "Quick formating" option on and off. After formating, the SD-Card seems to be empty, as far as I can tell from Windows explorer.
Since I dont really need the GUI, it wouldnt be so bad when I could just use ssh to get a terminal and do the work I want to do. However, Openelec disabled basic things like apt-get. When I try it, the following message appears:
There is no working 'apt-get'.
'apt-get' is a command to install, update and remove software which
is stored in a non local repo. 'apt-get' does nothing then connecting to such
repo, downloads the software, unpacks the software, updates a big
local database with all filepaths and other informations about the
installed software or removes or updates installed Software.
With OpenELEC it is not possible to change the system for security and
stability reasons so even 'apt-get' would not be able to do this.
We also dont have and want to maintain such a repo for various other
great reasons.
Also Ubuntu or Debian packages are often outdated and not compatible
with OpenELEC
TIP: use XBMC's addon browser to enhance your OpenELEC system
I cant exmplain that behaviour. To my knowledge, the Pi should not have any type of internal storage. So I dont understand how the old OS can still be there after I format the SD-Card for the 5th time (no other data storage medium connected). Noobs and Raspbian shouldnt have anything to do with Kodi or Openelec so I do not undestand how it keeps coming up. I have tried to look for a solution online but couldnt find anything but how to install the software that I want to get rid of.
Does anybody know how I can remove Openelec and Kodi so that I can have a normal Raspbian distribution installed? Thanks in advance!

You formatted the microSD card on your PC and it still boots into Openelec? Did you write the Raspbian Lite image onto the card? It seems that you haven't actually modified the contents of the card.
I strongly recommend getting Etcher to write bootable images; you don't even have to decompress the downloaded image, Etcher will do that for you. Etcher is pretty smart at figuring out which media is your microSD card, but as always when working with tools that can overwrite disks be careful.

Related

Raspbian update independent of Motioneyeos update?

I have installed Motioneyeos on a Pi Zero and on a Pi2, and it works like a charm in both of them. The control of the 2 systems can be unified on the web server of any one of them. The web interface is clear and allows to customize hundreds aspects of the program. Anything perfect so far.
Trying to understand a little bit how does it work, I have logged to one of the 2 Pis through ssh and I have checked that the OS is kept to a bare minimum. uname -r returns 4.19.65.
On the web interface of the app it is possible to check if the last version of the program is the one running. I have checked, and yes, I have the last version.
My question is: does it make sense to upgrade the OS components used by the program (apt update, apt dist-upgrade) even if the last version of the program is the one running in my Pis? Apt is not even installed, so the first thing would be to bring it there and install it, but I am afraid that if I update the OS, the program may stop to work...
I answer myself thanks to the feedback received in another forum. Motioneyeos is an embedded software based on Buildroot and as such it is not possible to install any package on it. To be able to install a package on Motioneyeos, Motioneyeos has to be installed on an full OS as Raspbian following the instructions in Motioneyeos web ==>>

securing Raspbian SD-Card

I have a short Question related to Raspberrys but in applies in general to Linux systems.
Can I prevent someone from reading out the SD-Card of the Raspberry?
What do I mean: I can simply disable all login-posibilitys to prevent anyone from logging into the system. But if you unplug the SD-Card and mount it in another linux system, you still have full access to all files.
Is there any possibility besides glueing the SD-Card to the Pi?
I would be already greatfull for some keywords to google with ;)
some Linux distributions (e.g. Ubuntu) support full disk encryption, which you can activate during setup.
Since you have an Raspberry PI, I assume that you have already installed raspbian. Therefore you can search for raspbian home folder encryption for example.
You can also set access rights so only the Pi user can open them.

win10 IOT on raspberry pi3 or raspberry pi2

I have a raspberry pi3 but I am having tremendous issues with trying to install win10 IOT on it. When I download the core and try to boot it I only get the "rainbow" screen. When installing noobs I dont even get the option for win10 IOT. Anyone else had problems with this? Will it work smoother on a raspberry pi2 rather then the pi3?
Im not asking if anyone know solutions for booting win10 IOT on pi3, I have tried most of it :) Just asking if anyone has better experiences using pi2 for it?
If you follow the link to Manually set up your IoT Core device Microsoft there explain how to install with a Windows computer.
If you are using UNIX however, there isn't much help for you. As an experienced Unix user who last used Windows seriously about six years ago I found it quite intimidating to have to
a) log into my Microsoft account (that I last used from a different continent)
b) sign up as a "Windows Insider"
Even after going through these hurdles I only stumbled across the ISO file by accident, and even then nothing for the Raspberry Pi.
This answer isn't given to help you achieve your aim, which I despair of doing, but to let you know that the whole process perplexed someone of considerable experience. I don't see myself using Win 10 for my Pis without buying a pre-configured SD card.
What you're going to need to do is follow this link and do what it says:
https://buildazure.com/2017/05/24/setup-raspberry-pi-with-windows-10-iot-core/
Basically:
Load up your microsd card onto the PC
Use the wizard
Insert card into the Pi
And boot it up.
i working in windows 10 iot core.
first time when i install windows 10 iot core i follow the following list.
how to install windows 10 iot core
follow the link.
i things your problem is solve...

How to 'factory reset'/reinstall OS on the Intel Edison

I've filled up my Intel Edison 100% and have no room for anything more. I've emptied all logs and am still at 100%. I decided I want to factory reset and reorganize next time with the SD card better. Unfortunately I cannot find out how to reinstall completely the OS.
I've tried downloding the Yocto linux image off the intel downloads page, and uploading that to the Edison. However, it still is running the same as before...
For some reason I distinctly remember (pretty sure anyway...) reading a command to 'reset' everything. I just can't find any documentation now that I need it. Does anyone know how to do this?
Found the command, it's reboot ota
This is my checklist
Install dfu-util (on Linux: sudo apt-get install dfu-util)
Download Release 3.0 Yocto* complete image and unzip it
Connect the module using both USB connectors.
Run sudo ./flashall.sh --recovery
Wait for the script to finish and then a few extra minutes for the module to boot.
I've found one USB hub that didn't work, I had to connect directly to the USB port on the computer.
I'm not sure if you need both usb connectors but at least the one for main power is needed.
flashall.sh is found in the unzipped directory.

Physical to virtual conversions?

Can I really do this?
As I am reading up on virtualization, I am getting more excited. The latest thing I am realizing, that it may actually be possible to take my existing XP Pro development workstation(VS 2005/vs2008/sql server etc) and simply convert the entire installation to a virtual image and load onto my new box? Sounds to good to be true? Does it really work that easy? If I can take a complete "dump" of a machine and simply move it onto my new workstation, not even need to find all my old install disks, that is truly amazing.
Does one of the VM products support this better than others? that may tip the scales for me to pick one platform over another..
How is it that I have not gotten onto this VM bandwagon sooner!?
Edit/Update: Just as a quick update in case anyone is interest. Got the machine, decided to go with vmware and had a heck of a battle, first trying to figure out which product to use, and then actually getting anything to work. The instructions are not obvious and wasted my 6 hours trying to a) get a vmware working, and b) actually trying to do a conversion of my old XP machine into a VM - never got it working.
In frustration I downloaded MS Virtual PC in minutes, had it up and running in 5 minutes, and was creating VM's within the hour....VERY easy. I haven't however figured out how to convert my old XP machine into a VM - but, now having a VM running, it seems obvious to me that I wouldn't want to actually run a primary development setup in my VW window anyway.
Definitely VMware Converter.
VMware Workstation is the most user friendly and fully-featured app that I've used and is well suited for debugging. Check out an awesome video demo of the record/replay feature here.
VMWare has p2v. By far the easiest solution you could take, and it's pretty easy to convert the VMDK into a VHD if you want to use a different solution.
Three options I have used.
1) Vmware convertor will create an image for you you can move around forever. You can then run it for free in the VMWare player.
I think the easiest thing would be to connect an external drive to your computer, convert a computer into an image onto that drive, plug the drive into another machine, and try it out..
2) Ghost is ghost.. You can use something like norton ghost or a linux equivalent to mirror the drive onto a larger one. If you have driver issues you can do an inplace re-install over the existing xp install and it will replace the drivers and leave all your applications, data, and settings intact.
3) Go Mac. They're strange. You can link two macs up with a firewire cord and it will copy over your entire setup, including virtual machines. I have my laptop backed up and if it dies, I can transfer the identical computer onto another one in minutes as all the internal components in Apple are intel and the drivers are one and the same.
Options I've heard of:
4) Microsoft Virtual PC. A fourth option that I have been hearing good things about is Microsoft Virtual PC. They bought the technology from another company and
5) Citrix - This one is intriguing because it would conceivably work as well, if not better than VMware. At least that's what I hear from my Citrix friend.
Welcome to the club of virtualisation. I set up a virtual machine on my Vista Os and running xp simultaneously. Its great as some apps don't work in 64bit (ie. those old 16bit apps.). You can try Microsoft Virtual PC 2007 its most probably the most user friendly. It's what I use. You can try Virtualbox too.
You can set up a partition and allocate space to the new operating system for this to work. Or use a spare formatted secondary drive if you have one.
Best of luck!
We now do all development in VM's.
The desktops are locked down tight and out IT manager is happy.
We use VirtualBox and it's fine.
There are fairly clear instruction for using physical disks directly for VirtualBox anyway.
The P->V transofer is not terribly hard.
Can't say the same of MS VPC or VMWare.
Here's a link to XenConvert, which is specifically designed for this "P2V" (Physical to Virtual) conversion, to show that the answer to your first question is "yes", it can be done.
http://www.citrix.com/site/ss/downloads/details.asp?downloadId=2318170&productId=683148
However, that tool is designed for stuffing your XP machine's image into a server, rather than onto your desktop machine.
For your more specific problem of doing this for your desktop, you're talking more about "Client Virtualization" (as opposed to Server Virtualization), where tools like XenClient, KVM, Virtual Box, qemu, Parallels, VMWare Workstation, etc. are better suited, and each will have their own P2V conversion technique.