[OpenIndiana-discuss] OpenIndiana-discuss Digest, Vol 21, Issue 11

Hans J Albertsson hans.j.albertsson at branneriet.se
Wed Apr 11 16:25:15 UTC 2012


I had to give up, the live cd environment couldn't even do a zpool import and none of the passwords seemed to work.

Trying to get single user boot to work failed, too. I almost got there but then it wanted my root password, so I couldn't go that route to reset a forgotten password.

But I was extremely worked up about it, so maybe I just couldn't get my fingers in order...

could someone describe in gruesome detail how to use the live cd to do system salvage work on a zfs system? Such as reset the passwords for users and root?
I thought I knew the root and jack passwords, but obviously I didn't.

Again: HELP!  :-)



openindiana-discuss-request at openindiana.org skrev:

>Send OpenIndiana-discuss mailing list submissions to
>	openindiana-discuss at openindiana.org
>
>To subscribe or unsubscribe via the World Wide Web, visit
>	http://openindiana.org/mailman/listinfo/openindiana-discuss
>or, via email, send a message with subject or body 'help' to
>	openindiana-discuss-request at openindiana.org
>
>You can reach the person managing the list at
>	openindiana-discuss-owner at openindiana.org
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of OpenIndiana-discuss digest..."
>
>
>Today's Topics:
>
>   1. Re: Single User Mode?? How?? (Ignacio Marambio Cat?n)
>   2. big plan with a bit knowledge (l?zaro)
>   3. Re: Single User Mode?? How?? (Richard Kowalski)
>   4. probable NWAM problems [was Re: REALTEK network card and
>      pppoe config] (James Carlson)
>   5. Re: probable NWAM problems [was Re: REALTEK network card and
>      pppoe config] (Northwoods)
>   6. Problems with Virtual Box (Paul Johnston)
>   7. Re: probable NWAM problems [was Re: REALTEK network card and
>      pppoe config] (Robin Axelsson)
>
>
>----------------------------------------------------------------------
>
>Message: 1
>Date: Tue, 10 Apr 2012 10:59:59 -0300
>From: Ignacio Marambio Cat?n <darkjoker at gmail.com>
>To: Discussion list for OpenIndiana
>	<openindiana-discuss at openindiana.org>
>Subject: Re: [OpenIndiana-discuss] Single User Mode?? How??
>Message-ID:
>	<CAFc3XiXFqDhUavea4D2OWeaEBDz9rUK22t_G_PD457zvZWYkLA at mail.gmail.com>
>Content-Type: text/plain; charset=ISO-8859-1
>
>it's with -s not single
>but you're better off by booting with the livecd, mounting the /
>dataset and changing the password with that
>
>On Tue, Apr 10, 2012 at 10:56 AM, Hans J. Albertsson
><hans.j.albertsson at branneriet.se> wrote:
>> I can't seem to make the standard way to boot into single user mode
>from
>> grub work, but then, again, I'm reading linux docs, really.
>>
>> I start up.
>> Get to grub
>> stop the booting
>> select my OS version
>> go to the kernel$ line
>> add "single" at the end....
>>
>> If I type RETURN (ENTER for the PC guys) at the end, the edit seems
>to
>> stick.
>>
>> I do just one ESC, to the "edit OS entry" screen, and type "b".
>>
>> No joy, it just gets to multiuser mode.
>>
>> I've been looking at the various docs on the net, nothing obviously
>relevant
>> springs to my screen.
>>
>> Help!
>>
>> ( I need to reset the root password, I got busy with other things for
>a
>> while, and forgot the root password. )
>>
>>
>> _______________________________________________
>------------------------------
>
>Message: 2
>Date: Mon, 9 Apr 2012 19:42:15 -0400
>From: l?zaro <netadmin at lex-sa.cu>
>To: Discussion list for OpenIndiana
>	<openindiana-discuss at openindiana.org>
>Cc: nAlonso <nalonso at getrans.cu>

>
>
>------------------------------
>
>Message: 3
>Date: Tue, 10 Apr 2012 08:17:38 -0700
>From: "Richard Kowalski" <richard at optimal.org>
>To: "Discussion list for OpenIndiana"
>	<openindiana-discuss at openindiana.org>
>Subject: Re: [OpenIndiana-discuss] Single User Mode?? How??
>Message-ID:
>	<6837403841402608c97d52e117e8b6ec.squirrel at sm.webmail.pair.com>
>Content-Type: text/plain;charset=utf-8
>
>Hi Hans,
>
>Essentially you need to edit your Grub menu entry during boot to add
>the
>string "-s" to the end of the kernel line:
>
>kernel$ /platform/i86pc/kernel/$ISADIR/unix -B
>$ZFS-BOOTFS,console=graphics -s
>
>You can do something more optimal by adding a new Grub menu entry
>(Below
>the END BOOTADM line) by editing your /rpool/boot/grub/menu.lst file:
>
>title OpenIndiana Development oi_151a SINGLE USER MODE
>findroot (pool_rpool,0,a)
>bootfs rpool/ROOT/openindiana
>kernel$ /platform/i86pc/kernel/$ISADIR/unix -B $ZFS-BOOTFS -s
>module$ /platform/i86pc/$ISADIR/boot_archive
>
>Rules:
>
>You should also exclude these whole lines:
>"splashimage /boot/solaris.xpm"
>"foreground FF0000"
>"background A8A8A8"
>
>You should exclude from the kernel line:
>",console=graphics"
>
>You should add to the kernel line:
>"-s"
>
>Best,
>Richard
>
>
>> I can't seem to make the standard way to boot into single user mode
>from
>> grub work, but then, again, I'm reading linux docs, really.
>>
>> I start up.
>> Get to grub
>> stop the booting
>> select my OS version
>> go to the kernel$ line
>> add "single" at the end....
>>
>> If I type RETURN (ENTER for the PC guys) at the end, the edit seems
>to
>> stick.
>>
>> I do just one ESC, to the "edit OS entry" screen, and type "b".
>>
>> No joy, it just gets to multiuser mode.
>>
>> I've been looking at the various docs on the net, nothing obviously
>> relevant springs to my screen.
>>
>> Help!
>>
>> ( I need to reset the root password, I got busy with other things for
>a
>> while, and forgot the root password. )
>>
>>
>>
-- 
Skickat från min Android-telefon med K-9 E-post. Ursäkta min fåordighet.



More information about the OpenIndiana-discuss mailing list