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
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?
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
The drive's already mounted rw, and before you ask, I'm root.
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. =)
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?
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
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
Knoppix 9.1 Live Linux GNU Bootable USB Flash Drive USA
$14.77
$10.20
Knoppix Live GNU Linux System 9.1 on Bootable CD / DVD / USB Flash Drive
$9.99
Linux Knoppix 4.0.2 Installation Disc
$39.99
$8.50
Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 16G USB Stick
$19.95
KNOPPIX 9.1 LINUX INSTALL & LIVE DVD
$9.99
Acer Aspire One 9 inch Netbook ZG5 512MB RAM 8GB SSD HD Knoppix Linux WiFi VGA
$79.99
Knoppix Linux Bootable OS v8.6 "Original Live Operating System" 32G USB Stick
$20.30