Re: Install from a USB Pen
Randi Harper wrote: On Fri, Jul 17, 2009 at 8:41 PM, Fbsd1 wrote: Took 3 times longer to download the 8.0-BETA1-i386-memstick.img that to download the 8.0-BETA1-i386-disc1.iso. I suggest you look into another method of creating the memstick.img so it downloads faster. dd does no compression of the data. -rw-r--r--1 110 1002 346845184 Jul 16 02:04 8.0-BETA2-i386-disc1.iso -rw-r--r--1 110 1002 917391360 Jul 16 02:00 8.0-BETA2-i386-memstick.img Note the filesize. This may be the reason it took 3 times longer. Just a guess. Using a 8gb memstick as the target to install 8.0 on took 2 times longer than disc1 cd installing to same 8gb memstick. Might have something to do with the amount of data being written. Again, just a guess. Are you sure it wasn't 3 times longer? Selected the [STANDARD/KERNEL DEVELOPER] distribution, It completed successfully, but the new 8.0 8gb memstick was not recognized as bootable. I don't know why that's the case as I am unable to reproduce this problem, but if the memstick.img is <1GB, why are you using an 8GB memstick instead of the 2GB? Here is a script i have used in the past to convert the disc1.iso to bootable memstick. Maybe its better to add this script to the place where 8.0-BETA1-i386-disc1.iso is located in place of the memstick.img. That way the 3 times larger memstick.img is not needed any more. No. If you took a look at the contents of the memstick, you'd realize it's not just a copy of disc1. It also includes livefs. This is probably why the memstick.img is so much bigger. :D -- randi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" Instead of combining disc1 and livefs into a single memstick.img would't it be better to make 2 memstick images. One of disc1 and one of livefs. This matches the standard all ready in place. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Install from a USB Pen (semi OT)
On Wed, Jul 22, 2009 at 8:29 AM, Mikel King wrote: > > Just curious, but is there an easy way to get all of this onto the pen in > the first place? I missed the origin of the thread. > > dd if= of= bs=10240 conv=sync -- randi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Install from a USB Pen (semi OT)
On Jul 20, 2009, at 2:48 PM, Ken Smith wrote: On Sat, 2009-07-18 at 11:41 +0800, Fbsd1 wrote: Took 3 times longer to download the 8.0-BETA1-i386-memstick.img that to download the 8.0-BETA1-i386-disc1.iso. I suggest you look into another method of creating the memstick.img so it downloads faster. dd does no compression of the data. You're comparing apples to oranges here to some extent. disc1 isn't compressed either. The reason the memstick is larger is that it contains more stuff than disc1. That extra stuff is usually referred to as "livefs" and having that allows the memstick to be used in "Fixit" mode - you can boot off the memstick and enter into sysinstall's "Fixit" menu item which in turn you can use to get to a usable shell that has all the normal FreeBSD base system utilities available. That functionality can be useful for recovering a machine from mistakes. The CDROM media has a separate livefs. We needed to separate them out because of size issues on the CDROM media - the contents of disc1 plus the contents needed from the livefs disc to make it work in Fixit mode are too big for our target CDROM media size (700Mb). The DVD media contains both so DVDs can be used for this 'Fixit' mode as well. If you're going to use download time as any sort of evaluation of the memstick's merit you need to compare the speed of downloading it versus the speed of downloading both disc1 and livefs. Though I'm not quite sure why that's any measure of the memstick's merit. I think I've settled on the memstick images containing what was provided with BETA2, which will be the installation bits from disc1, the livefs bits, and just the packages that make up the documentation. Put a slightly different way it's the contents of the DVD minus all packages except for the documentation packages. That's my best guess on the trade-off of size versus functionality that would benefit the most end-users. Using a 8gb memstick as the target to install 8.0 on took 2 times longer than disc1 cd installing to same 8gb memstick. This shouldn't come as too big a surprise, for *typical* machines things slow down a bit if you're using the same I/O subsystem for both reads and writes. I'm guessing your CD isn't USB. Even if it is, you're again comparing apples to oranges to a large degree here. If a speed comparison is important to you here then compare the speed of installing from the memstick we provide versus one you create with your script from disc1. I'd be surprised if installing from the one you created using your script was faster than the memstick we provide. Here is a script i have used in the past to convert the disc1.iso to bootable memstick. Maybe its better to add this script to the place where 8.0-BETA1-i386-disc1.iso is located in place of the memstick.img. That way the 3 times larger memstick.img is not needed any more. Per above the 3 times larger memstick.img we're providing has more functionality than what you would get by running your script. For some people your script also causes something of a chicken-and-egg issue. It may not be particularly convenient to run your script if you don't already have FreeBSD installed on a machine. I don't see the harm in us providing one pre-built memstick image for peoples' convenience. Just curious, but is there an easy way to get all of this onto the pen in the first place? I missed the origin of the thread. Thanks, m. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Install from a USB Pen
On Sat, 2009-07-18 at 11:41 +0800, Fbsd1 wrote: > Took 3 times longer to download the 8.0-BETA1-i386-memstick.img that to > download the 8.0-BETA1-i386-disc1.iso. I suggest you look into another > method of creating the memstick.img so it downloads faster. dd does no > compression of the data. You're comparing apples to oranges here to some extent. disc1 isn't compressed either. The reason the memstick is larger is that it contains more stuff than disc1. That extra stuff is usually referred to as "livefs" and having that allows the memstick to be used in "Fixit" mode - you can boot off the memstick and enter into sysinstall's "Fixit" menu item which in turn you can use to get to a usable shell that has all the normal FreeBSD base system utilities available. That functionality can be useful for recovering a machine from mistakes. The CDROM media has a separate livefs. We needed to separate them out because of size issues on the CDROM media - the contents of disc1 plus the contents needed from the livefs disc to make it work in Fixit mode are too big for our target CDROM media size (700Mb). The DVD media contains both so DVDs can be used for this 'Fixit' mode as well. If you're going to use download time as any sort of evaluation of the memstick's merit you need to compare the speed of downloading it versus the speed of downloading both disc1 and livefs. Though I'm not quite sure why that's any measure of the memstick's merit. I think I've settled on the memstick images containing what was provided with BETA2, which will be the installation bits from disc1, the livefs bits, and just the packages that make up the documentation. Put a slightly different way it's the contents of the DVD minus all packages except for the documentation packages. That's my best guess on the trade-off of size versus functionality that would benefit the most end-users. > Using a 8gb memstick as the target to install 8.0 on took 2 times longer > than disc1 cd installing to same 8gb memstick. This shouldn't come as too big a surprise, for *typical* machines things slow down a bit if you're using the same I/O subsystem for both reads and writes. I'm guessing your CD isn't USB. Even if it is, you're again comparing apples to oranges to a large degree here. If a speed comparison is important to you here then compare the speed of installing from the memstick we provide versus one you create with your script from disc1. I'd be surprised if installing from the one you created using your script was faster than the memstick we provide. > Here is a script i have used in the past to convert the disc1.iso to > bootable memstick. Maybe its better to add this script to the place > where 8.0-BETA1-i386-disc1.iso is located in place of the memstick.img. > That way the 3 times larger memstick.img is not needed any more. Per above the 3 times larger memstick.img we're providing has more functionality than what you would get by running your script. For some people your script also causes something of a chicken-and-egg issue. It may not be particularly convenient to run your script if you don't already have FreeBSD installed on a machine. I don't see the harm in us providing one pre-built memstick image for peoples' convenience. -- Ken Smith - From there to here, from here to | kensm...@cse.buffalo.edu there, funny things are everywhere. | - Theodore Geisel | signature.asc Description: This is a digitally signed message part
Re: Install from a USB Pen
On Fri, Jul 17, 2009 at 8:41 PM, Fbsd1 wrote: > > Took 3 times longer to download the 8.0-BETA1-i386-memstick.img that to > download the 8.0-BETA1-i386-disc1.iso. I suggest you look into another > method of creating the memstick.img so it downloads faster. dd does no > compression of the data. -rw-r--r--1 110 1002 346845184 Jul 16 02:04 8.0-BETA2-i386-disc1.iso -rw-r--r--1 110 1002 917391360 Jul 16 02:00 8.0-BETA2-i386-memstick.img Note the filesize. This may be the reason it took 3 times longer. Just a guess. > Using a 8gb memstick as the target to install 8.0 on took 2 times longer > than disc1 cd installing to same 8gb memstick. Might have something to do with the amount of data being written. Again, just a guess. Are you sure it wasn't 3 times longer? > Selected the [STANDARD/KERNEL DEVELOPER] distribution, It completed > successfully, but the new 8.0 8gb memstick was not recognized as bootable. I don't know why that's the case as I am unable to reproduce this problem, but if the memstick.img is <1GB, why are you using an 8GB memstick instead of the 2GB? > Here is a script i have used in the past to convert the disc1.iso to > bootable memstick. Maybe its better to add this script to the place where > 8.0-BETA1-i386-disc1.iso is located in place of the memstick.img. > That way the 3 times larger memstick.img is not needed any more. No. If you took a look at the contents of the memstick, you'd realize it's not just a copy of disc1. It also includes livefs. This is probably why the memstick.img is so much bigger. :D -- randi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Install from a USB Pen
Fbsd1 wrote: dd if=8.0-BETA1-i386-memstick.img of=/dev/da0 worked I used my laptop to boot from the usb memstick. The 8.0 sysinstall started right up but it has problems. In this test i am booting off a 2gb usb memstick containing the 8.0-BETA1-i386-memstick.img and installing on a second 8gb memstick. While trying to do a [STANDARD/KERNEL DEVELOPER] distribution sysinstall issues error msg saying package index not on current media them gos on to tell me that docproj, manpages, proflibs, dict, info, sbace, ssys and srce are not on the media. I take this to mean that they are missing from the 8.0-BETA1-i386-memstick.img. So I tried to install again this time doing a minimal selection. This when through to completion but the resulting memstick was not bootable. I'll try this test again when BETA2 is released. OK used the 8.0-BETA2-i386-memstick.img. Took 3 times longer to download the 8.0-BETA1-i386-memstick.img that to download the 8.0-BETA1-i386-disc1.iso. I suggest you look into another method of creating the memstick.img so it downloads faster. dd does no compression of the data. dd the memstick.img to my 2gb memstick ok. It booted ok. Using a 8gb memstick as the target to install 8.0 on took 2 times longer than disc1 cd installing to same 8gb memstick. Selected the [STANDARD/KERNEL DEVELOPER] distribution, It completed successfully, but the new 8.0 8gb memstick was not recognized as bootable. Here is a script i have used in the past to convert the disc1.iso to bootable memstick. Maybe its better to add this script to the place where 8.0-BETA1-i386-disc1.iso is located in place of the memstick.img. That way the 3 times larger memstick.img is not needed any more. #!/bin/sh #Purpose = Use to transfer the FreeBSD install cd1 to # a bootable 1GB USB flash drive so it can be used to install from. # First fetch the FreeBSD 7.1-RELEASE-i386-disc1.iso to your # hard drive /usr. Then execute this script from the command line # fbsd2usb /usr/7.1-RELEASE-i386-disc1.iso /usr/7.1-RELEASE-i386-disc1.img # Change system bios to boot from USB-dd and away you go. # NOTE: This script has to be run from root and your 1GB USB flash drive # has to be plugged in before running this script. # On the command line enter fbsd2usb iso-path img-path # You can set some variables here. Edit them to fit your needs. # Set serial variable to 0 if you don't want serial console at all, # 1 if you want comconsole and 2 if you want comconsole and vidconsole serial=0 set -u if [ $# -lt 2 ]; then echo "Usage: $0 source-iso-path output-img-path" exit 1 fi isoimage=$1; shift imgoutfile=$1; shift # Temp directory to be used later #export tmpdir=$(mktemp -d -t fbsdmount) export tmpdir=$(mktemp -d /usr/fbsdmount) export isodev=$(mdconfig -a -t vnode -f ${isoimage}) ISOSIZE=$(du -k ${isoimage} | awk '{print $1}') SECTS=$((($ISOSIZE + ($ISOSIZE/5))*4)) #SECTS=$((($ISOSIZE + ($ISOSIZE/5))*2)) echo " " echo "### Initializing image File started ###" echo "### This will take about 4 minutes ###" date dd if=/dev/zero of=${imgoutfile} count=${SECTS} echo "### Initializing image File completed ###" date echo " " ls -l ${imgoutfile} export imgdev=$(mdconfig -a -t vnode -f ${imgoutfile}) bsdlabel -w -B ${imgdev} newfs -O1 /dev/${imgdev}a mkdir -p ${tmpdir}/iso ${tmpdir}/img mount -t cd9660 /dev/${isodev} ${tmpdir}/iso mount /dev/${imgdev}a ${tmpdir}/img echo " " echo "### Started Copying files to the image now ###" echo "### This will take about 15 minutes ###" date ( cd ${tmpdir}/iso && find . -print -depth | cpio -dump ${tmpdir}/img ) echo "### Completed Copying files to the image ###" date if [ ${serial} -eq 2 ]; then echo "-D" > ${tmpdir}/img/boot.config echo 'console="comconsole, vidconsole"' >> ${tmpdir}/img/boot/loader.conf elif [ ${serial} -eq 1 ]; then echo "-h" > ${tmpdir}/img/boot.config echo 'console="comconsole"' >> ${tmpdir}/img/boot/loader.conf fi echo " " echo "### Started writing image to flash drive now ###" echo "### This will take about 30 minutes ###" date dd if=${imgoutfile} of=/dev/da0 bs=1m echo "### Completed writing image to flash drive at ###" date cleanup() { umount ${tmpdir}/iso mdconfig -d -u ${isodev} umount ${tmpdir}/img mdconfig -d -u ${imgdev} rm -rf ${tmpdir} } cleanup ls -lh ${imgoutfile} echo "### Script finished ###" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Install from a USB Pen
Randi Harper wrote: On Wed, Jul 15, 2009 at 6:50 PM, Fbsd1 wrote: Randi Harper wrote: On 7/14/09, Fbsd1 wrote: What are the instructions for using this 8.0 memstick.img? What raw size memstick is needed? Is the 8.0 memstick.img the same content as the cd1 disk? Sigh. Reply-to-all fail. Resending. It's all in the email about the 8.0 BETA(s). Use dd, a memstick that is of equal to or greater size than the memstick.img, and no, it's different from disc1. It currently lacks packages, but it does include livefs. -- randi The email about 8.0 BETA(s) was not posted to the questions list that is why I did not see it. This is what I tried Plugging in the stick auto generated these messages # /root >umass0: on uhub1 da0 at umass-sim0 bus 0 target 0 lun 0 da0: < USB Flash Memory 6.50> Removable Direct Access SCSI-0 device da0: 1.000MB/s transfers da0: 1905MB (3903487 512 byte sectors: 255H 63S/T 242C) GEOM_LABEL: Label for provider da0s1 is msdosfs/ço¤żňÚktń I have to hit enter key to get prompt of=da0 or of=da0s1 resulted in same thing, no img on stick # /usr >dd if=8.0-BETA1-i386-memstick.img of=da0 bs=10240 conv=sync 57412+0 records in 57412+0 records out 587898880 bytes transferred in 192.035793 secs (3061403 bytes/sec) Can not mount with (mount /dev/da0s1 /mnt) But (mount_msdosfs /dev/da0s1 /mnt) does work but stick still contains the original data. Has not been overwritten by the 8.0-BETA1-i386-memstick.img What is the problem here? You're writing to a file called da0 inside /usr instead of /dev/da0. -- randi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" dd if=8.0-BETA1-i386-memstick.img of=/dev/da0 worked I used my laptop to boot from the usb memstick. The 8.0 sysinstall started right up but it has problems. In this test i am booting off a 2gb usb memstick containing the 8.0-BETA1-i386-memstick.img and installing on a second 8gb memstick. While trying to do a [STANDARD/KERNEL DEVELOPER] distribution sysinstall issues error msg saying package index not on current media them gos on to tell me that docproj, manpages, proflibs, dict, info, sbace, ssys and srce are not on the media. I take this to mean that they are missing from the 8.0-BETA1-i386-memstick.img. So I tried to install again this time doing a minimal selection. This when through to completion but the resulting memstick was not bootable. I'll try this test again when BETA2 is released. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Install from a USB Pen
On Wed, Jul 15, 2009 at 6:50 PM, Fbsd1 wrote: > Randi Harper wrote: > >> On 7/14/09, Fbsd1 wrote: >> >>> What are the instructions for using this 8.0 memstick.img? >>> What raw size memstick is needed? >>> Is the 8.0 memstick.img the same content as the cd1 disk? >>> >> >> Sigh. Reply-to-all fail. Resending. >> >> It's all in the email about the 8.0 BETA(s). Use dd, a memstick that >> is of equal to or greater size than the memstick.img, and no, it's >> different from disc1. It currently lacks packages, but it does include >> livefs. >> >> -- randi >> >> >> The email about 8.0 BETA(s) was not posted to the questions list that is > why I did not see it. > > This is what I tried > > Plugging in the stick auto generated these messages > > # /root >umass0: addr 2> on uhub1 > da0 at umass-sim0 bus 0 target 0 lun 0 > da0: < USB Flash Memory 6.50> Removable Direct Access SCSI-0 device > da0: 1.000MB/s transfers > da0: 1905MB (3903487 512 byte sectors: 255H 63S/T 242C) > GEOM_LABEL: Label for provider da0s1 is msdosfs/ço¤żňÚktń > > I have to hit enter key to get prompt > of=da0 or of=da0s1 resulted in same thing, no img on stick > > # /usr >dd if=8.0-BETA1-i386-memstick.img of=da0 bs=10240 conv=sync > 57412+0 records in > 57412+0 records out > 587898880 bytes transferred in 192.035793 secs (3061403 bytes/sec) > > Can not mount with (mount /dev/da0s1 /mnt) > But (mount_msdosfs /dev/da0s1 /mnt) does work but > stick still contains the original data. > Has not been overwritten by the 8.0-BETA1-i386-memstick.img > > What is the problem here? > You're writing to a file called da0 inside /usr instead of /dev/da0. -- randi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Install from a USB Pen
Randi Harper wrote: On 7/14/09, Fbsd1 wrote: What are the instructions for using this 8.0 memstick.img? What raw size memstick is needed? Is the 8.0 memstick.img the same content as the cd1 disk? Sigh. Reply-to-all fail. Resending. It's all in the email about the 8.0 BETA(s). Use dd, a memstick that is of equal to or greater size than the memstick.img, and no, it's different from disc1. It currently lacks packages, but it does include livefs. -- randi The email about 8.0 BETA(s) was not posted to the questions list that is why I did not see it. This is what I tried Plugging in the stick auto generated these messages # /root >umass0: 2.00/2.00, addr 2> on uhub1 da0 at umass-sim0 bus 0 target 0 lun 0 da0: < USB Flash Memory 6.50> Removable Direct Access SCSI-0 device da0: 1.000MB/s transfers da0: 1905MB (3903487 512 byte sectors: 255H 63S/T 242C) GEOM_LABEL: Label for provider da0s1 is msdosfs/ço¤¿òÚktñ I have to hit enter key to get prompt of=da0 or of=da0s1 resulted in same thing, no img on stick # /usr >dd if=8.0-BETA1-i386-memstick.img of=da0 bs=10240 conv=sync 57412+0 records in 57412+0 records out 587898880 bytes transferred in 192.035793 secs (3061403 bytes/sec) Can not mount with (mount /dev/da0s1 /mnt) But (mount_msdosfs /dev/da0s1 /mnt) does work but stick still contains the original data. Has not been overwritten by the 8.0-BETA1-i386-memstick.img What is the problem here? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Install from a USB Pen
On 7/14/09, Fbsd1 wrote: > What are the instructions for using this 8.0 memstick.img? > What raw size memstick is needed? > Is the 8.0 memstick.img the same content as the cd1 disk? Sigh. Reply-to-all fail. Resending. It's all in the email about the 8.0 BETA(s). Use dd, a memstick that is of equal to or greater size than the memstick.img, and no, it's different from disc1. It currently lacks packages, but it does include livefs. -- randi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Install from a USB Pen
... or you could just download an official image instead of going to all of that trouble. Check the FTP site, there's a memstick.img if you're down for using with 8 instead of 7. There are currently three PRs about this, and I recently took ownership of them. Filing duplicate bug reports doesn't "get attention", it's just annoying and it makes trying to improve sysinstall that much more difficult because I'll have to spend more time closing these duplicates and less time fixing problems. There has been an email that stated there is USB install support in sysinstall as of 8.0 BETA1, and USB livefs support as of 8.0 BETA2. The PRs for USB support in sysinstall will be updated and closed soon. Don't open new ones. You're welcome! :D -- randi What are the instructions for using this 8.0 memstick.img? What raw size memstick is needed? Is the 8.0 memstick.img the same content as the cd1 disk? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Install from a USB Pen
On Mon, Jul 13, 2009 at 7:17 PM, Fbsd1 wrote: > Mark Wallbank wrote: > >> OK I know this has probably been done to death by know and I keep >> hitting the same problems with the methods I have tried to find on >> google and I know I could just sacrifice a laptop and do a build to >> create the image or do a net (pxe) install from another NIX serverbut >> it does seem to be a bit over the top. Does any body know of an easy >> way to create a bootable USB install media for 7.2 using either linux >> or vista (or using an option from the install dvd). I have tried some >> of the tricks from openBSD and linux to no avail. >> Any help appreciated... >> Cheers >> Mark >> ___ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to " >> freebsd-questions-unsubscr...@freebsd.org" >> >> >> > > If your asking how to put the cd1 install contents onto a usb stick and use > the sysinstall program to perform the install on the target box then check > the archive. > It has a post with a script to convert the cd1 install disk to usb stick. > But the show stopper is the sysinstall program does not have option for usb > stick as install source. There was a bug report submitted 2 years ago > pointing out this oversight, but as of 7.2 it has not been corrected. > If you think the sysinstall program should have install source option for > usb stick them file your own bug report. The more people who file bug > reports the more attention this problem will get from the developers. > > > > > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscr...@freebsd.org" > ... or you could just download an official image instead of going to all of that trouble. Check the FTP site, there's a memstick.img if you're down for using with 8 instead of 7. There are currently three PRs about this, and I recently took ownership of them. Filing duplicate bug reports doesn't "get attention", it's just annoying and it makes trying to improve sysinstall that much more difficult because I'll have to spend more time closing these duplicates and less time fixing problems. There has been an email that stated there is USB install support in sysinstall as of 8.0 BETA1, and USB livefs support as of 8.0 BETA2. The PRs for USB support in sysinstall will be updated and closed soon. Don't open new ones. You're welcome! :D -- randi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Install from a USB Pen
Mark Wallbank wrote: OK I know this has probably been done to death by know and I keep hitting the same problems with the methods I have tried to find on google and I know I could just sacrifice a laptop and do a build to create the image or do a net (pxe) install from another NIX serverbut it does seem to be a bit over the top. Does any body know of an easy way to create a bootable USB install media for 7.2 using either linux or vista (or using an option from the install dvd). I have tried some of the tricks from openBSD and linux to no avail. Any help appreciated... Cheers Mark ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" If your asking how to put the cd1 install contents onto a usb stick and use the sysinstall program to perform the install on the target box then check the archive. It has a post with a script to convert the cd1 install disk to usb stick. But the show stopper is the sysinstall program does not have option for usb stick as install source. There was a bug report submitted 2 years ago pointing out this oversight, but as of 7.2 it has not been corrected. If you think the sysinstall program should have install source option for usb stick them file your own bug report. The more people who file bug reports the more attention this problem will get from the developers. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Install from a USB Pen
Mark Wallbank wrote: > OK I know this has probably been done to death by know and I keep > hitting the same problems with the methods I have tried to find on > google and I know I could just sacrifice a laptop and do a build to > create the image or do a net (pxe) install from another NIX serverbut > it does seem to be a bit over the top. Does any body know of an easy > way to create a bootable USB install media for 7.2 using either linux > or vista (or using an option from the install dvd). I have tried some > of the tricks from openBSD and linux to no avail. > Any help appreciated... > Cheers > Mark > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org" > http://www.mail-archive.com/freebsd-questions@freebsd.org/msg218298.html /Morgan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Install from a USB Pen
Em Seg, 2009-07-13 às 13:02 +0100, Mark Wallbank escreveu: > OK I know this has probably been done to death by know and I keep > hitting the same problems with the methods I have tried to find on > google and I know I could just sacrifice a laptop and do a build to > create the image or do a net (pxe) install from another NIX serverbut > it does seem to be a bit over the top. Does any body know of an easy > way to create a bootable USB install media for 7.2 using either linux > or vista (or using an option from the install dvd). I have tried some > of the tricks from openBSD and linux to no avail. > Any help appreciated... > Cheers > Mark > ___ I did not tested but 1) make a FreeBSD cdrom 7.2 (600Mb) 2) a machine with NO HD, 1 pen drive (2gb), CDrom reader 3) boot from the cdrom option 6 4) make sure there is umass on the kernel=> command: load umass 5) command=> boot the machine boots, and should find an "HD" da0 6) choose a lay out of: 50Mb of swap, rest for / 7) choose minimum install than INSTALL 8) setup networkreboot (remove cd from drive) the machine should run on the pen-drive... Hope this whill help. as I have several FreeBSD boxes, here I generate the pen-drive from a cd rom 1) insert the pen drive, the machine finds it on da0 2) fdisk -BI (wipe out the pen-drive...) 3) disklabel -wB da0s1 4) newfs da0s1a 5) mount /dev/da0s1a /mnt 6) export DESTDIR=/mnt 7) cd /cdrom (the mount point of the mounted freebsd cdrom...) go to the 7.2-release base 8) sh install.sh 9) create the /etc/fstab... on /mnt /dev/da0s1a/ufsrw11 10) test is everything is ok => chroot /mnt should work then go back => exit 11) go to the kernel directory in the cd 7.2-release/kernel sh install.sh generic 12) rm -rf /mnt/boot/kernel 13) mv /mnt/boot/GENERIC /mnt/boot/kernel 14) umount /mnt 15) system should boot. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: Install from a USB Pen
On Mon, 13 Jul 2009 13:02:54 +0100 Mark Wallbank wrote: > OK I know this has probably been done to death by know and I keep > hitting the same problems with the methods I have tried to find on > google and I know I could just sacrifice a laptop and do a build to > create the image or do a net (pxe) install from another NIX serverbut > it does seem to be a bit over the top. Does any body know of an easy > way to create a bootable USB install media for 7.2 using either linux > or vista (or using an option from the install dvd). I have tried some > of the tricks from openBSD and linux to no avail. > Any help appreciated... > Cheers > Mark > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscr...@freebsd.org" I am assuming that you don't have access to a freebsd machine to build the image? There's official usb images for 8.0-BETA1. I have (unofficial) iso->img converted 7.2-RELEASE-bootonly for i386/amd64. I've used this method before to build a 8.0-CURRENT snapshot img's, before -BETA1, and it works. http://www.fallendusk.org/freebsd/img/7.2-RELEASE/ Disclaimer: I've not tested these img's at all, so use at your own risk. :) You can copy to a flashdrive using dd on any *nix platform, and I believe there's a ported version of dd for Windows aswell. I can share the source for the iso->img convert script if you, or anyone else, would like. I don't know the original author as it wasn't in the script. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Install from a USB Pen
OK I know this has probably been done to death by know and I keep hitting the same problems with the methods I have tried to find on google and I know I could just sacrifice a laptop and do a build to create the image or do a net (pxe) install from another NIX serverbut it does seem to be a bit over the top. Does any body know of an easy way to create a bootable USB install media for 7.2 using either linux or vista (or using an option from the install dvd). I have tried some of the tricks from openBSD and linux to no avail. Any help appreciated... Cheers Mark ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"