From johan at securit.se Sun Oct 2 09:47:24 2011 From: johan at securit.se (Johan Ryberg) Date: Sun, 2 Oct 2011 00:47:24 +0200 Subject: [flashboot] USB stick problem to solve Message-ID: 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 From johan at securit.se Mon Oct 3 04:40:20 2011 From: johan at securit.se (Johan Ryberg) Date: Sun, 2 Oct 2011 19:40:20 +0200 Subject: [flashboot] USB stick problem to solve In-Reply-To: References: Message-ID: 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 > From pelzi at pelzi.net Mon Oct 3 04:54:43 2011 From: pelzi at pelzi.net (Jussi Peltola) Date: Sun, 2 Oct 2011 20:54:43 +0300 Subject: [flashboot] USB stick problem to solve In-Reply-To: References: Message-ID: <20111002175443.GR22443@pokute.pelzi.net> > 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 From therancor at gmail.com Mon Oct 3 07:23:09 2011 From: therancor at gmail.com (rancor) Date: Sun, 2 Oct 2011 22:23:09 +0200 Subject: [flashboot] USB stick problem to solve In-Reply-To: <20111002175443.GR22443@pokute.pelzi.net> References: <20111002175443.GR22443@pokute.pelzi.net> Message-ID: 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 at 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 From johan at securit.se Tue Oct 4 08:03:03 2011 From: johan at securit.se (Johan Ryberg) Date: Mon, 3 Oct 2011 23:03:03 +0200 Subject: [flashboot] Flashboot 4.9 Pendrive image (USB-stick) - Please test Message-ID: Howdi folks It's now possible to build a usb kernel and usb image. I would love to see that some one tested the image. Binary download can be found at github (https://github.com/downloads/openbsd/flashboot/PENDRIVE.image) or build by your self from scratch, it's all automatic =) Best regards Johan Ryberg From johan at securit.se Sun Oct 9 22:25:00 2011 From: johan at securit.se (Johan Ryberg) Date: Sun, 9 Oct 2011 13:25:00 +0200 Subject: [flashboot] Does the "TODO" still apply? - Problem with kernel > 16 Mb? Message-ID: Hi. According to TODO: [snip] load kernels as 16Mb - will avoid isadma problems - need to modify kernel and boot loader [/snip] Does any one has the status of this? I have not spent a single thought about this during my work since all my test has worked and we are now building a kernel that are 48 Mb in size and I have not found a single downside yet and I have tested Flashboot on Soekris 4801, Virtual Box, misc laptops and custom made computers. They all boot and works as expected. Maybe never versions of the boot loader that we are using today don't have this limit and this TODO is some kind of forgotten note that just should be deleted? // Johan From rd at tilde.se Mon Oct 10 17:08:05 2011 From: rd at tilde.se (Rickard Dahlstrand) Date: Mon, 10 Oct 2011 08:08:05 +0200 Subject: [flashboot] Does the "TODO" still apply? - Problem with kernel > 16 Mb? In-Reply-To: References: Message-ID: <02FDB3B5-0FBD-4D09-97B9-8641654AD9AA@tilde.se> Hi, I have never personally seen this issue, at that time it was uncommon, and now it might not even be an issue any more. I assume that if anyone has an issue with some HW, they will let us know. Rickard. 9 okt 2011 kl. 13.25 skrev Johan Ryberg: > Hi. > > According to TODO: > [snip] > load kernels as 16Mb > - will avoid isadma problems > - need to modify kernel and boot loader > [/snip] > > Does any one has the status of this? I have not spent a single thought > about this during my work since all my test has worked and we are now > building a kernel that are 48 Mb in size and I have not found a single > downside yet and I have tested Flashboot on Soekris 4801, Virtual Box, > misc laptops and custom made computers. They all boot and works as > expected. > > Maybe never versions of the boot loader that we are using today don't > have this limit and this TODO is some kind of forgotten note that just > should be deleted? > > // Johan > _______________________________________________ > flashboot mailing list > flashboot at mindrot.org > https://lists.mindrot.org/mailman/listinfo/flashboot From johan at securit.se Mon Oct 10 18:23:27 2011 From: johan at securit.se (Johan Ryberg) Date: Mon, 10 Oct 2011 09:23:27 +0200 Subject: [flashboot] Does the "TODO" still apply? - Problem with kernel > 16 Mb? In-Reply-To: <02FDB3B5-0FBD-4D09-97B9-8641654AD9AA@tilde.se> References: <02FDB3B5-0FBD-4D09-97B9-8641654AD9AA@tilde.se> Message-ID: Then I suggest that we removes that "TODO" since it only creates questions and uncertainty // Johan 2011/10/10 Rickard Dahlstrand : > Hi, > > I have never personally seen this issue, at that time it was uncommon, and now it might not even be an issue any more. I assume that if anyone has an issue with some HW, they will let us know. > > Rickard. > > 9 okt 2011 kl. 13.25 skrev Johan Ryberg: > >> Hi. >> >> According to TODO: >> [snip] >> load kernels as 16Mb >> - will avoid isadma problems >> - need to modify kernel and boot loader >> [/snip] >> >> Does any one has the status of this? I have not spent a single thought >> about this during my work since all my test has worked and we are now >> building a kernel that are 48 Mb in size and I have not found a single >> downside yet and I have tested Flashboot on Soekris 4801, Virtual Box, >> misc laptops and custom made computers. They all boot and works as >> expected. >> >> Maybe never versions of the boot loader that we are using today don't >> have this limit and this TODO is some kind of forgotten note that just >> should be deleted? >> >> // Johan >> _______________________________________________ >> flashboot mailing list >> flashboot at mindrot.org >> https://lists.mindrot.org/mailman/listinfo/flashboot > > _______________________________________________ > flashboot mailing list > flashboot at mindrot.org > https://lists.mindrot.org/mailman/listinfo/flashboot > From rd at tilde.se Mon Oct 10 18:29:45 2011 From: rd at tilde.se (Rickard Dahlstrand) Date: Mon, 10 Oct 2011 09:29:45 +0200 Subject: [flashboot] Does the "TODO" still apply? - Problem with kernel > 16 Mb? In-Reply-To: References: <02FDB3B5-0FBD-4D09-97B9-8641654AD9AA@tilde.se> Message-ID: <0F9EF437-CAEA-409D-9BD8-DF8D817A3E72@tilde.se> Agreed. 10 okt 2011 kl. 09:23 skrev Johan Ryberg: > Then I suggest that we removes that "TODO" since it only creates > questions and uncertainty > > // Johan > > 2011/10/10 Rickard Dahlstrand : >> Hi, >> >> I have never personally seen this issue, at that time it was uncommon, and now it might not even be an issue any more. I assume that if anyone has an issue with some HW, they will let us know. >> >> Rickard. >> >> 9 okt 2011 kl. 13.25 skrev Johan Ryberg: >> >>> Hi. >>> >>> According to TODO: >>> [snip] >>> load kernels as 16Mb >>> - will avoid isadma problems >>> - need to modify kernel and boot loader >>> [/snip] >>> >>> Does any one has the status of this? I have not spent a single thought >>> about this during my work since all my test has worked and we are now >>> building a kernel that are 48 Mb in size and I have not found a single >>> downside yet and I have tested Flashboot on Soekris 4801, Virtual Box, >>> misc laptops and custom made computers. They all boot and works as >>> expected. >>> >>> Maybe never versions of the boot loader that we are using today don't >>> have this limit and this TODO is some kind of forgotten note that just >>> should be deleted? >>> >>> // Johan >>> _______________________________________________ >>> flashboot mailing list >>> flashboot at mindrot.org >>> https://lists.mindrot.org/mailman/listinfo/flashboot >> >> _______________________________________________ >> flashboot mailing list >> flashboot at mindrot.org >> https://lists.mindrot.org/mailman/listinfo/flashboot >> From johan at securit.se Mon Oct 24 08:13:52 2011 From: johan at securit.se (Johan Ryberg) Date: Sun, 23 Oct 2011 23:13:52 +0200 Subject: [flashboot] New script for building OpenBSD installation image from install iso Message-ID: Hi. I just added a new script to build image from OpenBSD install49.iso to make a bootable USB installation pen drive. The script is called build-usbinstallimage.sh If any one could test the script I would be very happy. I have tested it with both i386 and amd64 and it's possible to boot and install from a usb stick. No more need to burn cd just for installations =) There is how ever some kind of problem with OpenBSD own installation script because it can't find the path to the files automatic since its not from a CD. The path mounts upon question and the installation proceeds without any problem. Best regards Johan Ryberg