|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Alexander Hall (alexander
beard.se)
Date: Thu Feb 07 2008 - 08:41:45 CST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Jean-Yves Boisiaud wrote:
> Hello,
>
> I'm using OpenBSD with a Soekris NET4801.
> To make my job easy and more secure to upgrade software,
> I would like to have 2 root partitions on the label, one is active at a
> time and the other will filled with the upgrade by dd.
I do not get how this would make anything easier or safer, but...
> I compiled a kernel with, in NET4801 config file, the line :
> config bsd swap generic
>
> I installed all my system in partition wd0b. Partition wd0a contains an
> empty formated UFS partition.
>
> I change the /etc/boot.conf, which now is :
> set tty com0
> stty com0 19200
> set timeout 5
> boot hd0b:/bsd
>
> When I boot the Soekris, the boot loader is found, and I have the
> following message :
>
> booting hd0a:/bsd: open hd0a:/bsd: No such file or directory
> failed(2). will try /bsd
>
> If I type hd0b:/bsd, the kernel is found and the kernel boot is ok.
>
> How could I resolve my problem ?
>
> Thanks for your help.
The boot loader won't find your /etc/boot.conf at wd0b (searches at
wd0a, if I read boot.c, ..., dev_i386.c correctly).
I guess you could patch it, but I'd say you are creating a monster.
I still do not get the point of this exercise, but could not wd0a be the
default boot device and wd0b the alternative?
/Alexander
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]