I don't know how to get the name like /dev/sda or /dev/sda1 for my pendrive labeled "LOCALDISK".
so i tried as a root user
Code:
mount -t /media/LOCALDISK # just to be safe
grub-setup /dev/sda
grub-install /dev/sda
should i try ?
Code:
# grub-install --root-directory=/boot /dev/sda
Code:
root@aarsh-desktop:/# grub-install --root-directory=/boot /dev/sda
[and the ouput of the above command was...]
Installation finished. No error reported.
This is the contents of the device map /boot/boot/grub/device.map.
Check if this is correct or not. If any of the lines is incorrect,
fix it and re-run the script `grub-install'.
(fd0) /dev/fd0
(hd0) /dev/sda
(hd1) /dev/sdg
Additionally,
I put the Linux kernel (.tar.gz) into my pen drive. And choose extract here from right click menu.
and then deleted the compressed .tar.gz Linux.
So that's it I've done so far..
And it resulted into an instable system,
just showing me grub menu each time I boot, no matter the pen-drive is plugged or not.
so i wanna send you a snap shot of that, so how can i do that ?
Last edited by Scott; 07-05-2010 at 08:50 AM..
Reason: Code tags, please...
Hi, I installed solaris 10 a few weeks ago. It was working fine during the past two weeks. However, now when I start to load to the drive, I get this problem:
The BIOS screen comes up like normal, then screen goes blank and a message "Grub loading stage 2" flashes real quick then the computer... (1 Reply)
Hi,
Can anyone give me the clue to my problem which is hdd not recognised when l tried to install linux enterprise edition on my laptop HP compaq nc6320 centrino.
thanxs (6 Replies)
Over the last few months the HDD spins louder and louder, so I fiqured its time to replace the HDD. Its been running 24/7/365 since 98 :eek:. yes i said since 98 :D
I have an IBM system 43P Model 240. 233 MHz. running AIX Version 4.
The current HDD is an IBM DGHS COMP IEC -950
FRU PN#... (5 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)
Hi all,
I am using Ubuntu lucid. It is installed on external USB HDD and I boot into it.
Besides other issues, the most significant one is as follows..
I boot in and start working. Everything goes on fine. As soon as I move the HDD, change its position, etc, all icons tuns into a red... (1 Reply)
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,
Can we specify which grub.conf to use while installing grub on RHEL.
We are working on application which requires different grub configurations needed, depending on certain criteria we need to update grub with correct grub.conf.
Can we use grub-install for this purpose? (4 Replies)
Hi, I want to install an SSD on my hdd ULTRA SPARK 10 with solaris 5.8. I can not format it because to complete the operation is necessary to enter the number of sectors and cylinders ...
I also tried to make a copy disk2disk but goes wrong ... someone has an idea?
Has anyone ever done such a... (0 Replies)
Hi Folks,
I am facing an issue with the performance.
P4 with 1 processor and 16 GB RAM and SAN HDD = Oracle report takes 25 minutes
P5 with 2 processors and 16 GB RAM internall HDD with LPAR = Oracle Report takes 1 hour 15 minutes ( please note I have assigned all the max processors and... (7 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)
Discussion started by: sreyan32
12 Replies
LEARN ABOUT LINUX
grub-install
GRUB-INSTALL(8) System Administration Utilities GRUB-INSTALL(8)NAME
grub-install - install GRUB to a device
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
--modules=MODULES
pre-load specified modules MODULES
--boot-directory=DIR
install GRUB images under the directory DIR/grub instead of the /boot/grub directory
--grub-setup=FILE
use FILE as grub-setup
--grub-mkimage=FILE
use FILE as grub-mkimage
--grub-mkrelpath=FILE
use FILE as grub-mkrelpath
--grub-mkdevicemap=FILE use FILE as grub-mkdevicemap
--grub-probe=FILE
use FILE as grub-probe
--no-floppy
do not probe any floppy drive
--allow-floppy
Make the drive also bootable as floppy (default for fdX devices). May break on some BIOSes.
--recheck
probe a device map even if it already exists
--force
install even if problems are detected
--disk-module=MODULE
disk module to use
INSTALL_DEVICE can be a GRUB device name or a system device filename.
grub-install copies GRUB images into /boot/grub, and uses grub-setup to install grub into the boot sector.
REPORTING BUGS
Report bugs to <bug-grub@gnu.org>.
SEE ALSO grub-mkconfig(8), grub-mkimage(1), grub-setup(8), grub-mkrescue(1)
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 (GRUB) 1.99-12ubuntu5 October 2011 GRUB-INSTALL(8)