Comments (18)
that's nice. i didn't know pv and the USR1 for dd. Thanks a lot.
To answer your question.
- i don't recommand this dual boot. it's more for a dedicated pc.
- 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.
- make space at the end of sda
- create sda4, 2G, fat32, label=RECALBOX
- keep the end empty, or create a ext4 as sda5 (if there is no sda5, batocera will use a tmpfs filesystem)
- 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)
- untar http://batocera.linux.free.fr/upgrades/x86_64/stable/last/boot.tar.xz in the sd4 recalbox partition. Keep sda5 empty.
- adapt the ubuntu grub config file to integrade the /sda4/boot/grub/grub.cfg content
boot.
from batocera.linux.
from batocera.linux.
from batocera.linux.
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.
@nadenislamarre oh, thanks for the 2nd reply.
I'm asking about that ... having dual boot to test it 👍
from batocera.linux.
from batocera.linux.
from batocera.linux.
@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.
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.
@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.
@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.
from batocera.linux.
@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.
from batocera.linux.
@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.
from batocera.linux.
@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.
maybe in the future you can make hard disk installation and faster version :)
from batocera.linux.
Related Issues (20)
- [X86_64, Steam Deck][v39] VRR not working due to missing driver settings HOT 1
- RPCS3 crashes when trying to exit game with hotkey + start on systems with Intel Graphics HOT 1
- automatic collection role playing game not showing
- SVI-328 with Gamepad problem caused by default bindings
- Can't connect Bluetooth audio devices from the UI for the first time HOT 2
- V40 crashes on Rpi 3b HOT 3
- PSP AI translation fails due to garbled/garbage screens, "could not find any text"
- BatocerA v40 Steam deck oled mono audio
- Batocera v40 - KODI is missing Shutdown/Shutdown Timer options (while Batocera v36 have it) HOT 1
- [V40] Steam cannot utilize GPU HOT 12
- Network Problem samba
- red text about PS4 controller battery % popping up every few minutes, when no battery is present.
- [V40] Kodi - missing shutdown and reboot HOT 3
- Upgraded From V40 6/28 to V40 20240801 and the resize partion now errors out on boot HOT 2
- BigP (Atari Jaguar) linux from v40 is incredibly sluggish compared to BigP WINE Edition (from v39) HOT 1
- OrangePi Zero 3 Bluetooth Issues HOT 8
- Batocera v40 - KODI is missing Shutdown/Reboot HOT 1
- [v40 RC] RK3326 devices WiFi broken, shows "Not Connected" HOT 4
- No Sound in Pi 5 with Batocera 40 for Arzopa Portable Monitor A1 HOT 2
- RPi4 ES won't work with Composite out HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from batocera.linux.