O/S Deployment Thread, USB Ghost BOOT with common NIC drivers in Technical; Hi all,
I am in the process of creating a USB that can boot into Ghost, from which I can ...
7th October 2009, 04:19 AM #1
IDG Tech News
7th October 2009, 07:53 AM #2
have you thought of using the BartPE boot CD.
It has various plugins including ones to add support for ghost. you just need to provide the licensed ghost application files. ie ghost32.exe
Adding network drivers is easy. Just drag and drop as many diffrerent drivers as you like into the 'Net' folder under drivers. I wouldn't have thought you've got that many different NICs that you need something as comprehensive as a driverpack. But i think you can integrate driverpacks in to BartPE aswell if you need to.
7th October 2009, 07:57 AM #3
Thanks to mattx from:
Cowardlyduck (8th October 2009)
7th October 2009, 09:35 AM #4
or http://www.vistape.net allows you to create a wim file you can put on wds that boots into vista pe and contains ghost so you can just network boot most pcs (ive found some i cant get to work but most are fine)
7th October 2009, 10:45 AM #5
Seconded - great bit of kit - we combine this with a bit of code that inspects the PC bios - so it automatically knows which image to load.
Originally Posted by mattx
7th October 2009, 11:10 AM #6
If your basing your boot USB on floppy boot code your limited to 2.4Mb max, that includes all files on the "floppy" and whatever drivers you can squeeze in. You can use the space on the rest of the USB stick but it will be accessed as a drive once in ghost or similar.
You can do fancy things like mount seperate ram drives for loading drivers and things but this has to be done before the drivers are loaded, obviously.
Unless the nics are common Realtek or similar with tried and tested NDIS drivers go down the PE route.
7th October 2009, 11:35 AM #7
I've also used NetBootDisk with Ghost added and it works a treat. Would you mind posting the additional code that you use, along with exactly how you set it up. Is it batch?
Originally Posted by SpuffMonkey
7th October 2009, 02:10 PM #8
I was also going to suggest netbootdisk. Has the most NIC support + you can use it with anything that boots MS DOS (Ghost / Acronis / Altiris / etc.)
Originally Posted by mattx
7th October 2009, 02:23 PM #9
we us windows pe, has support for many NIC cards, and as long as you get the correct switches you can set it to auto join the ghost session and then reboot the machine ones it has done, instead of usb sticks tho we use network boot
8th October 2009, 05:49 AM #10
Thanks so much for all the info guy's.
I spent most of the day today trying to get the Netbootdisk to work the way I want it to, but wasn't able to fully automate it yet.
I also can't seem to find help on the issues I'm having.
Sorry to go off topic here. I managed to manually get netbootdisk to log onto the domain, then net use to map to my share where the ghost.exe was located and ran it no probs. My difficulty lies in, if I log onto the domain first thing, it will not load the nic drivers correctly, but if I use default options the first login (i.e. workgroup, administrator), then re-run the script and log onto our domain, it will load nic drivers and I can use the net use command etc to run ghost.
Seems strange to me???
Does anyone have a precompiled .bat file for the logon script and menu options that I can change the variables on? Just in case I'm making some silly mistake.
Basically what I need is a fully automated ghost cast setup on a USB that can get the machines all waiting for the image to be sent.
I'm assuming this has been done before. We will be moving to PXE booting eventually, but need to set aside some time to figure this out and set up PC's first.
8th October 2009, 07:38 AM #11
if I log onto the domain first thing, it will not load the nic drivers correctly,
8th October 2009, 01:43 PM #12
Originally Posted by Cowardlyduck
I can make a .bat file for you. Please tell me EXACTLY what you are wanting to do.
1. Use the default Login name + Password + Domain
2. Use login.bat to map a drive and auto launch ghost.exe I'm assuming
p.s. I have a full walkthough on netbootdisk that I have been meaning to upload to youtube for awhile. Here is an example of netbootdisk launching via PXE (take the boot disk floopy and turn it into an .img file, and then put it up on the pxe server ) - [ame="http://www.youtube.com/watch?v=jjDtJtuwIps"]YouTube - Fog Project: Modified PXE Boot Menu[/ame]
I'll have a full walk though uploaded later today when I get home from work (-6:00 GMT). It's on my laptop which I don't have with me today.
Youtube video is now up, check the next post down.
**edit X2** Have you looked into the menu builder at all? - http://netbootdisk.com/forums/viewforum.php?f=4
Last edited by ssx4life; 9th October 2009 at 03:29 AM.
8th October 2009, 11:53 PM #13
9th October 2009, 01:10 AM #14
Hummmm you've got a few good points there when it comes to the domain log in script.
Few questions for you
#1. Have you been able to successfully map a network drive yet out of the gate? You mentioned you were having problems previously, so I'm just trying to cover all the bases
#2. Have you been able to do any ghosting via network yet? Even single restoring?
#3. What type of network are we dealing with here? Server 2003 / 2008 RC1 / ? If you still can't connect to any network resources out of the gate look into modifying your LMHOSTS file to auto include the network resource in question. I had to do this for my home network due to lack of AD / WINS support.
#4. If you can't map a drive try doing just a menupref.bat edit and ignore the logon.bat side of things to start
# LMHOSTS File - UNIVERSAL TCP/IP NETWORK BOOTDISK for M$ Networks
# *** INSTRUCTIONS ***
# Add your host information to the end of this text file. This file is saved
# back to the floppy disk under A:\FILECOPY\LMHOSTS, should you wish to modify
# this file externally.
# Use the cursor keys to navigate this file. To SAVE CHANGES made press ALT+X,
# otherwise press ALT+Q to discard changes and return to the menu. For futher
# inforamtion about this editor, press F1.
# LMHOSTS Example:
# 188.8.131.52 server1 # main office server
# 184.108.40.206 joe3 # joe's database server
#5. I have had a full ghost netbootdisk working in the past with Active Directory, let me see if I can find an example for you. Your logon.bat looks ok as mentioned previously, but remove it if you are having problems when you start
REM The Menu Program reads/writes to this file. Please boot the disk and allow the Menu Software to modify this file. The password field is Encypted!
REM *** Do not change the order of the commands in this batch file. (Or the Position of the equal signs!) ***
::: PASSWORD=Egvmszhz‚<;<@ (note that it's encrypted)
Set IPADDRESS0=192 168 0 123
Set SUBNETMASK0=255 255 255 0
Set DEFAULTGATEWAY0=192 168 0 254
Set LOGONSCRIPT=net use g: \\htpc\images
Set DNS=192 168 0 253
Set WINS=192 168 0 252
p.s. you can also authenticate to the LOCAL pc instead of the network side of things (a.k.a. Administrator account), not sure if this makes life easier for you or not but that is also a possibility.
#4. I have compiled the netbootdisk walk though I had been meaning to create for awhile, check it out and let me know what you think. Once you have the disk working properly go ahead and image it using winimage and convert the floppy into an .img file . You can then PXE boot it using PXE Linux or my favorite open source app FOG (Free Open Source Ghost) FOG :: A Computer Cloning Solution - Home
[ame="http://www.youtube.com/watch?v=Yb3YcLDpa8U"]YouTube - TCP IP Network Bootdisk[/ame]
Best of luck in your endeavors! Keep me posted on your progress.
13th October 2009, 11:02 PM #15
Sorry for the late reply.
I haven't had the time to continue working on this so far this week.
However, I have been using the USB in a round about way. I've been imaging some of the PC's around the school, using a CD at that was compiled before my time, but some of the PC's are getting so old now that their CD/DVD drives no longer work.
So what I've been managing to do is;
Boot from the USB
I set the menu time out to 1 sec so it quickly goes through local login to workgroup etc...
It loads the NIC drivers successfully
It then brings me to the N:\ prompt
At this point I can successfully type in 'net use...'
Press y to start the service...
Enter user name and then password twice for domain
Start ghost from mapped drive.
And it works. My question now is; Is there a way to automate this process above?
Where would this information be entered?
I can't seem to find the .bat file where I should enter this. Sorry I'm not to good with scripts (yet)
By mallyg34 in forum O/S Deployment
Last Post: 17th January 2011, 01:41 PM
By Shrimpersfan in forum Windows Vista
Last Post: 22nd August 2009, 02:06 AM
By angelsea in forum General Chat
Last Post: 27th April 2007, 08:26 PM
By Inox in forum How do you do....it?
Last Post: 9th August 2005, 11:19 AM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Tags for this Thread