Sponsored Content
Full Discussion: where is grub installed
Top Forums UNIX for Advanced & Expert Users where is grub installed Post 302347289 by wakatana on Tuesday 25th of August 2009 11:46:38 AM
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
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
Code:
grub> setup (hd0,0)

or on a MBR
Code:
grub> setup (hd0)

. How can i know where is ?

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

(sould be sda2 where i expecting grub) and then command:
Code:
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
Code:
sudo dd if=/dev/sda bs=512 count=1 | od -a | grep G

gives me GRUB but
Code:
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.

Code:
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)
 

10 More Discussions You Might Find Interesting

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

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

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

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

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

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

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

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

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

10. 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
All times are GMT -4. The time now is 02:51 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy