[Solved] Removing multiple entries from grub

Hi
There are many entries in my arch's grub boot loader:
Arch Linux pkg-linux kernel
*Arch Linux pkg-linux kernel (fallback initramfs)
Arch Linux
Advanced options for Arch Linux
Linux Mint 15
Advanaced options for Linux Mint 15
Microsoft Windows 7 Professional
But I also want to keep following three entries:
Arch Linux
Linux Mint 15
Microsoft Windows 7 Professional
How can I remove remaining entries from grub menu?
Regards
Last edited by zetrotrack000 (2014-03-11 20:01:45)

Grub2 menu entries are created by a set of scripts in /etc/grub.d
Your first 2 entries are standard for arch and are generated by the 10_archlinux script. The 10_archlinux script is distributed by arch. It exists because the standard 10_linux script does not always create reliable menu entries for arch.
Your other linux entries are generated by the 10_linux script which is distributed by grub upstream.
Your windows entry is generated by the os-prober script. That can just be left alone.
To sort out the redundant linux entries you could try disabling either of the linux scripts and regenerating the menu.
Alternatively, you could disable both linux scripts and define your menu entries manually in the 40_custom script. The syntax for custom menu entries is similar to that of grub legacy. See the grub wiki article for info.
Hope this helps!
Last edited by Chazza (2014-03-10 22:45:18)

