tag:blogger.com,1999:blog-32797070.post6509027704691063770..comments2024-03-03T10:06:40.354-07:00Comments on Warner's Random Hacking Blog: PC-BSD install without a bootable DVDWarner Loshhttp://www.blogger.com/profile/11922167595789336900noreply@blogger.comBlogger5125tag:blogger.com,1999:blog-32797070.post-41604140723644240712010-10-27T17:58:09.301-06:002010-10-27T17:58:09.301-06:00Warner,
I think teaching nanobsd how to make GPT...Warner, <br /><br />I think teaching nanobsd how to make GPT partitioned devices would be worth while. (if you haven't already that is) I've been using GPT exclusively for a while now and would rather not switch back. <br /><br />-Phil.nixilhttps://www.blogger.com/profile/12486713813804537089noreply@blogger.comtag:blogger.com,1999:blog-32797070.post-72605481677236785902010-10-21T03:41:57.939-06:002010-10-21T03:41:57.939-06:00At www.plop.at there is free software that will le...At www.plop.at there is free software that will let you boot off of usb even though you hardware doesn't support it directly.<br /><br />/JKallehttps://www.blogger.com/profile/00168699970137369105noreply@blogger.comtag:blogger.com,1999:blog-32797070.post-33928805791201005272010-10-02T13:49:25.205-06:002010-10-02T13:49:25.205-06:00Alain B.
Ok.
I just switched some custom scripts...Alain B.<br /><br />Ok.<br /><br />I just switched some custom scripts to use UFS label instead of whole disk label.<br /><br />This make it now more easy to have 2 freebsd partition on a single CF to have a rescue partition.<br />No more need to tweak loader.conf.<br /><br />And with gpart, i no more need to create fdisk template for each kind of CF in order to always boot.<br />It just work's, and i don't know why :-)<br /><br />Since i know nearly nothing about GPT,<br />i cannot pronounce me.<br /><br />Thank's again.<br /><br />Alain.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-32797070.post-31437246280703986972010-10-01T10:33:17.952-06:002010-10-01T10:33:17.952-06:00Thanks for the tips Alain...
I use ufs labels now...Thanks for the tips Alain...<br /><br />I use ufs labels now in FreeNAS (and added it to nanobsd in the base) so that /dev/ufs/mumble will find the right file system to boot off of. I got the idea from bsdrp. I know that PC-BSD uses glabel to actually label the partitions, but I guess I'm a sucker for booting the filesystem that I tagged as Blah, rather than the partition tagged as Blah. A subtle difference, to be sure.<br /><br />I have the usb kludge from bsdrp in freenas right now. I hate it. It is just so wrong. IMHO, we should poll for new devices once we drop into the prompt for devices. So it would say 'oh, the specified thing turned up after all, continuing with it' if you didn't type anything...<br /><br />I think we're using similar tricks for the forth-coming FreeNAS installer...<br /><br />Now, I wonder, is it worth it to teach nanobsd how to make GPT partitioned devices...Warner Loshhttps://www.blogger.com/profile/11922167595789336900noreply@blogger.comtag:blogger.com,1999:blog-32797070.post-31694983811355582892010-10-01T02:52:15.328-06:002010-10-01T02:52:15.328-06:00Alain B. from Paris.
Very usefull !
gpart tool w...Alain B. from Paris.<br /><br />Very usefull !<br /><br />gpart tool was frightened me...<br /><br />I learn with you, simply by example, essentials about using gpart.<br /><br />Bye Bye fdisk and disklabel :-)<br /><br />you have a little typo that's everyone had noticed:<br /><br /> gpart create -s bsd da0<br /> gpart add -t \!7 da0<br /><br />should be read as:<br /><br /> gpart create -s bsd da0s1<br /> gpart add -t \!7 da0s1<br /><br />Some others funny things can be done for the old or embedded world:<br /><br />Nothing new there but it just can save your life :-)<br /><br />Here, we can always use 'glabel create' on da0,<br />and adjust fstab in order to always<br />boot on everything that look like of a disk,<br />no matters if it's da0, ad4 or ada0.<br />Same CF can be booted either from USB adapter or SATA to CF converter.<br />Even if it's an hd image an iSCSI lun booted via gpxe and isboot<br />(see istgt project).<br /><br />Yet another idea taken from the BSDRP projet: <br />in order to properly boot on cheap USB key you should increase the probe delay.<br /><br />echo 'kern.cam.boot.delay=10000' >> ${IMGROOT}/boot/loader.conf<br /><br />And the last one...<br /><br />If you create a customised ISOLIVE CD or read only CF but you still want to alter <br />the configuration "write on it" at run time:<br /><br />echo 'mkdir -p /var/fs/etc' >> $CDROOT/etc/rc.local<br />echo 'mount_unionfs -o noatime /var/fs/etc /etc ' >> $CDROOT/etc/rc.local<br /><br />with /var as mdmfs(8) will do the trick.<br /><br />FreeBSD: No limits !<br /><br />Thank's again for your blog !<br /><br />alain AT bsdgate.orgAnonymousnoreply@blogger.com