Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi;
I am trying to make a diskless image from my client and then reboot my client from server through PXE server (net boot) on red hat 5.5.
when I am trying to use the Networking Booting Tool. I get an error which says: Required binary /sbin/mount.nfs , could not be found in client root/tmp/diskless/root.
the next error is couldnot find kernel None/boot/vmlinux-2.....elsmp
I was wondering if you could give me a hint.
Many thanks
did you configure the initramfs.conf to boot from the net and rebuild your initramfs?
Here is the section that needs to be edited: Change BOOT=local to BOOT=net
then update.
# BOOT: [ local | nfs ]
#
# local - Boot off of local media (harddrive, USB stick).
#
# nfs - Boot using an NFS drive as the root of the drive.
#
I will try your idea Roreilly.
Jefro we use SATA and it cause lots of problems and there is no way for us to change the system or versions ...
the most of problems has been made by /sbin/mount.nfs
we tried to mount and add it manually and then make the image .
it start to boot the system but we get the error as follow:
/sbin/mount.nfs
error while loading shared libraries: requests glibc 2.5 or later dynamic linker.
many thanks for your help and idea.
Hi
I was trying to check the initramfs.conf as Roreilly said , but I couldnt find the file ????????
if you dont mind would you please let me know where i can find the file on RedHat4 Update 8.
I tried to make the image and I can boot the system via net and I have command line interface but not GUI. I think the root file system has been mounted readonly not read/write. :-(
any clue ??
cheers
I use debian, and unfortunately don't have access to a Redhat system. On debian, the conf is in /etc/initramfs-tools.
if you have a full running system, then it sounds like it's nearly working. Check the mount points in your /etc/fstab on the netboot image,
as well as the permissions for any exports related to the image.
If you are getting errors at boot, please post them. Also, please post the fstab from the image as well as any nfs exports related to
the boot image.
Hi ;
I managed to solve the problem, now I have GUI . there are couple of things which I experiment so far:
the port which is going to use for snapshot should be different as the port which do the NFS
also the directories which contains the root file system on the server should have the permission of 777 but the permission for the content of root directory shouldn't be changed . for exmple on my server i have followings /diskless/x86-64/redhat4/root/......
so all the permission from /diskless to /root should be 777 but after that they should be clients original files and permission without any change.
however thank you so much for the reply, I really really appreciate your time and help
Best wishes
Hi;
Actually I wrote on my previous post who did I approach.
first: the Ethernet port which is going to use for snapshot would be different that the port doing NFS. on the network booting tool after creating the image, on the properties the Ethernet port should be changed
second: permission which has been set for the directories whom contain the client root file system should be 777 but you never should change the root file system permissions.
they are my understandings so far however i will update this thread whenever i get more info and notes.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.