Results 1 to 7 of 7

Thread: /dev/null permission errors

  1. #1
    Member
    Join Date
    Oct 2003
    Posts
    55

    /dev/null permission errors

    Whenever I chroot into my remaster, I get the following:

    /bin/bash: /dev/null: Permission denied
    /bin/bash: /dev/null: Permission denied
    /bin/bash: /dev/null: Permission denied
    /bin/bash: /dev/null: Permission denied
    and so on.
    I've tried doing a chmod 777 /dev/null, I've tried doing chgrp and chown root /dev/null, and I still get the same error. I searched Google for solutions, but their problems were all fixed after a chmod 777, whereas mine still persists.
    I can delete /dev/null and it regenerates one and works, but then the remaster fails to work when installed onto the HD, and the regenerated /dev/null is quite odd - it's not even a device file. Any thoughts?

  2. #2

    RE

    U must mount the drive that u want to chroot with

    mount -rw /dev/hda1 /mnt/hda1

    changing hda1 with your specific devices
    good luck

  3. #3
    Member
    Join Date
    Oct 2003
    Posts
    55
    The drive's already mounted rw, and before you ask, I'm root.

  4. #4
    Junior Member
    Join Date
    Sep 2004
    Posts
    1
    Hi, if you speak french you might read this, because i had the same problem and did resolv it : http://www.lea-linux.org/pho/read.php?f=16&i=476&t=476

    If you don't understand french, or where is the solution of your problem, just ask. =)

  5. #5
    Member
    Join Date
    Oct 2003
    Posts
    55
    Well, I understood it (almost ), but where does it talk about /dev/null? It gives a guide to installation of Mandrake and use of Morphix, doesn't it?

  6. #6
    Member registered user
    Join Date
    Sep 2004
    Posts
    70
    One of the remastering procedures I read says about /dev/null permission errors to do this:

    mount -o remount,rw,nosuid -t ext2 /dev/hdaN /mnt/hdaN

  7. #7
    Junior Member
    Join Date
    Oct 2004
    Posts
    1

    remount -o dev

    in knoppix, if you mount /mnt/hdx, it is by default mouted with the nodev option, so /dev/null won't work there. Before chrooting, you should do mount -oremount,dev /mnt/hdxy

Similar Threads

  1. Many Errors at .xsession-errors file ...
    By mikekgr in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 06-30-2004, 08:01 AM
  2. webserver permission
    By wildcat in forum Networking
    Replies: 2
    Last Post: 09-24-2003, 02:27 AM
  3. X permission problems
    By ocilent1 in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 08-30-2003, 12:53 PM
  4. Dev Null Permission Problems
    By Ambrose in forum General Support
    Replies: 2
    Last Post: 06-04-2003, 12:00 PM
  5. debootstrap fails with non-writeable /dev/null
    By doelle in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 03-30-2003, 09:38 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
  •  


16GB Desktop RAM Upgrade Module - 1600MHz PC3-12800 UDIMM Non-ECC 2Rx8 Dual Rank picture

16GB Desktop RAM Upgrade Module - 1600MHz PC3-12800 UDIMM Non-ECC 2Rx8 Dual Rank

$39.79



A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$13.99



Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) XMP picture

Team T-FORCE VULCAN Z 16GB (2 x 8GB) 288-Pin PC RAM DDR4 3200 (PC4 25600) XMP

$35.99



HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin picture

HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin

$12.90



Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3 picture

Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3

$21.50



Crucial 16GB (2x 8GB) Kit DDR3L 1600MHz PC3-12800 UDIMM Desktop 240-Pin CL11 RAM picture

Crucial 16GB (2x 8GB) Kit DDR3L 1600MHz PC3-12800 UDIMM Desktop 240-Pin CL11 RAM

$23.33



8GB PC3L-12800S 1600MHz SODIMM DDR3 RAM | Grade A picture

8GB PC3L-12800S 1600MHz SODIMM DDR3 RAM | Grade A

$12.00



CORSAIR Vengeance RGB Pro 32GB (2 x 16GB) 288-Pin PC RAM DDR4 3600 (PC4 28800) picture

CORSAIR Vengeance RGB Pro 32GB (2 x 16GB) 288-Pin PC RAM DDR4 3600 (PC4 28800)

$79.95



Dell Memory Upgrade 16GB 1Rx8 DDR5 SODIMM 4800MHz ECC SNPCYXXPC/16G AC258275 RAM picture

Dell Memory Upgrade 16GB 1Rx8 DDR5 SODIMM 4800MHz ECC SNPCYXXPC/16G AC258275 RAM

$159.95



HyperX FURY DDR4 8GB 16GB 32GB 3200MHz PC4-25600 Desktop RAM Memory DIMM 288pins picture

HyperX FURY DDR4 8GB 16GB 32GB 3200MHz PC4-25600 Desktop RAM Memory DIMM 288pins

$72.93