The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
.
google unix.com



UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
grub problem- keeps rebooting as soon as it tries to do grub moesays UNIX for Dummies Questions & Answers 1 11-07-2007 05:46 AM
grub help seshumohan Linux 8 02-02-2007 06:03 PM
Getting rid of grub jad Debian 4 07-04-2006 10:57 AM
GRUB and windows XP Micky Linux 1 10-22-2004 11:13 PM
Removing GRUB from XP-PRO Cameron Windows & DOS: Issues & Discussions 2 04-06-2003 04:32 AM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 08-25-2009
wakatana wakatana is offline
Registered User
  
 

Join Date: Jul 2009
Posts: 36
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

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 (permalink)  
Old 08-25-2009
Corona688 Corona688 is offline
Registered User
  
 

Join Date: Aug 2005
Location: Saskatchewan
Posts: 1,933
you have to press ctrl-alt-del to boot? I'm confused as to what your configuration at present.
  #3 (permalink)  
Old 08-25-2009
candlejack's Avatar
candlejack candlejack is offline
Registered User
  
 

Join Date: Nov 2008
Location: /dev/meh
Posts: 53
Please post the output of:
Code:
 sudo find / -name grub.conf -print
  #4 (permalink)  
Old 08-26-2009
wakatana wakatana is offline
Registered User
  
 

Join Date: Jul 2009
Posts: 36
Quote:
Originally Posted by Corona688 View Post
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 ----------

Quote:
Originally Posted by candlejack View Post
Please post the output of:
Code:
 sudo find / -name grub.conf -print
I will as soon as I will have my machine
  #5 (permalink)  
Old 08-26-2009
Corona688 Corona688 is offline
Registered User
  
 

Join Date: Aug 2005
Location: Saskatchewan
Posts: 1,933
...you cannot boot from your hard drive, you must boot from USB??
  #6 (permalink)  
Old 08-28-2009
wakatana wakatana is offline
Registered User
  
 

Join Date: Jul 2009
Posts: 36
I wan to edit boot menu on USB which is created by unetbootin (bootloader is syslinux) a tried to add
Code:
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.
  #7 (permalink)  
Old 08-31-2009
wakatana wakatana is offline
Registered User
  
 

Join Date: Jul 2009
Posts: 36
nobody ?
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 11:29 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0