I have install gcc, downloaded shc-3.8.6 and extracted in /install
> cd /install/shc-3.8.6
> export CC=/usr/local/bin/gcc
> make cleanall
> make test
"Makefile" 72 lines, 1526 characters
# make test
/usr/local/bin/gcc -Wall -O6 -pedantic shc.c -o shc
*** Compiling script "match"... (0 Replies)
#!/bin/sh
echo "Installing Java!!!"
cd /opt
echo "Want to give execute Permissions to java!!!"
chmod 755 jdk-6u7-linux-i586.bin
echo "Executing the jdk script"
./jdk-6u7-linux-i586.bin
This is the shell commands I am using...
I want to know how to give answer to yes and no automatically... (6 Replies)
i want use ssh on the host01 to execute autoexec.sh on the host02 like following :
host01> ssh host02 autoexec.sh
autoexec.sh include nohup command like follwing :
nohup /home/jack/deletedata.sh &
after i execute ssh host02 autoexec.sh one the host01. i can't found deletedata.sh... (1 Reply)
Hi,
I want to install certain packages on my Ubuntu 8.04 32-bit machine. I am doing it via the following shell script.
#!/bin/bash
while read -r pkg
do
apt-get install --force-yes "$pkg"
&& { continue; }
done < list_of_packages.txt
The problem I am facing is, I am not able... (2 Replies)
Hi there,
OK so I am super-green, but I have a problem I am hoping someone can help me with. I have a V245 that I am unable to install Solaris 10 (10/09) onto as during the initial install process, the UI pops up for region selection, but then as I enter my region, identify the system, up comes... (21 Replies)
Hi all! I have a task that has been giving me problems.I have my sister-in-law's external hard drive that has been damaged and the filesystem is not mountable.
I am on a Mac running OSX 10.6.8
Using ddrescue, I recovered the contents and transferred to my external drive:
sudo ddrescue... (0 Replies)
Dear Unix gurus,
We have a config shell script file which has 30 variables which needs to be passed to master unix shell script that invokes oracle database sessions. So those 30 variables need to go through the database sessions (They are inputs) via a shell script. one of the variable name... (1 Reply)
HI I am trying to install JAVA and set JAVA_HOME variable in non-root user mode. I am trying to write a script for that. I am doing it by downloading a tar ball.Any inputs will be helpful. (1 Reply)
I have a .dmg file which was created from a disk consisting of two partitions. When I mount the dmg both partitions pop up, so I know the imaging worked properly. One partition is HFS+ and the other is FAT32.
So far, I've been unable to find a way to restore the dmg to a flash drive where both... (17 Replies)
Discussion started by: paulcristo
17 Replies
LEARN ABOUT SUSE
grub-install.unsupported
GRUB-INSTALL(8) FSF GRUB-INSTALL(8)NAME
grub-install - install GRUB on your drive
SYNOPSIS
grub-install [OPTION] install_device
DESCRIPTION
Install GRUB on your drive.
-h, --help
print this message and exit
-v, --version
print the version information and exit
--root-directory=DIR
install GRUB images under the directory DIR instead of the root directory
--grub-shell=FILE
use FILE as the grub shell
--no-floppy
do not probe any floppy drive
--force-lba
force GRUB to use LBA mode even for a buggy BIOS
--recheck
probe a device map even if it already exists
INSTALL_DEVICE can be a GRUB device name or a system device filename.
grub-install copies GRUB images into the DIR/boot directory specfied by --root-directory, and uses the grub shell to install grub into the
boot sector.
The grub source distribution carries this script to ease the installation of grub as a boot loader. In Suse Linux however, grub installa-
tion is much better handled by Yast; use of this script is generally discouraged and therefore unsupported. Consequently, the script has
been renamed to grub-install.unsupported.
In order to (re-)install grub for the currently running system, simply use Yast. For an installation aiming at a differing system, the
crafting of an appropriate device.map and grub shell script is strongly advised, e.g. "grub --batch --device-map=target-device.map < tar-
get-grub.conf"
SEE ALSO
The full documentation for grub-install is maintained as a Texinfo manual. If the info and grub-install programs are properly installed at
your site, the command
info grub-install
should give you access to the complete manual.
grub-install (GNU GRUB 0.97) May 2005 GRUB-INSTALL(8)