Re: Unable to install FreeBSD from external USB cdrom
On Fri, 1 Jun 2007, Daniel O'Connor wrote: The other approach would be to just splat an install CD onto a flash disk, eg.. fdisk -BI /dev/da0 bsdlabel -w -B /dev/da0s1 newfs -b 4096 -f 512 -i 8192 -O1 -U /dev/da0s1 mount /dev/da0s1a /mnt cd /mnt tar zxf /dev/acd0 umount /mnt ... actually that won't work because sysinstall doesn't know how to mount UFS partitions to read dist files :( I did look at adding that when I did the patch for FAT partitions but it's more complex (I wasn't sure of the canonical way to find them.. Easiest would be to look in /dev I guess) As part of this I wrote a patch that teaches sysinstall how to load install.cfg from a CDROM or DOS partition (eg USB stick). I just submitted a PR but haven't got a number yet, here is the patch.. http://www.gsoft.com.au/~doconnor/sysinstall-cfg-menu.diff Currently I still use DVD for the actual install.. I have booted a sysinstall (I extracted it from mfsroot.gz into /sbin and did 'set init_path=/sbin/sysinstall in the loader), however I haven't fully tested it as I ran out of time. The problem is that unless you boot sysinstall as init it goes into maintenance mode and will not install stuff properly - by design. If anyone is interested in hacking on this sort of stuff feel free to get it touch with me :) -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au The nice thing about standards is that there are so many of them to choose from. -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C signature.asc Description: This is a digitally signed message part.
Re: Unable to install FreeBSD from external USB cdrom
On Friday 01 June 2007 04:58, Vivek Khera wrote: On May 31, 2007, at 1:49 AM, Daniel O'Connor wrote: Thanks so much, now I can have an automated install on a USB stick :) please, please, please share the recipes to make this. I would love to omit CD rom drives on my future systems as the only thing i ever use them for is install. also, can you run fixit mode from your USB stick, too? I haven't actually done it yet, however I was thinking of making a basic FreeSBIE disk but split it into a UFS and a DOS partition. I'd put the dist files on the FAT partition as well as a tar ball I splat over the disk after install (that contains all the packages etc.. it is much faster than pkg_add which is what I used to use, it is also more easily tweaked). The FAT partition would also have an install.cfg which sysinstall could read (I have sysinstall patches for this). The reason for using FAT to store the dist files etc is that it would allow people to easily tweak the config and the like (useful in our situation probably less so for you) One thing I'm not sure about is how to run sysinstall after boot. A normal install CD uses it as init but I don't think that will work very well here since FreeSBIE works differently. The other approach would be to just splat an install CD onto a flash disk, eg.. fdisk -BI /dev/da0 bsdlabel -w -B /dev/da0s1 newfs -b 4096 -f 512 -i 8192 -O1 -U /dev/da0s1 mount /dev/da0s1a /mnt cd /mnt tar zxf /dev/acd0 umount /mnt ... actually that won't work because sysinstall doesn't know how to mount UFS partitions to read dist files :( I did look at adding that when I did the patch for FAT partitions but it's more complex (I wasn't sure of the canonical way to find them.. Easiest would be to look in /dev I guess) -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au The nice thing about standards is that there are so many of them to choose from. -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C pgp3NxvlLcSIG.pgp Description: PGP signature
Re: Unable to install FreeBSD from external USB cdrom
On Thursday 31 May 2007 09:39, Adriaan wrote: Because other OS's run the BIOS in real mode, and we run it in vm86 mode and we don't emulate enough instructions in vm86 mode for the Compaq/HP BIOS. In another post http://lists.freebsd.org/pipermail/freebsd-stable/2006-September/0287 73.html he refers to a patch at http://people.freebsd.org/~jhb/patches/btx_crx.patch Ah interesting, there was another patch earlier in this thread which is what I was testing. The patch does work, I hadn't installed the resulting code properly. I am not sure both patches address the same problem though. I added John to the CC list, hope he doesn't mind! It would be nice if these patches were committed before 7.0 too :) -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au The nice thing about standards is that there are so many of them to choose from. -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C pgpFUCDFT7Ro1.pgp Description: PGP signature
Re: Unable to install FreeBSD from external USB cdrom
On May 31, 2007, at 1:49 AM, Daniel O'Connor wrote: Thanks so much, now I can have an automated install on a USB stick :) please, please, please share the recipes to make this. I would love to omit CD rom drives on my future systems as the only thing i ever use them for is install. also, can you run fixit mode from your USB stick, too? ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Unable to install FreeBSD from external USB cdrom
On Wednesday 30 May 2007 22:08, Kostik Belousov wrote: The second one is more accurate as I didn't copy it from a blurry photo :) Could you, please, show the complete output from the boot, including btx banner ? That's it.. With my i965 system I don't appear to be able to get it to boot from USB without trying the RAID array as I have to press F5 to get it to boot from USB (even if I pick USB-HDD in the BIOS boot menu) So I press F5 and then it prints what I wrote.. F1DOS F2FreeBSD F5Drive 1 Default: F2 (I Press F5) - int=000d ... ... BTX halted -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au The nice thing about standards is that there are so many of them to choose from. -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C pgp5Q4sHeXks2.pgp Description: PGP signature
Re: Unable to install FreeBSD from external USB cdrom
On 5/30/07, Daniel O'Connor [EMAIL PROTECTED] wrote: int=000d ... ... BTX halted According to John Baldwin in http://lists.freebsd.org/pipermail/freebsd-stable/2006-September/028774.html : Because other OS's run the BIOS in real mode, and we run it in vm86 mode and we don't emulate enough instructions in vm86 mode for the Compaq/HP BIOS. In another post http://lists.freebsd.org/pipermail/freebsd-stable/2006-September/028773.html he refers to a patch at http://people.freebsd.org/~jhb/patches/btx_crx.patch =Adriaan= ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Unable to install FreeBSD from external USB cdrom
On Wednesday 30 May 2007 22:52, Kostik Belousov wrote: - int=000d ... ... BTX halted You boot from the hard drive, right ? Then, boot2 shall be changed too, since it uses btx. You should apply the patch, build the world, then install _both_ new boot blocks using bsdlabel, and loader. Ahh I see, my bad! -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au The nice thing about standards is that there are so many of them to choose from. -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C pgpsAsQd2css6.pgp Description: PGP signature
Re: Unable to install FreeBSD from external USB cdrom
On Thursday 31 May 2007 12:33, Daniel O'Connor wrote: On Wednesday 30 May 2007 22:52, Kostik Belousov wrote: - int=000d ... ... BTX halted You boot from the hard drive, right ? Then, boot2 shall be changed too, since it uses btx. You should apply the patch, build the world, then install _both_ new boot blocks using bsdlabel, and loader. Ahh I see, my bad! I did as you suggest and it works! Thanks so much, now I can have an automated install on a USB stick :) -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au The nice thing about standards is that there are so many of them to choose from. -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C pgpiyRnzSv1Qm.pgp Description: PGP signature
Re: Unable to install FreeBSD from external USB cdrom
Alas I still get a BTX halted after replacing loader with one from that URL :( int=000d err= efl=00030002 eip=2aca eax=0900 ebx=55aa ecx= edx=0180 esi= edi= ebp=03f0 esp=03da cs=f000 ds=9e02 es=1400fs= gs= ss=9e02 cs:eip=2e 0f 01 16 1c 2c 0f 20-c0 0c 01 0f 22 c0 b8 28 00 8e d8 0f 20 c0 24 fe-0f 22 c0 eb 00 66 58 c3 ss:esp=02 9e 00 00 20 22 01 41-02 9e 24 72 0f 08 00 00 46 02 80 01 3a 07 10 00-01 00 00 00 00 14 00 00 BTX halted (ds might be 9e82, not sure, shot is blury..) That was a Supermicro P8SCT, this is a Gigabyte GA-965P-PS3.. int=000d err= efl=00030002 eip=42b7 eax=0900 ebx=55aa ecx= edx=0180 esi= edi= ebp=03f0 esp=03d8 cs=f000 ds=9e02 es=1400fs= gs= ss=9e02 cs:eip=2e 0f 01 16 d8 44 0f 20-c0 0c 01 0f 22 c0 b8 20 00 8e d8 0f 20 c0 24 fe-0f 22 c0 eb 00 66 58 c3 ss:esp=02 9e 00 00 77 3a 01 41-00 14 02 9e 06 9e 0f 08 BTX halted The second one is more accurate as I didn't copy it from a blurry photo :) -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au The nice thing about standards is that there are so many of them to choose from. -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C pgpGwp4ghBrTt.pgp Description: PGP signature
Re: Unable to install FreeBSD from external USB cdrom
On Monday 28 May 2007 13:35, Daniel O'Connor wrote: Yes, there is also a loader/pxeboot in the same directory. As kib@ told me, do not install this loader on your disk which may destroy your data. I see the binaries, I was thinking of trying one with a USB flash boot disk, I'll unplug my actual disks for safety :) Alas I still get a BTX halted after replacing loader with one from that URL :( int=000d err= efl=00030002 eip=2aca eax=0900 ebx=55aa ecx= edx=0180 esi= edi= ebp=03f0 esp=03da cs=f000 ds=9e02 es=1400fs= gs= ss=9e02 cs:eip=2e 0f 01 16 1c 2c 0f 20-c0 0c 01 0f 22 c0 b8 28 00 8e d8 0f 20 c0 24 fe-0f 22 c0 eb 00 66 58 c3 ss:esp=02 9e 00 00 20 22 01 41-02 9e 24 72 0f 08 00 00 46 02 80 01 3a 07 10 00-01 00 00 00 00 14 00 00 BTX halted (ds might be 9e82, not sure, shot is blury..) -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au The nice thing about standards is that there are so many of them to choose from. -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C pgpZx6qfppQfS.pgp Description: PGP signature
Re: Unable to install FreeBSD from external USB cdrom
Daniel O'Connor wrote: kib@ has real mode BTX code which appears to work with affected systems of mine, however, the code has not yet made it into CVS. I spliced it into a 6.2 miniboot ISO and it worked. Ooh ahh, please sir, can I have some more^Wit? :) I did some googling.. Is this the patch? http://people.freebsd.org/~kib/realbtx/realbtx.2.patch (Going to try it today anyway :) -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au The nice thing about standards is that there are so many of them to choose from. -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Unable to install FreeBSD from external USB cdrom
On 5/28/07, Daniel O'Connor [EMAIL PROTECTED] wrote: Daniel O'Connor wrote: kib@ has real mode BTX code which appears to work with affected systems of mine, however, the code has not yet made it into CVS. I spliced it into a 6.2 miniboot ISO and it worked. Ooh ahh, please sir, can I have some more^Wit? :) I did some googling.. Is this the patch? http://people.freebsd.org/~kib/realbtx/realbtx.2.patch (Going to try it today anyway :) [I'm CC'ing [EMAIL PROTECTED] Yes, there is also a loader/pxeboot in the same directory. As kib@ told me, do not install this loader on your disk which may destroy your data. Regards, Rong-En Fan -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au The nice thing about standards is that there are so many of them to choose from. -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Unable to install FreeBSD from external USB cdrom
Rong-en Fan wrote: On 5/28/07, Daniel O'Connor [EMAIL PROTECTED] wrote: Daniel O'Connor wrote: kib@ has real mode BTX code which appears to work with affected systems of mine, however, the code has not yet made it into CVS. I spliced it into a 6.2 miniboot ISO and it worked. Ooh ahh, please sir, can I have some more^Wit? :) I did some googling.. Is this the patch? http://people.freebsd.org/~kib/realbtx/realbtx.2.patch (Going to try it today anyway :) [I'm CC'ing [EMAIL PROTECTED] Yes, there is also a loader/pxeboot in the same directory. As kib@ told me, do not install this loader on your disk which may destroy your data. I see the binaries, I was thinking of trying one with a USB flash boot disk, I'll unplug my actual disks for safety :) -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au The nice thing about standards is that there are so many of them to choose from. -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Unable to install FreeBSD from external USB cdrom
On Friday 25 May 2007 16:39, Andrei Kolu wrote: int=000d err= efl=00030002 eip=2abf eax=0300 ebx= ecx=0001 edx=009f esi=000c edi= ebp= esp=03f6 cs=f000 ds=3fca es=3fac fs= gs= ss=9e3c cs:eip=23 0f 01 16 0c 2c 0f 20-c0 0c 01 0f 22 c8 b8 28 00 8e d8 0f 20 c0 24 fe-0f 0f 22 c8 eb 00 66 58 c3 ss:esp=ca 3f 00 00 10 22 01 4b-ca 3f e4 71 47 91 00 00 46 02 f8 47 89 00 b5 03-00 00 9f 00 00 00 00 00 BTX halted --- I tried with FreeBSD 6.1, 6.2, 6.2p4 same result. Linux and Windows XP booted from cd just fine so I am sure this is not hardware problem. I believe this is most likely this issue... http://www.nabble.com/BTX-issues-when-booting-from-a-USB-CD-ROM-t3047441.html Alas no solution yet as far as I am aware :( -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au The nice thing about standards is that there are so many of them to choose from. -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C pgp9fXKwsX0Jd.pgp Description: PGP signature
Re: Unable to install FreeBSD from external USB cdrom
Daniel O'Connor wrote: I believe this is most likely this issue... http://www.nabble.com/BTX-issues-when-booting-from-a-USB-CD-ROM-t3047441.html Alas no solution yet as far as I am aware :( Forgot to Cc: my reply to the list: kib@ has real mode BTX code which appears to work with affected systems of mine, however, the code has not yet made it into CVS. I spliced it into a 6.2 miniboot ISO and it worked. regards, BMS ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Unable to install FreeBSD from external USB cdrom
On Saturday 26 May 2007 22:00, Bruce M. Simpson wrote: Daniel O'Connor wrote: I believe this is most likely this issue... http://www.nabble.com/BTX-issues-when-booting-from-a-USB-CD-ROM-t30 47441.html Alas no solution yet as far as I am aware :( Forgot to Cc: my reply to the list: kib@ has real mode BTX code which appears to work with affected systems of mine, however, the code has not yet made it into CVS. I spliced it into a 6.2 miniboot ISO and it worked. Ooh ahh, please sir, can I have some more^Wit? :) -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au The nice thing about standards is that there are so many of them to choose from. -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C pgpQueiH1zEJQ.pgp Description: PGP signature
Re: Unable to install FreeBSD from external USB cdrom
On 5/26/07, Bruce M. Simpson [EMAIL PROTECTED] wrote: Daniel O'Connor wrote: I believe this is most likely this issue... http://www.nabble.com/BTX-issues-when-booting-from-a-USB-CD-ROM-t3047441.html Alas no solution yet as far as I am aware :( Forgot to Cc: my reply to the list: kib@ has real mode BTX code which appears to work with affected systems of mine, however, the code has not yet made it into CVS. I spliced it into a 6.2 miniboot ISO and it worked. It also works on my ThinkPad X60 with 7.x boot cd. Regards, Rong-En Fan regards, BMS ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Unable to install FreeBSD from external USB cdrom
Bootloader gave me this error message: --- BTX loader 1.00 BTX version is 1.01 Consoles: internal video/keyboard _ int=000d err= efl=00030002 eip=2abf eax=0300 ebx= ecx=0001 edx=009f esi=000c edi= ebp= esp=03f6 cs=f000 ds=3fca es=3fac fs= gs= ss=9e3c cs:eip=23 0f 01 16 0c 2c 0f 20-c0 0c 01 0f 22 c8 b8 28 00 8e d8 0f 20 c0 24 fe-0f 0f 22 c8 eb 00 66 58 c3 ss:esp=ca 3f 00 00 10 22 01 4b-ca 3f e4 71 47 91 00 00 46 02 f8 47 89 00 b5 03-00 00 9f 00 00 00 00 00 BTX halted --- I tried with FreeBSD 6.1, 6.2, 6.2p4 same result. Linux and Windows XP booted from cd just fine so I am sure this is not hardware problem. Andrei ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]