Similar Messages

  • I cannot delete multiple entries from table

    Hi
    i am trying to delete multiple entries from table while keeping some data.
    for example I have the following table
    Plant                            Item
    US101                         777
    US101                         888
    US101                         999
    US101                         666
    I want to keep the  rows where the item is 777 and 888 for plant US101 and keep delete the rest data
    I wrote the following code
    Delete source_package where Plant = 'US101' and Item NE '777' or '888'.
    but all the rows get deleted.
    I tried deleting single row and it worked.
    Delete source_package where Plant = 'US101' and Item NE '777' .
    How can I delete multiple rows.
    thanks

    Hi Bhat Vaidya,
    Plz refer the following code.. IT will solve ur problem..
    REPORT  ZSDN_TEST.
    data: BEGIN OF it_data OCCURS 10,
            plant(4),
            item_num TYPE string,
          END OF it_data.
    data: str type string.
    data: it_final like it_data OCCURS 10 WITH HEADER LINE.
    it_data-plant = 'US01'. it_Data-item_num = 777.  append it_data.
    it_data-plant = 'US01'. it_Data-item_num = 888.  append it_data.
    it_data-plant = 'US01'. it_Data-item_num = 999.  append it_data.
    it_data-plant = 'US01'. it_Data-item_num = 666.  append it_data.
    delete it_data where plant = 'US01' and item_num ne 777 and item_num ne 888.
    LOOP AT it_data.
    write:it_data-plant,it_data-item_num.
    skip.
    ENDLOOP.
    Regards,
    Apoorv

  • Remove duplicate entries from dropdownlist in web dynpro abap

    How to remove duplicate entries from dropdownlist in web dynpro abap? Can someone please help me
    I have maintained the data in the z table wherein the records of particular fields are repeated but when i show that record in the Web Dynpro application dropdown list, the user should only be able to view the unique data for selection of that particular field.

    Hi,
    try this code in init method.
    use the
    Delete adjacent duplicates.
    <set the table>
    select <f1>  from <table> into TABLE <Itab> whre <condition>.
       DELETE ADJACENT DUPLICATES FROM <Itab> COMPARING <f1>.
         lo_nd_vbap->bind_table( new_items = <itab> set_initial_elements = abap_true ).

  • How to remove duplicate entries from Settings General iTunes Wi-Fi Sync?

    On my iPhone under Settings > General > iTunes Wi-Fi Sync there is a duplicate entry for my Mac. One is active, the other one shows options greyed out, as if it can't see the Mac on the network (although it's the same name). Is there a way to manually remove that entry from the iPhone?
    I am running iOS 7.0.4, and OS X 10.9.1, iTunes 11.1.3 on the Mac.

    iPhone 3G doesn't support Wi-Fi sync or IOS 5.1.1. You have to connect to iTunes using the dock connector to sync.
    Unless you have a iPhone 3GS or jailbroken.

  • How can I remove multiple hyperlinks from a slab of text?

    Hi everyone,
    I copy a lot of text from websites into Pages documents, and I'm looking for a way to remove multiple hyperlinks from a slab of text all at once without having to remove each hyperlink individually? This would save me a lot of time!
    Not sure if Pages actually has this feature - if not then it would be a good feature request. It would be similar to MS Word's function to clear a slab of text of all formatting (including hyperlinks).
    Any tips would be much appreciated!
    Thanks,
    -Chris

    Select all the text concerned. Then:
    This will stop them being live links but they will probably be blue and underlined. Click the underline button twice, and use the colour selector to turn them black.

  • HOWTO remove an entry from the node list...

    Hi all,
    does anybody know, howto remove an entry from the node list TAB ?
    I recentyl updated my system to 11.5.10.2 including enabling autoconfig.
    Now, concurrent processes won't start, because of two entries in the node list tab (yes, it's a single node installation!). There are two entries, one with the IP-address and one with the hostname.
    Can somebody tell me howto remove this obsolete entry?
    Thanks.

    1) Login as APPS user to SQL*Plus
    2) Issue the following:
    SQL> EXEC FND_CONC_CLONE.SETUP_CLEAN;
    SQL> COMMIT;3) Run AutoConfig
    For more details, please refer to:
    Note: 260887.1 - Steps to Clean Nonexistent Nodes or IP Addresses from FND_NODES
    https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=260887.1

  • TS4062 how do i remove duplicate entries from my phone directory?

    question; how do i remove duplicate entries from my phone directory?

    go to your contacts icon and choose the one you want to delate
    Choose edit, top right and go (scroll) to the bottom of the page and press delete contact

  • How do I remove multiple entries in the "Groups" index of contacts?

    How do I remove multiple entries in the "Groups" index of Contacts on the iPad?

    The Profile Manager is for all versions of Firefox you have installed - every Profile that is listed in the '''profiles.ini''' file will appear there. The location of the Profile folders has no effect on what the Profile Manager dialog window shows. There is no way to set it up relative to one program installation.
    Best thing to do is to have separate desktop shortcuts for each Profile / Firefox-version you want to use.
    http://kb.mozillazine.org/Shortcut_to_a_specific_profile

  • Cannot remove autocomplete entry from address bar; have already cleared history, and entry is not in the drop-down menu of the address bar either.

    I am having problems removing an autocomplete entry from my address bar; I have tried clearing my history, so it's no longer in that, and I do not have it bookmarked either, so it's not getting the URL from that location either. The autocomplete entry isn't even showing up in the drop down menu, so I can't even scroll through that to delete it.
    Basically, I want to be able to type "st" and go to "store.steampowered.com"; however, despite numerous times of typing in "st" and then going down into the drop-down menu to choose "store.steampowered.com", the bar continues to autocomplete "steamtrades.com", which is exceptionally annoying because I do not have that website bookmarked, or in my history, yet it continues to autocomplete to that address, which I do not want it to autocomplete to, and cannot figure out how to remove because I've already cleared my history multiple times, do not have it bookmarked, and it is not showing up in the drop down of the address bar for me to go down and force delete it.

    Did you try to remove some letters from steamtrades.com to see if that bring this entry up in the drop-down list?
    If it is not in the history then it might be present with a typed=1 flag indicating that you have typed or pasted it in the location bar.
    You can use the SQLite Manager extension in Firefox to inspect the places.sqlite file to see if this entry comes up in the moz_places table.
    *SQLite Manager: https://addons.mozilla.org/firefox/addon/sqlite-manager/
    <pre><nowiki>SELECT datetime(visit_date/1000000,'unixepoch') AS visit_date, url, title, visit_count, frecency
    FROM moz_places, moz_historyvisits
    WHERE moz_places.id = moz_historyvisits.place_id AND url LIKE '%steamtrades.com%'</nowiki></pre>

  • Remove duplicate entry from table

    Hello all,
    In my one table
    File Stage log (File_Stage_Log_ID int identity(1,1),File ID int ,Quarter_Date nvarchar(50),StageID int )
    have done duplicate entry by mistake on similar quarter_date 
    something like ..
    FILE_ID
    Quarter
    FILE_STAGE_LOG_ID
    STAGE_ID
    22401
    Dec-13
    233091
    450
    22401
    Dec-13
    244116
    420
    22401
    Mar-14
    233095
    450
    22401
    Mar-14
    237478
    405
    22401
    Jun-14
    237479
    405
    22401
    Jun-14
    233099
    450
    22401
    Sep-14
    233102
    450
    22401
    Sep-14
    237480
    405
    22401
    Dec-14
    237481
    405
    22401
    Dec-14
    227275
    420
    there are too many files which have the same duplicacy ..
    now , above you can see that dec -13 quarter coming twice for a single file 
    tell me the way to delete one entry from the table for a files 
    so that i have output at the end like ...
    FILE_ID
    Quarter
    FILE_STAGE_LOG_ID
    STAGE_ID
    22401
    Dec-13
    233091
    450
    22401
    Mar-14
    233095
    450
    22401
    Jun-14
    237479
    405
    22401
    Sep-14
    233102
    450
    22401
    Dec-14
    237481
    405
    Please help me with easiest possible way ..
    Dilip Patil..

    How do you determine which one out of duplicate to be kept? As per output it doesnt follow any pattern
    so it may be this
    --DELETE t
    SELECT *
    FROM
    SELECT ROW_NUMBER() OVER (PARTITION BY FILE_ID,Quarter_Date ORDER BY FILE_ID) AS Rn,*
    FROM FileStageLog
    )t
    WHERE Rn >1
    Run the select above to see records to be removed and once happy uncomment the delete, comment the select * and run the query to do the delete
    If it doesnt give expected records, explain on what basis you want to identify records to be deleted
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Trick to remove duplicate entries from tables ?

    hi.
    i have 53tables which are having duplicate entries and names of all 53 tables r listed in top_t table ?
    can any1 provide me solution to show and if possible ask for remove of those duplicates entries from each table if required ?
    daily i am removing duplicates manually ....its too tedious now !
    can any1 help me out ?

    Well, I suppose if the duplication is such that
    SELECT DISTINCT * FROM tablename;gives you the required result, then you could have a procedure that made a copy of the table, deleted/truncated the original, then inserted the distinct values back into it.
    In 10g you could even use flashback to avoid the temp copy - but it also means you can't use TRUNCATE so whether it's any more efficient I'm not sure. But just for fun and since it's urgent:
    CREATE OR REPLACE PROCEDURE dedupe_table
        ( p_table_name user_tables.table_name%TYPE )
    IS
        k_start_timestamp TIMESTAMP := SYSTIMESTAMP;
    BEGIN
        SAVEPOINT start_of_dedupe;
        BEGIN
            EXECUTE IMMEDIATE 'DELETE ' || p_table_name;
        EXCEPTION
            WHEN OTHERS THEN
                ROLLBACK TO start_of_dedupe;
                RAISE_APPLICATION_ERROR
                ( -20000
                , 'Error deleting ' || UPPER(p_table_name) ||
                   CHR(10) || DBMS_UTILITY.FORMAT_ERROR_BACKTRACE
                , TRUE );
        END;
        BEGIN
            EXECUTE IMMEDIATE
            'INSERT INTO ' || p_table_name ||
            ' SELECT DISTINCT * FROM ' || p_table_name || ' AS OF TIMESTAMP :b1'
            USING k_start_timestamp;
        EXCEPTION
            WHEN OTHERS THEN
                ROLLBACK TO start_of_dedupe;
                RAISE_APPLICATION_ERROR
                ( -20000
                , 'Error repopulating ' || UPPER(p_table_name) ||
                   CHR(10) || DBMS_UTILITY.FORMAT_ERROR_BACKTRACE
                , TRUE );
        END;
    END dedupe_table;
    SQL> select * from wr_test;
          COL1 C C
             1 A B
             1 A B
             2 C D
             2 C D
    4 rows selected.
    SQL> BEGIN
      2      dedupe_table('WR_TEST');
      3  END;
      4  /
    PL/SQL procedure successfully completed.
    SQL> select * from wr_test;
          COL1 C C
             1 A B
             2 C D
    2 rows selected.I make no claims for robustness, efficiency or human safety.
    Edited by: William Robertson on Sep 24, 2009 7:12 PM

  • Removing multiple entries with minimal overhead

    What is the best way to remove a set of entries from an optimistic cache with minimal messaging overhead? Right now, I'm calling myCache.keySet().removeAll(setOfKeys). Does tcmp coalesce all these removals into one messaging sequence, or are all of the keys processed separately? Is there a more efficient way for me to do bulk removal in an optimistic cache? Thanks.
         -pete

    Pete,
         Calling myCache.keySet().removeAll(setOfKeys) is the most optimal way indeed.
         At the moment the OptimisticCache service does not "bundle" the removals into one message, though all the messages are asynchronous (meaning that the client thread will not wait for the remove confirmations).
         Regards,
         Gene

  • Remove default entry from drop down

    How can i remove the default entry from a dropdown element?
    Florin

    Hi Florin,
    If you are using DropDownByKey, just setting the current selection to some key value will remove the default blank entry.
    wdContext.current<node name>Element().set<attribute>(<key value of the selected data>);
    This will set the value corresponding to this key as the currently selected one in the dropdown and along with this, the default entry will also disappear
    Hope this helps,
    Best Regards,
    Nibu.

  • How to remove an entry from crs_stat which is NOT in ocrdump

    Hi experts,
    Env; Sun Solairs 10
    RAC -- 2 node cluster
    verison 10.2.0.3.0
    CRS isused
    NO vendor clusterware
    I've 4 instances running on 10.2.0.3.0.. Creating a new DB on the same ORACLE_HOME using dbca. Hit into a bug 5886151 and aborted the install..
    NOW, there were some entries in ocrdump.. so used srvctl ro remove the database from CRS... OCTDUMPFILE is godd now..
    However., then I do crs_stat. I do see the below entries..
    NAME=ora.<<DBNAME>>.db
    TYPE=application
    TARGET=OFFLINE
    STATE=OFFLINE
    How to remove thsi entry???
    Thanks
    regards
    Natrajan

    There are "cap" files that contain the information on the resources in crs they are usually located in $CRS_HOME/crs/profile or $CRS_HOME/crs/public I have not tried this but I believe you can edit, remove, etc these files and then run the crs_register command pointing to the directory where the "cap" files are.
    If I were you I would probably contact Oracle support before doing this though. Unless this cluster is not being used currently and you can risk this type of operation on your own.

  • How to remove excise entry from excise register J2I9

    Dear Experts,
              I reverse the excise entry(which was posted by j1iex) through J1IH (other adj.) Now I want to remove the excise entry from excise register (J2I9).
    Regards
    Sanjay Verma

    Dear AKPT ji,
    Component version SAP ECC 6.0
    Sap version - 700,710,701,702
    Regards
    sanjay

