Re: PXE tftp - double boot

2012-10-30 Thread Vagner
On 17:57 Mon 29 Oct , Rick Miller wrote:
> On Mon, Oct 29, 2012 at 4:57 PM, Vagner  wrote:
> > Hello!
> > Tell me please, how can i boot from tftp server (throught pxe) several
> > copies FreeBSD from different path (For example: /pxeroot/freebsd1 and
> > /pxeroot/freebsd2)?
> > I see variale rootpath at source sys/boot/i386/libi386/pxe.c. I
> > compiled several pxeboot files (there i changed variable rootpath from "/" 
> > to "/pxeroot/freebsd[1-2]"), and i booted this files throught pxelinux.
> > Booting stoped at boot kernel.
> 
> This blog post may help
> you...http://blog.hostileadmin.com/2012/05/04/pxe-booting-into-a-freebsd-installation/
> 
> In the grub2pxe Configuration section, you can see that the kernel and
> "initrd" (or mfsroot) images are variable-ized (if that's a word).
> Perhaps you could use a similar approach to accomplish the same.
> 
> Obviously, in that post, Grub2pxe replaced FreeBSD's pxeboot.bs and
> was chained to pxelinux.
> 
> -- 
> Take care
> Rick Miller

Thanks for your reply!

-- 
Respectfully,
Stanislav Putrya
System administrator
FotoStrana.Ru Ltd.
ICQ IM: 328585847
Jabber-GoogleTalk: root.vagner
mob.phone SPB: +79215788755
mob.phone RND: +79525600664
email: vag...@bsdway.ru
email: put...@playform.ru
email: root.vag...@gmail.com
site: bsdway.ru
site: fotostrana.ru


 ( ) ASCII ribbon campaign
  X  - against HTML, vCards and
 / \ - proprietary attachments in e-mail
___
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: PXE tftp - double boot

2012-10-29 Thread Vagner
On 14:31 Mon 29 Oct , dte...@freebsd.org wrote:
> 
> 
> > -Original Message-
> > From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-
> > questi...@freebsd.org] On Behalf Of Vagner
> > Sent: Monday, October 29, 2012 1:57 PM
> > To: freebsd-questions@freebsd.org
> > Subject: PXE tftp - double boot
> > 
> > Hello!
> > Tell me please, how can i boot from tftp server (throught pxe) several
> > copies FreeBSD from different path (For example: /pxeroot/freebsd1 and
> > /pxeroot/freebsd2)?
> 
> Use an interim boot loader like ISOLINUX and then chain-load.
> 
> If you choose to add/configure the vesamenu.c32 boot module, then ISOLINUX can
> display a menu to make selecting each chain-loaded distro easier.
> -- 
> Devin
> 
> _
> The information contained in this message is proprietary and/or confidential. 
> If you are not the intended recipient, please: (i) delete the message and all 
> copies; (ii) do not disclose, distribute or use the message in any manner; 
> and (iii) notify the sender immediately. In addition, please be aware that 
> any message addressed to our domain is subject to archiving and review by 
> persons other than the intended recipient. Thank you.

But how FreeBSD loader can change tftp rootpath directory for find boot
path? 
As far as i understand it - FreeBSD loader takes rootpath  
from dhcp option 17 (root-path). Or i'm wrong?

-- 
Respectfully,
Stanislav Putrya
System administrator
FotoStrana.Ru Ltd.
ICQ IM: 328585847
Jabber-GoogleTalk: root.vagner
mob.phone SPB: +79215788755
mob.phone RND: +79525600664
email: vag...@bsdway.ru
email: put...@playform.ru
email: root.vag...@gmail.com
site: bsdway.ru
site: fotostrana.ru


 ( ) ASCII ribbon campaign
  X  - against HTML, vCards and
 / \ - proprietary attachments in e-mail
___
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: PXE tftp - double boot

2012-10-29 Thread Rick Miller
On Mon, Oct 29, 2012 at 4:57 PM, Vagner  wrote:
> Hello!
> Tell me please, how can i boot from tftp server (throught pxe) several
> copies FreeBSD from different path (For example: /pxeroot/freebsd1 and
> /pxeroot/freebsd2)?
> I see variale rootpath at source sys/boot/i386/libi386/pxe.c. I
> compiled several pxeboot files (there i changed variable rootpath from "/" to 
> "/pxeroot/freebsd[1-2]"), and i booted this files throught pxelinux.
> Booting stoped at boot kernel.

This blog post may help
you...http://blog.hostileadmin.com/2012/05/04/pxe-booting-into-a-freebsd-installation/

