Server :: Booting Debian Via PXE And TFTP Into RAM Disk
Apr 23, 2010
I want a debian server running dhcp/tftp/pxe containing a tarball of a 'client' debian installation.I want a client that pxe boots, talks to the server, creates a ramdisk, untars the 'client' tarball to the ramdisk and boots into it. Once that's working, I want an NFS map back to the server for the users home directory.Can't find any really helpful howto's... wondering if anyone on here has done this?
View 2 Replies
ADVERTISEMENT
Aug 14, 2010
I'm trying to install Debian on a Sun Ultra Enterprise 3000. See: [url]
So, I guess the cdrom is kaput. My next option is to net boot. I find the instructions here: [url]
A bit lacking. So, I want to ask if I am doing things right. Using this page and others from found via the Google, I have the following:
On Ubuntu 8.04 LTS, I ran:
Code:
to install rarpd. In /etc/hosts I have
Code:
In /etc/ethers I have
Code:
Then run
Code:
So, I think that should set up the RARP server, but I don't know. Now for the TFTP server. I follow the instructions here: [url]
except for step 4 I use
Code:
In /etc/inetd.conf I have
Code:
So I put the files from:[url]
in /srv/tftp. Then I cd /srv/tftp, and run
Code:
Then
Code:
Ok, finially, from the OpenBoot OK propmt on the Sun machine, I type
Code:
All I get is
Code:
and it just keeps doing that....
View 1 Replies
View Related
Mar 27, 2010
I have been trying to accomplish this feat for about a week now, and I always seem to get a boot up error.
Here is how I call WinPe from my default file
Code:
View 2 Replies
View Related
Mar 15, 2010
When I try to pxe boot a Sun X4100 (which actually has a RHEL OS on it right now) I get the message TFTP open timeout. All traffic is allowed for port 69 udp in both directions. I do get a dhcp address. I see that both on the server and the client it gets an IP. After that I get this message in the logs:
[Code]....
View 1 Replies
View Related
Jun 12, 2011
I am having problem in booting target system from pxeboot.On hp blade bl460.My network boot server is cobbler
CLIENT MAC ADDR: 00 A0 A5 5D C9 C8 GUID: 00020003 0004 0005 0006 000700080009
CLIENT IP: 10.113.105.93 MASK: 255.255.255.0 DHCP IP: 10.113.105.90
GATEWAY IP: 10.113.105.1 10.113.105.2
Press F12 for network service boot PXE-M0F: Exiting Intel Boot Agent. When i take tcpdump on server i see dhcp discover and dhcp offer coming and going out but no tftp request on cobbler server in var/log/messages also i am seeing dhcp offer and discover
View 1 Replies
View Related
Jul 27, 2010
I'm trying to TFTP router configurations to a server in the same local network without having to first make files in the server's TFTP directory . The transfer of a config file from router to server works perfectly if I make a file with touch and then chmod the file with 777. I found information that says to use the -c or --create option in the TFTP configuration file (/etc/default/tftpd-hpa) if you want TFTP to work without having to create the files first. The problem is, I have set this parameter and restarted TFTP , but it is not working.
Here is my /etc/default/tftpd-hpa file:
# /etc/default/tftpd-hpa
TFTP_USERNAME="tftp"
#TFTP_DIRECTORY="/var/lib/tftpboot"
TFTP_DIRECTORY="/tftp"
[code]....
View 7 Replies
View Related
Jan 6, 2011
For various reasons, when I installed our server, I configured it so that it would boot off a USB flash disk. The flash disk mounts as /boot and / mounts on our RAID array.
It all works very well, but I would like to have backup so that if/when the flash disk goes, I can pop in another one.
I have tried to make copies of the flash disk (using both cp and dd), but it doesn't work. When the server starts its bootup sequence, instead of Linux loading, a cursor starts blinking endlessly.
If I put the original flash in, it works fine. If I put the copy in, it doesn't work.
I can't see any difference between the copy and the original. They seem to have the same content. If I do blkid both have the same label and UUID. The label is /boot, and /etc/fstab refers to this
We are running Scientific Linux 5.4.
View 3 Replies
View Related
Sep 9, 2011
I have tftp-server running on Centos 5. Clients which are on the same subnet as the server are able to get and put without problems. I have a client that is across the internet that is having trouble getting files from my tftp server. A tcpdump reveals that the client is requesting the same file over and over again. In /var/log/messages, I am see the following error repeated over and over until the client finally gives up.
localhost in.tftpd[12727]: tftpd: read: No route to host
View 1 Replies
View Related
Feb 15, 2011
I am trying to setup CentOS server 5 with tftp where the Cisco switch configs can be sent. I have the following:
[code]...
View 14 Replies
View Related
Mar 26, 2010
im trying to setup a tftp server on red hat linux. Ive gone through like all the instructinos online. And like i didnt get any errors or anything when typing the commands on the terminal but basically every time i try to test it i never works sooo im not really sure how im suppose to do this. basically i have a tftp in one ip address. And with another system with a different ip address using the client tftp ipaddr(server) and i try to get foo and it never connects and I tried a ping and they ping together just fine soo im just not sure if the tftp server is even on
View 2 Replies
View Related
Feb 23, 2010
I've tried to configure DRBL server to use Clonezilla and that is required me to setup DHCP, TFTP serversBut I've gotten a lot of errors from them - so please look at my attachments from /var/log/messages and dhcpd.conf - help me to find out what are wrong with them.
Feb 23 09:47:46 eth0-eth0 last message repeated 17 times
Feb 23 09:55:06 eth0-eth0 dhcpd: DHCPREQUEST for 192.168.1.53 from 00:13:20:36:26:28 via eth0: unknown lease 192.168.1.53.
[code]....
View 1 Replies
View Related
May 10, 2010
This is very old topic but despite of trying out all possible solutions available on net and forums, I am not able to setup tftp server on my 2.6.32.11-99.FC12.i686.PAE. Is there something obvious missing out.
/etc/xinet.d/tftp
# default: off
# description: The tftp server serves files using the trivial file transfer
# protocol. The tftp protocol is often used to boot diskless
# workstations, download configuration files to network-aware printers,
[Code]....
View 18 Replies
View Related
Apr 28, 2011
I have created a /tftpboot directory and chmod it to 777. I have put an image 'uImage' on my Debian box under /tftpboot
In directory /etc/xinetd.d/ I have created file tftp:
Service tftp
{
disable = no
socket_type = dgram
protocol = udp
wait = yes
[Code].....
View 1 Replies
View Related
Nov 12, 2010
I am trying to setup a TFTP server and followed these instructions in setting up TFTP-HPA.
[URL]
I pretty much followed every step but commented out these two lines from the /etc/xinet.d/tftp.
# only_from = 172.31.0.240/28
# interface = 172.31.0.252
Do we really need the lines if I am allowing any machine to connect? And I have only 1 network card. This is acting as a dedicated TFTP server.I ask as I get an error on the get and put commands as below:
tftp> get xxx.txt
tftp: error received from server <File not found>
tftp: aborting
However although it gives an error it DOES GET the file.The put command however does NOT put the file. I have nobody / nogroup setup for the directory permissions as well.
tftp> put .vimrc
tftp: error received from server <File not found>
tftp: aborting
View 1 Replies
View Related
Jun 12, 2010
Can i set tftp server on RHEL 5.5 for Fedora Kickstart?
View 1 Replies
View Related
Feb 3, 2010
I'm trying to setup a network boot server and I'm having an issue with tftp. In the /etc/xinetd.d/tftp file, I added the "-v" (verbose) option to the server arg line so that i could figure out what was happening. When i looked at the /var/log/messages log file, it let me know that permission was denied to /tftpboot/nbi_img.
So, in short, my problem is that tftp isn't working because it doesn't have permission to /tftpboot/nbi_img. I can't figure out why. I stumbled upon a site where the user figured out a temporary fix to this issue and what he did was disabled the xinetd service and typed the following command:/usr/sbin/in.tftpd -l -v -v -s /tftpboot/nbi_imgWhen I do this as well, it works! but only until I restart and then I have to do that again. Is there a way to be able to fix that for good?
View 3 Replies
View Related
Jan 2, 2010
My dual proc, dual core Opteron MSI Master2FAR motherboard failed, and I try to boot a disk, used on this board as boot disk, on an Intel based Gigabyte GA-965-DS3. Both systems are x86_64 architecture.
The OS is on both systems is openSUSE 11.1.
On booting the disk on the Gigabyte, the disk is seen correctly by the BIOS, but not by the OS, and there is no /dev/sdX; no /dev/disk/... either. I am taken to a login shell from the ramdisk.
When I just mount this disk on the Gigabyte (booted with the Gigabyte's original boot disk) everything seems fine. No suprise to me, since the disk was fine, and was unmounted gracefully and physically taken off the MSI before the board failed.
I think that the cause lies in the fact that the harddisk controller on the Gigabyte is different from the MSI, and the driver for that controller is not available at boot time.
I have two questions:
- is my assumption correct, or is something else going on?
- if I am right, is there a way to get this disk booting on the Gigabyte (or on another system, for that matter)?
You might want to ask why I want to boot this disk on the Gigabyte in the first place, since I can mount it and see all data on it. I have a reason for that, but telling that story would make this topic too long, and it's too off-topic. Most certainly I will get to that in another topic.
View 2 Replies
View Related
May 10, 2010
You are running tftpd as an on demand server i.e. it is only fired up when it is needed. Services run by xinetd are always run on demand. Have you actually tested if tftp on another system can access your PC i.e.
Code:
tftp your_pc_ip_address
View 2 Replies
View Related
Feb 23, 2010
I've tried to configure DRBL server to use Clonezilla and that is required me to setup DHCP, TFTP servers.But I've gotten a lot of errors from them - so please look at my attachments from /var/log/messages and dhcpd.conf - help me to find out what are wrong with them.
[Code]...
View 1 Replies
View Related
Sep 21, 2011
So I'm playing around w/ some Cisco equipment and needed a quick tftp server. Go to command line and type yum install tftp-server. I get No Package available! I can clearly see it here on the i386 repo. Any ideas?? In the meantime, I'm just going to upgrade this lil 600m laptop to CentOS 6 to quickly solve the problem but I thought it was curious.
View 4 Replies
View Related
Dec 30, 2010
After installing the RT kernel, and updating my boot loader, I get this message. Code: ALERT! /dev/disk/by-uuid/... does not exist. Dropping to a shell! It doesn't make a difference whether I pass the 'root=/dev/', or 'root=UUID=', options to the kernel. I've also noticed a message while the system was attempting to boot up. Code: host side 80-wire cable detection failed, limiting max speed to UDMA33 This is all strange to me as I was running the Debian 2.6.32-5-686 kernel, without any problems.
View 1 Replies
View Related
Jun 3, 2011
I'm trying to access data from TFTP server which is running on my fedora 15, when i tried to read that file from TFTP path..i'm getting response as time out.. even i tried to get the data in localhost itself...there also i'm getting same time out.. i tried all permission mode.
View 1 Replies
View Related
Jun 13, 2009
I am trying to wade through the semanage jungle to get permissions for a tftp client. I followed the HowTos [URL] but I get the following at the client:
tftp> status
Connected to 192.168.1.101.
Mode: netascii Verbose: off Tracing: off
Rexmt-interval: 5 seconds, Max-timeout: 25 seconds
tftp> get hello.o4
tftp: hello.o4: Permission denied
I finally figured out that the firewall directives shown at the end of the HowTo refer to semanage although the options are stated incorrectly according to the man page for semanage. I did insure that the file hello.o4 in /tftpboot has read permission for everybody.
View 1 Replies
View Related
Dec 7, 2010
I'm looking for a purely standalone TFTP server that does not make use of inetd, can be run by non-root users (at non-root port numbers, of course), and if run as root, can do chroot and switch to a non-root user to shed root privileges.
View 3 Replies
View Related
Dec 14, 2010
a machine with 2+ network cards, need to setup TFTP server on one card and use internet on another.
the tftpd server works on default routing network adaptor with following configuration.
How set the TFTP server on the secondary network adaptor?
TFTP server tftpd by xinetd configuration in: /etc/xinetd.d/tftp
{
protocol = udp
port = 69
socket_type = dgram
[Code]....
Could not find how to change the post <prefix> I remembered clearly I did before.
View 1 Replies
View Related
Mar 16, 2011
I am fairly new to ubuntu server, I want to setup a tftp server to mount a new kernel in a DaVinci platform. I was following the guide in this page [URL]..docs/linux_tftp, but accidentally I remove the xinetd.conf file. So I think that maybe removing and reinstalling xinetd the problem will be solved, but instead of that I can't completely remove xinetd and the follow message is print in the terminal
Removing xinetd ...
invoke-rc.d: unknown initscript, /etc/init.d/xinetd not found.
dpkg: error processing xinetd (--remove):
subprocess installed pre-removal script returned error exit status 100
invoke-rc.d: unknown initscript, /etc/init.d/xinetd not found.
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 100
Errors were encountered while processing:
xinetd
E: Sub-process /usr/bin/dpkg returned an error code (1)
with that problem I can't start the service or stop it, I am blocked in the configuration of tftp server.
View 4 Replies
View Related
Nov 27, 2014
I have just install debian-7.7.0-i386 on my home pc. I want to configure samba 4 in my Debian box. How may I create Hard Disk partition of 500 GB for a samba server. The professional way i want.
View 3 Replies
View Related
Feb 24, 2016
I'm trying to setup a PXE server with Jessie. I've got the basic setup working by following the steps at [URL] .... That part was really easy. I would like to make the process as automated as possible and then add Win7/10 to the system as well.
The first hurdle I've come across is the fact that netboot downloads everything off the repositories. This has the potential to use up a lot of bandwidth and I would like to avoid this if possible. The first idea I came across was to create a local mirror, this way not only will I be installing everything off the LAN but I'll also be getting all the updates for my systems off the LAN too. I wasn't too keen on this. The other option that I read about was to use the debian ISOs instead.
What I have tried is to copy the Debian ISO to /var/www/html/debian
Then, when my boot via the pxe, i set the option to manually select a repository and then i type in the IP address for my webserver for the address and type in /debian for the mirror directory.
However it breaks at this point. I get a message saying "Downloading a file failed"
I would prefer the as much of the install to come from the ISO as possible to keep bandwidth usage to a minimum.
For Win10, I read that I have to use an AIK to build the Winpe and then boot that. Then I can load the Windows10 ISO via nfs through Winpe.
pxelinux.cfg/default
Code: Select allroot@DHCP:/srv/tftp# cat pxelinux.cfg/default
UI menu.c32
TITLE PXE Test Boot
LABEL Debian 8
kernel linux
append vga=normal preseed/url=http://192.168.0.254/debian/preseed.txt initrd=initrd.gz --
LABEL Windows 10
kernel ??
append ??
LABEL HardDrive Boot
This is a preseed I have setup so far
Code: Select all#### Contents of the preconfiguration file (for jessie)
### Localization
# Preseeding only locale sets language, country and locale.
d-i debian-installer/locale string en_US
[Code] ....
View 0 Replies
View Related
Mar 13, 2011
I want to install a minimal version of linux (probably oS 11.4) onto a partitioned 1TB USB drive to serve as a standalone, bootable restore mechanism for a couple of machines.
First off, is this feasible?
Second, how do I go about it? I was able to install the system to the drive but how do I make that drive bootable? So far, I can't even get it to boot from the grub menu on the first internal hard drive as the system complains loudly about not being able to read disk descriptors and such. I tried the various boot spec (chainloader, menulist, etc) with no luck. Do I need to disconnect all the internal drives then install as if it were the only hard drive in the machine with the DVD reader?
I am assuming that I need some sort of bootstrap code in the MBR of the USB drive to get started but I'm a bit lost here and would appreciate any input, especially from some one who has tried this, before I spend anymore time on it.
View 4 Replies
View Related
Jan 25, 2011
I'm trying to boot Ubuntu from a CD on a Windows XP Home laptop. The CD was burned correctly; i saw all the files on the disk. I restarted the laptop with the disk installed and all I'm getting is a screen that says Ubuntu with five flashing dots in sequence. Nothing else. It has been running for more than 10 minutes now like this.
View 2 Replies
View Related