How does Grub find stage2?

I'm trying to get a clear mental image of this in my head: Grub has two stages, stage1 and stage2. stage1 gets written to the MBR. stage2 gets written to... anywhere special, other than simply the file /boot/grub? Since it appears to me that stage1 is the same for all Grub installs, how does it know which partition to look on for stage2?
This question arises because I have two installs of Grub on two different partitions, and reinstalling Grub under the distro on each partition makes its own Grub the default one on boot. But since their stage1's are identical, I'm wondering what is changing between installing Grub to one partition and installing it to the other partition that tells the MBR to point to the different GRUBs.
(Part of the reason I ask is to see if there's an easier/lazier way to switch between the GRUB installs without re-installing GRUB. My initial thought was to back-up and restor the MBR, but that doesn't look like it will work.)

stojic wrote:You are missing stage 1.5 which is started by stage1 and which knows how to read the filesystem. See http://www.pixelbeat.org/docs/disk/ for example.
sssslang wrote:
B-Con wrote:I'm trying to get a clear mental image of this in my head: Grub has two stages, stage1 and stage2. stage1 gets written to the MBR. stage2 gets written to... anywhere special, other than simply the file /boot/grub? Since it appears to me that stage1 is the same for all Grub installs, how does it know which partition to look on for stage2?
hi, i have the same question, and a quick google search give me some info: http://ubuntuforums.org/showthread.php?t=825734
hope it's useful for you.
Nice, thanks for the links, very helpful.
grep wrote:Also I prefer to be lazy and let the kernel package's install scripts update all /boot/grub/menu.lst's... I have 3 Linux installations and just 1 hdd in one box. Every installation has it's own /boot partition with it's own grub binaries.
Thanks for the tip, that'll be helpful.

