Is is possible to change what partition is uploaded from a host? There’s a recovery partition at dev/sda1 and the actual windows install at dev/sda2. When I try and upload an image it’s trying to access dev/sda1 and failing as it’s not NTFS. So can I tell FOG to get dev/sda2 instead somehow?
Latest posts made by matttail
-
Change partition
-
RE: Skipping chkdsk?
I just tested putting a image onto a new (blank) virtual machine. It’s a WinXP image. It did not run a check disk after laying down the image. This makes me think it’s a setting in the image that you’re using.
Also, what’s the problem with letting check disk run? We have hundreds of machines that run a check disk every night on reboot and experience no issues from that.
-
RE: ProxyDHCP not playing nice
Sorry, Forgot to say. I tried creating that file by copy/pasting from the the wiki. With that file present I can not start / restart the dnsmasq service.
-
ProxyDHCP not playing nice
I am trying to setup a Proxy DHCP server to integrate with my existing network. I’ve got a router that’s the DHCP server and I can’t set any options on it for PXE boot requests. I’d prefer to leave it as the DHCP server over my computer as this computer isn’t always on.
Enter Proxy DHCP server. I followed [URL=‘http://www.fogproject.org/wiki/index.php?title=Using_FOG_with_an_unmodifiable_DHCP_server/_Using_FOG_with_no_DHCP_server’]this page on the wiki[/URL] as closely as I could. I’m running Fedora 16. I have fog installed after some edits to the install script. I setup FOG normally with DHCP off. I may have specified a router IP address when doing the setup, but I found and removed that from the FOG configuration pages. I have edited /etc/dnsmasq.conf with the settings mentioned in the wiki article. The same settings were in the example file, and if I create that file the dnsmasq service won’t restart/start.
When I try and PXE boot a physical computer it just times out. When I try and PXE boot a virtual machine that’s network is bridged it get’s an IP address but comes back and says “No Filename” and then says no bootable devices (true).
Network map:
Cable Modem --> Router @ 192.168.1.1. Subnet 255.255.255.240.
My computer/FOG server @ 192.168.1.3
DHCP - 192.168.1.9 - 192.168.1.14[CODE]/etc/dnsmasq.conf:
Don’t function as a DNS server:
port=0
Log lots of extra information about DHCP transactions.
log-dhcp
Dnsmasq can also function as a TFTP server. You may uninstall
tftpd-hpa if you like, and uncomment the next line:
#enable-tftp
Set the root directory for files available via FTP.
tftp-root=/tftpboot
The boot filename.
dhcp-boot=pxelinux.0
rootpath option, for NFS
dhcp-option=17,/images
kill multicast
dhcp-option=vendor:PXEClient,6,2b
Disable re-use of the DHCP servername and filename fields as extra
option space. That’s to avoid confusing some old or broken DHCP clients.
dhcp-no-override
PXE menu. The first part is the text displayed to the user. The second is the timeout, in seconds.
pxe-prompt=“Press F8 for boot menu”, 3
The known types are x86PC, PC98, IA64_EFI, Alpha, Arc_x86,
Intel_Lean_Client, IA32_EFI, BC_EFI, Xscale_EFI and X86-64_EFI
This option is first and will be the default if there is no input from the user.
pxe-service=X86PC, “Boot from network”, pxelinux
This range(s) is for the public interface, where dnsmasq functions
as a proxy DHCP server providing boot information but no IP leases.
Any ip in the subnet will do, so you may just put your server NIC ip here.
Since dnsmasq is not providing true DHCP services, you do not want it
handing out IP addresses. Just put your servers IP address for the interface
that is connected to the network on which the FOG clients exist.
If this setting is incorrect, the dnsmasq may not start, rendering
your proxyDHCP ineffective.
dhcp-range=192.168.1.3,proxy
If you don’t want dnsmasq to poll /etc/resolv.conf or other resolv
files for changes and re-read them then uncomment this.
no-poll
Include a another lot of configuration options.
#conf-file=/etc/dnsmasq.more.conf
conf-dir=/etc/dnsmasq.dAll other lines are commented out and have been removed from this post
dhcpd.conf file:
DHCP Server Configuration file.
see /usr/share/doc/dhcp*/dhcpd.conf.sample
This file was created by FOG
use-host-decl-names on;
ddns-update-style interim;
ignore client-updates;
next-server 192.168.1.3;subnet 192.168.1.0 netmask 255.255.255.240 {
option subnet-mask 255.255.255.240;
range dynamic-bootp 192.168.1.9 192.168.1.14;
default-lease-time 21600;
max-lease-time 43200;
filename “pxelinux.0”;
}
[/CODE]What can I do to get this working? Thanks!
-
Wiki access
I’d like to get access to the wiki so I can create a page for installing on Fedora 16. The wiki says to post here, so here I am!
I think I’ve just successfully installed FOG on my Fedora 16 machine. I had a couple problems with the install script, but I was able to work through them.
First I was getting an error with php-gettext. The script would pass the installation step, but when it went back to verify it would die on that step. I tried to manually install it and found out that php-gettext has been deprecated and replaced with php-php-gettext (which was already installed on my system). By changing lines 22 and 23 of /lib/redhat/config.sh to call php-php-gettext instead I was able to get past that error.I found that solution in the wiki for [URL=‘http://www.fogproject.org/wiki/index.php/Installation_on_CentOS_5.3#CentOS_5.5’]Centos here[/URL].
Next I was getting an error with the NSF server. I was getting:
[B]Setting up and starting NFS Servererror reading information on service nfs: No such file or directory[/B] [B]…Failed![/B]Turns out the calls to stop and restart the service were not correct for the OS any more. An other file edit. This time /lib/redhat/functions.sh. Lines 108-110 need to be changed to:
chkconfig nfs-server.service on;
systemctl restart nfs-server.service >/dev/null 2>&1;
systemctl status nfs-server.service >/dev/null 2>&1;
I found that [URL=‘http://fogproject.org/forum/threads/nfs-server-unrecognized-on-fedora-16.542/’]solution here.[/URL]
And that’s pretty much what I was going to put into the wiki for now, in hopes the information will be helpful to others. Can I get the same user name on the wiki as I have here?