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 -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 :rolleyes:

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)

you have to press ctrl-alt-del to boot? I'm confused as to what your configuration at present.

Please post the output of:

 sudo find / -name grub.conf -print 

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

I will as soon as I will have my machine :slight_smile:

...you cannot boot from your hard drive, you must boot from USB??

I wan to edit boot menu on USB which is created by unetbootin (bootloader is syslinux) a tried to add

LABEL hdd
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.

nobody ?:frowning: