[OpenIndiana-discuss] Edit file in /etc/ from InstallCD

Lucas Van Tol catseyev9 at hotmail.com
Tue Aug 13 21:34:00 UTC 2013


Can you 
zpool import -R /realroot rpool
to import the rpool under /realroot ?  You might also have to mount the filesystems after that , or create the directory before hand.

zfs mount -a
 mounts all the filesystems on imported pools.
They may not show up where you expect depending on the various mountpoint options / boot environments.
Check with 'zfs list' to see where the the filesystems are mounting...

You may have to export the zpool before rebooting from that.
zpool export rpool 
or something like that (make sure you have left any directories ).


-Lucas Van Tol

> To: openindiana-discuss at openindiana.org
> From: reader at newsguy.com
> Date: Tue, 13 Aug 2013 14:37:53 -0400
> Subject: [OpenIndiana-discuss] Edit file in /etc/ from InstallCD
> 
> Running from an install of build 151a7 as guest in virtualbox on win7
> 64 bit
> 
> I edited files in /etc/ in an attempt to allow ssh to root.
> 
> In my fool head I assumed if it broke boot there would be some easy
> way to mount '/' and edit things as needed from an install CD as one
> can in most any linux.
> 
> Maybe there is ... but googling is showing some really complicated
> looking stuff.
> 
> Is there a current guide somewhere of how to mount the installed OS
> files from live cd?
> 
> Looking to allow ssh to root I followed the steps on this URL:
> http://blogs.tulsalabs.com/?p=139
> 
> I think the culprit is probably having commented out the line in
> /etc/user_attr that starts with 'root' and ends with ';type=root'
> there was quite a bit of stuff in between but I don't remember what
> it was.
> 
> Also commented out a line in /etc/default/login: 
>    # CONSOLE=/dev/console
> 
> Anyway, what do I have to do to get to those files in /etc now that
> the OS will not boot?
> 
> 
> _______________________________________________
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss
 		 	   		  


More information about the OpenIndiana-discuss mailing list