Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

grub2-probe(3) [centos man page]

GRUB-PROBE(3)						     Library Functions Manual						     GRUB-PROBE(3)

NAME
grub-probe -- Probe device information for a given path. SYNOPSIS
grub-probe [-m | --device-map=FILE] [-t | --target=(fs|fs_uuid|fs_label|drive|device|partmap| abstraction|cryptodisk_uuid| msdos_parttype)] [-v | --verbose] (PATH|DEVICE) DESCRIPTION
grub-probe probes a path or device for filesystem and related information. OPTIONS
--device Final option represents a DEVICE, rather than a filesystem PATH. --device-map=FILE Use FILE as the device map. The default value is /boot/grub/device.map. --target=(fs|fs_uuid|fs_label|drive|device|partmap|msdos_parttype) Select among various output definitions. The default is fs. fs filesystem module fs_uuid filesystem UUID fs_label filesystem label drive GRUB drive name device System device partmap partition map module abstraction abstraction module cryptodisk_uuid cryptographic container msdos_partmap MS-DOS partition map --verbose Print verbose output. (PATH|DEVICE) If --device is passed, a block DEVICE. Otherwise, the PATH of a file on the filesystem. SEE ALSO
info grub Wed Feb 26 2014 GRUB-PROBE(3)

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)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

trying to set up an optical drive

Trying to get my unix system to recognize an optical drive, it was delivered to us, so we assumed it worked, in the 2 years since no one ever has used it, we want to now. However, even running probe-scsi-all doesn't bring up that drive. It's a scsi address of 3, at the end of the chain, all... (1 Reply)
Discussion started by: kymberm
1 Replies

2. Filesystems, Disks and Memory

simlinks

i have 2 hard drive on my system, running suse 8. one drive is being used, and the other is a vfat drive with only mp3's on it. i am almost out of room on my first drive, i want to move my /home and /bin to hdb which is pretty much unused, ok anyway, can i just copy /home and /bin to hdb mounted as... (3 Replies)
Discussion started by: norsk hedensk
3 Replies

3. UNIX for Dummies Questions & Answers

device to filesystem?

On a HP-UX box, I can execute the sar command which will give me the device, %busy, etc. I would like to know how to take a given device name and determine on which filesystem it's located when I do a bdf. I've done some searching through the posts but so far have not had any luck in... (2 Replies)
Discussion started by: jimedwards
2 Replies

4. Filesystems, Disks and Memory

Creating a Mirror RAID With Existing Disk

Hi there, I'm not sure if this is possible, but here is what I'd like to do.. I have an existing 160GB drive in my Redhat 9.0 server that I would like to add an additional 160GB drive to and create a mirrored RAID of the first disk to the new disk. I would like to do this without having to... (2 Replies)
Discussion started by: sysera
2 Replies

5. Filesystems, Disks and Memory

Dead partition on drive

We are still using solaris 1 with sunos 4.1.4 because nobody here knows Unix. My colleague did a backup (dump) to the wrong place (/dev/sd0h) and we lost this part of the drive. The information is still on tape but we cannot repartition the /dev/sd0h. fsck keeps on about the "wrong SUPER BLOCK"... (2 Replies)
Discussion started by: Tom Bekaert
2 Replies

6. HP-UX

Question about the hareware path and device name

# ioscan -f | grep disk Class I H/W Path Driver S/W State H/W Type Description disk 3 0/0/2/0.0.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-N disk 1 0/1/1/0.0.0 sdisk CLAIMED DEVICE HP 146 GST3146707LC ... (1 Reply)
Discussion started by: bluepluto
1 Replies

7. Windows & DOS: Issues & Discussions

Unable to delete a file through SAMBA

We have AIX box with a share. We have a Windows 2000 server with a mapped drive to this share. We were able to create and delete files inside the mapped drive. I removed the map. Changed it to a test share. Removed that map. Added it back to teh original share. However, now we can... (3 Replies)
Discussion started by: mcubitt
3 Replies

8. Shell Programming and Scripting

Please correct the code

Hi, Some part of output: ================ $ hwmgr show scsi SCSI DEVICE DEVICE DRIVER NUM DEVICE FIRST HWID: DEVICEID HOSTNAME TYPE SUBTYPE OWNER PATH FILE VALID PATH ------------------------------------------------------------------------- 68: ... (10 Replies)
Discussion started by: mansa
10 Replies

9. Linux

Live Knoppix on usb sdb2 kernel not found

Hi all I have a usb external drive with two partitions sdb1 ntfs and sdb2 ext3 with label Linux I copied a knoppix live distro in the second partition, then I installed grub on the drive. Now in the directory /media/sdb2/boot/grub i have the file device.map with the following content: (hd0) ... (4 Replies)
Discussion started by: guast
4 Replies

10. Shell Programming and Scripting

Getting cURL to output verbose to a file

This is about to drive me crazy. What I want to do is simple: output ALL the verbose information from curl to a file I have read the manual, tried several options and searched this forum but no salvation... I'm using curl -k -Q "command" --user user:passwd --ftp-pasv --ftp-ssl -v... (1 Reply)
Discussion started by: caramandi
1 Replies

11. Filesystems, Disks and Memory

Tru64 Unix (HP) - copy file from 2nd HD to Boot HD

Hi, Here is some of the setup information on system: Tru64 UNIX OS and Two Hard Drives installed. One drive is boot drive and other is spare (Spare drive currently has some back up information on it). here is just a couple of the device/partition/mount points on boot drive. /dev/rz0a on... (4 Replies)
Discussion started by: willirb1
4 Replies

12. Filesystems, Disks and Memory

How does memory mapping work?

I can't find a guide or tutorial that explains it at all. Its there a better search term than Memory Mapping? What's the magic inbetween having the hard drive behave like the memory? (4 Replies)
Discussion started by: theKbStockpiler
4 Replies

13. UNIX for Dummies Questions & Answers

SAMA

can i map network drive without using username/password via windows? can i map (net use ) network drive in unix (aix6.10) ? net use x: \\servername\folder - worked fine in windows, can i use this syntax or alternative way for this ? (2 Replies)
Discussion started by: tjmannonline
2 Replies

14. Windows & DOS: Issues & Discussions

How to map a path to a drive in windows

Hi all, Can anybody explain me about mapping a path to a drive with example? Thanks (3 Replies)
Discussion started by: Bobby16
3 Replies

15. UNIX for Dummies Questions & Answers

Allocating Unallocated Drive Space from a SAN to a filesystem

Good Morning everyone, I want to know how to allocate unallocated drive space from a SAN to a file system that desperately needs the drive space. Does anyone have any documentation or tips on how to accomplish this? I am running on AIX version 6.1. (2 Replies)
Discussion started by: ryanco
2 Replies