Is it possible to access Ubuntu in Manjaro via chroot?

Hi everyone ! :call_me_hand:

So, I've got three disks:

Ubuntu
Disque /dev/sda : 500GB
Taille des secteurs (logiques/physiques): 512B/4096B
Table de partitions : gpt
Disk Flags: 

Numéro  Début   Fin     Taille  Système de fichiers  Nom  Fanions
 1      1049kB  2048MB  2047MB  linux-swap(v1)
 2      2048MB  2560MB  512MB   fat32                     démarrage, esp
 3      2560MB  500GB   498GB   ext4


Manjaro Disk
Disque /dev/sdb : 240GB
Taille des secteurs (logiques/physiques): 512B/512B
Table de partitions : gpt
Disk Flags: 

Numéro  Début   Fin     Taille  Système de fichiers  Nom  Fanions
 1      1049kB  538MB   537MB   fat32                     démarrage, esp
 2      538MB   2685MB  2147MB  linux-swap(v1)
 3      2685MB  240GB   237GB   ext4


Manjaro /home Disk
Disque /dev/sdc : 1000GB
Taille des secteurs (logiques/physiques): 512B/4096B
Table de partitions : gpt
Disk Flags: 

Numéro  Début   Fin     Taille  Système de fichiers  Nom  Fanions
 1      1049kB  1000GB  1000GB  ext4


And I wanted to know if it is possible to access to my Ubuntu system when I'm in manjaro via using chroot ?

Should be. Follow this guide and use the location of your Ubuntu root in place of location/of/new/root.

Sure. You probably have 3 options.

  1. install manjaro-tools-base and use manjaro-chroot -a to get in.
  2. Use systemd-nspawn -D /mounted/filesystem to get in.
  3. Install arch-install-script, manually mount all the stuff a chroot needs and use arch-chroot /mounted/filesystem to get in.

So first, I need to mount all the disk partition ?

1 Like

Yes, then you should be good to go

What do you want to do after accessing Ubuntu?
If you just want to read, write, delete or add contents in Ubuntu partitions, you don't need to chroot into it. If you want to install, delete an Ubuntu application or system package, then chroot will not work.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by