Support Apnea Board & OSCAR  

Changes

Jump to: navigation, search

Mounting your SD Card under Chrome OS

986 bytes added, 18:14, 26 March 2020
Importing SD Card Data
{{incomplete}}
== Why this part is different from the last time you did this on another OS ==
You may well have imported from an SD Card before on another OS, but under Chrome OS it is different.
It is different because OSCAR runs on a secure container running Linux, inside Chrome OS.
The differences are due to the security of the container, and the differences between the naming of the SD Card on the different OSs,
* The name you used on a different machine
* The name you will use on Chrome OS
* The name OSCAR will use inside the Linux container, which depends on how you plug in your SD Card.
=== There are 5 topics we need to deal with here:===
1 # What kind of SD Card slot do you does your ChromeBook have?2 # Can you use the SD Card slot you have, or will you use a USB adapterwith the ChromeBook or a micro to full size SD Card in the CPAP?3 # Checking Chrome OS can see the SD Card you inserted4 # Enabling Linux(Beta) to see the SD Card that Chrome OS can see (because Google made your ChromeBook extra secure).5 # When OSCAR gives you a file dialog box so you can tell it where it can read your SD Card data from, you need to be able to tell it, and that depends on all of the things above.
Luckily for us, we only need to go through this complication the first time we import data from an SD Card.
2 Can === Now you need to decide how you use the will plug in your SD Card slot ===This was reviewed in your ChromeBook or ChromeBox, or do you need the previous section on Installation on Chrome OS. You may want to use an adapter that plugs into a USB slot3 Remember having to enable Linux(Beta)? Well Oscar runs under Linux(Beta) go back there and most of review it can be transparent to you. Where it isnlink maybe don't transparent is the first time you import data from need link and section below have your SD Card So leave that window for the momentready, and let me know as well as any adapters you have obtained (if any)If your Chromebook ChromeBook has a full size SD Card slot like , then that will match your CPAP machine has, or whether it has a micro SD Card slot. Itand you don's almost certain it will have one or the othert need an adapter. If it has a full size micro SD Card slot, all is well. If not, then you will by now have either have * a Micro to get a full size SD Card to USB adapter to which you use with in your existing card, or you will have to get another micro CPAP machine* a full size SD Card of the kind that comes with an to USB adapter from micro to full-size. If we assume that you have any flash memory devices already inserted in your Chromebook has a full size SD Card slot, then put remove them safely with the card from Chrome OS Files App, and then physically remove them.Now insert your CPAP machine in SD Card into the Chromebook slot. It's probably a good idea to set ChromeBook using the write protect first, (and remember to unset it again before USB adapter if you put needed it back in , or removing the CPAP, although I will verify for you that it should not be required.micro SD Card from its adapter
The Chrome OS will put up a small window asking if you want to open the SD Card in the files App or to Open Settings. We do want to Open in the Files App, and we have to do this, because it is part of Google's extra security for Chromebooks that removable devices must be specifically allowed to be "shared with Linux". You only have to do this part once.
So when the files App opens, you will see your SD Card listed towards the bottom of the left half of the app.If you plugged it in via a USB adapter, it will appear as USB Drive.If you plugged in to the SD Card slot on your ChromeBook, it will appear as SD Card.  === Share with Linux ===Again, we want to select this legend , be it "SD Card" or "USB Drive" by clicking once on the touchpad on "SD Card" it and then holding down the alt key while clicking once anywhere on the touchpad (or right clicking if you are using a mouse). We will then see a submenu which has as its 4th and bottom choice "Share with Linux". We will select this choice, and we'll have to confirm it in another popup.
Picture of Chrome OS screen here.
Now the Linux subsystem will be able to see the SD Card with all your CPAP data (although we haven't told Oscar where it is yet).
When you are done with Oscar, you will need to use the files App again to safely eject the SD Card.
=== And now, back to getting OSCAR launched, and the Language Selection window ===Maybe you launched OSCAR at the end of the installation step, in which case you'll have a dialog box asking you to pick a language (or to accept the default).If you didn't already launch it, then go to the Launch button of Chrome OS (the one with white concentric circles) and click on that. Then find the icon for the OSCAR app. It may be in a folder called Linux Apps. When you find it, click on it. OSCAR will start, and you'll get the Language selection box. So now go get to the window we got from Oscar, and we can accept the language choice (or an alternative).  === Where to store Data, and importing old Sleepyhead Data === It will then ask where to store it's data, and offer a default choice, which would be safe to accept on a new system. then Then it will want to know if you want to import any Sleepyhead data, and I think the answer should be no at least for the moment. It's thinking there may be Sleepyhead data on the machine already, and in your case there won't be. If you wanted to import Sleepyhead data from your old machine, it could probably be done, but I haven't tried it yet, and we would have to work out how you would transfer from your old system, and how Linux would see the filesbut it hasn't yet been documented. === Making a profile ===
So after you've declined the Sleepyhead Import, you will be at the Welcome screen, and you will have to create a new profile. I'll assume you know how to do that already. It's a new machine, you can use any name you like, and the name is all that is required in the four boxes of setting up a new profile.
=== Importing SD Card Data ===After that, you'll want to import from your SD Card, which we already have on the Chromebook. You may be used to using the F12 key on the keyboard, but as you can see the Chromebook doesn't have those function keys. The rightmost key above the numbers might work, but I donthat hasn't think I've tried that been verified yet, so let's just use either the "File" menu of the "CPAP Importer" data button on the welcome page.
When you click on that, you will see a box with a progress bar in it and 2 buttons marked "choose a folder and Cancel. The progress bar runs for 20 seconds and it doesn't matter File Dialog Box which button you presscomes from OSCAR, I believe the installation you have will always wait for 20 seconds before and it gives you a bigger box in which you can tell it how is referring to the file naming conventions of Linux subsystem knows the SD card.So o suggest This may seem strange, but this guide will get you just wait out the 20 seconds until the File Dialog Box appears. We know about this bug through it, and it may get fixed by the next release. mjphyi is going you'll only have to fix do it in the chrome OS packagesonce.
When you get that box, unlike windows, there are no C: or D: or any drives with a colon in them.
The SD Card is known to Linux as /mnt/chromeos/removable/USB Drive
and how we get that into navigate through the dialog box is to go to the left panel (titled "Places") and click on "File System"Then go to the panel slightly to the right titled "Name" and double click on "mnt".Then in the same panel titled "Name" we double click on "chromeos".
Then in the same panel titled "Name" we double click on "removable"
That should start Oscar importing from the SD Card, and when it is done, you should be able to use Oscar as you did before.
After importing, you should use the Chrome OS Files App to safely eject your SD Card.
== Now what? ==
If it all works, you can just shut down Oscar normally, and then the Linux subsystem will be shut down when you shut down your Chromebook.
It will not automatically start again when you start up your Chromebook again, you will need to find it in the Launcher set of windows and click on it there.
 
After you click on the launcher button, you will see a search bar where you can search for OSCAR, or you may find OSCAR App in the row of recently used Apps just below the search bar.
 
=== Pinning an icon to the shelf ===
Verify and revise: Once the Linux subsystem is running, there will be an icon on what Google calls the "shelf" which will be the black bar running across the bottom of the screen (unless you moved it to the left or right edge). If you see it there, you can alt-touchpad-click (or mouse right click) on it and a submenu choice will be to "Pin" the icon to the shelf. This will be an easier way to start it. (This icon will also allow you to stop the Linux subsystem, but remember that Oscar needs this to run.)
Remember also to use the Chrome OS Files App to eject your SD Card, and remember also that although your data may be backed up to your Google Drive under Chrome OS, your Linux data will not be, and so you should separately, on your own take regular backups of your Linux data, because that is your Oscar data.
Backups of Linux can be found in the Settings page under Linux(Beta). Chrome will ask you where to save these. You should save them
============================================================================================================================
============================================================================================================================
We may not need to meet the black window with Beta-2 and later, although it may appear. Beta-1 had no icon so we had to type OSCAR at the shell prompt.
If you can find that black background window, that's going to be the key to getting you going. It should be appearing after you've clicked on the Launcher button (with the circles in it on the bottom left of your screen). like on windows, holding down the alt key while pressing on the tab key will cycle through all the windows that are open, so that may be helpful assuming you're not seeing it because it's under another window. Or the chromebook way to do that would be to press the key on the top row that has the rectangle with the 2 vertical bars just to the right of the rectangle. That shows smaller versions of all the windows.
20
edits



Donate to Apnea Board  

Navigation menu