Re: [flashboot] USB stick problem to solve

2011-10-02 Thread Johan Ryberg
I have done some further testing and replaced the device in fstab to
the disk duid but it seems not to solve any problem. It would be nice
to solve this to make it possible to boot on usb stick independent of
existing hardware in the computer.

Regards Johan Ryberg

2011/10/2 Johan Ryberg :
> Hi
>
> I need some help with a problem.
>
> The issue can be found here: https://github.com/openbsd/flashboot/issues/9
>
> It's about booting Flashboot on a USB stick with a computer with a
> SSD. Flashboot assumes that the USB stick has device sd0 but that
> device is in fact the ssd drive.
>
> Does any one have any idea how to solve this?
>
> Regards Johan Ryberg
>
___
flashboot mailing list
flashboot@mindrot.org
https://lists.mindrot.org/mailman/listinfo/flashboot


Re: [flashboot] USB stick problem to solve

2011-10-02 Thread Jussi Peltola
> The issue can be found here: https://github.com/openbsd/flashboot/issues/9
>
> It's about booting Flashboot on a USB stick with a computer with a
> SSD. Flashboot assumes that the USB stick has device sd0 but that
> device is in fact the ssd drive.

echo boot sd1a:bsd >> /etc/boot.conf


 
___
flashboot mailing list
flashboot@mindrot.org
https://lists.mindrot.org/mailman/listinfo/flashboot


Re: [flashboot] USB stick problem to solve

2011-10-02 Thread rancor
2011/10/2 Jussi Peltola :
>> The issue can be found here: https://github.com/openbsd/flashboot/issues/9
>>
>> It's about booting Flashboot on a USB stick with a computer with a
>> SSD. Flashboot assumes that the USB stick has device sd0 but that
>> device is in fact the ssd drive.
>
> echo boot sd1a:bsd >> /etc/boot.conf
> ___
> flashboot mailing list
> flashboot@mindrot.org
> https://lists.mindrot.org/mailman/listinfo/flashboot

Thanks, but that does not solve the problem. I want the image to be
bootable on different hardware, not only this specific one.

I solved it by mounting /flash with duid instead of the device to make
it work independent of how many sd devices the hardware got.

This commit closes this issue:
https://github.com/openbsd/flashboot/commit/2882a54c799aabf5282204ce2e9285e8d87e4f7e

Best regards Johan
___
flashboot mailing list
flashboot@mindrot.org
https://lists.mindrot.org/mailman/listinfo/flashboot