freebsd usb thumb drive install
I'm trying to install freebsd from a usb thumb drive(no cdrom floppy etc on the box). I can't seem to find an image online that I can just dd to my usb stick. Everything I come across says you can't just take a cd iso image because of the filesystem the cd uses. I found a script to convert iso images into images bootable from usb, but the script is for bsd and I don't have access to a freebsd box. Does anyone have an image I can dd to my usb drive, so I can install freebsd 6.2?
I also tried using pxe, but I don't have access to nfs(only ftp). I tried chaining the bsd pxeboot through pxelinux, but this hasn't worked out too well. I was hoping that using usb would be much simpler. All the documentation I find seems rather dated, and I'm new to freebsd. Thanks in advance for any help. |
well, i am not sure why it wont work, i assume you have iso image of yoru freebsd, and that can be mounted as a cd, i think it was mount -o loop -t iso9660 freebsd.iso /mnt/anything
now you can dd /mnt/anything to your usb drive, i dont see any reason why it will not work, computer doesnt care if it is a cd, usb or whatever, it is just looking for boot files |
You can't just dd the directory because
Code:
# dd if=test/ of=usb Code:
# cp -r iso_mount/* usb_mount/ |
Same problem here
I'm also trying to install FreeBSD from a USB flash drive. Any help will be appreciated.
|
I never got it working. I eventually just managed to plug a cdrom in the box and installed from there.
That script I posted should work, but you already need a bsd box to run it from. Maybe try a livecd and run the script from there. Freebsd 7.0 just came out so maybe they have an easier way. |
You might want to check out this thread in the OLPC help forums.
http://olpcnews.com/forum/index.php?topic=1435.0 It shows how to install Ubuntu onto a raw image via Qemu, dd it onto a USB disk or SD card and then boot the OLPC laptop from that image. Similar results. I'd try it myself, and might do so later, however its 2AM right now and I'm looking to go to bed. Here is the original tutorial that FAQ was based on: http://www.freelikegnu.org/?p=21 I have succeeded with the Ubuntu to OLPC conversion and the only bit of advice I can give is Partitioning. Single partition. No swap. One giant partition. Everything may seem to go perfectly fine all through the dd process, but it wont boot. It corrupts the partition table. I'll check back either tomorrow or monday and post my results on making a USB install of FreeBSD. |
A quick forum search shows this asked only a few weeks ago.
http://www.linuxquestions.org/questi...ht=freebsd+usb The links I put in that thread work for me for what you want. |
All times are GMT -5. The time now is 10:33 AM. |