Ubuntu :: Restoring Partition Mount Authorization?
Jul 27, 2010
Normally when you have a partition that isn't mounted, when you try to mount it, it asks you for the root password.
I have two partitions. One that I wanted mounted at boot, one that I wanted you to have to know the root password to mount. In the process of trying to setup that one partition to automount at boot, I accidentally changed something (through Pysdm) that made it so the other partition no longer displays that root password verification screen. Now all it does is give me an error saying I have to be root. How can I restore that screen?
Every time I reboot PC I have to enter the admin password to mount ntfs partition. Is there any way to avoid this. In Fedora 10 there was remember authorization option, is there any option like this in F12?
A week before I installed the PYSDM utility for automatic mount of windows partition during startup. Always it used to give warning saying that partition can not be mount. Now, I want to restore the previous setting. I uninstalled PYSDM but still it give the same annoying warning. Please help with restoring the default drive mount setting.
had a lvm (non luks i suspect) home partition on my 11.04 install. I've since install opensue on the same laptop hoping that if i don't leave that partition alone during opensuse installation i would be able to mount and enter my key to access the data within...stupid me.... i formated my /boot and / partition, not my /home partition of 450gb. I'm now back on ubuntu 11.04 trying to get access to my data. i'v found the command "encryptfs-recover-private" but i only works on mounted partitons, i can't mount my encrypted partition because the system does not recongnize it. I've have to format it to mount it.
fdisk (bold is my encrypted partition) Device Boot Start End Blocks Id System /dev/sda1 * 1 13 96256 83 Linux Partition 1 does not end on cylinder boundary.
I have triple boot Win 7 32 bit on hard drive 1 Win 7 64 bit on hard drive 2 Data partition accessible by 3 OSs Ubuntu 10.10 on hard drive 2
[Code]...
Everything is working great. I'm using Windows Boot Loader (used easybcd to attach Ubuntu).
I want to expand /dev/sdb3 to have more space for Ubuntu. I am able to shrink the data partition /dev/sdb2, which leaves an unallocated space. I have backed up /dev/sdb3 using Paragon software.
My question is, what is the best way to expand the /sdb3 partition into the unallocated space and restore the ubuntu image backup so that it will use up all the space (unallocated and current /sdb3)? I don't want to screw up since everything is working properly, I just want some more space.
Im running ubuntu 10.10 on a dual boot machine together with vista. When I tried to delete a partition in gparted I accidentaly deleted the general partition table so I had to run testdisk on a live cd to restore it. The problem is that once I had done that and rebooted I get the message bootmgr is missing. I suppose Testdisk deleted or overwrote mz grubloader.
I was having trouble creating a USB Startup Disk in Ubuntu and used the command:
sudo dd if=/dev/zero of=/dev/sdb bs=1M count=1
This was a mistake as my USB flash drive was on /dev/sdc. If I am understanding this correctly, the command above deleted the MBR and the partition table. This disk had a single "/storage" partition on it. I googled a solution and found that the "testdisk" program seems to be the most popular solution for things like this. I ran it, selected an "Intel/PC partition" type, set the partition to a non-bootable primary Linux partition, wrote it, and rebooted.
Whenever I run:
sudo mount -t ext3 /dev/sdb1 /storage
I get:
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
Dmesg shows the following:
[20246.273941] EXT3-fs error (device sdb1): ext3_check_descriptors: Block bitmap for group 1 not in group (block 0)! [20246.279376] EXT3-fs: group descriptors corrupted!
When I run:
sudo fdisk -l /dev/sdb
I get:
Disk /dev/sdb: 400.1 GB, 400088457216 bytes 255 heads, 63 sectors/track, 48641 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes
I'm trying to restore an image from a 40gb partition(6gb used) to a 100gb partition. I set everything up in gparted and and restored the partition image with clonezilla. In gparted, the partition shows the full 100gb partition with 6gb used, however when I boot windows and open the properties on the C: partition, it shows that it's only 40gb. Is there some setting to restore the partition image and use the full 100gb?
what now trying to mount partition get this error this is the partition ubuntu 9.10 is installed on and upon reboot error no device with a long string. mount: can't find /dev/sda6/mnt in /etc/fstab or /etc/mtab
so now that I believe I've successfully mounted the partition how do I direct the bootloader to this partition /dev/sda6 on /media/11076e45-e27d-470b-bb6d-6894f7809a0c type ext4 (rw,nosuid,nodev,uhelper=devkit)
I've just bought a HP mini compaq laptop. The laptop doesn't have any CD/DVD "reader". So i was forced to download the .iso file to install ubuntu in addition to Windows XP that was present when i bought it. To do so i used UNetbootin, and i used my only hard disk as a live CD. But when i wanted to install ubuntu, they told me to create a partition. The problem is that i can't. I have only one partition sda1(nfst) which covers the whole stockage memory, and an empty space(8Mo). I can't acceed to any of the resizing or modifying options to edit the nfst partition. The only options are manage flags and umount. When i click on this one, they tell me : # umount /cdrom : cdrom is busy.
I'm trying to run update manager and when I try to update applications the authorization box shakes, says Authorization Failure then goes away. Same thing happens when I try to change my login settings.
This is a new problem, I haven't done anything to my system since I upgraded to 10.10.
I just got unbuntu server edition installed on my server along with openssh-server. Now I am trying to set ssh so I can log in with a key authentication. I am using this guide to do it through putty on my windows machine. [URL]. After I installed ssh I logged in correctly. I then proceed to generate a key in putty. Now my problem starts when i try and put that key onto my server.
The tutorial says to type in mkdir .ssh
My server says it cannot make that directive because it is already created. So I proceed to the next line. I believe this code sets permissions? chmod 700 ~/.shh Nothing happens just goes to a new line
Then I did this cd .ssh nano -w authorization_key then I copied and pasted the key I got from putty gen into this file pressed ctrl o and then ctrl x
When I try logging into my server using the key auth it simply asks for my login, once it is input it says authorization invalid then ask for my password.
Every now and then a window titled 'authorization dialog' pops up. It says "you need to supply a username and a password to access this site". Please view the screenshot of that window in the attachments. Even if I cancel it, the program seeking it seems not to terminate. It returns repeatedly...in every log in also. I am pretty irritated.how to terminate this appending agony.
Code: root=[my address]@gmail.com mailhub=smtp.gmail.com:587 AuthUser=[my address]@gmail.com AuthPass=[password] UseSTARTTLS=yes And this is what I do on the command line, and what I get in response:
Code: :~$ ssmtp [recipient address] To: Some guy From: Another guy Subject: testing
is there a way to mount another partition on any OS really, and then in a window in the current os, boot and run that partition?
for example, im in Ubuntu and i mount my seperate arch-linux partition. then via some magical software, boot it and run it in a window, so now i am in ubuntu checking my email, and simultaneously in archlinux on facebook in a commandline using links or something.
As a administartor I can do ls on root, but when I cd to /media ls does not work - blank respoonse. I have to sign in GUI file manager and authenticate to make ls work. Do I need to be at root?
Before I submit a bug, I wanted to see if anyone can tell me why this happens. When I first start using UO, it requested that I add my computer to my UO account. I entered the name of my machine, ie. "desktop-name". Once I did that, the music store worked properly, and I was able to use the Evolution Contacts sync and regular files in the ~/UbuntuOne folder. These all showed up in my web interface.
Now, when I set up Tomboy to sync with UO (Tomboy Web), it sends me to the Confirm Computer Access page again, asking me to put in my device name again. So I enter again "desktop-name" and it logs in and Tomboy syncs. The problem is that two devices now show up under Machines, and also under System > Preferences > UbuntuOne > Devices. I've tried deleting both devices, and starting from scratch as described here but it always does the same thing.
Is there a reason I must have two devices listed when I'm on the same system? Has anyone else noticed this? FWIW, each confirmation request lists a different token, it just seems that once I have authorized my system, that all the sync connections should auth under the same credentials.
I'm experiencing something pretty weird with single partition of a physical disk that contains other partitions. I have observed twice already that after a boot that particular partition is not available, i.e. it does not appear to be mounted. When I tried to manually mount that partition, I got the message "not mounted or device busy". Unmounting the device showed that it was actually not mounted, although I cannot fathom what would keep the device busy. It is the only partition on that physical disk that has this problem, which is good because my root partition is also on this disk.
The first time I had this I tried rebooting a couple of times (after, unsuccessfully, trying the manual mount) and it seemed to work. The partition became available again.This time I was still busy googling for it when suddenly the partition became available, i.e. it had mounted. After a reboot it stayed that way.As I am unable to comprehend this and quite convinced that it will pop up again in the future, I wonder if someone else has seen this or knows what is going on.All partitions are formated as ext3 and I'm currently running karmic (clean install), although the offending partition has not been touched since 8.04. My machine is a Dell Studio 17 laptop.
Gave up waiting for root device. Common problems: - Boot args (cat /proc/cmdline) - Check rootdelay= (did the systemwait long enough?) - Check root= (did the system wait for the right device?) -Missing modules (cat /proc/modules; ls /dev) ALERT! /dev/disk/by-uuid/c946b41f-2f8f-4a28-8478-11a50d6fc0e8 does not exist. Dropping to a shell!
Booting from my 9.10beta livecd sudo fdisk -lu shows my root partition (sda5) but blkid doesn't, and there's no way to mount it.
I know similar questions have been posted before but they all involve using fsck or e2fsck, which don't work with my ext4 filesystem.
i have an ntfs partition that i want to mount. before 10.4, all i had to do was add:
Code: /dev/sdb2/media/Sharentfs-3guser,auto,locale=en_US.utf800 to the fstab, and it would be mounted on startup, but now i can't do that. when i try to
I was reading this about setting up boot partition to not mount automatically. [URL]
Quote:
Some users don't want their /boot partition to be mounted automatically to improve their system's security. Those people should substitute defaults with noauto. This does mean that you need to manually mount this partition every time you want to use it. Add the rules that match your partitioning scheme and append rules for your CD-ROM drive(s), and of course, if you have other partitions or drives, for those too. Now use the example below to create your /etc/fstab: how to set up a boot partition.
1- Do I have to mount each partition after each boot? Is there an automated mounting the partitions?
2- Can I have a "My computer" icon on the Desktop?
3- There's a problem that occurred just now.. Yesterday I connected to another monitor, Today, after logging in - using the laptop display -, the icons on the task bar are shifted to the left.. Here's a snap shot.
On startup my computer tries to mount a partition which I deleted (called Misc) and combined with the space of another. I get this message:Quote:The disk drive for /media/Misc is not ready yet or not supported. Continue to wait, or press S to skip mounting or M for manual recovery.I also notice that the folder for the drive is still listed in nautilus. How do I get rid of it once and for all?
probably few days ago my computer suddenly get switched off during the system boot and now I cannot mount the partition with ubuntu and ALL MY FILES.
If I try to boot this is the result:
Code:
And If I try e2fsck /dev/sda1, it refuse to run stating "Device or resource busy while trying to open /dev/sda. Filesystem mounted or opened exclusively by another program?" How can I recovery my data at least?
I turned on my laptop today and noticed a load of unfamiliar startup text so I knew something was wrong. Now whenever I startup my laptop, GRUB loads fine but when I try to start Ubuntu it says the following:
Quote:
mount : mounting /dev on /root/dev failed : No such file or directory mount : mounting /sys on /root/sys failed : No such file or directory mount : mounting /proc on /root/proc failed : No such file or directory
[code]....
so all I'm left with is this BusyBox command prompt. I'm on a live Ubuntu CD right now and if I try to mount /dev/sda1 either in the terminal (with the mount command) or with the GUI it just gets stuck.
Quote:
This will provide you with a list of your drives and partitions, you need to pick the one that your root file system is installed to, it will be something like /dev/sda1 but in my case I can't even mount /dev/sda1. When I run sudo fdisk -l heres what I get
thats weird because I rebooted with a live Ubuntu CD and didn't even try to mount /dev/sda1 this time. The instructions were to then try to mount the drive from the GUI so heres what happens when I do that: it attempted to mount it for about a minute then gave me this error message When I tried again heres the error it gave me The problem seems to be that /dev/sda1 can't be mounted for some reason.
I don't know what that error message means and I don't know what else I can do to further diagnose /dev/sda1 and find out why it can't be mounted. Ordinarily I'd just reinstall Ubuntu but I have a couple of lab reports that I had saved on that partition so I'm in trouble if I can't figure out how to access the partition.
EDIT: At the end of that other thread someone recommends to use testdisk to recover the data from the partition. All I really need to do is get those lab reports back but I had them saved inside a Windows 7 guest on Virtual Box. Will this complicate matters a lot for me?
UPDATE: I tried to reinstall Ubuntu and it wouldn't work. Seems this is a bigger problem than I suspected. Does this mean my harddrive is corrupted? I can still use the Windows 7 partition but I take it that the Ubuntu installer not working is a bad sign.