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)
Check Out this Related Man Page
GRUB-SETUP(8) System Administration Utilities GRUB-SETUP(8)NAME
grub-setup - set up a device to boot using GRUB
SYNOPSIS
grub-setup [OPTION...] DEVICE
DESCRIPTION
Set up images to boot from DEVICE.
You should not normally run this program directly. Use grub-install instead.
-a, --allow-floppy
Make the drive also bootable as floppy (default for fdX devices). May break on some BIOSes.
-b, --boot-image=FILE
Use FILE as the boot image [default=boot.img]
-c, --core-image=FILE
Use FILE as the core image [default=core.img]
-d, --directory=DIR
Use GRUB files in the directory DIR [default=/boot/grub]
-f, --force
Install even if problems are detected
-m, --device-map=FILE
Use FILE as the device map [default=/boot/grub/device.map]
-r, --root-device=DEV
Use DEV as the root device [default=guessed]
-s, --skip-fs-probe
Do not probe for filesystems in DEVICE
-v, --verbose
Print verbose messages.
-?, --help
give this help list
--usage
give a short usage message
-V, --version
print program version
Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options.
DEVICE must be an OS device (e.g. /dev/sda).
REPORTING BUGS
Report bugs to <bug-grub@gnu.org>.
SEE ALSO grub-install(8), grub-mkimage(1), grub-mkrescue(1)
The full documentation for grub-setup is maintained as a Texinfo manual. If the info and grub-setup programs are properly installed at
your site, the command
info grub-setup
should give you access to the complete manual.
grub-setup (GRUB) 1.99-12ubuntu5 October 2011 GRUB-SETUP(8)
Hello !
I just want to install Oreon (it's a plugin for Nagios) but I can't, I have this error when I run the script install.sh
# ./install.sh
functions: 21: Syntax error: "(" unexpected
Have you got an idea ?
Tx (10 Replies)
I have a SunBlade 150 sparc machine. I get this box without root password. When I truned on the machine and typed ctrl -D to run under normal mode. The file system couldn't be mounted. If I don't care about current system and files on the machine and want to rebuild this box with solaris 10. Can I... (13 Replies)
Hello All,
I am pretty new to Linux,
When trying to install TurboLinux 6.0 through a boot floppy,
After a while it says to insert the CD and later it is not recognizing the CDROM,
SO do we need to mount the CD-ROM before installation ??
Thanks in Advance :)
S (13 Replies)
Hi, i have for this moment Ubuntu 8.04 and XP SP2 and of course the grub loader for starting them.
I donwloaded Solaris 10.5 and intend to install it but i want to know if it will rewrite the grub loader i use now (and if, it will detect all OS?) or just append the new Solaris - any case would be... (11 Replies)
Hi,
I am using the korn shell script to check the particular process is running or not in Soloris.But this script started in my login and if I give ps -ef | grep 'pname' it is showing the user as root.I am not using any where the root login access.It is miserable why the root login is coming. (19 Replies)
Hi,
I am trying to install the linux boot loader (GRUB) on a non-linux machine (Unixware 7.1.1). The thing is I want to boot the linux kernel (vmlinuz) and the linux ram disk (initrd.img) from unixware and boot the machine with it. Does anyone have a good way to do this? (10 Replies)
I wanna install grub on my flash drive for rescue usage.
My computer installs winxp, and I have fedora12 installed in vmware. I did like this:
step1: format the flash drive as FAT in winXP.
step2: in fedora12, mount the flash drive on /media/flash
step3: excute the command: grub-install... (10 Replies)
Hi guys.
I realize it's a 7-year-old drive, but is there any reason why it's not listed it when I try to install Mint?
All my other drives are recognized:
http://bammbamm.org/Visual/LinuxMint/MissingMaxtor.png
Any advice would be appreciated. Thanks! ~ Bamm (13 Replies)
Hello,
I cannot install grub to my ESP it seems. I have a PC with both Windows 8.1 and Debian installed and I can only boot into Windows since GRUB is not installed on my PC.
I am using a Ubuntu Live USB to install GRUB on /dev/sda1 (my ESP).
I am using the following commands from Ubuntu... (12 Replies)
Hi, I am using CENTOS and for now, I am not able to install or to configure the istat command on Linux. So, is there a way to do the same that the shell is doing below, but not using istat command? I would appreciate any help on it.
#!/bin/sh
HOUR=0
MONTHN=0
if
then
:
else
... (10 Replies)
Hi,
I just bought POWER 8 ESERVER S812L from Ebay. There is no AIX on it.
I am trying to install RedHat on this box
But it does not recognize the hard drive and Ethernet card.
I am very newbie with IBM ... please help or hints me please ...
1. can't access to HMC ports, thought it's... (21 Replies)
sco 5.0.7
my ancient sco unix system hangs on booting gives me the following error message
exit-/etc/init (PID1) DIED, STATUS 0X0000009F
had trouble shutting down last night would give me login prompt but would not let me into root with password.- I powered off probably compounded the... (17 Replies)
"Debian 9 64x - LXDE"
I try to create an install script in bash. Lets assume i want to install samba.
I call from the mainscript the install script for samba \folder\samba.sh.
The script samba.sh should get executed in a new terminal window, so i can watch for install errors.
The... (13 Replies)
I've "installed" LM 19.1 to a PNY 16Gb(2.0) pendrive. I have a few issues that I'd like to resolve. First and foremost, the O.S. experiences "lagging" issues and to a lesser degree, freezing. Example: Complete "boot-up" (from start to complete "home" page) can take upwards of 7 mins. Then when... (10 Replies)