02-08-2017
Changing grub from /dev/sda to /dev/sdb
Hi,
Please suggest steps to change grub from /dev/sda to /dev/sdb,
10 More Discussions You Might Find Interesting
1. Solaris
Hi, Anyone can help
My solaris 8 system has the following
/dev/null , /dev/tty and /dev/console
All permission are lrwxrwxrwx
Can this be change to a non-world write ??
any impact ?? (12 Replies)
Discussion started by: civic2005
12 Replies
2. UNIX for Dummies Questions & Answers
Hello everyone -
Please forgive me if I violate the forum's etiquette as this is my very first post. I'm posting this on both the dummies and the advance section with the hope for any responses.
I stumbled on this forum while frantically looking for an answer to a dumb, ignorant thing I did... (2 Replies)
Discussion started by: kevindoman
2 Replies
3. UNIX for Advanced & Expert Users
Hello everyone -
Please forgive me if I violate the forum's etiquette as this is my very first post. I'm posting this on both the dummies and the advance section with the hope for any responses.
I stumbled on this forum while frantically looking for an answer to a dumb, ignorant thing I did... (5 Replies)
Discussion started by: kevindoman
5 Replies
4. UNIX for Dummies Questions & Answers
Hello,
i am using finch (unix commandline instant messaging client using libgnt) which is running connected to /dev/pts/1
Now I would like to "remote control" the program by sending the key combinations normally typed on the keyboard from a programm in another shell. So I tried:... (0 Replies)
Discussion started by: mentos
0 Replies
5. Solaris
So, we removed a LUN from the SAN and the system is refusing to remove the references to it in the /dev folder. I've done the following:
devfsadm -Cv
powermt -q
luxadm -e offline <drive path>
luxadm probe
All those commands failed to remove the path. The drive stills shows up as <drive... (13 Replies)
Discussion started by: DustinT
13 Replies
6. AIX
Hi,
How can i check that i am using RAW devices for storage in my AIX machine...
Also after adding a LUN from storage to a aix host, when i check /dev in the host, i can see both rhdisk and hdisk with same number
eg:
dcback1(root):/dev>ls -lrt | grep disk12
crw------- 1 root ... (4 Replies)
Discussion started by: jibujacob
4 Replies
7. AIX
Hello AIXians,
I can't boot my AIX, it hangs and stops at the code error: 0518
After searching google, I knew the problem is due to problems in File Systems.
So the solution is booting from any bootable media, then run these commands in maintenance mode:
#fsck -y /dev/hd4
#fsck -y... (3 Replies)
Discussion started by: Mohannad
3 Replies
8. Shell Programming and Scripting
Objective: To recreate the partitioning setup of /dev/sda on /dev/sdc
How would I parse the below information and initialize variables
(an array?) that can be used to build sgdisk commands in a script, regardless of the number of partitions?
Something along the lines of:
sgdisk -n... (12 Replies)
Discussion started by: RogerBaran
12 Replies
9. UNIX for Advanced & Expert Users
Hello,
I have rebooted the RHEL VM but after rebooting the vm it not showing all the partition mounted on OS level, if i'll execute the fdisk -l command, then i'm able to see the same disk. below is the fdisk output :
# fdisk -l
Disk /dev/sda: 107.6 GB, 107639996416 bytes
255 heads, 63... (1 Reply)
Discussion started by: purushottamaher
1 Replies
10. HP-UX
Hi,
In our HP-UX B.11.11. I could not find dev/urandom and dev/random
Are all pseudo-devices implemented as device drivers, or in need to run /configure some package to install the package to have dev/urandom.
Please help (4 Replies)
Discussion started by: rashi
4 Replies
LEARN ABOUT LINUX
grub-setup
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)