Similar Messages

  • In the new Keynote how does one find the Wrap Inspector to wrap text around a photo??? Thanks

    In the new keynote, the help section refers to the Wrap Inspector.  How does one find that or how does one wrap text around a photo??   Thanks

    You can also use the shape tool to draw a shape roughly following the outline of the graphic you want to wrap text around, change the fill and stroke to "none", then paste your text within the shape. It's a few more steps, but it opens you up to many creative alternative layouts.

  • I have an idea for an iPhone app that I believe would be marketable. However, I have no talent towards writing software. How does I find a reputable programer that would be will to develop and split proceeds?

    I have an idea for an iPhone app that I believe would be marketable. However, I have no talent towards writing software. How does I find a reputable programer that would be will to develop and split proceeds?

    Find an app you like.  Contact the developer of that app and see if they are interested.

  • How does Tree Finder creates the BPEL flow tree - using ORABPEL schema

    I want to understand how does Tree Finder option on BPEL console gets the BPEL flow tree displayed ? How does the references to further BPEL processe instances get stored w.r.t the current BPEL process instance ? Which tables in ORABPEL schema are involved or store such references ?
    Basically, I wish to get a similar tree given a BPEL instance id in my code. Pls help.
    Analysis Done:
    if I see the audit trail of the BPEl instance, it gives me an XML with multiple nodes having wikey and partnerWSDL elements. Does this partnerWSDL holds the key here ?
    wikey="10011-BpInv0-BpSeq0.3-2"
    wikey=<cikey>-<node_id>-<scope_id> [orabpel.WORK_ITEM]
    Thanks.

    Is it based on root_id/parent_id column in orabpel.CUBE_INSTANCE ?

  • How does u find whether query touches aggregates or not?

    Hi gurus
         How does u find whether query touches aggregates or not?
    Thanks in advance
    Raj

    Hi Rajaiah.
    You can test this from TA RSRT -> Execute and debug -> Display aggregate found.
    Hope it helps.
    BR
    Stefan

  • How does one find one's securuity code?

    How does one find their security code for purchasing with their I Pads?

    I assume that you mean the security code to go with your credit card, in which case it's the 3 or 4 digit code that is quite often on the back of the card on the signature strip : card security code.

  • HT4061 How does the find my phone app work?

    How does the find my phone app work?

    Welcome to Apple Support Communities
    The Find my iPhone app allows you to track all your devices with Find my iPhone (iPad, iPod or Mac) turned on. To enable Find my iPhone, open Settings > iCloud and turn on "Find my iPhone", so you will be able to track your iPhone through the application.

  • How does Max Find Remote Systems

    How does MAX find remote systems?
    I have written a UDP chriper as a way to solve this problem in the past, however, it seems that NI has allready solved this problem and I'd rather use what comes in the box. 
    Existing APIs or documentation would be great.
    ~Jon
    Certified LabVIEW Architect
    Solved!
    Go to Solution.

    There is a Find Systems VI on the Real-Time / RT Utilities / System Configuration palette that can find some things (like PXIs) on the network.
    BS

  • I've misplaced my 4S. How does the 'find my phone' feature work?  Thx

    I've misplaced my 4S. How does the 'find my phone' feature work?  Thx

    If your iphone is on and you turned on the find my iphone feature on the iphone itself, then youc an go to icloud.com and see if you can locate it.

  • How does TM find remote backup servers?

    I have an OSX10.5.3 server that wired users can see as a Time Machine backup server. This works.
    Wifi users (who are bridged onto the same wired network) can not see any remote Time Machine drives to backup to. Looks like the wifi controller (Cisco WLC) isn't forwarding some packets to the wired network.
    How does a TM client find remote servers? Can remote servers be statically configured on a client?

    There is a Find Systems VI on the Real-Time / RT Utilities / System Configuration palette that can find some things (like PXIs) on the network.
    BS

  • How does one find Mac Mail mailbox in full Time Machine Backup?

    I completed full backup of my MacBook on 9/24. I use a directly connected G Drive. I need to restore my mailbox from that backup, but it doesn't show up when I attempt to use Time Machine to do so. How can I find the mail box through Finder on the G Drive?
    Thanks,
    Chris Reid

    Further to this issue: I go into the finder and locate my mailbox in Library. When I go to back up 'Library' it goes back to the date in question - but there is no Library found?! There really must be a problem with the backup process. Any thoughts? I really need to find these emails!
    Thanks,
    Chris

  • How does one find out the database name , service name in a database

    hi,
    how do u find out the database name , service name , SID in a database.
    Please reply.
    Thanks ,
    Regards,
    RC

    This particular information is available in the view V_$PARAMETER owned by SYS. But you can also login with Server Manager as user INTERNAL and run:
    SHOW PARAMETERS
    The entries pertaining to the naming of the database are:
    1. db_name
    2. db_domain
    3. db_name
    4. instance_name
    5. service_names
    GLOBAL_NAME is a static (not changing) Data Dictionary view which has just 1 attribute (column) called GLOBAL_NAME.
    When you run:
    select GLOBAL_NAME from GLOBAL_NAME;
    You are returned the full global name of the database, i.e. the db_name and the db_domain joined together by dot (.) For e.g. if your db_name = mgmt and db_domain = tech.co.in, then your global_name will be MGMT.TECH.CO.IN.
    Ciao.
    null

  • How does google find images

    Does anyone understand how google finds images? I am a sculptor, my website is http://web.mac.com/phelpssculpture/iWeb/
    I just did a google search of david phelps sculpture and my site came up in decent ranking. Then I got the bright idea to switch to google image search and found one of my sculptures on
    http://web.utk.edu/~wmorgan/Suttree/oarsman.htm
    but no images from my site came up. Any suggestions?
    Thanks, David
    ibook & imac   Mac OS X (10.4.8)  

    Hi David...
    I think Google just categorizes the filesnames that it finds in the HTML of your pages and if they can be associated with appropriate URLs then they get
    indexed. It probably just recognizes the file extensions, like .jpg or .tiff.
    I don't know of a specific way to get images into the Google index. You could probably add the specific URL paths to your images to a sitemap or something. That might do it.

  • How does sonos find music on itunes

    does anyone know how i get my sonos app to find my music on itunes

    What are you trying to play from computer, iphone, ipad?   I don't have a sonos system, but I have messed around with one.

  • How does Weblogic find out which webservice method to invoke?

    Hi!
    I developed a webservice which is currently running on weblogic & everything is fine ;). Yesterday I tried to get it running on a different app server (jboss) and it simply would not work. I always got an error, that the operation requested does not exist on the endpoint. I investigated the issue & came to the conclusion that it is correct...the operation requested does really not exist. Now...why does it work on weblogic?!?
    Here a few details on the application:
    important part from the wsdl & xsds:
    <wsdl:message name="performTransactionSearch">
    <wsdl:part name="parameters" element="tns:performTransactionSearchRequest" />
    </wsdl:message>
    <wsdl:portType name="TransactionService">
    <wsdl:operation name="performTransactionSearch">
    <wsdl:input message="tns:performTransactionSearch" />
    <wsdl:output message="tns:performTransactionSearchResponse"/>
    </wsdl:operation>
    </wsdl:portType>
    <wsdl:binding name="O2HWOnlyJournalServicePortBinding" type="tns:O2HWOnlyJournalService">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http"
    style="document" />
    <wsdl:operation name="performTransactionSearch">
    <soap:operation soapAction="" />
    <wsdl:input>
    <soap:body use="literal" />
    </wsdl:input>
    <wsdl:output>
    <soap:body use="literal" />
    </wsdl:output>
    </wsdl:operation>
    </wsdl:binding>
    And here the xsd type:
    <xs:element name="performTransactionSearchRequest" type="tns:performTransactionSearchRequest"/>
    <xs:element name="performTransactionSearchResponse" type="tns:performTransactionSearchResponse"/>
    <xs:complexType name="performTransactionSearchRequest">
    <xs:all>
    <xs:element name="RequestHeader" type="base:requestHeader" minOccurs="0"/>
    <xs:element name="TransactionSearchCriteria" type="wstypes:transactionSearchCriteria" minOccurs="1"/>
    </xs:all>
    </xs:complexType>
    <xs:complexType name="performTransactionSearchResponse">
    <xs:sequence>
    <xs:element name="SearchResponseItem" type="wstypes:searchResponseItem" minOccurs="0" maxOccurs="unbounded"/>
    </xs:sequence>
    </xs:complexType>
    Last but not least, the method:
    public List<SearchResponseItem> performTransactionSearch(RequestHeader header, TransactionSearchCriteria criteria) { ... }
    The difference in the soap request messages differs in the outer tag. Weblogic expects what is defined in the xsd -> <performTransactionSearchRequest>, whereas jboss expects the operation/method <performTransactionSearch>.
    With jboss it only works w/o the 'Request'-suffix....with Weblogic it only works with the suffix.
    In a last attempt I adjusted the xsd, and changed the name for the tag to 'performTransactionSearch'. In that case, both app servers accept the same request (the one w/o the 'Request'-suffix) & it works fine.
    Now...long story short ;) ... why is that? I understand why Jboss is not able to work with the "wrong" tag, even though it is strange that it accepts a tag that is not even defined in the xsd.
    But, at least to me, I found it even stranger, that weblogic "knows" which operation to invoke. Can anyone give a little insight how a soap message gets processed in wl & how wl finds out which operation to invoke?
    Many thanks in advance :).

    Hi
    I am seeing frequent FULL GC This is because you are creating and destroying objects VERY frequently. Try to look at your design and see where you can reuse objects (i.e. object pooling) if possible, that is if this is adversely affecting performance.
    and not able to locate
    which particular class/method is calling the
    System.gc(). Classes don't call GC. The VM handles that automagically.
    I have disabled it using
    -XX:DisableExplicitGC and performance issues have
    been resolved. Also, I noticed that it does not
    happen periodically, so it is not RMI GC. How to find
    out who exactly is doing this? Does any of of the
    profilers like Optimizeit/Jprobe help find out this.OptimizeIt will tell you everything you need to know. However, NetBeans offers a free profiler now!

