From: george on
does the old technique of booting of cdrom, mounting the root partition
and editing the shadow file still work ?
I don't know how to mount the root partion of a zfs filesystem. I'm zfs
illiterate.

George
From: Zfs.. on
On Jan 11, 2:04 pm, george <geo...(a)twig.tk> wrote:
> does the old technique of booting of cdrom, mounting the root partition
> and editing the shadow file still work ?
> I don't know how to mount the root partion of a zfs filesystem. I'm zfs
> illiterate.
>
> George

Yes it does work.

Once booted run zfs list

You will see your root filesystem in the rpool

rpool 13.0G 54.0G 93K none
rpool/ROOT 6.50G 54.0G 18K legacy
rpool/ROOT/cmroot 6.50G 54.0G 6.39G /
rpool/ROOT/cmroot/var 109M 54.0G 109M /var

rpool/ROOT/cmroot in this case is the root filesystem

all you need to do to mount it is run

zfs set mountpoint=/a rpool/ROOT/cmroot

then vi /a/etc/shadow

and revert the mountpoint back to / zfs set mountpoint=/ rpool/ROOT/
cmroot

You may need to run zfs mount rpool/ROOT/cmroot after changing the
mountpoint.
From: hume.spamfilter on
Zfs.. <cian.scripter(a)gmail.com> wrote:
> Once booted run zfs list
> You will see your root filesystem in the rpool

I think the livecd zfs pool will displace the normal rpool. You might
have to do a "zpool import -R /a".

--
Brandon Hume - hume -> BOFH.Ca, http://WWW.BOFH.Ca/
From: george on
hume.spamfilter(a)bofh.ca wrote:
> Zfs..<cian.scripter(a)gmail.com> wrote:
>> Once booted run zfs list
>> You will see your root filesystem in the rpool
>
> I think the livecd zfs pool will displace the normal rpool. You might
> have to do a "zpool import -R /a".
>

Not having any success !!
G

root(a)opensolaris:~# zpool import -R /a
pool: rpool
id: 16180489499667123046
state: ONLINE
status: The pool was last accessed by another system.
action: The pool can be imported using its name or numeric identifier and
the '-f' flag.
see: http://www.sun.com/msg/ZFS-8000-EY
config:

rpool ONLINE
c7d0s0 ONLINE

root(a)opensolaris:~# zfs list
no datasets available
root(a)opensolaris:~#

root(a)opensolaris:~# zfs set mountpoint=/a rpool/ROOT/cmroot
cannot open 'rpool/ROOT/cmroot': dataset does not exist
root(a)opensolaris:~#


From: george on
hume.spamfilter(a)bofh.ca wrote:
> Zfs..<cian.scripter(a)gmail.com> wrote:
>> Once booted run zfs list
>> You will see your root filesystem in the rpool
>
> I think the livecd zfs pool will displace the normal rpool. You might
> have to do a "zpool import -R /a".
>

Not having any success !!
G

root(a)opensolaris:~# zpool import -R /a
pool: rpool
id: 16180489499667123046
state: ONLINE
status: The pool was last accessed by another system.
action: The pool can be imported using its name or numeric identifier and
the '-f' flag.
see: http://www.sun.com/msg/ZFS-8000-EY
config:

rpool ONLINE
c7d0s0 ONLINE

root(a)opensolaris:~# zfs list
no datasets available
root(a)opensolaris:~#

root(a)opensolaris:~# zfs set mountpoint=/a rpool/ROOT/cmroot
cannot open 'rpool/ROOT/cmroot': dataset does not exist
root(a)opensolaris:~#