where is grub installed

Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users where is grub installed
# 1  
Old 08-25-2009
where is grub installed

Hi all, i am reading about USB bootable and it points me to grub in tutorial is issued command:
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 -l
i see which partition is bootable (sda1)
i have multiple partitons
sda1, sda2, sda3, sda4

sda1 windows
sda2 linux
sda3 swap
sda4 ntfs

so my question: how can i know where is grub installed ?
I found on net that is in directory /boot/grub/stage1 (sda2 in my case)
but why I have bootable sda1 ?? can anyody explain that ?

another question: I found grub can be installed on a partition
grub> setup (hd0,0)

or on a MBR
grub> setup (hd0)

. How can i know where is ?

last question: can i issue i think in my case command:
grub> root (hd0,1)

(sould be sda2 where i expecting grub) and then command:
grub> find /boot/grub/stage1

should gives output ?

realy last question: I create bootalbe usb with unetbootin which uses syslinux, is possible to boot M$ located on HDD throught that ? Thanks a lot

---------- Post updated at 04:29 PM ---------- Previous update was at 04:19 PM ----------

Seems that i answer 2nd question
sudo dd if=/dev/sda bs=512 count=1 | od -a | grep G

gives me GRUB but
sudo dd if=/dev/sda1 bs=512 count=1 | od -a | grep G

did not gives nothing

---------- Post updated at 05:46 PM ---------- Previous update was at 04:29 PM ----------

I thing I ve found solution so
/boot/grub/ contains grub files that are too big to store in MBR so they have to be located somewhere in hdd.

grub> root(hd0,0)

now works i forget sudo Smilie

but still i would know if is possible from unetbootin created USB boot directly to harddisk partition (i dont want to press ctrl alt del)
# 2  
Old 08-25-2009
you have to press ctrl-alt-del to boot? I'm confused as to what your configuration at present.
# 3  
Old 08-25-2009
Please post the output of:
 sudo find / -name grub.conf -print

# 4  
Old 08-26-2009
Originally Posted by Corona688
you have to press ctrl-alt-del to boot? I'm confused as to what your configuration at present.
It would be confortable option to boot from hard drive (if i forogot USB in machine during boot I must ctrl alt del)

---------- Post updated at 10:00 AM ---------- Previous update was at 10:00 AM ----------

Originally Posted by candlejack
Please post the output of:
 sudo find / -name grub.conf -print

I will as soon as I will have my machine Smilie
# 5  
Old 08-26-2009
...you cannot boot from your hard drive, you must boot from USB??
# 6  
Old 08-28-2009
I wan to edit boot menu on USB which is created by unetbootin (bootloader is syslinux) a tried to add
localboot 0x80

but did not work, in isolinux this is for booting from first harddrive. I ve read that should be done using GRUB on USB but dont know how.
# 7  
Old 08-31-2009
nobody ?Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Bash find version of an installed application but if none is found set variable to App Not Installed

Hello Forum, I'm issuing a one line bash command to look for the version of an installed application and saving the result to a variable like so: APP=application --version But if the application is not installed I want to return to my variable that the Application is not installed. So I'm... (2 Replies)
Discussion started by: greavette
2 Replies

2. 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

3. Red Hat

Can we specify which grub.conf to use in grub-install.

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)
Discussion started by: successlin
4 Replies

4. Red Hat

Trouble with installed / not installed rpm unixODBC/libodbc.so.1

Hey there, i run 1: on my server (RHEL 6) and getting response that the libodbc is not installed. If i use yum for installation, it tells me, there is no package like this ( 2: ). Since in the description of Definiens is mentioned that the Run-time dependency is unixODBC (libodbc.so.1), I assume... (2 Replies)
Discussion started by: rkirsten
2 Replies

5. AIX

OS Patches installed but they seem as not installed

Hello everyone: I've installed an OS patch into AIX 6.1 by running the following command: instfix -d /tmp/6100-02-03 -k "IZ41855" however it seem not installed instfix -i -k "IZ41855" There was no data for IZ41855 in the fix database. what am I doing wrong? (8 Replies)
Discussion started by: edgarvm
8 Replies

6. Ubuntu

Grub customization

I installed 9.10 this weekend. It's a fresh install. It installed GRUB, which works great, but with the 9.04 install I could customize the Grub menu (color, default OS and timeout) by editing /boot/grub/menu.lst. That file is no where to be found on this install. I've searched and all I find is... (4 Replies)
Discussion started by: dday
4 Replies

7. Ubuntu

grub loader

i was dual booting vista and ubuntu but i have now taken off vista. however the microsoft bootloader is still in the list. how do i get rid of it and automatically boot into ubuntu? (13 Replies)
Discussion started by: bcbotha
13 Replies

8. UNIX for Dummies Questions & Answers

grub problem- keeps rebooting as soon as it tries to do grub

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)
Discussion started by: moesays
1 Replies

9. Linux

grub help

in dual os grub will ask like this (linux 9 (red hat)) linux(bigmem) linux(smallmem) dos so i want that grub will ask like this dos linux(bigmem) linux(smallmem) how to do this (8 Replies)
Discussion started by: seshumohan
8 Replies

10. Linux

Remove GRUB

hello i just uninstall fedora core 4 and would like to remove the GRUB from my system. i try to use windows xp startup disk and tryout the fixmbr command. however the system warn me that my computer do not have a proper mbr and performing this action may make all partition in my harddisk... (5 Replies)
Discussion started by: wsc
5 Replies
Login or Register to Ask a Question