Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

grub-setup(8) [linux 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)

Check Out this Related Man Page

GRUB-MKNETDIR(1)						   User Commands						  GRUB-MKNETDIR(1)

NAME
grub-mknetdir - prepare a GRUB netboot directory. SYNOPSIS
grub-mknetdir [OPTION...] DESCRIPTION
--compress=no|xz|gz|lzo compress GRUB files [optional] -d, --directory=DIR use images and modules under DIR [default=/usr/lib/grub/<platform>] --fonts=FONTS install FONTS [default=unicode] --install-modules=MODULES install only MODULES and their dependencies [default=all] -k, --pubkey=FILE embed FILE as public key for signature checking --locale-directory=DIR use translations under DIR [default=/usr/share/locale] --locales=LOCALES install only LOCALES [default=all] --modules=MODULES pre-load specified modules MODULES --themes=THEMES install THEMES [default=starfield] -v, --verbose print verbose messages. --core-compress=xz|none|auto choose the compression to use for core image --net-directory=DIR root directory of TFTP server --subdir=DIR relative subdirectory on network server -?, --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. Prepares GRUB network boot images at net_directory/subdir assuming net_directory being TFTP root. REPORTING BUGS
Report bugs to <bug-grub@gnu.org>. SEE ALSO
grub-mkimage(1) The full documentation for grub-mknetdir is maintained as a Texinfo manual. If the info and grub-mknetdir programs are properly installed at your site, the command info grub-mknetdir should give you access to the complete manual. grub-mknetdir (GRUB) 2.02-2ubuntu8.3 July 2018 GRUB-MKNETDIR(1)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Mounting on boot up

Is there a recognised way of mounting drives/network connections on bootup? I realise you can do this by adding the mount command to the 'bashrc' file, but for some rearon this does not seem to be the way i would expect you are supposed to do it. Cheers! Nic (7 Replies)
Discussion started by: nicfellows
7 Replies

2. Red Hat

linux will not boot, boot to grub prompt

my redhat 9 will not boot. We had a power failure and when the power came back, my redhat linux will not boot. The machine come up to grub prompt. I tried the following from grub prompt root (hd0, then press tab key partition num:0 filesystem type unknown, partition type 0x83... (7 Replies)
Discussion started by: hassan2
7 Replies

3. Red Hat

FC3 / NVidia Issue

having problems with the NVidia Driver Package #6629 using Fedora Core 3... failure to initialize NVidia Kernel... ...this appears to be a pretty common problem and other faqs/forums have yet to find a solution... the xorg.conf.log states these errors... (EE) NVIDIA(0): Failed to initialize... (10 Replies)
Discussion started by: HMSS013
10 Replies

4. AIX

mksysb and boot.image

hello i saved my system this morning, mksysb tape, and i have the message: "boot.image exceeded the size....." i have not the end because the message is disappeared. where can i find the mksysb message in a log ? the message is scary ? thank you (6 Replies)
Discussion started by: pascalbout
6 Replies

5. Solaris

grub problem

hi to all ,pls help me i am using p4 intel machine while trying new things my image of solaris boot have been deleted from grub now i want to boot solaris 10 from the grub command line but i don't know the command for this .please help me as i want to know solution for... (8 Replies)
Discussion started by: tiwsaj
8 Replies

6. UNIX for Advanced & Expert Users

where is grub installed

Hi all, i am reading about USB bootable and it points me to grub in tutorial is issued command: grub grub> find /boot/grub/stage1 but it gives me: Error 15: File not found i do not have any problems with grub, i can choose between M$ and Linux while boot so when i issue: sudo fdisk... (6 Replies)
Discussion started by: wakatana
6 Replies

7. UNIX for Advanced & Expert Users

grub to boot windows

Hello, I am using debian-5.0.0(lenny) . I installed windows xp(a hacked version) on a usb stick. this stick works perfectly well and boots off a windows system successfully. but on linux it is finding problems to do so. So I finally decided to put a grub entry to boot off the usb HDD. ... (8 Replies)
Discussion started by: gaurav1086
8 Replies

8. Red Hat

Is there any method by which fedora 13 can be boot directly from root??

Is there any method by which fedora 13 can be boot directly from root?? (4 Replies)
Discussion started by: sony star
4 Replies

9. SCO

Install GRUB on SCO Unixware 7.1.1

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)
Discussion started by: teen_racer19
10 Replies

10. Ubuntu

grub problem - unable to boot

I am not able to boot into my ubuntu. Grub gives me this message How do I boot linux? (6 Replies)
Discussion started by: locoroco
6 Replies

11. UNIX for Dummies Questions & Answers

"/boot/grub/grub.conf" VS "/etc/grub.conf"

can someone please explain me the difference between these two files: "/boot/grub/grub.conf" and "/etc/grub.conf" .. (7 Replies)
Discussion started by: stunn3r
7 Replies

12. Shell Programming and Scripting

Formatting output

I have the output like below: DEV#: 9 DEVICE NAME: hdisk9 TYPE: 1750500 ALGORITHM: Load Balance SERIAL: 68173531021 ========================================================================== Path# Adapter/Path Name State Mode Select Errors 0 ... (4 Replies)
Discussion started by: Daniel Gate
4 Replies

13. Debian

Cannot install GRUB

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)
Discussion started by: sreyan32
12 Replies

14. Solaris

How do I disable a core(or more) while boot up in Solaris 10?

Hi, I have 4 cores in my PC. I know how to disable a core using psradm -f command after boot up. But I want to disable while boot up (permanently). 1) I want only 1 core. How to disable all other cores while boot up? 2) I need to disable 2 cores. How to disable all other cores while boot... (5 Replies)
Discussion started by: sreejesh
5 Replies

15. Debian

Hardlink on wheezy by default for usb-stick?

May somebody can give me a hint. I am still using my old squeeze and it works the way I want. But my recent post about changing the owners rights, e.g. 777 or 755 anyway, it could be 644 as well. While configuring a new pc, just by chance I discovered how to enter the BIOS. And here it comes. I... (11 Replies)
Discussion started by: 1in10
11 Replies