Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: V4 and /grub/boot/menu.lst

  1. #1
    Member registered user
    Join Date
    Dec 2005
    Posts
    41

    V4 and /grub/boot/menu.lst

    When I use Knoppix V4 to edit file , I received this message :

    You do not have enough permission to read file://mnt/hdb4/boot/grub/menu.lst

    How can I get root previlidge to modify the file ?

  2. #2
    Member registered user
    Join Date
    Dec 2005
    Posts
    41
    Any idea or help ?

  3. #3
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY USA
    Posts
    1,510
    Two ways:
    1.) First become root. use the command: su -
    Then change the root password: passwd
    Enter the new password twice, then exit: exit
    now use KDEsu to run a editor as root: kdesu kate /mnt/hdb4/boot/grub/menu.lst

    2.) Or use sudo: sudo kate /mnt/hdb4/boot/grub/menu.lst

  4. #4
    Member registered user
    Join Date
    Dec 2005
    Posts
    41
    Thanks for that ....I am going to try it and let you know.

    Why can't I use :

    gedit /boot/grub/menu.lst

  5. #5
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY USA
    Posts
    1,510
    Oh its also possible that the /mnt/hd4 is mounted read-only. So that too might prevent you from changing (writing) to a file.
    Why can't I use: gedit /boot/grub/menu.lst
    That file is quite important & special to the system. It probably has permissions & owership to prevent non-priviledged users (non-root users) from making changes to it. Do a:
    ls -l /boot/grub/menu.lst
    and it will probably look something like:
    Code:
    -rw-------  1 root root 775 Aug 11  2004 menu.lst

  6. #6
    Member registered user
    Join Date
    Dec 2005
    Posts
    41
    knoppix@0[knoppix]$ su
    root@0[knoppix]# passwd
    Enter new UNIX password:
    Retype new UNIX password:
    passwd: password updated successfully
    root@0[knoppix]#
    root@0[knoppix]#
    root@0[knoppix]# kdesu kate /mnt/hdb6/boot/grub/menu.lst
    mkdir: Owner of /tmp/.ICE-unix should be set to root
    DCOPClient::attachInternal. Attach failed Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
    ICE Connection rejected!

    DCOPClient::attachInternal. Attach failed Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
    DCOPServer self-test failed.
    kdeinit: DCOPServer could not be started, aborting.
    kate: ERROR: KUniqueApplication: Can't setup DCOP communication.
    root@0[knoppix]# ICE Connection rejected!


    root@0[knoppix]#
    root@0[knoppix]# sudo kate /mnt/hdb6/boot/grub/menu.lst
    mkdir: Owner of /tmp/.ICE-unix should be set to root
    DCOPClient::attachInternal. Attach failed Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
    ICE Connection rejected!

    DCOPClient::attachInternal. Attach failed Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
    DCOPServer self-test failed.
    kdeinit: DCOPServer could not be started, aborting.
    kate: ERROR: KUniqueApplication: Can't setup DCOP communication.
    root@0[knoppix]# ICE Connection rejected!

  7. #7
    Member registered user
    Join Date
    Dec 2005
    Posts
    41
    Then I found option called "root shell",,,I opened that one and I typed in:

    vim /mnt/hdb6/boot/grub/menu.lst,,,,,,,,,,,,,,,,,,,,,,,it did work,,,

    nedit /mnt/hdb6/boot/grub/menu.lst,,,,,,,,,,,,,,,,,,,,,,,it did work as well.

  8. #8
    Member registered user
    Join Date
    Dec 2005
    Posts
    41
    vim /mnt/hdb6/boot/grub/menu.lst,,,,,,,,,,,,,,,,,,,,,,,it did work,,,

    nedit /mnt/hdb6/boot/grub/menu.lst,,,,,,,,,,,,,,,,,,,,,,,it did work as well.
    Yes I can read it,,,but today I realized that I can not modify it,,,,what should I do to overcome this issue ?

  9. #9
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    Long Island, NY USA
    Posts
    1,510
    things to check:
    do you have permissions to write it? Are you root user? And if you are not root user, then either become root user or use sudo.
    Next, is /mnt/hdb6 mounted read only? If so, then even root user can not write to it? Remount it as writeable

  10. #10
    Member registered user
    Join Date
    Dec 2005
    Posts
    41
    Are you root user? And if you are not root user, then either become root user or use sudo.
    Yes I am root user.

    Next, is /mnt/hdb6 mounted read only? Remount it as writeable
    Could you please explain ,what should I do to check and how can I mount it again?

