[SOLVED] - grub2 hide/unhide

A mate has two win98 and one win95 on his first hard disk and a second hd for - ubuntu. To get M$ to see the correct C disk, grub legacy stanzas for any one of the win9x have always had to include two hide and one unhide command.
Ubuntu comes with grub2 and I thought I'd try super grub disk first and see whether I can boot all win9x - but no. SGD sees them but does not hide/unhide the relevant partitions so that it always boots the first win9x.
A bit of googling found parttool as part of grub2 command line possibilities which has a hidden+/- feature.
I won't be able to try this on his computer until this pm:
1) boot from SGD
2) go into CLI
3) use parttool to hide/unhide the relevant partitions (say hd0,2)
4) set root (hd0,2)
5) chainload +1
6) boot
And I should be good to go. Am I on the right track? Any advice of course welcome
PS.:
This is more of an exploratory/note taking thread with a view to a proper wiki entry if I succeed as there is nothing on google or the web out there that applies to grub2 CLI stuff.
Last edited by toad (2010-04-21 13:41:31)

Okay, this is solved, parttool did the trick on the grub CLI.
The following sequence hides the first two C disks and boots off the third - something super grub disk was not able to do automagically
parttool hd0,1 hidden+ boot-
parttool hd0,2 hidden+ boot-
parttool hd0,3 hidden- boot+
set root=hd0,3
chainloader +1
boot
EDIT:
WIKI entry
Last edited by toad (2010-04-21 13:55:05)

