Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Note: This will extact the gzipped file and remove the .gz extension leaving the file named ldlinux.img.
8.Make a directory called /ldlinux and mount the image to it.
mkdir /ldlinux
mount -o loop ldlinux.img /ldlinux
9.Change to the /ldlinux directory.
cd /ldlinux
10.Make any changes to the image, including addition of drivers, addition of files, or modification of files. A Linux administrator may be required to perform these tasks.
11.Exit the ldlinux directory and go back to the /tmp directory.
cd /tmp
12.Unmount the image. Note: If you did not change to /tmp this command will fail.
umount /ldlinux
13.Zip the image.
gzip ldlinux.img
Note: This will add the .gz extension leaving the file named ldlinux.img.gz.
14.Rename the file to ldlinux.img.
mv ldlinux.img.gz ldlinux.img
15.Copy the newly modified image back to the core.
cp ldlinux.img /mnt/landesk/vboot/ldlinux.img
16.Deploy to a single PXE Representative and test. Only when it is tested to be working, should you then deploy to all PXE Representatives.
I don't know how to do step 10, not even the linux admins at my company know how to do it.
Hello,
I need to inject drivers into a linuxpe image, I've followed the instructions bellow:
I don't know how to do step 10, not even the linux admins at my company know how to do it.
Please Help ...Thanks.
You've got the image mounted. Step 10 says to make your changes. So copy whatever file(s) you want into that mounted image, edit any files, change anything you want. Do it all in the /ldlinux directory that you have mounted. Then create the image by following the rest of the steps.
And if the Linux admins at your company couldn't tell you this...it's time to trade up.
DO you think I can install this image in an usb drive, boot from it , install the drivers and then create an image from it?
if so how do I go about it?
Sorry as you can see I new to linux.
Last edited by genghiskhano; 03-21-2009 at 04:27 PM.
DO you think I can install this image in an usb drive, boot from it , install the drivers and then create an image from it?
if so how do I go about it?
Sorry as you can see I new to linux.
No, if you follow the instructions, you'll have the image MOUNTED in a directory, under a loop back device. You can't change the parts of a running system (with very few exceptions), without causing problems, anymore than you can pull the engine of your car apart, while you're driving.
You can put the image anywhere, whether you can boot from it or not is a different matter. Your system will have to support boot from USB for it to work. If you're following the instructions you provided, continue to do so. That'll leave you with a finished image afterwards.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.