Les Partages de Memiks
Tag cloud
Picture wall
Daily
RSS Feed
  • RSS Feed
  • Daily Feed
  • Weekly Feed
  • Monthly Feed
Filters

Links per page

  • 20 links
  • 50 links
  • 100 links

Filters

Untagged links
5 results tagged mount  ✕
A nicer way to mount your /home in LXD - Tribaal's blog https://tribaal.io/nicer-mounting-home-in-lxd.html
Wed Oct 31 23:39:44 2018 archive.org
QRCode
thumbnail

Mounting /home read-write
Allowing LXD to remap your user ID

The first step for that is to allow LXD to remap your user ID. Remember, LXD uses linux namespaces to isolate processes, and by default even root is not allowed to reuse UIDs from the host inside containers.

We want to allow the LXD demon (running as root) to remap our host's user ID inside a container:

Note: $UID is likely to be 1000 on an Ubuntu system if you're the only user.

echo "root:$UID:1" | sudo tee -a /etc/subuid /etc/subgid

This is a one time step, you'll never need to do this again on your host.
Remapping your user ID inside the container

Once LXD is allowed to remap your UID, we need to actually tell it to do it on a per-container basis:

lxd init ubuntu-daily:z remapped
lxc config set remapped raw.idmap "both $UID 1000"

There is a little bit of magic-looking syntax there, but "both $UID 1000" simply means "map both the UID and the GID, from the host's $UID to the guest's 1000".

We could instead set "uid $UID 1000" and "gid $(id -g) 1000" to be more explicit, but the "both" syntax is convenient.

lxd mount devices guid uid nobody
mike's world: howto mount qcow2 images http://michaelmk.blogspot.fr/2011/12/howto-mount-qcow2-images.html
Wed May 13 20:46:22 2015 archive.org
QRCode
thumbnail

Commencer par créer les devices:
sudo modprobe nbd max_part=8

utiliser qemu-nbd pour monter l'image sur le device:
sudo qemu-nbd -c /dev/nbd0 guest.img

puis monter le device dans un répertoire:
sudo mount /dev/nbd0p1 /mnt/guest

démonter le montage une fois fini de travailler sur l'image.
sudo umount /mnt/guest

et voila.

qemu qcow2 image mount dev
Besoin de "df" dans un environnement chroot ? http://forums.gentoo.org/viewtopic-p-6155143.html?sid=9c39acef52857ba989f3a642730927fa#6155143
Tue Oct 22 17:24:56 2013 archive.org
QRCode
thumbnail

la partition /etc/mtab n'est pas renseignée.

pour se faire :
grep -v rootfs /proc/mounts > /etc/mtab

et ensuite supprimé dans /etc/mtab tout ce qui passe en erreur dans df :)

df chroot debian mount proc mtab
[Cm10.1] - Internal Sd Card Don't Mount - Samsung Galaxy S II Experimental Mod - CyanogenMod Forum http://forum.cyanogenmod.org/topic/63994-cm101-internal-sd-card-dont-mount/#entry366158
Tue Jan 22 18:36:07 2013 archive.org
QRCode
thumbnail

Comment palier au problème de montage de la carte SD du galaxy S2 avec la dernière mise à jour CM 10.1 ?

lancer terminal emulator et tapez:

su
echo mkdir /storage/sdcard0 > /data/local/userinit.sh
echo mkdir /storage/sdcard1 >> /data/local/userinit.sh
chmod 700 /data/local/userinit.sh
exit
exit

et redémarrer ;)

Merci Marcelo ;)

cm 10.1 galaxy sd card not mount
DSM-G600, DNS-3xx and NSA-220 Hack Forum / howto mount /dev/mtdblock0 etc http://forum.dsmg600.info/viewtopic.php?id=7168
Mon Jul 23 21:13:08 2012 archive.org
QRCode
thumbnail

Accéder à la flash du NAS DLink DNS 320 afin d'en modifier les paramètres ?

nas dns 320 flash parameters mount
4759 links, including 1673 private
Shaarli - The personal, minimalist, super-fast, database free, bookmarking service by the Shaarli community - Theme by kalvn