Results 1 to 9 of 9

Thread: MOUNT /USR

  1. #1
    Senior Member registered user
    Join Date
    Jan 2006
    Location
    California, USA
    Posts
    122

    MOUNT /USR

    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?

  2. #2
    Senior Member registered user
    Join Date
    Nov 2002
    Location
    USA, IL
    Posts
    1,041

    Re: MOUNT /USR

    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 '

    Quote 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?

  3. #3
    Senior Member registered user
    Join Date
    Jan 2006
    Location
    California, USA
    Posts
    122

    sudo problem

    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

    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
    also, what exactly is meant my "not a block device"

  4. #4
    Senior Member registered user
    Join Date
    Apr 2004
    Location
    Germany
    Posts
    100
    You've got the parameters wrong: mount <device> <mountpoint>, not the other way around.

  5. #5
    Senior Member registered user
    Join Date
    Jan 2006
    Location
    California, USA
    Posts
    122
    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?

  6. #6
    Senior Member registered user
    Join Date
    Jan 2006
    Location
    California, USA
    Posts
    122
    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

  7. #7
    Senior Member registered user
    Join Date
    Jan 2006
    Posts
    135

    MOUNT /USR

    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.

  8. #8
    Senior Member registered user
    Join Date
    Jan 2006
    Location
    California, USA
    Posts
    122
    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

  9. #9
    Senior Member registered user
    Join Date
    Jan 2006
    Posts
    135

    MOUNT /USR

    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.

Similar Threads

  1. nfs mount: mount: RPC: Program not registered
    By markpelletier in forum Networking
    Replies: 0
    Last Post: 10-31-2005, 07:06 PM
  2. How To Mount
    By Wassim in forum Hardware & Booting
    Replies: 2
    Last Post: 02-03-2005, 03:59 PM
  3. Can't Mount USB hdd
    By nemof in forum Hardware & Booting
    Replies: 0
    Last Post: 05-07-2004, 02:37 PM
  4. mount-aes ???
    By Superstoned in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 09-16-2003, 09:13 PM
  5. Can't mount over nfs
    By beaky in forum General Support
    Replies: 3
    Last Post: 03-07-2003, 01:34 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
  •  


Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot picture

Kingston 32GB 64GB 128GB 256GB USB 3.0 Flash Drive Thumb Memory Stick Pen lot

$285.90



SanDisk Ultra Luxe USB 3.1 Flash Drive – 5 Pack | Premium Metal USB Flash Drives picture

SanDisk Ultra Luxe USB 3.1 Flash Drive – 5 Pack | Premium Metal USB Flash Drives

$59.99



1/ 10/ 100pcs USB 2.0 2GB, 4GB ,8GB ,16GB ,32GB ,64GB 128GB USB Flash Drives Lot picture

1/ 10/ 100pcs USB 2.0 2GB, 4GB ,8GB ,16GB ,32GB ,64GB 128GB USB Flash Drives Lot

$269.10



Microsoft Windows 11 Pro 64bit - New Sealed – Flash USB 1 PC picture

Microsoft Windows 11 Pro 64bit - New Sealed – Flash USB 1 PC

$49.99



USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack picture

USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack

$826.09



USB Type-A Flash Drive Metal Memory Stick High Speed USB Drive 128GB 256GB 512GB picture

USB Type-A Flash Drive Metal Memory Stick High Speed USB Drive 128GB 256GB 512GB

$8.47



Wholesale 5/10/100PCS 1MB- 64GB USB 2.0 Flash Drive Memory Stick Jump Drive Lot picture

Wholesale 5/10/100PCS 1MB- 64GB USB 2.0 Flash Drive Memory Stick Jump Drive Lot

$280.00



LOT 10x SanDisk 32GB ULTRA USB 3.0 flash drive SDCZ48-032G 32 GB read 100 MB/s picture

LOT 10x SanDisk 32GB ULTRA USB 3.0 flash drive SDCZ48-032G 32 GB read 100 MB/s

$39.80



2021 Full Version Office Professional Plus for 1 PC Flash USB Drive picture

2021 Full Version Office Professional Plus for 1 PC Flash USB Drive

$59.99



128GB USB 14-in-1 MacOS bootable Installer repair recovery tech support service picture

128GB USB 14-in-1 MacOS bootable Installer repair recovery tech support service

$39.99