[OpenIndiana-discuss] mounting an existing system on a boot image

Udo Grabowski (IMK) udo.grabowski at kit.edu
Mon Sep 10 09:21:13 UTC 2018


On 10/09/2018 10:54, 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.
>
> Could somebody help me with this ?
>

Either 'zpool import -f rpool' or 'beadm mount rpool /a'  should
do that (verify with 'zpool import' or 'beadm list' beforehand).
-- 
Dr.Udo Grabowski   Inst.f.Meteorology & Climate Research IMK-ASF-SAT
http://www.imk-asf.kit.edu/english/sat.php
KIT - Karlsruhe Institute of Technology           http://www.kit.edu
Postfach 3640,76021 Karlsruhe,Germany T:(+49)721 608-26026 F:-926026



More information about the openindiana-discuss mailing list