OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: How to use /altroot?

From: Olaf Schreck (chaklsyscall.de)
Date: Tue Jun 01 2004 - 18:32:16 CDT


> I followed the steps in man afterboot to enable backing up the root
> partition to /altroot and it works. sd0a is copied to sd1a.
>
> I was hoping that all I had to do to enable booting off the backup drive
> (sd1) would be to switch the bootable drive in the scsi controller to ID
> 1 from 0. I doesn't boot.

Me neither, but I might throw error messages :)

> As a test I installed OBSD 3.5 directly to sd1 and booted from it and
> that works fine. What's needed to make sd1a bootable after dd runs on
> /altroot?

A decent sed in /altroot/etc/fstab ? the "/" entry..

> This is the message I get when trying to boot sd1a after a backup as
> /altroot. sd1 and sd0 are not identical disk drives.

Works for me on 3.4/sparc

ciao,
chakl
--
Olaf Schreck chaklsyscall.de syscall() Network Solutions, Berlin