Ubuntu :: Make 11.04 Ask For Password Before Mounting Partitions?
Jun 30, 2011
I'm currently using an older version of ubuntu (Karmic) and want to finally update. Is there a way for me to get ubuntu to ask for a password before mounting a partition like Karmic did? I've been looking for a way to solve this problem, but I haven't been able to find any solutions. I know a lot of people found it annoying but I rather liked it.
I have installed debian 6 on two of my laptops. During installation I chose to encrypt my partitions (swap, root and home). Now I find it annoying that during boot up I'm asked for password, for each of these partions seperately. I have given same password for all three of them. How can I make the system ask for the password only once. I know it can be done because on fedora it was like that before.
I just recently found an iso for 6.06 and installed it on an old pc of mine that already had 8.04 and crunchbang on it. crunchbang is on an ext4 formatted partition.
When I setup 6.06, it asked me what i wanted to mount my drives as, so i told it to mount the ext4 system as hda1.
whenever 6.06 boots, it tries to mount hda1 but can't because it doesn't recognize ext4.
What I am asking is this: is there a deb or a package out there I can install to make 6.06 recognize ext4? if not, how can i make it so that 6.06 does not want to mount hda1?
I can get past the initial error message and into the desktop, so 6.06 does work.
This is my first time using Ubuntu (though I've been interested in it for about a year). I decided to dual-boot my Acer AspireOne netbook running Windows 7 starter with Ubuntu 10.10 Netbook version. I am in the process of looking through all of the information in terms of getting use to the system, but right now I am trying to figure out how to access my files on the Windows half of the computer. I've been following the instructions here: [URL] but I am unable to get NFTS configuration to run, so I moved onto PySDM which appeared to work just fine except now when I boot up it gives me the error: "Unable to mount media/sda3" Press S to skip mounting process or M for manual recovery
Since I am still very much a newbie when it comes to terminal commands, I stayed away from the manual recovery and pressing S just puts me back into the welcome screen so I can log in. I've been searching the forums and I can't find much on it. Maybe I am missing a really important factor here? Also, in some version of the instructions, the other partitions are supposed to become viewable once mounted. I went into looking through the files using PySDM, but what I saw was mostly greyed out files...
I've created some encrypted partitions using Disk Utility, and would like them to be automatically mounted when Ubuntu starts up. Is there a guide to this anywhere?
I've gathered that it involves /etc/crypttab and possibly /etc/init.d/cryptdisks, but haven't had much success so far.
Ideally, some of the partitions would mount early in the boot process, while some of them can mount after I've logged in.
Fairly new to Ubuntu (started with Karmic), now dualbooting Lucid and Windows 7. Lucid is automatically mounting my NTSC partitions, which is pretty convenient since I store all my media there, but I recently deleted one of the partitions and just extended the other one. Now Lucid is still trying to automatically mount the partition that no longer exists and giving me an error message every time I boot up. Not really a big deal, just a minor annoyance, but I'm wondering what I do to make it realize the partition is gone.
I'm having a problem mounting a vfat partition using fstab... If I don't use fstab and mount it manually, everything works fine. But if I add a line to fstab, it will mount, but will have root permission only - so I can't write to it. can mount another partition (ext4) through fstab and everything works fine. Just not sure why there's a problem with the vfat partion. Also, if after mounting it through fstab I try to unmount it, it gives an error saying only root can unmonut it.
I have various drives and partitions that I have been mounting through fstab, but sometimes I had to do it manually, but now, I can't get them to mount at all. At first I thought it might be a disk failure, but booting to a Live CD shows all the drives working fine. when the entries are added into fstab, $mount -l shows them as mounted to their relevant mount points, but the data does't show in either terminal or dolphin?
Typing $umount /dev/drive always returns /dev/drive not mounted.
When I comment out the entries in fstab and reboot and try a manual mount, I always get /dev/drive already mounted or /mount/point busy. $mount -l does not show any mount entry points for the drive. My /home/user partition is now full as I can't save data on the other drives, so I don't know if this is an issue. Also I use a mixture of encrypted partitions and non encrypted partitions, but this wasn't an issue before. Checking some of the logs didn't show any errors. The problem seemed to start when gdd was saving data to a partition mount point I thought was mounted but wasn't. I have since removed that data and even created a new mount point.
I've got a Desktop System that Automounted Two NTFS partitions in F10 so I could declare them SAMBA Shares and have my other XP and Vista Machine Access them whether my dual boot machine ran XP or F10. Now I've switched to F11 and cannot get the NTFS Partitions to Automount at boot. If I browse with COMPUTER and let the system mount the NTFS partitions once it is running the mount command returns the following output:
[code]....
I believe I need to modify /etc/fstab but cannot get the syntax correct to save my life.
When i use the "Places" menu to try to access the other partitions on the same hard-drive i get a pop-up box asking me for the Root user password. Is there any way to mount it without? The normal user is now in the sudoers group but really i don't think i should be asked for authentication at all?
Is I issue this request on my sustem, does it link all storgae for the squid folder onto the sda2 partition? What happens to storage on the /var folder, which is already mounted on the sda3 partition?
mount /dev/sda2 /var/spool/squid [root@]# df -h Filesystem Size Used Avail Use% Mounted on /dev/sda5 4.8G 1.5G 3.0G 34% /
I have ubuntu 10.04 LTS installed. I want to mount a windows partition. I can, of course, use fstab. However, I open nautilus and click on the windows partition in the placed panel. How do I use mount (or any other command) to emulate this?
until recently, they did fstab mount quite happily, but now, they don't
the error I get is:
Code: Mountall mount /media/win7 [1089] terminated with status 21 My fstab has not changed but here it is: Code: /dev/fd0 /media/floppy0 vfat noauto 0 0 UUID=da252821-a30d-415b-84cb-adca92be5b72 / ext4 defaults 0 1
[Code]....
Oh if I make the windows drive the first avail, then it boots just fine.
I boot several Redhat based distributions, Fedora 15, Fedora 14, CentOS, Scientific Linux, Redhat and occasionally something non-Redhat based like Ubuntu and Debian. Out of habit and preference I frequently set up partitions to be auto mounted at boot through fstab. Somewhere in time something went seriously wrong with the CentOS install. There are a ton of permission denied errors while booting CentOS (text style boot) mostly regarding shared libraries. The system will boot to the desktop and everything looks OK but some things don't work. I can't update the system because I have no network connection. I obviously can't get to the Internet or get e-mail. I can open a VT but can't log in as regular user or root.
Permission denied in both instances. I didn't make any drastic changes to the CentOS system, just minor tweaks. The culprit in my opinion is a combination of the fact that one of the other Linux systems did an SELinux relabel while booting and the CentOS partition was already mounted. Since the CentOS partition was mounted it too was relabeled. I can't prove this. If there's a way to prove it then I just don't have the skills or knowledge to do so. It's basically a theory based on what I know I've done with the several installed distributions. This is not a rant nor is it a request for help. Just a comment. An assumption, hopefully a correct assumption. The CentOS install was working flawlessly until something happened and I think that something was the SELinux relabel.
Is there a way that I can get Dolphin to mount partitions? When I try to, it gives me an error on the bottom of the window saying I don't have permission to. I also can't mount partitions in other programs like Amarok, because of the same issue.
Error Message: An error occurred while accessing 'Windows 7', the system responded: org.freedesktop.Hal.Device.PermissionDeniedByPolicy: org.freeDesktop.hal.storage.mount-fixed auth_admin_keep_always <-- (action, result)
I've recently installed Arch on my main PC, and I decided to use Xfce4 desktop environment as appose to gnome that I use on my laptop. Firstly, I had to search round for an icon theme to get any of the icons working (they were all just papers with red crosses in them to start with), which I think is taking lightweight a bit too far :P, but just my opinion.Now i've got that sorted I turned to the problem of auto-mounting partitions. I'm having some trouble getting HAL to auto-mount my NTFS partitions which have my documents and music on. They are NTFS because i've got dual boot windows, and had windows before Archlinux so NTFS was the logical fs type to use. I think HAL is auto mounting dvd's etc. (can't be sure as I aren't in Arch at the minute)I can mount the NTFS partitions manually using:mount -t ntfs /dev/sda(number from 1 through 3) /mnt/sda(1 through 3)
However, I can only access this via root, so I carried out: mchmod scott.scott /mnt/sda(1-3)or something similar and that works fine, so I know they can be mounted successfully. I've tried auto-mounting them using fstab but can't seem to get this working, and I would rather not have fstab auto-mount them, I would rather let HAL sort all that out for me.I have checked that dbus, hal, consolekit and xf86-input-evdev are all installed (although im not sure what xf86-input-evdev does).Has anyone got any ideas why its not auto-mounting the NTFS partitions. My laptop mounts the NTFS windows partition fine using gnome.
I've been struggling with this one for a while - I have three SATA hard drives installed on my system: /dev/sda - an 80 GB disk with three partitions, one NTFS for WinXP, one ext4 for Fedora 11 x86_64, and a boot partition /dev/sdb - a 250 GB disk with one partition, ext4 /dev/sdc - a 250 GB disk with one partition, ntfs
I can mount any partition on /dev/sda without problems - everything works exactly as expected. Attempting to mount a partition from one of the other disks results in something like the following (this is for sdc1):
Code: [User@machine ~]$ sudo mount -t ntfs /dev/sdc1 /mnt/shared [sudo] password for User: ntfs-3g: Failed to access volume '/dev/sdc1': No such file or directory ntfs-3g 2009.11.14 integrated FUSE 27 - Third Generation NTFS Driver XATTRS are on, POSIX ACLS are off
Copyright (C) 2005-2007 Yura Pakhuchiy Copyright (C) 2006-2009 Szabolcs Szakacsits Copyright (C) 2007-2009 Jean-Pierre Andre Copyright (C) 2009 Erik Larsson
Usage: ntfs-3g [-o option[,...]] <device|image_file> <mount_point> Options: ro (read-only mount), remove_hiberfile, uid=, gid=, umask=, fmask=, dmask=, streams_interface=. Please see the details in the manual (type: man ntfs-3g). Example: ntfs-3g /dev/sda1 /mnt/windows Ntfs-3g news, support and information: http://ntfs-3g.org The /mnt/shared directory is created; the failed to access error is related to the disk.
Here is the output from fdisk: Code: [User@machine ~]$ sudo fdisk -l Disk /dev/sdb: 250.0 GB, 250059350016 bytes 255 heads, 63 sectors/track, 30401 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x0f970f96
Device Boot Start End Blocks Id System /dev/sdb1 1 30401 244196001 8e Linux LVM Disk /dev/sdc: 250.0 GB, 250059350016 bytes 255 heads, 63 sectors/track, 30401 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x1050104f
Device Boot Start End Blocks Id System /dev/sdc1 1 30401 244196001 7 HPFS/NTFS Disk /dev/sda: 80.0 GB, 80026361856 bytes 255 heads, 63 sectors/track, 9729 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x8e538e53
Device Boot Start End Blocks Id System /dev/sda1 1 6375 51200000 7 HPFS/NTFS /dev/sda2 * 6375 6400 204800 83 Linux /dev/sda3 6400 9729 26743361 8e Linux LVM
Disk /dev/dm-0: 21.4 GB, 21428699136 bytes 255 heads, 63 sectors/track, 2605 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00000000 Disk /dev/dm-0 doesn't contain a valid partition table
Disk /dev/dm-1: 5955 MB, 5955911680 bytes 255 heads, 63 sectors/track, 724 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00000000 Disk /dev/dm-1 doesn't contain a valid partition table Disk /dev/dm-2: 250.0 GB, 250059348992 bytes 255 heads, 63 sectors/track, 30401 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x0f970f96
Device Boot Start End Blocks Id System /dev/dm-2p1 1 30401 244196001 8e Linux LVM Disk /dev/dm-3: 250.0 GB, 250056705024 bytes 255 heads, 63 sectors/track, 30400 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00000000 Disk /dev/dm-3 doesn't contain a valid partition table
And also from blkid (this does not match the output from above - but I don't know if this is actually related to the problem or how to fix it): Code: [User@machine ~]$ sudo blkid /dev/sda1: UUID="506412E06412C91C" TYPE="ntfs" /dev/sda2: UUID="811bf259-33d5-4db2-9851-e93b47dcbcc8" SEC_TYPE="ext2" TYPE="ext3" /dev/sda3: UUID="U3AJLH-Lhm1-b0lf-HDX9-ZK1V-ezqU-sb0YGQ" TYPE="lvm2pv" /dev/dm-0: UUID="f5733171-0753-4f53-834b-cc693ffb0aed" TYPE="ext4" /dev/dm-1: TYPE="swap" /dev/mapper/vg_machine-lv_root: UUID="f5733171-0753-4f53-834b-cc693ffb0aed" TYPE="ext4" /dev/mapper/vg_machine-lv_swap: TYPE="swap"
Say I have an image of a file system. I made it with dd by copying it off my USB stick. e.g. "sudo dd if=/dev/sdb1 of=./image.ext2" I can mount said image with the command: "sudo mount -t ext2 -o loop ./image.ext2 /mnt/" Now, say instead of copying a partition with dd, I copy a whole drive. e.g. "sudo dd if=/dev/sdb of=./image.img". sdb had 2 partitions on it. How can I mount those separate partitions without copying that image back onto the USB drive?
I have installed Redhat Enterprise Linux Server 5 on my laptop. I have also installed Windows 7 Operating system on the laptop. I want to access windows 7 created ntfs partitons on RHEL 5 server. I tried installing the following rpm's on the rhel5 for accessing the ntfs partitiins.
I just updated a system to Fedora 12. It has the same partition setup as the previous Fedora 11, but now when booting it pauses with a padlock icon next to a text entry box.I'm assuming it's trying to get my password to mount the encrypted partitions I have on the drive.
However, most of the time when I'm using that computer, I don't want those partitions mounted, and I would prefer to do a luksOpen/mount manually during those times I need the data thereon. Is there a way to get plymouth to ignore those encrypted partitions while it's booting, so that bootup doesn't pause for user input? I have an empty /etc/crypttab and the partitions in question are not in /etc/fstab. For anyone who's looking at this, pass "rd_NO_LUKS" on the command line to disable the initrd from looking for encrypted partitions to try to mount.
I'm using fedora core 9 and I am a linux beginner. In my computer, I can see the icons representing windows partitions but cannot be opened. I right click on it and then opt for "mount the volume" . But there is no use. What can I do?
I know nothing about linux. But my friend says linux is good. So, I kept a copy of fedora core 10 i386. My fiend has a lot of movies about 100 in his ipod. So, I took it. It contains lot of viruses and I opened the ipod in windows but my windows has malfunctioned due to the virus. So, I have installed the fedora core 10 i386. I have some important information in the windows ntfs partitions. How do i mount those ntfs partitions.
Background information: I need to install WinXP on my computer to use Spectraview II software for monitor profiling. Tried it under Wine, didn't work...thought about virtualization, but Graeme Gill (creator of Argyll) said that probably wouldn't work:
Quote: The problem is that emulators often don't implement hardware details properly or at all. There's no standard way on Linux to read/write the DDC, so there is no surprise that wine doesn't emulate MSWin's API's for this. It's doubtful that any of the VM's do either. USB can be an issue too, and some instruments may not work in an emulated environment. I already had Ubuntu 10.10 installed, so thought I'd try installing WinXP after, then recovering the MBR. Lots of headache.
I have an encrypted partition which shows up in Dolphin file browser.But as a non-root user, I cannot unlock and mount it. A message in Dolphin comes up saying that a policy prohibits this. As root, this unlocking of the encrypted partition goes normally. I cannot find the setting to change in KDE perhaps;
there is a way to mount, encrypted partitions as a normal user and not as root so that i may copy files into it using the file manager itself? even in the case of normal partitions other than /home, i can't seem add any data in them. the mount points i used are seperate directories within the /home partition?? also, is there a way to create partitions in such a way that it can be accessed, just as how windows partitions are accessed in linux?
I am trying to install Fedora 12 x64 on my 27" iMac 10,1. I have tried both the installation dvd and the gnome live cd (both x64 i did not try the x86). On the installation dvd I get as far as the menu giving me the boot/install options - I have tried to install both with a basic video driver and the regular install/upgrade option - both times it begins loading components for the installer program (/sbin/loader) etc. After it loads sbin/loader and mounts the partitions it freezes with half the screen being the terminal txt beforehand and the other half being just a standard fedora logo w/blue background. It is not much different when I try the live-cd the only different is it does the exact same thing when the timer for automatic login is done. Any possible command line arguments that I could use to stop the graphical corruption?
when i would mount a drive (internal, external, ntfs) in 9.10 it would ask for the root password. now 10.04 doesn't do that. how can i go back to that scenario?
I am using Ubuntu 9.10 (along with Win xp). I have to authenticate everytime I mount filesystem (My d: , e: drives in windows). Or to connect to the internet (I use mobile broadband) I have to authenticate, also if I have to install something from synaptics I have to authenticate. I know this is good for security but I am the only person using my computer , so is there any way out of this authentication business.