10 More Discussions You Might Find Interesting
1. Red Hat
Dear Expert Users,
VMware Admin Tool is used to create a "clone" of an existing VM RHEL Server. Now, I have a Project where a cloned VM Server image is started for run . Please share what are all configuration changes required to ensure this runs fine ?
I will be grateful for quick and... (2 Replies)
Discussion started by: schandrakar1
2 Replies
2. What is on Your Mind?
I was testing Fedora 16 mostly to check the new features. One thing that caught my eye as a systems admin is the systemd which is incorporated in Fedora for quite a while now.
From the first look of it, this appears more close to Solaris's SMF. With parallelization capabilities, advanced... (0 Replies)
Discussion started by: admin_xor
0 Replies
3. Red Hat
Hi,
In my linux box I have installed /boot partition with 100MB. I have done compile for a newer kernel. The both kernels are required to me. Finally /boot partition has using 100%. I need to resize the /boot. Any body give the solution how to do resize the /boot partition without dusturbing the... (2 Replies)
Discussion started by: parsrigum
2 Replies
4. Shell Programming and Scripting
Hello,
I need to find all *.xml files that matched by pattern on Linux. I need to have written the file name on the screen and then change the pattern in the file just was found.
For instance.
I can start the script with arguments for keyword and for value, i.e
script.sh keyword... (1 Reply)
Discussion started by: yart
1 Replies
5. Linux
Hello
I am using linux machine. I need Icon tray in this. "Icon Tray" contains all the icons which we open in the workspace.
As such, these icons appear at the bottom (similar to windows i.e.when we open internetexplorer, Word, XLs, these icons appear in the bottom)
I have to open so many... (3 Replies)
Discussion started by: nehashine
3 Replies
6. Shell Programming and Scripting
My data is something like shown below.
date1 date2 aaa bbbb ccccc
date3 date4 dddd eeeeeee ffffffffff ggggg hh
I want the output like this
date1date2 aaa eeeeee
I serached in the forum but didn't find the exact matching solution. Please help. (7 Replies)
Discussion started by: rdhanek
7 Replies
7. UNIX for Advanced & Expert Users
Hello!
I'm having problems with fopen() call in Linux.
I have shared library (created by myself) that implements some file operations:
int lib_func(char* file_name) {
...
fd = fopen(file_name, "r");
if(!fd) {... exit with error ...}
...
do something useful using fd
...
... (2 Replies)
Discussion started by: kalbi
2 Replies
8. Shell Programming and Scripting
Hello guys I am new to awk programming. I need the below required script which can perform the following.
I have a file containing below data.
SNA NoCRD = 131
SNA OBarr = 3
SNC NoCRD = 76
SNC OBarr = 1
SND NoCRD = 155
SND OBarr = 5
SNE NoCRD = 100
SNE OBarr = 1
SNF NoCRD = 131
SNF... (2 Replies)
Discussion started by: jurial
2 Replies
9. Programming
hi
I am starting with MPI programming, can anyone suggest me some books for MPI or some good online tutorials which will cover both theory and programming.
thanks (0 Replies)
Discussion started by: bhakti
0 Replies
10. Solaris
Hi,
Iam relatively new to Shell scripting.
............
.........
Cur_log_file=`ls -lrt LOGFILE* | grep 'Jun 30' | tail -1`
...............
..................
Iam trying to find some log file name to check their status, using above script line.
If the log file is not avaible then rest of... (3 Replies)
Discussion started by: Lokesha
3 Replies
KERNEL-INSTALL(8) kernel-install KERNEL-INSTALL(8)
NAME
kernel-install - Add and remove kernel and initramfs images to and from /boot
SYNOPSIS
kernel-install COMMAND KERNEL-VERSION [KERNEL-IMAGE]
DESCRIPTION
kernel-install is used to install and remove kernel and initramfs images to and from /boot.
kernel-install will execute the files located in the directory /usr/lib/kernel/install.d/ and the local administration directory
/etc/kernel/install.d/. All files are collectively sorted and executed in lexical order, regardless of the directory in which they live.
However, files with identical filenames replace each other. Files in /etc/kernel/install.d/ take precedence over files with the same name
in /usr/lib/kernel/install.d/. This can be used to override a system-supplied executables with a local file if needed; a symbolic link in
/etc/kernel/install.d/ with the same name as an executable in /usr/lib/kernel/install.d/, pointing to /dev/null, disables the executable
entirely. Executables must have the extension ".install"; other extensions are ignored.
COMMANDS
The following commands are understood:
add KERNEL-VERSION KERNEL-IMAGE
kernel-install creates the directory /boot/MACHINE-ID/KERNEL-VERSION/ and calls every executable /usr/lib/kernel/install.d/*.install
and /etc/kernel/install.d/*.install with the arguments
add KERNEL-VERSION /boot/MACHINE-ID/KERNEL-VERSION/
The kernel-install plugin 50-depmod.install runs depmod for the KERNEL-VERSION.
The kernel-install plugin 90-loaderentry.install copies KERNEL-IMAGE to /boot/MACHINE-ID/KERNEL-VERSION/linux. It also creates a boot
loader entry according to the boot loader specification in /boot/loader/entries/MACHINE-ID-KERNEL-VERSION.conf. The title of the entry
is the PRETTY_NAME parameter specified in /etc/os-release, or "Linux KERNEL-VERSION", if unset. If the file initrd is found next to the
linux file, the initrd will be added to the configuration.
remove KERNEL-VERSION
Calls every executable /usr/lib/kernel/install.d/*.install and /etc/kernel/install.d/*.install with the arguments
remove KERNEL-VERSION /boot/MACHINE-ID/KERNEL-VERSION/
kernel-install removes the entire directory /boot/MACHINE-ID/KERNEL-VERSION/ afterwards.
The kernel-install plugin 90-loaderentry.install removes the file /boot/loader/entries/MACHINE-ID-KERNEL-VERSION.conf.
EXIT STATUS
If every executable returns with 0, 0 is returned, a non-zero failure code otherwise.
FILES
/usr/lib/kernel/install.d/*.install /etc/kernel/install.d/*.install
Drop-in files which are executed by kernel-install.
/etc/kernel/cmdline /proc/cmdline
The content of the file /etc/kernel/cmdline specifies the kernel command line to use. If that file does not exist, /proc/cmdline is
used.
/etc/machine-id
The content of the file specifies the machine identification MACHINE-ID.
/etc/os-release
The content of the file specifies the operating system title PRETTY_NAME.
SEE ALSO
machine-id(5), os-release(5), Boot loader specification[1]
NOTES
1. Boot loader specification
http://www.freedesktop.org/wiki/Specifications/BootLoaderSpec
systemd 208 KERNEL-INSTALL(8)