Re: BTX on USB pen drive

2008-03-13 Thread Danny Braniss
On Sunday 09 March 2008 09:07:03 am Torfinn Ingolfsen wrote: On Sat, 08 Mar 2008 18:44:50 -0800 Jeremy Chadwick [EMAIL PROTECTED] wrote: Your boot0cfg line to reinstall the boot0 MBR looks fine, but I don't use boot0 myself (I prefer to go right into boot2/loader). I used 'fdisk

Re: BTX on USB pen drive

2008-03-13 Thread Kostik Belousov
On Thu, Mar 13, 2008 at 11:30:19AM +0200, Danny Braniss wrote: On Sunday 09 March 2008 09:07:03 am Torfinn Ingolfsen wrote: On Sat, 08 Mar 2008 18:44:50 -0800 Jeremy Chadwick [EMAIL PROTECTED] wrote: Your boot0cfg line to reinstall the boot0 MBR looks fine, but I don't use

Re: BTX on USB pen drive

2008-03-12 Thread Vincent Mialon
I generated an USB key with NanoBSD using the last btx.S 1.46 from current. I tested it on 2 brand new supermicro servers that did not boot with the revision 1.44. It works perfectly !! Thank you very much ! It now works also on a Lenovo Thinkpad T61p. Excellent job ! Le Monday 10 March

Re: BTX on USB pen drive

2008-03-10 Thread John Baldwin
On Sunday 09 March 2008 09:07:03 am Torfinn Ingolfsen wrote: On Sat, 08 Mar 2008 18:44:50 -0800 Jeremy Chadwick [EMAIL PROTECTED] wrote: Your boot0cfg line to reinstall the boot0 MBR looks fine, but I don't use boot0 myself (I prefer to go right into boot2/loader). I used 'fdisk -B da0'

Re: BTX on USB pen drive

2008-03-10 Thread John Baldwin
On Friday 07 March 2008 06:40:04 pm Jeremy Chadwick wrote: On Fri, Mar 07, 2008 at 11:51:49PM +0100, Dimitry Andric wrote: On 2008-03-07 15:13, John Baldwin wrote: Try this instead: http://people.freebsd.org/~jhb/patches/btx_real.patch Hi John, I've encounted way too many

Re: BTX on USB pen drive

2008-03-10 Thread Torfinn Ingolfsen
On Mon, 10 Mar 2008 15:09:51 -0400 John Baldwin [EMAIL PROTECTED] wrote: You haven't updated boot2 (via bsdlabel -B) which sits in between boot0/mbr and /boot/loader. That was it - nice! Booting from usb now works, even on my troublesome Acer laptop[1] (Aspire 5672). I put up a dmesg

Re: BTX on USB pen drive

2008-03-09 Thread Torfinn Ingolfsen
On Sat, 08 Mar 2008 18:44:50 -0800 Jeremy Chadwick [EMAIL PROTECTED] wrote: To quote lolcats: yr doin it wrong. Thanks for confirming that. :-) http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/serialconsole-setup.html Well, I followed the right steps to rebuild the boot blocks,

Re: BTX on USB pen drive

2008-03-09 Thread Torfinn Ingolfsen
On Sat, 08 Mar 2008 18:44:50 -0800 Jeremy Chadwick [EMAIL PROTECTED] wrote: Your boot0cfg line to reinstall the boot0 MBR looks fine, but I don't use boot0 myself (I prefer to go right into boot2/loader). I used 'fdisk -B da0' to install /boot/mbr to the disk for testing. When I now boot the

Re: BTX on USB pen drive

2008-03-09 Thread Kostik Belousov
On Fri, Mar 07, 2008 at 09:13:12AM -0500, John Baldwin wrote: On Thursday 06 March 2008 07:29:40 pm Daniel O'Connor wrote: On Fri, 7 Mar 2008, Vincent Mialon wrote: I tested various options in boot0cfg with no sucess. I also tested the howto from

Re: BTX on USB pen drive

