Re: why don't I see anything in /altroot

2016-12-23 Thread soko.tica
AFAIK, /altroot should be set preferrably on a separate disk, or at least
on a separate partition. My guess is that you don't have that on virtualbox.

You are basically trying to dd the sole / of virtualbox' disk to itself,
which is impossible.

Again, AFAIK, someone might correct my misunderstanding.



On Sat, Dec 24, 2016 at 3:32 AM, chytraeu  wrote:

>
> Hello,
> I'm running opensbd current in a vm in virtualbox. I have altroot setup
> per the faq. I've run /bin/sh /etc/daily and everything seems to be
> working. I've gotten an email stating that root has dd'ed to altroot. When
> I cd into /altroot it shows the directory empty. I don't understand this.
>
>
> ---
> Regards,
> Donald Cooley
>
> ___
> Openbsd-newbies mailing list
> Openbsd-newbies@sfobug.theapt.org
> http://mailman.theapt.org/listinfo/openbsd-newbies
>
___
Openbsd-newbies mailing list
Openbsd-newbies@sfobug.theapt.org
http://mailman.theapt.org/listinfo/openbsd-newbies


Re: why don't I see anything in /altroot

2016-12-25 Thread Maurice McCarthy
On Fri, Dec 23, 2016 at 08:32:25PM -0600 or thereabouts, chytraeu wrote:
> 
> Hello,
> I'm running opensbd current in a vm in virtualbox. I have altroot setup 
> per the faq. I've run /bin/sh /etc/daily and everything seems to be 
> working. I've gotten an email stating that root has dd'ed to altroot. 
> When I cd into /altroot it shows the directory empty. I don't understand 
> this.
> 

You aren't giving much detail to go on. I can only suggest having a read of
/etc/daily to understand what happens. Maybe also try running the dd command
manually and see if there is an error - viz:

# dd if=/dev/r$rootdev of=/dev/r$rootbak bs=16b seek=1 skip=1 conv=noerror

Good Luck

___
Openbsd-newbies mailing list
Openbsd-newbies@sfobug.theapt.org
http://mailman.theapt.org/listinfo/openbsd-newbies


Re: why don't I see anything in /altroot

2016-12-26 Thread David Skantz
Hi,

You have to mount altroot first.

regards
David

On Fri, Dec 23, 2016 at 08:32:25PM -0600, chytraeu wrote:
> 
> Hello,
> I'm running opensbd current in a vm in virtualbox. I have altroot setup per
> the faq. I've run /bin/sh /etc/daily and everything seems to be working.
> I've gotten an email stating that root has dd'ed to altroot. When I cd into
> /altroot it shows the directory empty. I don't understand this.
> 
> 
> ---
> Regards,
> Donald Cooley
> 
> ___
> Openbsd-newbies mailing list
> Openbsd-newbies@sfobug.theapt.org
> http://mailman.theapt.org/listinfo/openbsd-newbies
___
Openbsd-newbies mailing list
Openbsd-newbies@sfobug.theapt.org
http://mailman.theapt.org/listinfo/openbsd-newbies


Re: why don't I see anything in /altroot

2016-12-26 Thread Maurice McCarthy
On Mon, Dec 26, 2016 at 10:44:40AM +0100 or thereabouts, David Skantz wrote:
> Hi,
> 
> You have to mount altroot first.
> 

I feel like a right div now :) hahaha
___
Openbsd-newbies mailing list
Openbsd-newbies@sfobug.theapt.org
http://mailman.theapt.org/listinfo/openbsd-newbies