Page 1 of 2 12 LastLast

Similar Threads

  1. how to edit&save menu.lst (grub)??
    By jv_guano in forum Hardware & Booting
    Replies: 3
    Last Post: 08-01-2009, 06:17 AM
  2. no /boot/grub/menu.lst
    By tjapko in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 12-09-2007, 09:05 PM
  3. booting with add to grub/menu.lst
    By srbanator in forum Hardware & Booting
    Replies: 0
    Last Post: 10-30-2005, 07:53 AM
  4. Where is /boot/grub/menu.lst in knoppix 3.7
    By dimpflmoser in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 01-05-2005, 04:22 AM
  5. Grub loads, but doesn't display menu.
    By rbivins in forum General Support
    Replies: 7
    Last Post: 03-26-2004, 08:43 PM

Posting Permissions

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


IBM System X3850-X5 Server w/4x Intel  Xeon E7-4870 CPU , 512 GB DDR3 RAM,NO HDD picture

IBM System X3850-X5 Server w/4x Intel Xeon E7-4870 CPU , 512 GB DDR3 RAM,NO HDD

$1599.99



IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5

IBM QRadar xx29 2x Xeon E5-2650v4 2x 900W PSU M5120 12x 3.5" Bay Server No RAM

$179.99



DELL POWEREDGE HP IBM SERVER XEON GOLD 5315Y 8 CORE PROCESSOR 3.2 GHZ SRKXR picture

DELL POWEREDGE HP IBM SERVER XEON GOLD 5315Y 8 CORE PROCESSOR 3.2 GHZ SRKXR

$1100.00



IBM ADP Server Type 7870 AC1 NO HDD | 128GB RAM PC3L | 2 x Xeon  E5620 picture

IBM ADP Server Type 7870 AC1 NO HDD | 128GB RAM PC3L | 2 x Xeon E5620

$199.99



IBM X3650 M5 5462-AC1,2 X E5-2640V3 2.6GHZ 8C, 16 GB, DUAL 750W, 2 X 1TB SERVER picture

IBM X3650 M5 5462-AC1,2 X E5-2640V3 2.6GHZ 8C, 16 GB, DUAL 750W, 2 X 1TB SERVER

$349.99



IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES picture

IBM SYSTEM X3500 M3 SERVER 7380AC1 TOWER Server XEON E5620 8GB RAID SEE NOTES

$111.70



IBM System x3550 M3 1U Server 2x Xeon E5645, 192GB RAM, 2x 300GB HDD (7944-AC1) picture

IBM System x3550 M3 1U Server 2x Xeon E5645, 192GB RAM, 2x 300GB HDD (7944-AC1)

$150.00



Lot of 4 IBM 00LP740 32GB DDR3 CDIMM Server DRAM  MT80KLF4G72MDZ-1G6N1B50A picture

Lot of 4 IBM 00LP740 32GB DDR3 CDIMM Server DRAM MT80KLF4G72MDZ-1G6N1B50A

$109.95



IBM X3650 M4 Server System Board 00MX553 00AM209 00Y8499 00Y8457 00D2888 00W2671 picture

IBM X3650 M4 Server System Board 00MX553 00AM209 00Y8499 00Y8457 00D2888 00W2671

$230.00



IBM System x3755 M3 2U Rackmount Server – No Drives or Trays picture

IBM System x3755 M3 2U Rackmount Server – No Drives or Trays

$150.00