In the grub2pxe Configuration section, you can see that the kernel and
"initrd" (or mfsroot) images are variable-ized (if that's a word).
Perhaps you could use a similar approach to accomplish the same.

Obviously, in that post, Grub2pxe replaced FreeBSD's pxeboot.bs and
was chained to pxelinux.

-- 
Take care
Rick Miller
___
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: PXE tftp - double boot

2012-10-29 Thread dteske


> -Original Message-
> From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd-
> questi...@freebsd.org] On Behalf Of Vagner
> Sent: Monday, October 29, 2012 1:57 PM
> To: freebsd-questions@freebsd.org
> Subject: PXE tftp - double boot
> 
> Hello!
> Tell me please, how can i boot from tftp server (throught pxe) several
> copies FreeBSD from different path (For example: /pxeroot/freebsd1 and
> /pxeroot/freebsd2)?

Use an interim boot loader like ISOLINUX and then chain-load.

If you choose to add/configure the vesamenu.c32 boot module, then ISOLINUX can
display a menu to make selecting each chain-loaded distro easier.
-- 
Devin

_
The information contained in this message is proprietary and/or confidential. 
If you are not the intended recipient, please: (i) delete the message and all 
copies; (ii) do not disclose, distribute or use the message in any manner; and 
(iii) notify the sender immediately. In addition, please be aware that any 
message addressed to our domain is subject to archiving and review by persons 
other than the intended recipient. Thank you.
___
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"


PXE tftp - double boot

2012-10-29 Thread Vagner
Hello!
Tell me please, how can i boot from tftp server (throught pxe) several
copies FreeBSD from different path (For example: /pxeroot/freebsd1 and
/pxeroot/freebsd2)?  
I see variale rootpath at source sys/boot/i386/libi386/pxe.c. I
compiled several pxeboot files (there i changed variable rootpath from "/" to 
"/pxeroot/freebsd[1-2]"), and i booted this files throught pxelinux.
Booting stoped at boot kernel. 

-- 
Respectfully,
Stanislav Putrya
System administrator
FotoStrana.Ru Ltd.
ICQ IM: 328585847
Jabber-GoogleTalk: root.vagner
mob.phone SPB: +79215788755
mob.phone RND: +79525600664
email: vag...@bsdway.ru
email: put...@playform.ru
email: root.vag...@gmail.com
site: bsdway.ru
site: fotostrana.ru


 ( ) ASCII ribbon campaign
  X  - against HTML, vCards and
 / \ - proprietary attachments in e-mail
___
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: Double boot

2012-08-21 Thread Polytropon
On Tue, 21 Aug 2012 18:58:51 +0200, lokada...@gmx.de wrote:
> i had same error after some updates and fixed it with
> 
> fdisk -B -b /boot/boot0/device/
 ^  ^
lokademus malquoted command. rectify. :-)

The source you've provided at

> http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/boot-blocks.html

mentions:

# fdisk -B -b /boot/boot0 device

where "device" is the boot device where the MBR should be
written to (e. g. /dev/ad0). Either /boot/mbr or /boot/boot0
can be passed as -b parameter, installing a standard MBR
or the boot0 boot manager.

See "man fdisk" for details, as well as "man boot0cfg".




-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: Double boot

2012-08-21 Thread lokada...@gmx.de

i had same error after some updates and fixed it with

fdisk -B -b /boot/boot0/device/

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/boot-blocks.html



On 08/17/12 06:55, p...@sanciai.lt wrote:

  Hello,
 I have installed FreeBSD 8.3 to Toshiba Satellite besides Windows XP.
 Unix boots ok, but I can't reach  Windows anymore!
   It shows:
 F1 Win
 F2 FreeBSD

 F6 PXE
 Boot F1
 -

  If I press F1, it stays hanging forever.
  I'm relatively new to FreeBSD. Please, advise which way to go out
 of this  situation. When I  rerun sysinstall, there is a warning:
"chunk 'ad0s2' [179380224..234441647] does not start on a track boundary"
 (the chunk of FreeBSD) How to change the boundary of chunk? CDROM is 
not reachable, something happened to it. I can use only FreeBSD 
instruments.

  Which of them?
 Thanks in advance.


___
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"




___
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"


Double boot

2012-08-16 Thread prab

  Hello,
 I have installed FreeBSD 8.3 to Toshiba Satellite besides Windows XP.
 Unix boots ok, but I can't reach  Windows anymore!
   It shows:
 F1 Win
 F2 FreeBSD

 F6 PXE
 Boot F1
 -

  If I press F1, it stays hanging forever.
  I'm relatively new to FreeBSD. Please, advise which way to go out
 of this  situation. When I  rerun sysinstall, there is a warning:
"chunk 'ad0s2' [179380224..234441647] does not start on a track boundary"
 (the chunk of FreeBSD) How to change the boundary of chunk? CDROM is  
not reachable, something happened to it. I can use only FreeBSD  
instruments.

  Which of them?
 Thanks in advance.


___
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"