[indiana-discuss] How to boot in failsafe mode?
Dave Miner
Dave.Miner at Sun.COM
Fri Feb 8 15:30:49 PST 2008
ludo wrote:
> Sanjay Nadkarni wrote:
>> David.Comay at Sun.COM wrote:
>>>> So I need to either boot in failsafe mode,
>> You could boot it into single user by adding a -s in grub menu i.e.
>> kernel$ /platform/i86pc/kernel/$ISADIR/unix -s
> Thanks, this works fine.
> I am not yet comfortable with the ZFS commands, but it is for sure not
> obvious/user friendly anymore to mount a ZFS hard drive:-(
> It seems that you need to know some internal strings like zpl_slim or
> rpool ?
> Are they store on the disk itself?
Yes, you do and they are, though an alternate means is merely:
zpool import -f rpool
mkdir /tmp/a
mount -F zfs rpool/ROOT/preview2 /tmp/a
Which should look slightly more familiar, I suppose.
> Could we add these command somewhere on the liveCD itself?
Recovery/failsafe booting is something we need to work on. It's not
clear that forcibly importing a ZFS pool is necessarily something we
want to do automatically, but providing some guidance in doing it seems
valuable.
Dave
>
> Ludo
>> -Sanjay
>>
>>>> or booting using the liveCD I
>>>> need to mount the Ultra 40 disk...
>>>> But from the live CD, I do not find a way to mount the hardrive... with
>>>> the usual
>>>> mount /dev/dsk/c4t0d0s0 /tmp/mnt
>>>>
>>>> How do I mount this drive from the LiveCD boot?
>>>>
>>> >From the Live CD, you should be able to access the already installed
>>> ZFS pool by typing
>>>
>>> $ pfexec zpool import -f zpl_slim
>>> $ mkdir /tmp/a
>>> $ pfexec zfs set mountpoint=/tmp/a zpl_slim/root
>>>
>>> (for Preview 1)
>>>
>>> or
>>>
>>> $ pfexec zpool import -f rpool
>>> $ mkdir /tmp/a
>>> $ pfexec zfs set mountpoint=/tmp/a rpool/ROOT/preview2
>>>
>>> (for the test image)
>>>
>>> dsc
>>> _______________________________________________
>>> indiana-discuss mailing list
>>> indiana-discuss at opensolaris.org
>>> http://mail.opensolaris.org/mailman/listinfo/indiana-discuss
>>>
>
> _______________________________________________
> indiana-discuss mailing list
> indiana-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/indiana-discuss
More information about the indiana-discuss
mailing list