[syslinux] Re: SYSLINUX, Vol 32, Issue 1, BartPE
Klaus Mueller
Nostromo at caribbeancity.net
Fri Nov 11 05:30:14 PST 2005
Hi,
>Has anyone been able to boot a bartpe image successfully using pxelinux or does anyone know if this is impossible?
It is possible, but without PXELinux.
Put startrom.com, WinNT.sif and BartPE.iso in your TFTP directory.
Send startrom.com instead of pxelinux.0 via TFTP and DHCP configuration to the client.
The client loads WinNT.sif and then loads the ISO image in a ramdisk which is booted then. RAM has to be at least 512MB.
You neeed a special startrom.com version. I send it in separate mail.
You have to build the BartPE image like if you wanted to boot it from a USB stick. The image is the same.
Look here: http://www.911cd.net/forums/lofiversion/index.php/t10806.html
Contents of WinNT.sif:
----------------
[SetupData]
BootDevice = "ramdisk(0)"
BootPath = "\I386\SYSTEM32\"
OsLoadOptions = "/noguiboot /fastdetect /minint /rdexportascd /rdpath=BARTPE.ISO"
----------------
Best regards
--- syslinux-request at zytor.com wrote:
From: syslinux-request at zytor.com
Date: Thu, 10 Nov 2005 12:01:01 -0800
To: syslinux at zytor.com
Subject: SYSLINUX Digest, Vol 32, Issue 8
Send SYSLINUX mailing list submissions to
syslinux at zytor.com
To subscribe or unsubscribe via the World Wide Web, visit
http://www.zytor.com/mailman/listinfo/syslinux
or, via email, send a message with subject or body 'help' to
syslinux-request at zytor.com
You can reach the person managing the list at
syslinux-owner at zytor.com
When replying, please edit your Subject line so it is more specific
than "Re: Contents of SYSLINUX digest..."
Today's Topics:
1. pxelinux and bar (Grant Gossett)
2. Windows Installation.. (Shaun)
3. RE: pxelinux and bar (Sebastian Tyler SSgt WPC/J6G)
4. Re: Windows Installation.. (Cristi Mitrana)
5. Re: Windows Installation.. (Murali Krishnan Ganapathy)
----------------------------------------------------------------------
Message: 1
Date: Wed, 9 Nov 2005 16:16:35 -0800
From: Grant Gossett <ggossett at symantec.com>
Subject: [syslinux] pxelinux and bar
To: syslinux at zytor.com
Message-ID:
<OFDBEDBD37.7EA806EB-ON882570B4.007DDD7B-882570B5.000184E2 at symantec.com>
Content-Type: text/plain; charset="US-ASCII"
Has anyone been able to boot a bartpe image successfully using pxelinux or
does anyone know if this is impossible?
For those who don't know, bartpe is a legitimate way to make a trimmed
down installation of Windows XP or Server 2003 using your installation
media.
For more information on bartpe see:
http://www.nu2.nu/pebuilder
Basically the pebuilder gathers the minimum files needed to boot into a
32-bit windows kernel and adds some functionality like a desktop and so
forth and puts them into a build environment.
In most cases, people just use the build environment to create a bootable
CD ROM with bartpe on it (via mkisofs), however, there is a way to move
the bartpe installation to a hard drive partition. See "number 3" here for
details:
http://home.arcor.de/tele_tom/pqmagic.htm
I have followed the above procedure and have a (MS-DOS 7.0 (win98) fdisk
created) 270 Meg FAT16 partition booting into bartpe (it is the first and
only partition on a 10 gig drive). One of the things I did a little
differently as compared to the #3 procedure to get it on the hard drive
was that I copied setuploader.bin (NTLDR) and ntdetect.com to the
partition first before I copied the rest of the build environment. Also, I
used a different method to make that partition active (gdisk, which is
part of ghost), but the point is this hard drive boots into bartpe.
I also attempted this with a FAT32 partition, but saw slightly different
results, which I will detail further down the post, but I'm pretty sure it
just has to do with different DOS boot records for FAT and FAT32. It also
may be related to "fixboot" which is also part of the above procedure.
Next I moved the hard drive to the linux box where I have pxelinux running
so I could make an image of the hard drive for memdisk to use (if it can).
I understand that memdisk isn't guaranteed to work with "non-DOS" OSes but
I thought I'd give it a try. If anyone else has a better suggestion I'll
give it a try, but my overall goal here is to boot to a PE-like OS and be
able to use the 32-bit version of ghost with 32-bit windows NIC drivers
(as opposed to DOS ghost with flakey or non-existant NDIS 2 drivers).
So to make the disk image, I first figure out how many "blocks" to copy
using "fdisk -u -l /dev/hdb1". This prints the starting and ending
information for the partition in sectors:
.
.
Units = sectors of 1 * 512 bytes = 512 bytes
device boot start end blocks id system
/dev/hdb1 * 63 562774 281106 6 FAT16
So I use dd to make the img file:
dd if=/dev/hdb of=/tftpboot/bartpe.img bs=512 count=562774 (I've also
tried a count of 562775 in case I'm "off by one")
Ok so here is the problem (and it is likely I might be stuck here)
When I use memdisk by itself to boot the image, it crashes.
When I use the raw parameter, it says Missing Operating System (FAT 16
partition) or it says NTLDR is missing (FAT 32 partition)
Same story with bigraw parameter and respective filesystems.
Does anyone have any advice or is this impossible to do using memdisk or
any of the other pxelinux facilities?
p.s. - I'm going on vacation tomorrow so I may not be able to respond with
feedback far a week or so.
thanks
Grant
------------------------------
Message: 2
Date: Wed, 9 Nov 2005 23:34:42 -0800
From: "Shaun" <mailinglists at unix-scripts.com>
Subject: [syslinux] Windows Installation..
To: <syslinux at zytor.com>
Message-ID: <08cb01c5e5c9$3864bb40$6701a8c0 at ndciwkst01>
Content-Type: text/plain; charset="iso-8859-1"
I guess this really isnt the right place to be posting this it's probably the best place for me to find the answer.
I would like to know if any of you are doing windows 2000/2003 installs over PXE and if so how you had it setup. I've done some searching on google and mostly found info about somthing called RIS or RAS or whatever.... it required a windows box and thats not a option.. I was thinking about just putting the ISO on a image and booting that with memdisk but after a reboot windows always wants the cd so i dont think that will work. Can anybody point me in the right direction...
~Shaun
------------------------------
Message: 3
Date: Thu, 10 Nov 2005 11:44:17 +0100
From: "Sebastian Tyler SSgt WPC/J6G" <tyler.sebastian at ramstein.af.mil>
Subject: RE: [syslinux] pxelinux and bar
To: "Grant Gossett" <ggossett at symantec.com>, <syslinux at zytor.com>
Message-ID: <200511101044.jAAAi6Ci028513 at hermes.ramstein.af.mil>
Content-Type: text/plain; charset="us-ascii"
Grant,
I think you're over-engineering your solution. I use the keeppxe option
along with 3COM's universal NDIS driver, and it works great on
everything we have (which includes quite a variety of NICs).
If you really want to go the WinPE route, though, have a look at this
thread: http://www.911cd.net/forums/index.php?showtopic=11048&hl=
SSgt Josh Sebastian
USAFE WPC/J6G
DSN 314-489-7953
Comm +49 (631) 536 7953
-----Original Message-----
From: syslinux-bounces at zytor.com [mailto:syslinux-bounces at zytor.com] On
Behalf Of Grant Gossett
Sent: Thursday, November 10, 2005 1:17 AM
To: syslinux at zytor.com
Subject: [syslinux] pxelinux and bar
Has anyone been able to boot a bartpe image successfully using pxelinux
or
does anyone know if this is impossible?
For those who don't know, bartpe is a legitimate way to make a trimmed
down installation of Windows XP or Server 2003 using your installation
media.
For more information on bartpe see:
http://www.nu2.nu/pebuilder
Basically the pebuilder gathers the minimum files needed to boot into a
32-bit windows kernel and adds some functionality like a desktop and so
forth and puts them into a build environment.
In most cases, people just use the build environment to create a
bootable
CD ROM with bartpe on it (via mkisofs), however, there is a way to move
the bartpe installation to a hard drive partition. See "number 3" here
for
details:
http://home.arcor.de/tele_tom/pqmagic.htm
I have followed the above procedure and have a (MS-DOS 7.0 (win98) fdisk
created) 270 Meg FAT16 partition booting into bartpe (it is the first
and
only partition on a 10 gig drive). One of the things I did a little
differently as compared to the #3 procedure to get it on the hard drive
was that I copied setuploader.bin (NTLDR) and ntdetect.com to the
partition first before I copied the rest of the build environment. Also,
I
used a different method to make that partition active (gdisk, which is
part of ghost), but the point is this hard drive boots into bartpe.
I also attempted this with a FAT32 partition, but saw slightly different
results, which I will detail further down the post, but I'm pretty sure
it
just has to do with different DOS boot records for FAT and FAT32. It
also
may be related to "fixboot" which is also part of the above procedure.
Next I moved the hard drive to the linux box where I have pxelinux
running
so I could make an image of the hard drive for memdisk to use (if it
can).
I understand that memdisk isn't guaranteed to work with "non-DOS" OSes
but
I thought I'd give it a try. If anyone else has a better suggestion I'll
give it a try, but my overall goal here is to boot to a PE-like OS and
be
able to use the 32-bit version of ghost with 32-bit windows NIC drivers
(as opposed to DOS ghost with flakey or non-existant NDIS 2 drivers).
So to make the disk image, I first figure out how many "blocks" to copy
using "fdisk -u -l /dev/hdb1". This prints the starting and ending
information for the partition in sectors:
.
.
Units = sectors of 1 * 512 bytes = 512 bytes
device boot start end blocks id
system
/dev/hdb1 * 63 562774 281106 6 FAT16
So I use dd to make the img file:
dd if=/dev/hdb of=/tftpboot/bartpe.img bs=512 count=562774 (I've also
tried a count of 562775 in case I'm "off by one")
Ok so here is the problem (and it is likely I might be stuck here)
When I use memdisk by itself to boot the image, it crashes.
When I use the raw parameter, it says Missing Operating System (FAT 16
partition) or it says NTLDR is missing (FAT 32 partition)
Same story with bigraw parameter and respective filesystems.
Does anyone have any advice or is this impossible to do using memdisk or
any of the other pxelinux facilities?
p.s. - I'm going on vacation tomorrow so I may not be able to respond
with
feedback far a week or so.
thanks
Grant
_______________________________________________
SYSLINUX mailing list
Submissions to SYSLINUX at zytor.com
Unsubscribe or set options at:
http://www.zytor.com/mailman/listinfo/syslinux
Please do not send private replies to mailing list traffic.
------------------------------
Message: 4
Date: Thu, 10 Nov 2005 13:47:09 +0200
From: Cristi Mitrana <cristi.mitrana at gmail.com>
Subject: Re: [syslinux] Windows Installation..
To: syslinux at zytor.com
Message-ID:
<f1de940b0511100347v32b1db70tc6806b34a2002d84 at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
On 11/10/05, Shaun <mailinglists at unix-scripts.com> wrote:
> I guess this really isnt the right place to be posting this it's probably the best place for me to find the answer.
>
> I would like to know if any of you are doing windows 2000/2003 installs over PXE and if so how you had it setup. I've done some searching on google and mostly found info about somthing called RIS or RAS or whatever.... it required a windows box and thats not a option.. I was thinking about just putting the ISO on a image and booting that with memdisk but after a reboot windows always wants the cd so i dont think that will work. Can anybody point me in the right direction...
Your answer is at http://unattended.sourceforge.net/
I think you will need to install using RAS, but from their page it
seems a unix server
is enough and you don't need a windoze box around.
--
mitu
------------------------------
Message: 5
Date: Thu, 10 Nov 2005 08:03:41 -0600
From: Murali Krishnan Ganapathy <gmurali at cs.uchicago.edu>
Subject: Re: [syslinux] Windows Installation..
To: Shaun <mailinglists at unix-scripts.com>
Cc: syslinux at zytor.com
Message-ID: <4373533D.5090803 at cs.uchicago.edu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
I install windows using ISOLINUX but the procedure is the same. I have
the contents of windows CDROM on the network and using the isolinux
based CD you can install dual boot machines without much input from the
user (the person installing it). You can find details at
http://gui.mahamurali.net. This does not require RIS at all and during
the first phase of the installation it copied the contents of the
"Windows CDROM" to the hard disk, so it shouldn't need the CD again.
- Murali
Shaun wrote:
> I guess this really isnt the right place to be posting this it's probably the best place for me to find the answer.
>
> I would like to know if any of you are doing windows 2000/2003 installs over PXE and if so how you had it setup. I've done some searching on google and mostly found info about somthing called RIS or RAS or whatever.... it required a windows box and thats not a option.. I was thinking about just putting the ISO on a image and booting that with memdisk but after a reboot windows always wants the cd so i dont think that will work. Can anybody point me in the right direction...
>
> ~Shaun
> _______________________________________________
> SYSLINUX mailing list
> Submissions to SYSLINUX at zytor.com
> Unsubscribe or set options at:
> http://www.zytor.com/mailman/listinfo/syslinux
> Please do not send private replies to mailing list traffic.
>
>
>
------------------------------
_______________________________________________
SYSLINUX mailing list
Submissions to SYSLINUX at zytor.com
Unsubscribe or set options at:
http://www.zytor.com/mailman/listinfo/syslinux
Please do not send private replies to mailing list traffic.
End of SYSLINUX Digest, Vol 32, Issue 8
***************************************
_____________________________________________________________
Show the world your Caribbean soul.
FREE email at http://www.caribbeancity.net
More information about the SYSLINUX
mailing list