Find the answer to your Linux question:
Results 1 to 6 of 6
Hi, I'm new to SUSE linux. I'm learning to build a new linux kernel. The first problema I'm having is when I try to copy the complied image to the ...
  1. #1
    Just Joined!
    Join Date
    Jan 2007
    Posts
    10

    How to make the /boot accessble?

    Hi,

    I'm new to SUSE linux. I'm learning to build a new linux kernel. The first problema I'm having is when I try to copy the complied image to the /boot directory I got a "Permission denied" message.

    How to make the /boot directory accessble?

    Regards,

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    you must be logged in as root or gain root privileges using 'su -'
    Code:
    su -
    copy files now.





    Casper
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined!
    Join Date
    Jan 2007
    Posts
    10
    Thanks Casper. But I tried to gain the root privileges by using 'su-' and another message came out "No such file or directory". I'm guessing the image is in my user directory(?) if so how to copy the image from a user directory to the /boot under root?

    Cheers,

  4. #4
    tpl
    tpl is offline
    Linux User
    Join Date
    Jan 2007
    Location
    cleveland
    Posts
    452
    well, if you're root, should be no problem
    if not, try "su" to become root
    the sun is new every day (heraclitus)

  5. #5
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    there is space between su and -.
    you can copy file from anywhere to anywhere after gaining root privileges.
    execute this
    Code:
    whoami
    su -
    whoami
    this will tell you if you are root or not.





    Casper
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  6. #6
    Just Joined!
    Join Date
    Jan 2007
    Posts
    10
    Thanks a lot!

Posting Permissions

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