Similar Messages

  • How to Dynamically Hide-Unhide Report Details

    Is there a technique to hide/unhide data?
    I am creating a report that summarizes transaction data. The users want the opportunity to review the details behind the summary as the report is being reviewed.
    Is there a way to hide the detail data while providing a mechanism for the reviewer to view the detail as desired?
    TIA

    I have implemented this in BI Publisher enterprise and using the desktop version and I don't get this error..
    I did come across another thread that discusses this error. R12: Namespace prefix 'dhtml' used but not declared.
    Not sure if that addresses your setup and issue.. You can send me your template to [email protected] if you would like me to take a look.
    Thanks!

  • How to Hide / Unhide iGrid Applet

    I'm attempting to develop an irpt page which will feature two grids / applets.  The topmost grid will be visible upon initial load of the page.  Upon selecting a record from the top grid, I'd like to then unhide the bottom grid so that a user may select a row from it before then calling another page.
    I've tried all of the following methods to hide / unhide the grid but none appear to be working:
    1)  Set the style.display of the applet to 'none' and then set it to 'inline' after row selection of the top grid.
    2)  Set the column widths of the bottom iGrid to 0 and then use the document.iGrid-applet.ColumnWidths=x,y JS command after row selection of the top grid.
    3)  Set the initial width of the iGrid applet to 1 X 1 and then use the document.getElementById("applet-iGrid").style.width / height = 'xxxpx' after row selection of the top grid.
    None of these solutions work.  It appears that once the iGrid applet is loaded, none of these properties may then be utilized to change it's appearance.
    How can hide upon load and then subsequently unhide an iGrid applet??
    Thanks in advance,
    Randy

    Thanks Udayan - this worked. 
    Only other tidbit was that it appears you first have to set the style display to inline in the div tag (to ensure all subsequent object references to the grid are valid). 
    Then in the function called by the update event of your top iGrid applet, you have to hide the bottom iGrid/applet with the style="display:none" command.
    Then in the function called by the selection event of your top iGrid applet, you have to unhide the bottom iGrid/applet with the style="display:inline" command.
    This ensures the applet is first displayed (so that all references to the grid object are valid), hide it when the first (top) grid is displayed, and then unhide it when a row is selected from the first (top) grid.
    Thanks again,
    Randy

  • Hide/Unhide Button on a Custom Form?

    Hello!  I am looking for some ideas regarding the ability to hide/unhide a button on a custom form.  Ideally, I would like to create an authorization group, if a user is a member of the authorization group, they can see the button, if not, the button is hidden.  Is this something that can be done?  If not, does anyone have another way of doing this?  Thank you.

    Are you asking specifically for Smartforms, SAPforms, Interactive Adobe forms? Or generally about UI programming?
    Generally yes, this is possible and is also often done to give the user a more friendly interface to work with (without having to click on buttons, only to discover that they cannot use it anyway).
    Many standard transactions are developed in this way.
    Cheers,
    Julius

  • Hide/Unhide Column in WAD via Button

    Hi,
    I would like to create a Button in WAD that hides or unhides a certain column (key figure) from a DP in the WebReport. What is the INSTRUCTION to Hide/Unhide a column?
    Thanks for your help!

    Hi Andreas,
    Use Generic Navigation Block to hide or unhide a keyfigure.
    Use generic Navigation web item
    Assign the report to the data provider
    After execution select the navigation block and select the keyfigures and uncheck the check box for the keyfigure to be hidden.
    Regards
    RaM

  • HOW DO I HIDE & UNHIDE APPS PURCHASED IN APPS STORE PURCHASES LIST ON MY MAC

    HOW DO I HIDE & UNHIDE APPS PURCHASED IN APPS STORE PURCHASES LIST ON MY MAC? MAVERICKS 10.9.5...

    You need to reach level 3 (500 points) to add a custom avatar.
    As you collect reputation points, your status level increases and you receive additional privileges.
    Level
    Points
    Privilege
    1
    0
    2
    150
    Report posts
    3
    500
    Upload a custom avatar
    4
    1,000
    Attend conference calls
    5
    4,000
    Create User Tips
    6
    8,000
    Access the virtual MVP lounge. Attend in-person Communities meetups.
    7
    20,000
    8
    35,000
    9
    50,000
    10
    80,000+

  • Hide unhide rolemenu in web with only one link

    Hi together
    is it possible to hide unhide the role menu in web with only one link by using command urls?
    Regards,
    M. Erbil

    Hi Memo,
    use something like this:
    <!-- BW data source object tags -->
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="SET_PROPERTIES"/>
             <param name="TEMPLATE_ID" value="ROLEMENU"/>
             TEMPLATE PROPERTIES
    </object>
    <HTML>
    <HEAD>
    <TITLE>Rolemenu</TITLE>
          <link href="/sap/bw/Mime/BEx/StyleSheets/BWReports.css" type="text/css" rel="stylesheet"/>
         <script type="text/javascript" >
    /* This function switches the attribute HIDDEN (alternate Tablestyles) for item mytable 
    1. Get actual value for attribute  HIDDEN
    2. Send Commando with new attribute to BW Server  */
            function switch_visibility(mytable) {
             var prop = SAPBWGetItemProp(mytable);
             var visibility='X';
             if (prop != null){
                      for(i=1;i<prop.length;i++){
                                if (prop<i>[0] =="HIDDEN") visibility = prop<i>[1];
                if (visibility =='X')  {
                               visibility=' '
                else
                            visibility = 'X';
                SAPBWOpenURL(SAP_BW_URL_Get() +'&item=' + mytable +'&HIDDEN=' + visibility);            
         -->
         </script>
    </HEAD>
    <BODY>
    <P> <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="ROLEMENU_1"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_MENU"/>
             <param name="WIDTH" value="335"/>
             <param name="GENERATE_CAPTION" value=""/>
             <param name="TARGET" value=""/>
             <param name="HEIGHT" value="285"/>
             <param name="IFRAME" value="X"/>
             <param name="IFRAME_STYLE" value="X"/>
             <param name="HIERARCHY_COLOR" value=""/>
             <param name="DIFF_ICONS" value=""/>
             ITEM:            ROLEMENU_1
    </object> </P><!&mdash;Include a button in HTML with id mybutton1. By clicking on link the function switch_visibility for item ROLEMENU_1 will be executed &agrave;
    <table class="SAPBEXBtnStdBorder" cellspacing="0" cellpadding="0" border="0"><tr><td>
    <table>
    <tr>
       <td class="SAPBEXBtnStd"   id="mybutton1" > <A href="javascript:switch_visibility('ROLEMENU_1');" >show / hide menu</A> 
       </td>
    </tr>
    </table> 
    </td>
    </tr></TABLE><!&mdash;  call function set_button, to set the correct style class for button  mybutton1 &agrave;
    <script type="text/javascript" >
    <!--
          set_button('ROLEMENU_1', 'mybutton1');
    --></SCRIPT>
    </BODY>
    </HTML>
    Regards,
    Adem

  • Hide/Unhide Email Account

    I think there are many times in one's life where it would be great to be able to hide/unhide an email account (without actually deleting it). For instance, when one is on vacation and doesn't want to be "in touch" with what is going on at work via your mobile device which we often use for both work and personal purposes. It would be great if this feature were available with the next iPhone OS update. I think many people would find it of benefit. Hopefully this will get done!

    ?? You can already do this. In settings, just go into the settings for a particular email account, and turn it off. When you launch the mail app and it updates, any account turned "off" will not show up. To get it back, just go back into it's settings and turn the account back "on" (it's just a slider switch).
    Unless I am completely misunderstanding what you want.

  • Hide/Unhide Iterative Rows

    Hi,
    I have a table with two iterative rows.But they are supposed to be displayed based on some criteria.Is there any way to hide/unhide them?.Tried with
    "this.presence='visible' on Row.form load event.
    Thanks in Advance.

    Hi Niall,
    I was unable to upload the file to workscpace.My form has a table with 3 rows where row2 and row3 are iterative rows with xml like this
    <DATA>
    <Details>
    <Documents>
      <Documentname>Doc1</Documentname>
      <DocumentTitle>Title</DocumentTitle>
      <DocumentType>INDIVIDUAL</DocumentType>
      <DocumentInclude>Y</DocumentInclude>
    </Documents>
      <Documents>
      <Documentname>Doc2</Documentname>
      <DocumentTitle>Title</DocumentTitle>
      <DocumentType>INDIVIDUAL</DocumentType>
      <DocumentInclude>N</DocumentInclude>
    </Documents>
      <Documents>
      <Documentname>Doc3</Documentname>
      <DocumentTitle>Title</DocumentTitle>
      <DocumentType>COMPANY</DocumentType>
      <DocumentInclude>Y</DocumentInclude>
    </Documents>
      <Documents>
      <Documentname>Doc4</Documentname>
      <DocumentTitle>Title</DocumentTitle>
      <DocumentType>COMPANY</DocumentType>
      <DocumentInclude>Y</DocumentInclude>
    </Documents>
       </Details>
      </DATA>
    I wanted to display row2 based on conditions that "Documenttype='INDIVIDUAL' and DocumentInclude='Y'" similarly i wanted to display row3 based on "Documenttype='COMPANY' and DocumentInclude='Y'".
    Regards,
    Anusha

  • Hide/Unhide photo shortcut?

    Is there a Hide/Unhide photo keyboard shorcut? There is none listed on the shortcut list.
    Having a shortcut would seem critical for a good workflow: View your Album/Event full screen and just press next and (if necessary) hide the photo...
    I guess the other alternative would be to add it myself using Keyboard Shortcuts under Keyboard and Mouse in the System preferences.
    [Edit] Nevermind - just found it - Command L [/Edit]

    Hi Hannes,
    Use the menu Edit >> Keyboard Shortcuts to modify/create new shortcut keys for the menu commands in AI.
    Just select the option "Menu Commands" in the drop-down list and modify/create them accordingly.
    With Best Regards,
    Raghuveer

  • Page hide Unhide in acrobat

    Is  it possible to hide/unhide page in acrobat? How can I do?
    Can it work in reader?
    Please help me....

    As it has been said, Acrobat can do it rather easily.
    For Reader, there are some possibilities.
    • You have access to the Reader Extensions Server (or whatever they call it today), and then you can spawn Template pages, and delete them again in Reader.
    • You work with "virtual pages", by making the pages the icons of page-sized Button fields, and provide according navigation tools. Showing/hiding fields works in Reader without the need of any additionsl rights. It may, however, be a little bit unusual for the users.
    HTH.
    Max Wyss.

  • Hide/Unhide Columns in WEBI Report output

    We have a WEBI report which has 2 columns/measures to display the cost in EUR and USD. User would like to have the flexibility to filter the column so as to display USD or EUR cost column. Is it possible to hide/unhide column in WEBI. Can we have a input control on multiple measures so that user can dynamically select which measures they want to see on report.
    Its possible in BEx Analyser using filter option on key figure. Is simillar functionality available in WEBI? We're on BO 3.1 XI. Is thre any other way to achieve this?
    Thanks,
    Milind

    hi,
         i think it is not possible to hide a column based on condition. but in webi 4.0 u have an option using which, u can hide/ show a table based on the user selection. in ur scenario, create two tables, one with value in USD and other in EU, super impose the table. then right onthe table and select "Format cell". in that u ll have a option to hide the table based on condition. select that and apply the condition.
    see the follwoing url for more info : http://bihappyblog.com/2011/11/05/dynamic-visibility-in-webi/
    thank u,
    Edited by: aady89 on Mar 9, 2012 7:39 AM

  • How to hide ,unhide columns  in ALV List

    Hi all,
    How to hide ,unhide columns  in ALV List..
    Plz guide me.
    Thanks in advance..
    Albert

    Hi Joseph,
    Check the following thread:
    Hide Unhide columns of ALV grid Report.
    Regards,
    Archana

  • JavaScript - How to collapse/uncollapse (hide/unhide) the top menus in SharePoint 2010?

    Hi there,
    I will appreciate if someone can provide JavaScript that can hie/unhide the top ribbon and navigation menu? (SharePoint 2010)
    Thanks.

    Hi,
    By investigating the page source, we can see that the Ribbon is corresponding to the <div> whose id is “s4-ribbonrow”, the Top Navigation is “zz17_TopNavigationMenuV4”,
    then we can change the style these two elements to hide/unhide them.
    The links below with code demos about
    how to hide/unhide page elements using JavaScript for your reference:
    http://www.w3schools.com/jsref/prop_style_visibility.asp
    http://www.javascriptkit.com/javatutors/dom3.shtml
    http://www.dustindiaz.com/seven-togglers/
    Here is a link about
    how to find a specific element on a page using JavaScript:
    http://javascript.info/tutorial/searching-elements-dom
    Feel free to reply if there still any questions.
    Best regards
    Patrick Liang
    TechNet Community Support

  • How to hide/unhide the all Treenodes on Treeview based on Checkbox changed event in Sharepoint custom webpart Sitecollections

    How to  hide/unhide the all Treenodes on Treeview based on Checkbox changed event?
    Checkbox(Control)
    1.Checkbox Checked:(Action below like)
     if user click on  Checkbox, all the treenodes on treeview is hide.
    2.Checkbox Unchecked(Action below like)
    If user uncheck the Checkbox  all the treenodes on treeview is unhode.
    Could you please help me how to do above one.
    Badri

    Hi,
    According to your post, my understanding is that you want to hide/show the TreeView when the Checkbox checked/unchecked.
    We can use jQuery to achieve it, the following script for your reference:
    <script src="http://code.jquery.com/jquery-1.10.2.min.js" type="text/javascript"></script>
    <script type="text/javascript">
    $(function () {
    $("input[type=checkbox]").click(function () {
    if (this.checked) {
    $("#TreeViewID").hide();
    } else {
    $("#TreeViewID").show();
    </script>
    More information:
    http://dineshsharepoint.blogspot.com/
    Best Regards
    Dennis Guo
    TechNet Community Support

Maybe you are looking for

  • Happy Birthday PlayBook

    Its been a fun 2 years now and still my most fav tablet. Click here to Backup the data on your BlackBerry Device! It's important, and FREE! Click "Accept as Solution" if your problem is solved. To give thanks, click thumbs up Click to search the Know

  • Creating an infinity effect

    I'm trying to create an infinity effect with my background layers and have no idea how to do it. My animation is reasonably simple...a camera tracks into a text layer. I have placed two gradient layers in the background as a floor and a wall. The flo

  • IP SLA Not enabled

    Hello friends, In IPM i have discovered all devices fron CS but only 4 are IP SLA enabled,It is showing for 3switches 3560 POE switch Model              SW Version              SW Image WS-C3560G-48PS     12.2(35)SE5             C3560-IPBASE-M and fo

  • Pad super sensitive to "clicking"

    There is no easy to describe it. Started two days ago: 1) You know the function where double-click allows you to cover a word/sentense/paragraph? Somehow just by moving my finger across the pad would frequently activate that function. I would be movi

  • Where is the stroke?

    in this tutorial : http://angelsgrafica.forumfree.it/?t=30892165 there is written: "Clicchiamo 2 volte sul livello della scritta Andiamo su Modifica-----> traccia": We click 2 times on the level of written ----- Let's go to Edit> Stroke how can I do