Announcement

Collapse
No announcement yet.

Unable to edit grub [mime-type error?]

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Unable to edit grub [mime-type error?]

    Hello,

    Trying to edit grub but I get the warning/error messages below and the file does not open. Is there a cure for this?

    (sudo edit /etc/default/grub)
    Warning: unknown mime-type for "/etc/default/grub" -- using "application/octet-stream"
    Error: no "edit" mailcap rules found for type "application/octet-stream"

    Thanks!

    Rob

    PS. Regarding Kubuntu 14.04

    #2
    If you want to edit the file in a user-friendly editor, then use:

    Code:
    kdesudo kate /etc/default/grub
    Last edited by Snowhog; Aug 03, 2014, 07:17 PM.
    Using Kubuntu Linux since March 23, 2007
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #3
      Originally posted by Snowhog View Post
      If you want to edit the file in a user-friendly editor, then use:

      Code:
      kdesudo kate /etc/default/grub

      Splendid, thanks !

      /Rob

      Comment


        #4
        yea. whats with the edit command?
        unless you're in dos 6.2 P)
        K 14.4 64 AMD 955be3200MHz 8GB 1866Mhz 6TB Plex/samba.etc.+ Macbook Air 13".

        Comment


          #5
          kdesudo kate is great,

          sudo nano /etc/default/grub might be slightly faster, depending on how much editing youre doing
          K 14.4 64 AMD 955be3200MHz 8GB 1866Mhz 6TB Plex/samba.etc.+ Macbook Air 13".

          Comment


            #6
            Originally posted by millusions View Post
            yea. whats with the edit command?
            unless you're in dos 6.2 P)
            Do you really need to know? ;-)

            Comment

            Working...
            X