2008-03-09 Thread Daniel O'Connor
On Sun, 9 Mar 2008, Torfinn Ingolfsen wrote: On Sat, 08 Mar 2008 18:44:50 -0800 Jeremy Chadwick [EMAIL PROTECTED] wrote: Your boot0cfg line to reinstall the boot0 MBR looks fine, but I don't use boot0 myself (I prefer to go right into boot2/loader). I used 'fdisk -B da0' to install

Re: BTX on USB pen drive

2008-03-08 Thread Torfinn Ingolfsen
On Fri, 07 Mar 2008 09:13:12 -0500 John Baldwin [EMAIL PROTECTED] wrote: Try this instead: http://people.freebsd.org/~jhb/patches/btx_real.patch On 7.0-stable: [EMAIL PROTECTED] uname -a FreeBSD kg-i82.kg4.no 7.0-STABLE FreeBSD 7.0-STABLE #1: Sun Mar 2 01:18:27 CET 2008 [EMAIL

Re: BTX on USB pen drive

2008-03-08 Thread Dimitry Andric
On 2008-03-08 13:16, Torfinn Ingolfsen wrote: I have btx.S revision: * $FreeBSD: src/sys/boot/i386/btx/btx/btx.S,v 1.44 2006/12/06 17:45:35 jhb Exp $ Is the patch supposed to work on that one? No, update it to 1.45 (=HEAD) and then apply the patch, that's much easier.

Re: BTX on USB pen drive

2008-03-08 Thread Dimitry Andric
On 2008-03-07 23:51, Dimitry Andric wrote: http://people.freebsd.org/~jhb/patches/btx_real.patch Might it not be a nice idea to put out a RELENG_7 or RELENG_7_0 bootonly CD image with this patch applied? I'm sure many people won't be able to build this themselves, but they could just download

Re: BTX on USB pen drive

2008-03-08 Thread John Nielsen
On Friday 07 March 2008 02:18:42 pm John Nielsen wrote: On Friday 07 March 2008 09:13:12 am John Baldwin wrote: On Thursday 06 March 2008 07:29:40 pm Daniel O'Connor wrote: On Fri, 7 Mar 2008, Vincent Mialon wrote: I tested various options in boot0cfg with no sucess. I also tested

Re: BTX on USB pen drive

2008-03-08 Thread Torfinn Ingolfsen
On Sat, 08 Mar 2008 14:23:30 +0100 Dimitry Andric [EMAIL PROTECTED] wrote: No, update it to 1.45 (=HEAD) and then apply the patch, that's much easier. Yes, that worked better - the patch applied cleanly, amd I could rebuild the loader. Here is how I did the rebuilding (all this done on

Re: BTX on USB pen drive

2008-03-08 Thread Torfinn Ingolfsen
On Sat, 08 Mar 2008 16:11:54 -0500 John Nielsen [EMAIL PROTECTED] wrote: Success! I was able to boot my laptop from my USB stick built with the btx_real patch (after I modified hunk 1 to work with the 7-STABLE sources). Using the same stick on a different (Acer) laptop I was Interesting.

Re: BTX on USB pen drive

2008-03-08 Thread John Nielsen
On Saturday 08 March 2008 04:29:25 pm Torfinn Ingolfsen wrote: On Sat, 08 Mar 2008 16:11:54 -0500 John Nielsen [EMAIL PROTECTED] wrote: Success! I was able to boot my laptop from my USB stick built with the btx_real patch (after I modified hunk 1 to work with the 7-STABLE sources). Using

Re: BTX on USB pen drive

2008-03-08 Thread Jeremy Chadwick
On Sat, Mar 08, 2008 at 10:21:45PM +0100, Torfinn Ingolfsen wrote: On Sat, 08 Mar 2008 14:23:30 +0100 Dimitry Andric [EMAIL PROTECTED] wrote: No, update it to 1.45 (=HEAD) and then apply the patch, that's much easier. Yes, that worked better - the patch applied cleanly, amd I could

Re: BTX on USB pen drive

2008-03-07 Thread Miroslav Lachman
Daniel O'Connor wrote: On Fri, 7 Mar 2008, Vincent Mialon wrote: I tested various options in boot0cfg with no sucess. I also tested the howto from http://typo.submonkey.net/articles/2006/04/13/installing-freebsd-on-u sb-stick-episode-2 with a 6.3 FreeBSD release which boots on my pc but