Maybe you are looking for

  • Photoshop CS6 crashes when doing anything

    I can start it just fine, but it crashes when I open a new file. Happen on both x86 and x64. I find it weird that I can run After Effects CS6. But not photoshop, So please help me. System File: Adobe Photoshop Version: 13.0.1 (13.0.1 20120808.r.519 2

  • Bill of lading is not populating

    We are entering bill of lading information in MIGO but when we are posting invoice through MIRO Bill of lading field is empty. What can we do to it appear on the MIRO. Regards Ram

  • Urgent : Change in displayed column name of the Metadata

    Hi friends, I am required to dispaly a field called "Ansprechpartner" in my layout set. As I did not get any corresponding Metadata for it in the ContentManagement, I used the owner field instead. But the Deutche name for it on doing language change

  • IPhone 802.1x WiFi authentication problem

    my WiFi access works fine at home and almost all WiFi areas. but i go to school where wireless access is authenticated with a login and password. it works fine on my macbook. since the iPhone has OSX, i thought the school's WiFi would work on my iPho

  • Moved house, but my Home Hub still thinks I'm at t...

    We've recently moved, taking our Home Hub 3 with us. All's working fine, except that all location services on ITouch and iPad (including the BT WiFi Hotspot app) all still place our current location as the old address. The Hub has been reset (with pa