Debian :: Cannot Mount Volume Other Than FileSystem?
Jul 20, 2010
I have installed debian recently and not able to mount any other volume except FileSystem. It says -You are not privileged to mount this volume.I have tried everything including raising the permissions of the user and changing the group to root but in vain.??
How do I configure my Debian installation to mount external USB drives to mount points based on the volume names of the drives? For instance, if I have a thumb drive with the volume name of "SWORDFISH," how do I have Linux mount it at /media/SWORDFISH? I'm aware that this can be setup in FSTAB, but that requires that I know the UUID of the device beforehand and that I take the time to set each external device up in FSTAB first. That does nothing for me when I have a thumb drive that has never been plugged into my computer before.
This seems to be setup by default in Ubuntu/Kubuntu, but is not working for me with a fresh installation of Debian Squeeze and KDE4. I've spent the past 2 hours Googling for a solution and have turned up nothing. UPDATE: My results are inconsistent. Sometimes Debian mounts devices to mount points based on the volume names, and other times it gives them generic mount points (e.g. /media/usb1).
I recently upgrade my armel NAS from etch to squeeze. During the partitioning step of the installation I intentionally left unmounted the data partition (900GB formatted XFS) but after the installation I'm not able to mount it.
I edited the fstab file adding the last line
And tried a mount but I get the message
So i noticed throught lsmod that I don't have the module for xfs
Tried installing xfsprogs but it didn't helped. So I searched for xfs-modules but seems it doesn't exists for armel architecture. Am I right? What does it means? That XFS is not supported in armel Squeeze? Assumed I can't transfer/backup 900GB of partition, is there a way to convert it on-the-fly to a supported filesystem format?
I am running wheezy + xfce. When I attempt to mount any external volume in Thunar, I get a message saying "Unable to mount-- not authorized." This is problem #1. A bigger problem that I think is related is my wireless. Logged in as a normal user, I cannot connect to any wireless networks using network-manager. My wireless card is functional and I can see all the networks around me, but when I click on one to connect, nothing happens. No password prompt, nothing. Strangely, when I log in as root, wireless works flawlessly. I am a member of the netdev group.
Error mounting: mount exited with exit code 1: helper failed with:
mount: wrong fs type, bad option, bad superblock on /dev/sdb1, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so
Not sure how this came about but the box rebooted itself for some reason and refused to get past this stage. I went into grub and changed hde1 to hda1 but that did nothing. The disk is unreadable by another Debian box, it gives the error "Cannot mount volume". Also unreadable in Windows via programs such as ext2toifs or Linux Reader.
If I boot via the CD and bring up the recovery console I can browse to my data, seems all intact but cant mount a network share to move it off, also tried making a .tar of all my stuff and FTPd' it across but I only received a massive corrupted file. How to get my stuff of this drive or ideally make it boot?
Sometimes when I plug in a USB flash drive, it is mounted to /dev/usb0 instead of /dev/drivename. This poses a problem for me because I have applications that depend on files I keep on flash drives, and having to frequently change the file paths is difficult. I haven't been able to find anything on this topic with a cursory search on Google or through the Debian reference. Heck, I don't even know what /dev/usb0 is (though I would like to learn, in the interest of being less of a noob). This is happening on a Squeeze system running Gnome, so I believe nautilus is what's responsible for auto-mounting my flash drives.
Beyond that, I don't know what other information I should provide; if you need to know something else, ask me (and perhaps tell me how to access that information). Someone on IRC suggested that I didn't have my drives set to mount in /dev/, but I have no idea how I would go about fixing that. If there's a configuration file that deals with this sort of thing, chances are I haven't touched it since installing this system. Debian installer sees usb drive as cd drive, so it adds it in fstab, but with wrong file system options (udf,iso9660) which is not the one your flash drive uses.
The luksOpen command asks me for my passphrase, but always rejects it. I have retried this several times and written down the passphrase - and even tried with a very simple one just to check. And I never can make it work.
I had windows with ntfs I installed ubuntu. All ok. Gurb with 2 os, can ran windows and ubuntu and can mount ntfs partition in ubuntu I installed debian with lvm over ubuntu partition. I can't mount ntfs partition now, and windows doesn't appears in gurb
I can't active vg because haven't name, but is not lvm, is only ntfs partition Maybe ubuntu puts in lvm and grub? Any idea? If I change with fdisk to ntfs i lose all the information in the partition?
When I try to boot to OpenSUSE I get the following error during boot-up: unknown filesystem type 'reiserfs' could not mount root filesystem - exiting to /bin/sh$
This only started happening quite recently - before this I could boot to Linux quite happily.
I just did the minimal install with XFCE and Lenny. Doing a lot of reading of documentation and I'm trying to grab some errors and save to my usb drive, a 257M lexar (old). Anyway, I'm getting the "failed to mount" msg. Also, I tried to install texmacs and wxmaxima last night, but it somehow failed and now apt-get will not let me install anything.
I get the error:
Not using lock for read only lock file /var/lib/dpkg/lock dpkg was interrupted - run dpkg --configure -a
When I run dpkg, i get this error:
unable to access dpkg status area: read only file system
I'm trying to mount a remove filesystem onto my own server. I am able to do this, however I can only access it as root, or if I chmod 777 the lot. Obviously I want to be as secure as possible, so I'd like to avoid either one of those options. Another option is to mount it directly into my home directory, but previously when I was trying out Ubuntu this caused Samba problems - and I was advised mounting in my home dir was a workaround rather than a proper fix.
I have root access with sudo on my own server. I've not set a root pasword, and until I need to I'll avoid it. I have a user account with full control over my own home directory on the remote server. I am mounting using fstab - sshfs#username@remoteserver:/media/sdk/home/username/ /media//remote/ fuse user,idmap=user 0 0
What I would like to do is without changing the permissions on the remote server change the permissions when they are mounted on my own server. I would like them to be in the group sambausers for example. Instead they are owned by root and in the group of 1024 (which I have not set). Additionally for this to work they would have to have 770 on my home server and 700 on the remote server....
I have successfully mounted my Win7 volume and my external hard drives NTFS volume as well. However, after modifying the fstab I seem to only be getting the win7 volume to auto-mount. Below is the contents of my fstab. /dev/sdf3 is not mounting. Again, it works no problem if I manually mount it.
how to get thunar with xfce 4.6 to mount external hard drives. Thunar with xfce 4.8 uses udisk, and all external and internal hard disks show up in the sidebar.With thunar in debian squeeze, though, no internal or external hard drives show up.
I can live without internal hard drives showing up, but I'd like to be able to mount my eSATA drive automatically. So far I've been completely unsuccessful in getting an entry to show up in thunar (like when a usb flash disk or cd is inserted), so I've added an entry to fstab:
LABEL=LIBRARY /home/library ext4 noauto,defaults,users And that doesn't seem to do anything. With and without the fstab line, I get a popup saying something like "Unable to mount volume "LIBRARY". You do not have priviliges to mount LIBRARY."
Everything else seems to mount fine. It's just that thunar/hal/whatever thinks that my eSATA drive is an "internal" hard drive and so doesn't treat it as removable.ALL of my drives, internal and eSATA, show up in the gtk "places" menu that is used in file-roller, iceweasel, etc. If I could find a way to get thunar to do this (like it can wtih xfce 4.8 and udisks) that would be GREAT.
EDIT: I also wanted to add that they show up in pcmanfm, but it also tells me "Not authorized" when I try to mount them.
I've upgraded my squeeze box to linux kernel 2.6.32-5. But it shows mounting "here is the uuid of / " on /root failed: Device or resource busy while booting.Here is the menuentry of linux kernel 2.6.32-5.
I installed Ubuntu Server 9.10 in a virtual machine, and I'm trying to install the VMware Tools but I can't mount the installer CD: $ sudo mount /dev/scd0 /media/cdrom mount: unknown filesystem type 'iso9660'
I created a encrypted volume on top of software raid1. These are my steps:
1. Create logical partition on sda
2. Create logical partition on sdb (same size)
3. Change type to partition to 'fd' for both partitions
4. Check that the both partitions are same size and type fdisk -l /dev/sda && fdisk -l /dev/sdb
5. partprobe
6. Make sure there are no remains from previous RAID installations on /dev/sdb by running: mdadm --zero-superblock /dev/sda6 mdadm --zero-superblock /dev/sdb6
14. Mount the encrypted volume: mount -O noatime /dev/mapper/ftdata /ftdata
It mounts successfully this first time. When I cd /ftdata, I can see the lost+found dir
Now, I unmount the volume cd ~
Code: umount /ftdata cryptsetup remove ftdata
And now, if I try to setup my encrypted volume like this:
Code: [root@localhost ~]# cryptsetup create ftdata /dev/md4 Enter passphrase: mount -O noatime /dev/mapper/ftdata /ftdata I get this error: mount: you must specify the filesystem type
I created a encrypted volume on top of software raid1. These are my steps:
1. Create logical partition on sda
2. Create logical partition on sdb (same size)
3. Change type to partition to 'fd' for both partitions
4. Check that the both partitions are same size and type fdisk -l /dev/sda && fdisk -l /dev/sdb
5. partprobe
6. Make sure there are no remains from previous RAID installations on /dev/sdb by running: mdadm --zero-superblock /dev/sda6 mdadm --zero-superblock /dev/sdb6
I'm looking for insite on how it might be possible to grow an existingvolume/partition/filesystem while it's in active use, and without having to add additional luns/partitions to do it.For example the best way I can find to do itcurrently, and am using this in production, is you have a system using LVM managing a connected LUN (iSCSI/FC/etc), with a single partition/filesystem residing on it.To grow this filesystem (while it's active) you have to add a new LUN to the existing volume group, and then expand the filesystem. To date I have not found a way to expand a filesystem that is hosted by a single LUN.
For system context, I'm running a 150 TB SAN that has over 300 spindles, to which about 50 servers are connected. It is an equal mix of Linux, Windows, and VMware hosts connected via both FC & iSCSI... With both Windows & VMware, the aforementioned task of expanding a single LUN and having the filesystem expanded is barely a 1 minute operation that "Just Works".If you can find me a sweet way to seamlessly expand a LUN and have a Linuxfilesystem expanded (without reboot/unmount/etc)I have cycles to test out any suggested methods/techniques, and am more than happy to report the results for anyone else interested. I think this is a subject that many people would like to find that magic method to make all our lives much easier
I have created two logic disks /dev/VolGroup00/LogVol00 and /dev/VolGroup02/LogVol02 After reboot has disappeared /dev/VolGroup02/LogVol02 How to restore logic volume?
I'm getting an error message that something along the lines of "volume "filesystem root" has only 25mb space remaining". How do I increase the volume size so I never have to worry about it again? This is the 3rd time I've tried ubuntu and it's sticking more and more but this has me thoroughly perplexed. I've got a 320GB HDD partitioned 3 times with a Linux partition being 7GB.
I'm running squeeze (last updated today), and everything has been working great. There is only thing that would simplify my life minutely..Anybody know how can I have the volume buttons on my laptop change the "pcm" channel volume rather than "master"? If they could control pcm, then I could adjust the volume coming out of my headphones or my computer speaker (both controlled by pcm, but not master...seems strange to me) with just one click.I tried to find this info online, but all results seem to refer to an older version. The simple "click here, set this" solution no longer is possible.
Debian Squeeze 6.0.0 on a Thinkpad T43, sound volume is not synchronized between the laptop volume buttons and GNOME's Volume Applet. So if I turn the volume all the way down with the physical buttons, the volume applet may still indicate 75%.I did not have this problem in Debian Lenny. Pressing the volume buttons used to show a volume bar on the screen, as did pressing the mute button.
I have a problem in my ubuntu 10.01 that it can't load a drive/volume in ubuntu. When I tried, it said: "Unable to mount location Error mounting: mount: /dev/sda1: can't read superblock". And when I boot my pc with 'Windows', it said : "UNMOUNTABLE_BOOT_VOLUME" under a blue screen. What can I do to solve this problem?
I'm having some trouble with my Ubuntu 10.04. It had been working normally, and now my startup isn't occurring normally. The bootloader shows my Windows install and two different revisions of Ubuntu. Upon letting it load Ubuntu, however, it goes to BusyBox v1.13.3 and says "built in shell (ash)" and presents me with a functioning command line.
I'm comfortable with working on the command line, but does anyone know where to start with this?