Recover data from a chroot (crouton) after accidental powerwash - Chromebooks

Hi all,
My Acer C720p was in developer mode with a chroot (from crouton) installed alongside.
Of course my wife got to press space on developer mode scary screen... and the chromebook was powerwashed. :crying:
Is there any way to recover some data from the chroot ?
(the chroot itself was not encrypted if I remember correctly)
I tried PhotoRec to recover all possible files from the SSD, I got many eCryptfs files, is it possible that my chroot lies in one of them ?
Thanks a million :good:

Related

[Q] Pure UEFI Boot & Alternative Bootloaders?

So, from what i've read so far, direct UEFI booting is actually not yet possible right?
I've seen a guide with Grub, one with EasyBCD and one with the native windows boot manager, except the latter one which i obviously use, i dont prefer using the other bootloaders.
Are alternative bootloaders "somehow" supported, i use CloverEFI to load OS X, wondering if that could be a possible tool?
PS, why create a USB Android that wont give you the option to install the damn system???
Okay... I don't that it's the right place to ask this..... But i wnt to know if i dual boot remix os with Windows 8.1....and after this want to remove remix os from my pc...then what will be the procedure?
definitely not the right place...
ps, I am trying CloverEFI shortly, it seems Custom entries are possible and a few people have managed to get Androidx86 to run...we'll see if there could be a guide out of it, many people dont feel comfortable messing with the EFI partition...
any changes in this region?
anyone mind sharing the boot flags used in grub to load RemixOS?
My uefi setup
Using clover in uefi dual boot OS X and uefi grub2 Linux
Then install remix to root of Linux there are guides for this
Update grub2 entries
any attempts booting it with clover (ofc without grub)?
PlutoDelic said:
any attempts booting it with clover (ofc without grub)?
Click to expand...
Click to collapse
Kernel (renamed as kernel.efi) will run as an efi stub; it's just the cmdline that you need to check how to set via clover.
HypoTurtle said:
Kernel (renamed as kernel.efi) will run as an efi stub; it's just the cmdline that you need to check how to set via clover.
Click to expand...
Click to collapse
mate, thanks a lot, totally forgot to come back here and respond.
I see it is a matter of translating boot arguments between different bootloaders, but since the boot arguments are linux, i guess i'll just have to copy the ones from grub to clover.
is this the correct feature you are mentioning?
PlutoDelic said:
mate, thanks a lot, totally forgot to come back here and respond.
I see it is a matter of translating boot arguments between different bootloaders, but since the boot arguments are linux, i guess i'll just have to copy the ones from grub to clover.
is this the correct feature you are mentioning?
Click to expand...
Click to collapse
Yea, pretty much. The efibootmgr bit seems most relevent. I haven't tried this (not running linux) but it seems via efibootmgr, you need to set location to initrd.img; root= to partition of RemixOS; SRC= to RemixOS location and androidboot.hardware=remix_x86(_64)
Lovely, triple boot on GPT EFI disks is so enjoyable . El Capitan, Windows 10, and now a more relaxed form of Linux, all independent to each other
Thanks a lot, i will digg well on this and will report back .
i made it quite far, but had to use the INSTALL=1 feature rather then use windows tools to install it on the disk. Very odd installation, the system installed on a folder in the root, not on the root itself...i reckon those i easily changed and fixed.
anyway, i have a very weird uefi implementation in my Latitude e6410, and many times it seems to ignore EFI partitions, but using the inbuilt disk partitioning tool (cgdisk i think) i managed to manually create a better sized EFI partition, and the main difference was the fact that it reserved a lower payload between the beginning of the disk and the EFI partition (OS X Disk Utility uses a higher one, something like 7kb). It was a pain to troubleshoot this but now i finally know why randomly UEFI detects bootloaders compared to the windows one.
However, RemixOS hangs on boot, and i think the reason is "DATA= USB_DATA_PARTITION=1"...
In general, can anyone let me know how to:
Have all the files in root (/*) and not in /Android-2016-03-01/*
Have proper locations rather then IMG's (direct to disk), as in i dont want DATA.IMG but a proper location, if i have to, i'll add another partition.
EFI Partition usage, what exactly should i put there and how do i represent EFI partition in boot arguments.
@HypoTurtle , i will be a PITA until i get this running up ...
If this goes well, i'll be happy to make a thorough guide, both directly booting to UEFI or using CloverEFI .
PlutoDelic said:
i made it quite far, but had to use the INSTALL=1 feature rather then use windows tools to install it on the disk. Very odd installation, the system installed on a folder in the root, not on the root itself...i reckon those i easily changed and fixed.
anyway, i have a very weird uefi implementation in my Latitude e6410, and many times it seems to ignore EFI partitions, but using the inbuilt disk partitioning tool (cgdisk i think) i managed to manually create a better sized EFI partition, and the main difference was the fact that it reserved a lower payload between the beginning of the disk and the EFI partition (OS X Disk Utility uses a higher one, something like 7kb). It was a pain to troubleshoot this but now i finally know why randomly UEFI detects bootloaders compared to the windows one.
However, RemixOS hangs on boot, and i think the reason is "DATA= USB_DATA_PARTITION=1"...
In general, can anyone let me know how to:
Have all the files in root (/*) and not in /Android-2016-03-01/*
Have proper locations rather then IMG's (direct to disk), as in i dont want DATA.IMG but a proper location, if i have to, i'll add another partition.
EFI Partition usage, what exactly should i put there and how do i represent EFI partition in boot arguments.
@HypoTurtle , i will be a PITA until i get this running up ...
If this goes well, i'll be happy to make a thorough guide, both directly booting to UEFI or using CloverEFI .
Click to expand...
Click to collapse
1. Should be easily set via grub.cfg / cmdline
2. Should be just point to partition (SYSTEM= / DATA= ); might need to label the partitions - will need to check initrd.img again
3. I think for efistub just kernel and initrd.img need to go there
you can already install Remix 0S or Android-x86 UEFI with grub2 bootloader.
HINT somebody has done it already. hmmm...definitely not the first.
http://forum.xda-developers.com/rem...l-remix-os-t3332653/post66663542#post66663542
My setup is UEFI i don't use UEFI sdcard anymore but can be adapted for ssd
Clover EFI in UEFI mode boots macOS, chainloads Grub2 in UEFi boots Fedora 23 or Remix OS.
Maromi said:
you can already install Remix 0S or Android-x86 UEFI with grub2 bootloader.
HINT somebody has done it already. hmmm...definitely not the first.
http://forum.xda-developers.com/rem...l-remix-os-t3332653/post66663542#post66663542
My setup is UEFI i don't use UEFI sdcard anymore but can be adapted for ssd
Clover EFI in UEFI mode boots macOS, chainloads Grub2 in UEFi boots Fedora 23 or Remix OS.
Click to expand...
Click to collapse
actually i am trying to get rid of grub. The only good it did so far was format the EFI and install grub there, very useful for manual uefi entries.
EFISTUB seems very promising, but if it fails then the plan is to have Clover boot RemixOS straight away, not through grub.
ps, thanks for the guide, must've skipped my eyes somehow
PlutoDelic said:
actually i am trying to get rid of grub. The only good it did so far was format the EFI and install grub there, very useful for manual uefi entries.
EFISTUB seems very promising, but if it fails then the plan is to have Clover boot RemixOS straight away, not through grub.
ps, thanks for the guide, must've skipped my eyes somehow
Click to expand...
Click to collapse
I'm booting RemixOs with EFISTUB.
read my thread at https://groups.google.com/forum/#!topic/android-x86/phdb4n0yt4w
I used something like below with Efibootmgr,
efibootmgr -c -g -L "Remix (EFIStub)" -l '\EFI\remix\kernel' -u "root=UUID=0FF2F86F64F5912F ro quiet root=/dev/ram0 androidboot.hardware=remix_x86_64 androidboot.selinux=permissive SRC=RemixOs CREATE_DATA_IMG=1 rootfstype=ext4 add_efi_memmap initrd=\\EFI\\remix\\initrd.img"
You have to copy kernel and initrd into EFI partition,i made a folder named remix there. And set UUID and SRC as relevant.
Thisu said:
I'm booting RemixOs with EFISTUB.
read my thread at https://groups.google.com/forum/#!topic/android-x86/phdb4n0yt4w
I used something like below with Efibootmgr,
efibootmgr -c -g -L "Remix (EFIStub)" -l '\EFI\remix\kernel' -u "root=UUID=0FF2F86F64F5912F ro quiet root=/dev/ram0 androidboot.hardware=remix_x86_64 androidboot.selinux=permissive SRC=RemixOs CREATE_DATA_IMG=1 rootfstype=ext4 add_efi_memmap initrd=\\EFI\\remix\\initrd.img"
You have to copy kernel and initrd into EFI partition,i made a folder named remix there. And set UUID and SRC as relevant.
Click to expand...
Click to collapse
nice, your link was actually the only resource i could find online.
right now, my UEFI is having problems detecting the EFI partition, but the fault is at DELL and their windows efi standards adaptation. i am going with gparted this time, cgdisk doesn seem to do it anymore.
Ok let me get this straight, im trying to make sense of this thread....
You are trying to install remix os directly as if it were the main OS of the PC?
and what are you using Windows or OSX what machines i mean windows or mac?
reason I ask is I have a Nextbook Flexx 11 windows it has a brother PC the ares 11 its the same in every way hardware wise the only difference is it has Android for the OS. long story short, remix has a rom image for the ares to flash and not the Flexx. I have not been able to get sound for the past year that I have been installing remix and A x86 on it.
My best guess though would be to try to find a bios that suits your hardware and android and flash it then you should get an android stock system running first then add remix to it after
Got to love GParted, it should be the main disk manager in any OS out there. Writing from RemixOS right now...cant wait to EFI STUB the sh!t out of this.
adambomb_13 said:
Ok let me get this straight, im trying to make sense of this thread....
You are trying to install remix os directly as if it were the main OS of the PC?
and what are you using Windows or OSX what machines i mean windows or mac?
reason I ask is I have a Nextbook Flexx 11 windows it has a brother PC the ares 11 its the same in every way hardware wise the only difference is it has Android for the OS. long story short, remix has a rom image for the ares to flash and not the Flexx. I have not been able to get sound for the past year that I have been installing remix and A x86 on it.
My best guess though would be to try to find a bios that suits your hardware and android and flash it then you should get an android stock system running first then add remix to it after
Click to expand...
Click to collapse
What i am actually trying to achieve is 100% independance from other OS's. All the threads out there either touch the Windows boot files or like the main Jide instructions to install it on a Disk. The latter one is good when you have two disks. I do, but i have 3 operating systems. I have Windows 10 installed on its own disk, and a disk shared between OS X and RemixOS.
To clarify things for you, old bioses (legacy booting) depend on MBR (master boot record), a very limited technology, usually windows is installed 99% of the time this way. However, times have changed and luckily the ancient BIOS is being silently changed with UEFI. UEFI needs a GPT (GUID Partition Table) to be able to read it, and GPT disks (all disks can be formatted to GPT) give you the freedom to have infinite partitions, and there is a special 200MB partition in the beginning, where the boot files are stored. All OS's have their own folder inside, hence why none touch each other, and UEFI can be configured to load a file, each of different operating systems.
I am trying to free RemixOS from grub and boot directly with the EFI file. As for why, not really important .
PlutoDelic said:
nice, your link was actually the only resource i could find online.
right now, my UEFI is having problems detecting the EFI partition, but the fault is at DELL and their windows efi standards adaptation. i am going with gparted this time, cgdisk doesn seem to do it anymore.
Click to expand...
Click to collapse
For me,gparted is the best in this case. gdisk will help too,if you are familiar with it.
Make the ESP,format it to fat32 and don't forget to set 'esp' and 'boot' flags to the partition. Also i had to label it as 'EF00'.
Then you are good to go.
PlutoDelic said:
Got to love GParted, it should be the main disk manager in any OS out there. Writing from RemixOS right now...cant wait to EFI STUB the sh!t out of this.
What i am actually trying to achieve is 100% independance from other OS's. All the threads out there either touch the Windows boot files or like the main Jide instructions to install it on a Disk. The latter one is good when you have two disks. I do, but i have 3 operating systems. I have Windows 10 installed on its own disk, and a disk shared between OS X and RemixOS.
To clarify things for you, old bioses (legacy booting) depend on MBR (master boot record), a very limited technology, usually windows is installed 99% of the time this way. However, times have changed and luckily the ancient BIOS is being silently changed with UEFI. UEFI needs a GPT (GUID Partition Table) to be able to read it, and GPT disks (all disks can be formatted to GPT) give you the freedom to have infinite partitions, and there is a special 200MB partition in the beginning, where the boot files are stored. All OS's have their own folder inside, hence why none touch each other, and UEFI can be configured to load a file, each of different operating systems.
I am trying to free RemixOS from grub and boot directly with the EFI file. As for why, not really important .
Click to expand...
Click to collapse
Just to clarify a bit -- UEFI doesn't need the 200MB fat32 ESP partition. It reads from a efi folder present on any partition the UEFI can read (i.e. CD/DVD/USB/HDD's). Clover afaik goes a little further and scans for any *.efi file and auto-creates a boot entry for it 'guessing' what the .efi loads.
@Maromi as such using grub is much simpler; i.e. this guide (efi.zip on #20) can be followed to easily; manually set grub2 up.

Remix OS on thin client

Hello,
i am currently trying to install Remix OS on a DELL Wyse Z90DE7 thin client because my girlfriend is enjoying mobile gaming a lot and I wanted to set this up for her as an Android gaming platform.
Originally Windows 7 embedded was installed but i want Remix to be a standalone system and not as dual boot.
My problem is that i don't want to install it on a USB flash drive, but either on the internal 4GB S-ATA Flash Disk or an external 250GB S-ATA HDD that is connected via the second S-ATA port on the mainboard of the thin client. But it simply won't boot from disk after i started the ISO from the flash drive, hit TAB and edited the line to "/kernel initrd=/initrd.img root=/dev/ram0 androidboot.hardware=android_x86_64 INSTALL=1 DEBUG=" to install it on the 250GB HDD. I have only few knowledge about LINUX and even less about GRUB, but I think the boot loader is the primary problem. Else I already chose NTFS and ext4 as file systems.
I know, that the hardware can run it, because after installation i was asked to reboot or run the system (i chose run) and it started to boot and i got even on the desktop. but after reboot without the attached USB drive it got stuck at "detecting android".
I hope you can help me and thanks in advance,
Dennis

Remix OS 32bit on Asus T100 (no Windows)

I have a Asus t100 I'm trying to install remix os on without a windows os. I used pmagic since I'm not that good at coding, I tried coping all the files from release_Remix_OS_for_PC_32-bit_Beta_Version_Package
to a new partition then when I try to boot from it my computer just goes straight to bios because theres nothing to boot. I also tried this http://forum.xda-developers.com/remix/remix-os/how-to-install-remix-os-virtualbox-to-t3301160 with no luck can someone help me I just want remix os installed on this computer with no other OS
Asus T100 uses Intel Atom Z3740, a 64bit processor. So use the 64-bit version of Remix OS. The 64-bit version of Remix OS also has UEFI, which makes making the drive easier, and booting faster. Make the bootable USB as per instructions, and disable secure boot in your BIOS. You should then be able to boot from the USB.
it won't work. T100 has 64bit processor but a 32bit system
---------- Post added at 04:30 PM ---------- Previous post was at 04:28 PM ----------
go here for T100
scottyost said:
I have a Asus t100 I'm trying to install remix os on without a windows os. I used pmagic since I'm not that good at coding, I tried coping all the files from release_Remix_OS_for_PC_32-bit_Beta_Version_Package
to a new partition then when I try to boot from it my computer just goes straight to bios because theres nothing to boot. I also tried this http://forum.xda-developers.com/remix/remix-os/how-to-install-remix-os-virtualbox-to-t3301160 with no luck can someone help me I just want remix os installed on this computer with no other OS
Click to expand...
Click to collapse
Ok I just did it so, here is how I did it. Use gparted, from gparted.org, booted up, partitioned, small 500MB FAT32 formated partition, second partition EXT4 the rest, 58GB+. Then took 32bit beta using JIDE's tool to put on a USB stick. Booted the stick and when it came up, entered e, to enter grub boot config. On the second line removed the part after and put INSTALL=1. Installed android to the larger partition, then installed grub, grub efi, formated, then rebooted. Side loaded google services from this forum and it works. Bugs, biggest issue is no audio. Let me know if you have any luck.
V/R,
Gary
libergm said:
Ok I just did it so, here is how I did it. Use gparted, from gparted.org, booted up, partitioned, small 500MB FAT32 formated partition, second partition EXT4 the rest, 58GB+. Then took 32bit beta using JIDE's tool to put on a USB stick. Booted the stick and when it came up, entered e, to enter grub boot config. On the second line removed the part after and put INSTALL=1. Installed android to the larger partition, then installed grub, grub efi, formated, then rebooted. Side loaded google services from this forum and it works. Bugs, biggest issue is no audio. Let me know if you have any luck.
V/R,
Gary
Click to expand...
Click to collapse
Ok so I'm new at this. I booted gparted and started with a unalloted partition and made 1 primary 500mb FAT32 and the second one EXT4 for 57gb then I shut it down put the 32 bit thumb drive in and hit e I saw the all the coding and this is where you lost me u said on the second line removed the part after and put INSTALL=1 did u mean removed PARTITION=1 and in INSTALL in its place? well I tried that and it booted up not sure if it installed to the thumb drive or hard drive the my remix folder says it has 592mb and my 2 Partition says it has 816mb and I have no clue how to install "grub, grub efi, formatted" I just want one Partition with Remix os running full hard drive space please help
scottyost said:
Ok so I'm new at this. I booted gparted and started with a unalloted partition and made 1 primary 500mb FAT32 and the second one EXT4 for 57gb then I shut it down put the 32 bit thumb drive in and hit e I saw the all the coding and this is where you lost me u said on the second line removed the part after and put INSTALL=1 did u mean removed PARTITION=1 and in INSTALL in its place? well I tried that and it booted up not sure if it installed to the thumb drive or hard drive the my remix folder says it has 592mb and my 2 Partition says it has 816mb and I have no clue how to install "grub, grub efi, formatted" I just want one Partition with Remix os running full hard drive space please help
Click to expand...
Click to collapse
Sorry. To be specific will boot with a stick and write up correctly with more detail later today
libergm said:
Sorry. To be specific will boot with a stick and write up correctly with more detail later today
Click to expand...
Click to collapse
Are you going to have time to make a full tutorial today I wanted to mess with this tonight and hopefully get it running?
AmoraRei said:
it won't work. T100 has 64bit processor but a 32bit system
---------- Post added at 04:30 PM ---------- Previous post was at 04:28 PM ----------
go here for T100
Click to expand...
Click to collapse
Use RMX Installer. Fast and easy.
matiaspar said:
Use RMX Installer. Fast and easy.
Click to expand...
Click to collapse
If I use that to put it on the USB when I put the USB in and boot it will it install to the HDD or is it going to run from USB?
scottyost said:
If I use that to put it on the USB when I put the USB in and boot it will it install to the HDD or is it going to run from USB?
Click to expand...
Click to collapse
From windows:
1) Dowmload and unpack RMX installer everywere you want (you will have a folder called RMX installer).
2) enter on RMX installer folder and execute the .EXE file.
3) Browse for the Remix OS .ISO file (use the 64 bits one, works like a charm for me )and choose the Data size (will create the data.img file).
4) disable secure boot and fast boot in your BIOS.
5) Boot and you will see the grub menu with Remix OS and Windows options.
matiaspar said:
From windows:
1) Dowmload and unpack RMX installer everywere you want (you will have a folder called RMX installer).
2) enter on RMX installer folder and execute the .EXE file.
3) Browse for the Remix OS .ISO file (use the 64 bits one, works like a charm for me )and choose the Data size (will create the data.img file).
4) disable secure boot and fast boot in your BIOS.
5) Boot and you will see the grub menu with Remix OS and Windows options.
Click to expand...
Click to collapse
OK but Asus t100 only uses 32bit which isn't a problem. And I don't have windows on it I have anot her computer that has windows on it but the Asus t100 has no OS at the moment I'm trying to install remix on it without installing windows so if the RMX Installer only works with a Windows installed then I have no use for it
Yes I'm having the same problem, with the new T100 that has both OS and CPU 64 bit.
The thing is, whatever you do grub won't detect either an external SD card or the keyboard dock's HDD as a boot option. They don't even show up in BIOS ! The only possibility seems to be booting from internal storage, which is too limited to dual boot Windows + Remix OS.
Anyone has tips for this ?
Thanks
MrEnderkiller said:
Yes I'm having the same problem, with the new T100 that has both OS and CPU 64 bit.
The thing is, whatever you do grub won't detect either an external SD card or the keyboard dock's HDD as a boot option. They don't even show up in BIOS ! The only possibility seems to be booting from internal storage, which is too limited to dual boot Windows + Remix OS.
Anyone has tips for this ?
Thanks
Click to expand...
Click to collapse
When installing Ubuntu on a Surface Pro I had to use a USB-keyboard as the BIOS didn't recognise the original one. If you have one laying around you should try.
scottyost said:
Are you going to have time to make a full tutorial today I wanted to mess with this tonight and hopefully get it running?
Click to expand...
Click to collapse
Sorry went on travel will have to wait till this weekend.
GRUB
libergm said:
Ok I just did it so, here is how I did it. Use gparted, from gparted.org, booted up, partitioned, small 500MB FAT32 formated partition, second partition EXT4 the rest, 58GB+. Then took 32bit beta using JIDE's tool to put on a USB stick. Booted the stick and when it came up, entered e, to enter grub boot config. On the second line removed the part after and put INSTALL=1. Installed android to the larger partition, then installed grub, grub efi, formated, then rebooted. Side loaded google services from this forum and it works. Bugs, biggest issue is no audio. Let me know if you have any luck.
V/R,
Gary
Click to expand...
Click to collapse
how can i install grub? i tried every method found in the internet but non of them worked.
please help

Boot remixOS from phone.

I am curios if it is possible to boot RemixOS from phone. I found app called DriveDroid which allow you to boot live-images of linux distros from your phone. I think it would be really practical if we ware able to boot RemixOS with shared data(apps) partition directly from phone.
You should try it, it may boot remixos but I don't think app data partition will be shared.
Don't forget that Remix OS needs an x86 or an x86-64 processor.
T-zere said:
I am curios if it is possible to boot RemixOS from phone. I found app called DriveDroid which allow you to boot live-images of linux distros from your phone. I think it would be really practical if we ware able to boot RemixOS with shared data(apps) partition directly from phone.
Click to expand...
Click to collapse
You completely misunderstood what DriveDroid is! DriveDroid lets you use your phone as a Live USB/CD instead of an actual USB/CD. So no you can't run this ON your phone because DriveDroid is merely replacing the USB/CD drive you boot your computer from to install on your computer.

Backup up existing install to put on a second PC

Hi,
I have successfully installed REmixOS on one of my PC's but I would like to do the same to a second PC and copy all my existing RemisOS configuration, apps and files from my working dual boot system. Is there a way to do this, I know it was possible if you were using remix player, you simply looked for data.img and backed this up but I decided to go down the install Remix for PC route as it runs better on my little HP X2 laptop/tablet but I cannot for the life of me find a data.img file when remix is actually installed to the pc in a dual boot way.
I think there was info on the jide website but the support pages seem to be down now
thanks for any help you can offer
I would backup the whole partition as an image and restore it to the other PC. If your Remix is on an ext3 partition I would use partimage and if using ext4 I would use partclone, blog: https://goo.gl/xCCwwN and vlog: https://youtu.be//6aJ5EiKjRQg This is if your other partition is a Linux distro. If you are on Windows, you will have to search for another software capable of creating partitions images.

Categories

Resources