Giter Club home page Giter Club logo

Comments (18)

nadenislamarre avatar nadenislamarre commented on August 20, 2024 1

that's nice. i didn't know pv and the USR1 for dd. Thanks a lot.
To answer your question.

  1. i don't recommand this dual boot. it's more for a dedicated pc.
  2. however, you should be able to do it (and i'll document if that works)

let's say your disk is sda and that sda1, sda2 and sda3 already exists.

  1. make space at the end of sda
  2. create sda4, 2G, fat32, label=RECALBOX
  3. keep the end empty, or create a ext4 as sda5 (if there is no sda5, batocera will use a tmpfs filesystem)
  4. note that the label is very important. at boot, recalbox search for RECALBOX+1 to store data. (which is a good reason to not install on a harddrive, which to reboot on a key, you'll get 2 RECALBOX partitions)
  5. untar http://batocera.linux.free.fr/upgrades/x86_64/stable/last/boot.tar.xz in the sd4 recalbox partition. Keep sda5 empty.
  6. adapt the ubuntu grub config file to integrade the /sda4/boot/grub/grub.cfg content
    boot.

from batocera.linux.

nadenislamarre avatar nadenislamarre commented on August 20, 2024

from batocera.linux.

nadenislamarre avatar nadenislamarre commented on August 20, 2024

from batocera.linux.

anibalardid avatar anibalardid commented on August 20, 2024

Hi @nadenislamarre .
Thanks for you reply.

I use ubuntu linux in my work computer. I downloaded file named recalbox-20170104.img.gz
Then i rename recalbox-20170104.img.gz to recalbox-20170104.img , and finally copy to usb with:
dd if=recalbox-20170104.img | pv | dd of=/dev/sdb

And then i boot in other computer with the usb and boots fine, but as "live cd/usb"

from batocera.linux.

anibalardid avatar anibalardid commented on August 20, 2024

@nadenislamarre oh, thanks for the 2nd reply.
I'm asking about that ... having dual boot to test it 👍

from batocera.linux.

nadenislamarre avatar nadenislamarre commented on August 20, 2024

from batocera.linux.

nadenislamarre avatar nadenislamarre commented on August 20, 2024

from batocera.linux.

anibalardid avatar anibalardid commented on August 20, 2024

@nadenislamarre good trick , with sync can i see the progress ? I use "pv" to see the progress.

About dual boot i don't understand ...

I use linux with multiple boots, for example I hace ubuntu gnome, ubuntu unity, linux mint, in the same hdd with some partitions, for example I have "data" partition that share with all distros to have "downloads, documents, etc" in the same partition.

So, I can create new partition with free X gb ... but then ... ?
I copy with dd the image to this new partition ?
And then extract and copy boot.tar.xz to this new partition overwritting the existing files ?

from batocera.linux.

Poulpatine avatar Poulpatine commented on August 20, 2024

If you want a status on your dd you can launch a "kill -USR1" on its pid in order to make him display a progress status.

With a more recent version of dd you can use status=progress argument to display an interactive status.

from batocera.linux.

anibalardid avatar anibalardid commented on August 20, 2024

@Poulpatine to much complicated ... thats why I use dd if=xxx | pv | dd of=xxxx

with pv i can see the progress

from batocera.linux.

anibalardid avatar anibalardid commented on August 20, 2024

@nadenislamarre thanks !
The size of boot.tar.xz compressed or untar is 355mb ... and the recalbox image has 1.3gb ... is this ok ?

from batocera.linux.

nadenislamarre avatar nadenislamarre commented on August 20, 2024

from batocera.linux.

anibalardid avatar anibalardid commented on August 20, 2024

@nadenislamarre hi !
I'm testing now ... I have a clean disk
partition sda1 i have ubuntu installed
and i have sda5 (4gb) with uncompressed boot.tar.xz files, only this ... no more ...

and in the /boot/grub/grub.cfg (ubuntu partition) I add these lines:
menuentry "Recalbox" {
set root='hd0,msdos5'
linux /boot/vmlinuz-4.2.0-27-generic label=RECALBOX console=tty3 quiet loglevel=0
initrd /boot/initrd.img-4.2.0-27-generic
}

but when I boot and select this option in grub nothing happened ...

from batocera.linux.

nadenislamarre avatar nadenislamarre commented on August 20, 2024

from batocera.linux.

anibalardid avatar anibalardid commented on August 20, 2024

@nadenislamarre thanks
I can execute doing this:
1- copy from boot.tar.xz boot/linux and boot/initrd.gz to my ubuntu /boot/
2- ubuntu /boot/grub/grub.cfg :

menuentry "Recalbox" {
linux /boot/linux label=RECALBOX console=tty3 quiet loglevel=0
initrd /boot/initrd.gz
}

3- reboot ... and it works !!!

from batocera.linux.

nadenislamarre avatar nadenislamarre commented on August 20, 2024

from batocera.linux.

anibalardid avatar anibalardid commented on August 20, 2024

@nadenislamarre thanks for all ! 🥇

I test it and it works at the same usbkey batocera ... talking about speed and performance ...
So, I'm thinking to use in my house with pendrive and trying to use as original version 👍

from batocera.linux.

anibalardid avatar anibalardid commented on August 20, 2024

maybe in the future you can make hard disk installation and faster version :)

from batocera.linux.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.