[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /dev/null: Permission denied



On Sat, Oct 01, 2005 at 07:11:55PM +0400, Mohammad Moghimi wrote:
> Hi
> I have started to remaster knoppix:
> boot my computer with a knoppix bootable cd.
> then mount a harddisk partition(say hda1).
> then
> 
> code:
> 
> mkdir /mnt/hda1/source
> mkdir /mnt/hda1/source/KNOPPIX
> cp -Rp /KNOPPIX /mnt/hda1/source/KNOPPIX
> 
> 
> then when I try to chroot to copied knoppix:
> 
> 
> chroot /mnt/hda1/source/KNOPPIX
> 
> 
> It gives me error message:
> 
> 
> /dev/null: Permission denied
> /dev/null: Permission denied
> /dev/null: Permission denied
> /dev/null: Permission denied
> /dev/null: Permission denied
> .
> .
> .
> 
> 
> I checked the permission of /dev/null. but there is no problem in its
> permissions.
> What should I do to fix this problem?

mount -o remount,suid,dev /mnt/hda1

(or, just don't forget these options when you mounted /mnt/hda1 the first time).

With kind regards
-Klaus Knopper



Reply to: