Find the answer to your Linux question:
Results 1 to 8 of 8
Hi, I'm really new to Linux. I'm learning how to make a new linux kernel. When I try to copy the complied image to /boot directory (as the turorial suggested) ...
  1. #1
    Just Joined!
    Join Date
    Jan 2007
    Posts
    10

    The /boot directory

    Hi,

    I'm really new to Linux. I'm learning how to make a new linux kernel. When I try to copy the complied image to /boot directory (as the turorial suggested) I saw the "Permission denied" message.

    How to make the "boot" directory accessble?

    Cheers,

  2. #2
    Linux Enthusiast apoorv_khurasia's Avatar
    Join Date
    Feb 2005
    Location
    Laurasia
    Posts
    624
    Did you do it as root? Type this command on your prompt and post the output
    Code:
    ls -l /
    Post the line which tell us about /boot
    "There is no sixth rule"
    --Rob Pike
    Registered Linux User: 400426 home page

  3. #3
    Just Joined!
    Join Date
    Jan 2007
    Posts
    10
    drwxr-xr-x 3 root root 632 2007-01-28 01:45 boot

  4. #4
    Linux Enthusiast apoorv_khurasia's Avatar
    Join Date
    Feb 2005
    Location
    Laurasia
    Posts
    624
    Can you make sure that /boot is not mounted as a read-only partition? Check out /etc/fstab and post the line for /boot here (in case there is one). If not then please follow up.
    "There is no sixth rule"
    --Rob Pike
    Registered Linux User: 400426 home page

  5. #5
    Just Joined!
    Join Date
    Jan 2007
    Posts
    10
    when type /etc/fstab

    -bash: /etc/fstab: Permission denied

  6. #6
    Just Joined!
    Join Date
    Jan 2007
    Posts
    44
    The problem is you are running as a non root user, as per your post only teh root user has write permissions.

  7. #7
    Linux Enthusiast apoorv_khurasia's Avatar
    Join Date
    Feb 2005
    Location
    Laurasia
    Posts
    624
    /etc/fstab is a file. Use vi to open it.
    Code:
    # vi /etc/fstab
    "There is no sixth rule"
    --Rob Pike
    Registered Linux User: 400426 home page

  8. #8
    Just Joined!
    Join Date
    Jan 2007
    Posts
    10
    here is the display after type # vi /etc/fstab

    /dev/hda5 / reiserfs acl,user_xattr 1 1
    /dev/hda6 /home reiserfs acl,user_xattr 1 2
    /dev/hda2 /windows/C ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0
    /dev/hda3 swap swap defaults 0 0
    proc /proc proc defaults 0 0
    sysfs /sys sysfs noauto 0 0
    debugfs /sys/kernel/debug debugfs noauto 0 0
    usbfs /proc/bus/usb usbfs noauto 0 0
    devpts /dev/pts devpts mode=0620,gid=5 0 0

Posting Permissions

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