Maybe you are looking for

  • Overclocking and the MSI K7N2 Delta ILSR

    Hi everyone, I wanna overclock my system. But, I've experienced several problems. Problem one: When i try to set my memory timings manual (3-3-3-8) in the BIOS, CPU-Z, Everest etc shows CL2.5.... instead of the CL3.0 that I've selected in the BIOS. T

  • Itunes crashes when iPod is plugged in.

    So I just got a new iPod, 160GB classic. It worked fine for a few days (although it prompted me to download itunes 9 which now makes cd ripping take upto 3 hours, but that's another story), I put some of the stuff I already had on my comp onto my iPo

  • FAQ: New feature overview

    This text guide helps you find most major new features in Photoshop CS. For a comprehensive video walkthrough, see this Ask A Pro session with Senior Product Manager Zorana Gee.  Retouching and transforming Content-Aware Move tool The Content-Aware M

  • HDTV for Outdoors

    What is the best choice for a HDTV for outside?  LCD, LED or Plasma?

  • Calling Bex Workbooks from the Web Dynpro

    Hi All, I'm calling Bex Workbooks from my dynpro using the following code: create reentrance ticket   call function 'CREATE_RFC_REENTRANCE_TICKET'     importing       ticket                 = l_ticket     exceptions       ticket_logon_disabled  = 1