[OpenIndiana-discuss] mounting an existing system on a boot image
Marc Lobelle
marc.lobelle at uclouvain.be
Mon Sep 10 09:55:17 UTC 2018
Thanks Udo and Jean Pierre: a small detail:I must be root to do this: where can I find the root pwd of the live image ?
Marc
________________________________________
De : Jean-Pierre [jean-pierre.andre at wanadoo.fr]
Envoyé : lundi 10 septembre 2018 11:22
À : openindiana-discuss at openindiana.org
Objet : Re: [OpenIndiana-discuss] mounting an existing system on a boot image
Marc Lobelle wrote:
> Hello,
>
> by doing a wrong chmod in /etc (I thought I was in another directory) I
> made /etc/init and thus /sbin/init not executable, so the system does
> not boot anymore even in single user.
>
> Thus I booted a live image from a DVD and I would like to mount my root
> file sustem on this image in order to fix the permissions in /sbin and
> /usr/sbin
>
> In old solaris versions, as far as I remember there was even a menu
> entry for this.
>
> But I do not know how to do it now with zfs from the live image. I'm
> running the live image in gui mode.
From a live DVD/USB (beware of the keyboard layout) :
zpool import -f rpool
mkdir /tmp/a
[beadm list] if needed
beadm mount openindiana /tmp/a
* make the needed modifications on /tmp/a
beadm unmount openindiana
zpool export rpool
>
> Could somebody help me with this ?
>
> Thanks
>
>
> Marc
_______________________________________________
openindiana-discuss mailing list
openindiana-discuss at openindiana.org
https://openindiana.org/mailman/listinfo/openindiana-discuss
More information about the openindiana-discuss
mailing list