Re: BTX on USB pen drive

2008-03-07 Thread Jeremy Chadwick
On Fri, Mar 07, 2008 at 10:49:17AM +0100, Miroslav Lachman wrote: Daniel O'Connor wrote: On Fri, 7 Mar 2008, Vincent Mialon wrote: I tested various options in boot0cfg with no sucess. I also tested the howto from http://typo.submonkey.net/articles/2006/04/13/installing-freebsd-on-u

Re: BTX on USB pen drive

2008-03-07 Thread Rink Springer
On Fri, Mar 07, 2008 at 10:49:17AM +0100, Miroslav Lachman wrote: I think you can use GRUB, because it is used in stage where all systems works the same way and amd64 kernel will be booted in later stage. Uh, no. amd64 kernels rely on information that only the loader supplies, such as the

Re: BTX on USB pen drive

2008-03-07 Thread Daniel O'Connor
On Fri, 7 Mar 2008, Jeremy Chadwick wrote: I think you can use GRUB, because it is used in stage where all systems works the same way and amd64 kernel will be booted in later stage. All of what you've said is correct. I'm not sure who's having problems with GRUB on USB sticks, because

Re: BTX on USB pen drive

2008-03-07 Thread John Baldwin
On Thursday 06 March 2008 07:29:40 pm Daniel O'Connor wrote: On Fri, 7 Mar 2008, Vincent Mialon wrote: I tested various options in boot0cfg with no sucess. I also tested the howto from http://typo.submonkey.net/articles/2006/04/13/installing-freebsd-on-u sb-stick-episode-2 with a 6.3

Re: BTX on USB pen drive

2008-03-07 Thread Ivan Voras
Vincent Mialon wrote: The boot selector is shown and I can choose between the two images that nanobsd generated. When it times out BTX crash with very fast scrolling lines. When I shutdown I can see BTX Halted with processor registers written on the screen. I tried different ways to bypass

Re: BTX on USB pen drive

2008-03-07 Thread John Nielsen
On Friday 07 March 2008 09:13:12 am John Baldwin wrote: On Thursday 06 March 2008 07:29:40 pm Daniel O'Connor wrote: On Fri, 7 Mar 2008, Vincent Mialon wrote: I tested various options in boot0cfg with no sucess. I also tested the howto from

Re: BTX on USB pen drive

2008-03-07 Thread Dimitry Andric
On 2008-03-07 15:13, John Baldwin wrote: Try this instead: http://people.freebsd.org/~jhb/patches/btx_real.patch Hi John, I've encounted way too many machines already with BIOSes that clash with the regular btx loader... :( Might it not be a nice idea to put out a RELENG_7 or RELENG_7_0

Re: BTX on USB pen drive

2008-03-07 Thread Jeremy Chadwick
On Fri, Mar 07, 2008 at 11:51:49PM +0100, Dimitry Andric wrote: On 2008-03-07 15:13, John Baldwin wrote: Try this instead: http://people.freebsd.org/~jhb/patches/btx_real.patch Hi John, I've encounted way too many machines already with BIOSes that clash with the regular btx

Re: BTX on USB pen drive

2008-03-06 Thread Vivek Khera
On Mar 6, 2008, at 11:42 AM, Vincent Mialon wrote: I want to use nanobsd to generate optimized FreeBSD-7.0-release images on USB pen drive. I generated images with nanobsd. It works on a standard pc with an old Celeron 2.4Ghz but on a brand new supermicro X7SBi with a Core 2 Quad it

Re: BTX on USB pen drive

2008-03-06 Thread Daniel O'Connor
On Fri, 7 Mar 2008, Vincent Mialon wrote: I tested various options in boot0cfg with no sucess. I also tested the howto from http://typo.submonkey.net/articles/2006/04/13/installing-freebsd-on-u sb-stick-episode-2 with a 6.3 FreeBSD release which boots on my pc but doesn't boot on my supermicro