my boot is
sda6 Ubuntu
sda2 windows7
sda7 Dati
I follow this guide
https://forum.xda-developers.com/remix/remix-os/guide-install-remixos-pc-hdd-partition-t3320861
and I create ext4 on /dev/sda8 for remixOS (sda6, sda7 and sda8 and sda5 swap partition is under extended partition)
I copy all content of ISO (extract) from root account by ubuntu under /media/sda8/android.
I edit /etc/grub.d/40_custom for 64bit OS:
menuentry "Remix-OS" {
set root=(hd,8)
linux /android/kernel root=/dev/ram0 androidboot.hardware=remix_x86_64 androidboot.selinux=permissive quiet SRC=android DATA=/data
initrd/android/initrd.img}
I create system.img from system.sfs
Copy system.img to /android folder in RemixOS partition
save all
restart
RemixOS start ok but if restart All data lost.
Why?
thanks all.
Related
1. Shrink new hard drive partition (15Gb,20Gb or 35GB for 8,16,32GB of Data Storage) format as NTFS
2. Download Remix and install it on your usb flash drive
3. copy all your file from your usb flash drive to your Remix partition
4. Download and install EasyBCD then add new NeoGrub and edit the menu.lst
Code:
default=0
timeout=1
title Resident Mode
root (hd0,4)
kernel /kernel root=/dev/ram0 androidboot.hardware=remix_x86_64 androidboot.selinux=permissive quiet SRC= DATA= CREATE_DATA_IMG=1
initrd /initrd.img
title Guest Mode
root (hd0,4)
kernel /kernel root=/dev/ram0 androidboot.hardware=remix_x86_64 androidboot.selinux=permissive quiet SRC= DATA= DATA_IN_MEM=1
initrd /initrd.img
5. Reboot your PC and finish the first start then boot back to window.
6. download data.img here https://drive.google.com/folderview?id=0B7FVb6PLKRERMXZpUnBZX1kweU0&usp=sharing
extract and replace your old data.img
This method already been told/posted many times and it does not work for everyone. Not only that you are missing important steps.
The trick is to install Chrome OS first, shrink the Chrome OS main partition, and install Linux and Remix in their own partitions.
Download Chrome OS from here and install it as directed. It will destroy everything else on the disk, and make a large partition for data storage, and another 11 partitions for whoknows what.
Boot Linux with a live USB stick or CD. Shrink the first, large partition using parted. I started out with a 450GB partition that I shrunk to 180. Make 5 new partitions using fdisk or whatever you like for partitioning. I made a 250 MB partition for Linux boot, a 120GB partition for Linux /, a 120GB partition for Linux /home, an 8GB partition for Linux swap, and a 30GB partition for Remix. Use your own judgment.
Install Linux in the Linux partitions. I use Gentoo, but you can use whatever you like.
Boot up linux.
Install Remix OS in the last partition:
Download the zip file from this thread. Unzip the file; it contains an installer for Windoze(<somethingorother>.exe), and an .iso file. Make a temporary directory
Code:
mkdir /mnt/tmp
and mount the iso in it:
Code:
mount -o loop <name_of_iso>.iso /mnt/tmp
Format the Remix partition, mount it, and copy the files in the iso to the Remix partition (in my case it is /dev/sda17):
Code:
mkfs.ext4 /dev/sda17
mkdir /mnt/remix
mount -t auto /dev/sda17 /mnt/remix
cd /mnt/tmp
find . -xdev -depth -print | cpio -puvdm /mnt/remix
Make a grub menu entry for Remix OS in /etc/grub.d/40_custom:
Code:
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
menuentry "REMIXOS Resident Mode" --class android-x86 {
insmod part_gpt
search --file --no-floppy --set=root /system.img
set root=(hd0,17)
linux /kernel initrd=/initrd.img quiet root=/dev/ram0 androidboot.hardware=remix_x86
androidboot.selinux=permissive quiet SRC= DATA=/ CREATE_DATA_IMG=0
## VGA=791
video=uvesa DPI=96 UVESA_MODE=1280x800
initrd /initrd.img
}
You may need a different VGA= or MODE= depending on your monitor.
Make a data directory. For some reason it doesn't get created automatically:
Code:
mkdir /mnt/remix/data
Assuming grub is installed, make the grub menu and finish up.
Code:
mount /boot
grub2-mkconfig -o /boot/grub/grub.cfg
umount /boot
umount /mnt/tmp
umount /mnt/remix
rmdir /mnt/remix
When you reboot, you will see two entries for Chrome OS, generally listed as "Unknown Linux Distribution". Either one will work to boot Chrome.
Follow the directions in the Remix thread listed above on how to enable the Google Play store on Remix.
Took me a lot of trial and error. Hopefully it will be easier for you.
what do you mean it destroy everything on disk
deepakhope said:
what do you mean it destroy everything on disk
Click to expand...
Click to collapse
If you run the installer that comes with it, it will wipe out anything that was on the disk before. There's no way to install it and leave what was there before untouched. That's why you need to install Chrome OS first.
pixbuf said:
If you run the installer that comes with it, it will wipe out anything that was on the disk before. There's no way to install it and leave what was there before untouched. That's why you need to install Chrome OS first.
Click to expand...
Click to collapse
That's what held me off trying ChromeOS; can you at least select to install to an external drive with it?
Just a couple points from OP;
1. You probably should be saying CloudReady (open-source version of ChromiumOS) rather than saying ChromeOS; as that is a hardware-specific closed source OS.
2. There's a bit of redundancy in your grub:
Code:
menuentry "REMIXOS Resident Mode" --class android-x86 {
insmod part_gpt
[color=red][b]search --file --no-floppy --set=root /system.img
set root=(hd0,17)[/b][/color]
linux /kernel initrd=/initrd.img quiet root=/dev/ram0 androidboot.hardware=remix_x86
androidboot.selinux=permissive quiet SRC= DATA=/ CREATE_DATA_IMG=0
}
Those two lines are doing the same thing - removing the first one might result in a faster boot (probably non-noticable); removing the second should make the whole entry partition no. independent.
How could I add windows 10 to the mix here?
Institute chromium, followed by Linux and then windows and finally restore grub?
So I have no idea what caused this but I'm no longer able to boot into RemixOS.
I get the following error.
Code:
error: no such device: /RemixOS/kernal.
error: fixup signature not match.
alloc magic is broken at 0x9817300:980b8040
I used Windows to install RemixOS.
My grub entry looks like:
Code:
set root='(hd0,7)'
savedefault
search --file --no-floppy --set=root /RemixOS/kernel
linux /RemixOS/kernel root=/dev/ram0 SERIAL=random logo.showlogo=1 androidboot.selinux=permissive quiet DATA= SRC=RemixOS CREATE_DATA_IMG=1
initrd /RemixOS/initrd.img
Any ideas? Thanks!
Most likely your drive filesystem got corrupted. Run a chkdsk on this drive from Windows.
Vioner said:
Maybe you have badblocks in the drive filesystem. You can try:
Start cmd.exe as administrator.
Run this command but change X: to drive where RemixOS is installed:
Code:
chkdsk X: /f /r /x
Once it's done, make a screenshot/picture or save the contents of the console in notepad to show results to us.
Reboot into Remix and check if it helped.
Click to expand...
Click to collapse
Also I noticed something weird.
Have you modified anything in the menuentry? Having these 2 lines at once makes no sense to me:
Code:
set root='(hd0,7)'
search --file --no-floppy --set=root /RemixOS/kernel
First one sets static path for Grub to know which drive to use in booting. Second makes Grub dynamically select the right drive - finds the right file and sets the drive as the boot source. You either have one or another, I haven't seen both at once before.
Hey guys... I have a trouble when installing Remix OS on my laptop...
Is it possible that I put data on another partition? Not on the image file, data.img?
I see that when I'm using Remix OS Installation Tool, it created a additional partition for my USB flash drive.
But when I selected to install on hard disk, it just create a new folder Remix OS with data.img
How can I install the Remix OS with multiple partitions like usually Android smartphones do?
SOLVED GUYS!
With gparted,
Just create 2 ext4 partition, one for system, one for data.
For system partition : Extract the ISO to this partition, and then rename it to "REMIXOSSYS"
For data partition : just rename it to "REMIXOSDATA"
Then I'm using Grub Customizer, to create a new custom boot entry.
Code:
search --file --no-floppy --set=root /kernel
linux /kernel root=/dev/ram0 androidboot.selinux=permissive quiet DATA= USB_DATA_PARTITION=1
initrd /initrd.img
And that's it! It will automatically find the data partition!
Hi there I am a big fan of Android and I have done it I created a 111 GB Data image in Vbox. Then I extracted grub cfg file from a Windows 10 dual boot install and I noticed that the EFI files had the same date as the ISO image. So I created a EFI partition and a NTFS partition on a thumb drive with parted magic cause Windows shut down dual partitions on thumb drives. It is so simple there is only 8 files that boot the data image. Thanks to Arcronius true image I can copy it to hard drives and have secure boot. If you have a Windows installation on another drive you can chainload it in the grub configuration file. All the files are from the ISO and original so the signatures match. The only issue I have is every month or so I have a boot failure but I have a patch for that. Just copy and replace the system image in the Remix OS folder. Then I am good I have been surfing the XDA developers website for a while and learned a lot. I am not good with code I am working on it Merry Christmas to everyone and thanks to Google for supporting XDA. Peace out!
Boot a Remix OS folder on any HDD or partition on your device!
Hey there one more thing you can chainload a installed RemixOS folder. Simply format a USB flash drive to GPT with Easeus partition master then format the file system to fat32. Then add your grub configuration file in the EFI partition */boot/grub/grub.cfg. Then add your EFI folder there are two folders in this directory. First the boot folder in this folder is bootx64 and grubx64 /EFI/boot/bootx64, grubx64. Then the ntfs64.mod path is /EFI/RemixOS/ntfs64.mod . When you boot from the USB drive it chainloads the RemixOS folder and in this folder you need the data.img, kernel,ramdisk.img, system.img and last the initrd.img .That's all you need you can install a second hard drive because Windows won't let you dual boot with UEFI on the same drive so you can format your second hard drive. Use Easeus partition master and format GPT and create a fat32 partition the minimum it let me was 250MB. Then format the second partition NTFS. Here is the grub.cfg.
code:
set timeout=0
menu entry 'Remix OS -class android-x86{
insmod /EFI/RemixOS/ntfs64.mod
search --file --no-floppy --set=root/RemixOS/kernel
linux /RemixOS/kernel root=/dev/ram0 androidboot hardware=remix_x86_64 androidboot.selinux=permissive quiet SERIAL=random logo.showlogo=1 DATA=SRC=RemixOS CREATE_DATA_IMG=1
intrd /RemixOS/initrd.img
}
Here is the layout for Legacy boot you need to go to Vbox and do a install on a VHD select a grub install on a NTFS partition you will get a series of folders grub,androidx86. First you need to mount the VHD then extract the two folders. Simply rename androidx86 folder to RemixOS folder then install to hard drive. On that same hard drive run Bootice64 and process MBR you will want to use Grub4dos and select rev.c. Then add three files to your to your hard drive root grldr,grldr.mbr and menu.LST you will need to download grub4dos to get these files use the menu.lst in the grub folder and edit androidx86 to RemixOS and cut and paste it to root directory. Here is the menu.lst.
code:
default 0
timeout 0
title RemixOS
find --set-root /RemixOS/kernel
kernel /RemixOS/kernel root=/dev/ram0 androidboot.hardware=remix_x86_64 androidboot.selinux=permissive quiet SERIAL=random logo.showlogo=1 SRC=RemixOS/ DATA= CREATE_DATA_IMG=1 UVESA_MODE=1920x1080
initrd /RemixOS/initrd.img
boot
There you go Merry Christmas and Happy New year's
Cat Stevens
Boot from USB flash drive boot EFI file from Bios
Hello to boot a RemixOS folder UEFI you need to boot file from Bios. Here is the path USB/EFI/boot/bootx64
This will chainload to any partition on the device.
Cat Stevens
I've done it again RemixOS on "55 TV UEFI mod.
Ok Legacy let's you do this to the menu.lst as well check my other posts. First UEFI you need to download grub2win and the file your looking for is elf.mod it's located in the x86_64-efi folder. This mod will set the resolution to 1920x1080 it looks great on the big screen. And it will also let your laptop run a external monitor at the same resolution. To install copy elf.mod to the EFI partition /EFI/RemixOS/elf.mod that's the path for grub.cfg I will give you to configurations.
UEFI desktop code:
set timeout=0
menuentry 'Remix OS' --class android-x86 {
insmodRemixOS/ntfs64.mod
insmod /EFI/RemixOS/elf.mod
search --file --no-floppy --set=root /RemixOS/kernel
linux /RemixOS/kernel root=dev/ram0 androidboot.hardware=remix_86_64 androidboot.selinux=permissive quiet SERIAL=random logo.showlogo=1 DATA= SRC=RemixOS CREATE_DATA_IMG=1 UVESA_MODE=1920x1080
initrd /RemixOS/initrd.img
UEFI laptop code:
set timeout=0
menuentry 'Remix OS' --class android-x86 {
insmodRemixOS/ntfs64.mod
insmod /EFI/RemixOS/elf.mod
search --file --no-floppy --set=root /RemixOS/kernel
linux /RemixOS/kernel root=dev/ram0 androidboot.hardware=remix_86_64 video=LVDS-1:d acpi_sleep=s3_bios androidboot.selinux=permissive quiet SERIAL=random logo.showlogo=1 DATA= SRC=RemixOS CREATE_DATA_IMG=1 UVESA_MODE=1920x1080
initrd /RemixOS/initrd.img
OK have a Merry Christmas
Cat Stevens