kirei / flashboot

OpenBSD Flashboot
http://www.mindrot.org/projects/flashboot/
Other
73 stars 26 forks source link

USB kernel + image does not work on computers with SSD drives #9

Closed jryberg closed 12 years ago

jryberg commented 12 years ago

When booting on computers with SSD drive the USB kernel are assuming that USB stick has device sd0 but that device is the internal ssd and the mount failures

Some kind of logic that remaps boot information must be implemented when a ssd is present

jryberg commented 12 years ago

I will try to use UID instead of device

jryberg commented 12 years ago

Commit https://github.com/openbsd/flashboot/commit/2882a54c799aabf5282204ce2e9285e8d87e4f7e is fixing this issue

jschlyter commented 12 years ago

Perhaps we should generate a random DUID instead of using a static one? Or at least use something more random as the static one?

jryberg commented 12 years ago

Yes, I was already working on it but it's not ready to commit yet =)

jryberg commented 12 years ago

Done, https://github.com/openbsd/flashboot/commit/daaf1c9e1a9e29e520c52ec0dcf024d33953d5dc closes random DUID