omgwtfbbq...
--You need to BE root to do that...
--Root logins are available at Ctrl-Alt-F1 thru -F4, or prefix the command with ' sudo '
Originally Posted by dvryknopper
I am trying to mount my /usr directory in order to be able to install programs for knoppix persistenly, after I have rebooted the machine, but whenever I go to mount the drive : knoppix@1[/]$ mount /usr /mnt/uba1 I get an error:
mount: only root can do that
The error appears even when I am in the root directory, is there something I am missing, what do I need to do in order to be able to mount correclty here?
omgwtfbbq...
--You need to BE root to do that...
--Root logins are available at Ctrl-Alt-F1 thru -F4, or prefix the command with ' sudo '
Originally Posted by dvryknopper
Well, I tried using the sudo prefix to mount the /usr directory to the drive, but I still got an error, I realize that this is probably because I am not typing the command correctly, or I am not using the correct file paths, here is what I typed, if anyone could offer any ideas as to why the sudo prefix didn't work to solve the problem please post it here![]()
also, what exactly is meant my "not a block device"Code:sudo mount /usr /mnt/uba1 mount: /usr is not a block device sudo mount /usr /dev/uba1 mount: /usr is not a block device
You've got the parameters wrong: mount <device> <mountpoint>, not the other way around.
Thankyou for correcting my syntax error, I got the folder to be mounted to the uba1, but now I ge the following error whenever I try to access the desktop or edit files on the desktop:
Service
'/UNIONFS/usr/share/applications/kde/kwrite.desktop' is
malformatted.
Does the above error mean that I need to reformat the drive in some special way before mounting /usr to the uba1 without causing errors?
Oh yeah, if this helps anybody out in responding to my last post, I am using knoppix 3.8 and I am mounting the /usr directory to a fat32 formatted 64mb usb thumdrive
First let's understand that you are mounting your usb drive (/dev/uba1) at /usr. It is important to realize that /usr is just a directory and that you have chosen to ignore what is already there and use the namespace as a mount point for your external drive. In other words, you are not mounting the /usr directory, you are mounting your thumbdrive at /usr. This should clear up some confusion here.
Having said that, anything previously in the /usr directory will now be ignored. The _malformatted_ message you are receiving references the .desktop file, not your filesystem. There is much in the /usr directory that knoppix expects to find there. Find another mount point.
So, if I had an image file of the /usr directory, or a copy of the file present of the /usr directory of the cd, then mounting it would work properly then correct? And thank you for the reminder about mount points, I took a unix class about a year and a half ago, but have forgotten alot
Per my previous post, forget the /usr directory _find another mount point_. This could be done, however, you would be remastering the knoppix system on the fly and this distro was never meant to be manipulated this way.
You seem to wish a persistent /home/user directory which see hundreds of posts here for assistance.
You can certainly put executables in your home directory as long as any required libraries are present in your system and the application knows where to find them.

Dell PowerEdge FX2s + 8x FC430 Blades 16x E5-2630v4 160 Cores Rails No PSU/RAM
$699.00
NETAPP HCI NAF-1701 SuperMicro Server 4X BLADE H410C 8X GOLD 5120 - 4X S25G NICs
$1999.97
Dell PowerEdge FC430 Blade Server 2x Xeon E5-2630v4 20 Cores FX2 FX2s No RAM/HDD
$119.99
Lot of 3 Dell PowerEdge Blade Server HHB005 x2 HHB006 x1
$256.49
LOT (8) Cisco UCS UCSB-B200-M5 2x6248R 24 core 3.0G 24x64g DDR4-2933 ram
$112000.00
Dell PowerEdge FX2 FX2s Server 10GbE CMC Blade Enclosure Chassis
$274.99
Dell PowerEdge M620 Blade Server 2x Xeon E5-2680v2 2.8ghz 20-Cores | 128GB
$149.99
Dell PowerEdge VRTX Rackmount Chassis w/4x PSUs 2x CMC Modules
$399.98
Dell PowerEdge M630 Blade Server 2x Xeon E5-2680 v4, 2F3MP , 4GDP5 ,R10KJ ,JVFVR
$96.60
ASUS Blade Server LAN Web Remote Management KVM Module Chip IPMI 2.0 ASMB9-iKVM
$49.99