Find the answer to your Linux question:
Results 1 to 9 of 9
i'm new to linux and ubuntu. i use ubuntu 10.04 along with windows xp in a dual boot configuration. recently, i upgraded my kernel so now grub shows two boot ...
  1. #1
    Just Joined!
    Join Date
    Jun 2010
    Location
    lucknow,india
    Posts
    18

    how can i remove kernel boot options from grub

    i'm new to linux and ubuntu.
    i use ubuntu 10.04 along with windows xp in a dual boot configuration.
    recently, i upgraded my kernel so now grub shows two boot options of ubuntu with different two kernel versions. how do i remove the old kernel boot option?

    another thing:

    my volume control option disappeared from my top panel mysteriously.
    i tried to add it from the add to panel option but it did not work because there was no volume control option.

    yet another thing:

    is it possible to go directly to an absolute path on ubuntu?
    (for eg: /home/user/documents)
    like it is done in windows.
    thanks,
    rockager

  2. #2
    Linux Newbie
    Join Date
    Apr 2007
    Posts
    119
    Just edit the grub.conf file.

    Edit: grub.cfg in ubuntu I beleive

    Edit2: next post

  3. #3
    Linux Engineer nujinini's Avatar
    Join Date
    Apr 2009
    Posts
    1,230
    Hello and Welcome rockager!

    recently, i upgraded my kernel so now grub shows two boot options of ubuntu with different two kernel versions. how do i remove the old kernel boot option?
    Ubuntu 10.4 uses grub2.

    $ sudo nano /boot/grub/grub.cfg
    Password
    Add "#" at the start of the kernel lines you don't want to show up to comment them.
    You can also delete if you wish but it might be more conservative to just comment them (add #) at the start of the line so if ever you might want to use it, it would be not much trouble, so to speak.

    is it possible to go directly to an absolute path on ubuntu?
    (for eg: /home/user/documents)
    like it is done in windows.
    thanks,
    rockager
    I think it's possible to make shortcuts on your desktop to show ex. documents, videos, etc. Just like in windows. I hope I got your question.

    Sorry I don't have any ides on your concern for the "volume control"
    nujinini
    Linux User #489667

  4. #4
    Linux Newbie JosePF's Avatar
    Join Date
    Jun 2010
    Posts
    225
    Hello,

    The easier way to create a link to a folder is:
    go into folder that contains folder that you want to link, right button and create link (or something like that I have another language). Cut and paste in the desktop.

    Another method that might interest you is to open the folder, click bookmarks and add. Now always be on the panel places.

    To retrieve the sound icon:
    In the panel:
    System-->Preferences-->Early applications (I'm not sure of the name).
    Add button:
    Name and comment whatever you want and
    In command, you have to write gnome-volume-control-applet.

    Regards

  5. #5
    Just Joined!
    Join Date
    Jun 2010
    Posts
    36
    how do i remove the old kernel boot option?
    I would search in synaptic for linux-image - select the one you want to remove and mark for complete removal.

    I wouldn't edit the grub.cfg - when you get a new kernel, or anything else updates which leads to an update-grub - you'll get the other one back. grub.cfg is not for editing

    was no volume control option.
    10.04 has started to use the indicator applet's instead of notification-area for some things. The volume control appears to be one of them - install indicator-sound

  6. #6
    Linux Newbie JosePF's Avatar
    Join Date
    Jun 2010
    Posts
    225
    I'm agree with firbolg about kernels. But i'am always two kernel in case the latter fails to change something.

  7. #7
    Linux User hatebreed's Avatar
    Join Date
    May 2010
    Posts
    332
    I have edited grub.cfg many times without any issues, I would not uninstall the old kernel until your sure that everything is working correctly. putting a comment like mentioned earlier will not cause any issues. just my opinion though.

  8. #8
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    Editing grub.cfg file is not a good practice. grub.cfg is a read only file and by default, even root user can not edit it. One has to set its write bit before editing it.
    If you want to test new kernel for a few days before removing old, just keep both kernel entries in GRUB Menu.
    As firbolg suggested already, remove kernel through Package Manager apt-get or Synaptic instead of commenting it in grub.cfg file.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  9. #9
    Just Joined!
    Join Date
    Jun 2010
    Location
    lucknow,india
    Posts
    18
    thanks everyone!!
    i never expected such a quick response to my post and that too not one reply but seven!
    thanks for helping me.
    i found ubuntu much better than windows.
    i can't understand why windows is more popular.

    is there any way that i can contribute to the ubuntu community?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...