Debian Configuration :: Mount Options Of Root Partition
Apr 28, 2016
I made a mistake in Gnome Disk utility tool. Instead of changing the options for a USB key, I changed the options of the root partition.
In Initial state, automatic options were desactivated. I just activated them. And after desactivacting them, I realized my mistake and switched back to "non automatic options".
By doing this, I suppose that defaults values were used since now, the system starts in command line mode and no more in graphic interface mode.
When I try the "startx" command, I get a "read-only" error.
With the command "sudo mount -o rw,remount /" the graphic interface is started.
Below is the configuration of the partition under the gnome disk utility tool :
"Mount at startup" is checked
"Show in user inteface" and "Require additional authorization to mount" are unchecked
Mount options : nosuid,nodev,nofail,x-gvfs-show
Mount point : /mnt/eb11d4d6-75db-XXXx-XXXx
Identify as : /dev/disk/by-uuid/eb11d4d6-75db-XXXx-XXXx
Filesystem type : auto
I do not want to change anything that could leat to a critical error. So what do you think I should do ?
Is there a way where I can take like 50GB from my home folder (I have 375 avail., but using only 22GB) and put it to the root partition? Twice now my system has almost ran out of space on root, so luckly I was able to clear out old stuff so I don't have login issues after finding the hardway the first round lol. I just want to make sure I can login with out being forced back out because root don't have space to let me login.
My root filesystems flooded so I'm trying to move it to another (bigger) partition but I'm not sure of the best method. I just tried to use "dd if=/dev/sda1 of=/dev/sda6" to copy it but all that did was give me a brand new partition with no freespace available presumably because the filesystem is smaller than the partition. Is it possible to make the filesystem bigger?
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'm running Testing and need to pass some parameters to my bttv tv tunner card, for this reason I created the following file /etc/modprobe.d/kozumi.conf with this content:
alias char-major-81 videodev alias char-major-81-0 bttv options pll=1 radio=1 bttv_verbose=1 card=151 tuner=38 gbuffers=4
The problem is that for some reason this options aren't properly set after booting the computer, I've tried different combinations for line 1 and 2 without success.
I'm used to rmmod the bttv driver and modprobe manually with those settings but I'd like to automate the process.
When I click on my Vista partition under "Places" in the Fedora menus, I'm asked to enter the root password for mounting the partition. Is there a way to allow any user to mount this particular partition, to avoid the unnecessary input? The partition is not listed in /etc/fstab (fedora 12 for x86_64).
Ever since I started using KDE as in 4.2, I have been doing this regularly. When I startup KDE, I open Dolphin and click and mount each partition with root pass. I thought it might be some KDE issue as is the ever developing code and will be fine in future updates. But now I'm in 4.2.1 and it still exists. Upon inquiring fellow users on other distros, I have come to believe this is a *Fedora only* issue now. [URL].
I want to mount my FAT32 partition automatically on startup. It gets mounted but the problem is that all the files in the FAT32 partition are shown as owned by root. Because of that I can't paste files or write to this partition. This is my fstab file
Code: # /etc/fstab: static file system information. # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc defaults 0 0 # / was on /dev/sda5 during installation
When I installed OpenSuse 11.2 it mounted I configured to mount all of my windows/NTFS partition. However, one problem is that only root can write to it. I was trying to change it to '777' permission. However, as root I can't change permission. chmod doesn't work and neither does using nautilus (as root) work.I even tried unmounting it and then doing a chmod. That didn't work either.
Linux box info: root@mytestbox:~# uname -a Linux mytestbox 2.6.32-30-generic-pae #59-Ubuntu SMP Tue Mar 1 23:01:33 UTC 2011 i686 GNU/Linux
Windows box info: Windows Server 2008 SP2 Enterprise I've verified via --verbose output that mount.cifs is indeed processing the passed on options.
root@mytestbox:~# mount -t cifs //10.1.1.10/Test /root/testwin --verbose -o credentials=/root/testcreds,rw,nocase,noperm,noacl,nounix,noserverin o,iocharset=utf8,file_mode=0777,dir_mode=0777
[Code]...
Yet, when I type mount all it reports is (rw,mand). The share works just fine, and I can see the masking (all files are showing as rwxrwxrwx as expected etc) but mount is not listing the options?!
Is this normal expected behavior? Is there a bug report on this? I've google'd to the best of my capabilities and could not locate any such information which is why I decided to hit the forums prior to filing a bug.
I've just made the switch from Ubuntu to Debian Squeeze and am having trouble connecting external media (be it a USB stick or an ext HD). The error I am getting when I connect anything via usb is the following:
Error mounting: mount exited with exit code 1: helper failed with: mount: wrong fs type, bad option, bad superblock on /dev/sdc1, missing codepage or helper program, or other error.
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?
I am having trouble mounting a partition on "sda", I opened thunar as root to try and set permissions to the partition so I could access it but when I open thunar as root I don't see the partition, if I open thunar without root privileges only then I can see the partition, I just can't access it, I get the error "Failed to mount "backup'.Not authorized to perform operation.
My desktop Debian Lenny installation is crashed. And I need to gain access to home directory! Partition is logical volume. I put HDD in a External HDD case and connected with my notebook (Debian Lenny) using USB.
Having successfully installed SANE and gotten a scan from my ancient Mustek scanner, I thought I had it setup. But that was running in the root terminal window. When I try to run xscanimage from GIMP in my normal user account it doesn't start up. Running xscanimage in a normal terminal it says it can't see any scanners. Yes, I added my user account to the scanner group. What else needs to be done to let a normal non-root user access the scanner?
I know that boot partition is possible to create within debian distribution that has grub 2.0, as I have done before with ubuntu. I have been trying many different options with my preseed file but it keeps taking the boot partition out of LVM and creating and extended partition too and then creates the LVM primary partition.
### Partitioning. # you can specify a disk to partition. The device name can be given in either # devfs or traditional non-devfs format. For example, to use the first disk
I just installed debian and I love it so far. I'm trying to mount an ssd that I took from my previous window installation but it gives me this error:
Error mounting /dev/sdb1 at /media/meknoy/Fotoschijf: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177" "/dev/sdb1" "/media/meknoy/Fotoschijf"' exited with non-zero exit status 14: The disk contains an unclean file system (0, 0). Metadata kept in Windows cache, refused to mount. Failed to mount '/dev/sdb1': Bewerking niet toegestaan The NTFS partition is in an unsafe state. Please resume and shutdown Windows fully (no hibernation or fast restarting), or mount the volume read-only with the 'ro' mount option.
How can I sort this out? The data on the disk is important and I can not lose it.
Then my SD card with photos on it has about the same problem.
It gives me this message:
Error mounting /dev/sde1 at /media/meknoy/NIKON D7100: Command-line `mount -t "exfat" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,iocharset=utf8,namecase=0,errors=remount-ro,umask=0077" "/dev/sde1" "/media/meknoy/NIKON D7100"' exited with non-zero exit status 32: mount: unknown filesystem type 'exfat'
I'm booting to Kali 2.0 live from USB and wanted to add persistence, but I can't get OpenVAS setup. The setup script runs and eventually fails due to no more disk space. Here's my df -h output:
Here's gparted:
When the setup runs it fills up root (/) which is only 872mb. This is a 16gb USB so I'm wondering if there's a way to allocate some of the 11gb of unallocated space to root? I couldn't tell how to do this with gparted, would I need to build a custom Kali iso or something with different partitioning?
mounting any usb thumb drives. The result is the same whether it is automounted or mounted via the CLI. The drives all have root:root file permissions and cannot be changed to my normal user "ramack". There doesn't appear to be any errors and it is limited to only this Acer Aspireone Netbook running i386 Testing. I don't have anything in my fstab in regards to mounting usb drives.
I have a dual-boot with Debian and Windows7. I used Synaptic to install the ntfs packages, and Debian detects the windows partition, but when I double click it, it says something like "Failed to mount. Invalid mount option". Now I can mount it and navigate the folders, but ALL folders and files have permissions set to 700, and I can't change the permissions to access any of the files. Sure would be nice to be able to access my windows partition.
I have a "time-server". It's sending time to different devices through different ports/protocols. The problem is that it has no operator and that makes some extra difficulties.
Now when i try to start it using terminal Code: Select allsudo ./myprogram works fine and
Code: Select all./myprogram doesn't work.
It is so because without sudo i have no access to ports. As a result If i add my program to System->Preferences->Startup Applications it has the same problem. So i need to start it as root, auto-start, right after auto-login to system but without entering password cause nobody will do it.
Also I need to start ntpd but it also asks password sometimes I've tried googles but it offer a few ways with entering password that isn't suitable for me or writing some scripts/changing system files but with no example I'm afraid to break it all. So is there a way to start Myprogram and NTPD as root with no password entering?
My system is Debian 6.0.10 Squeeze, Kernel 2.6.32-5-686
Installed Debian 8.2 a while back, and I've been having issues with getting the machine to suspend correctly. If I try to put it to sleep when logged in to my regular user account the screen just goes black and then the computer hangs. However if I put it to sleep as root everything works fine. I do this by running this command (as root):
Code: Select allsystemctl suspend
What can I do about this? Worked fine on Debian wheezy..
Btw, just found this in the dmesg log. Connected perhaps..?
Code: Select all[ 6.863018] ACPI Warning: SystemIO range 0x00000000000018e0-0x00000000000018ff conflicts with OpRegion 0x00000000000018e0-0x00000000000018ef (\_SB_.PCI0.SBUS.SMBI) (20140424/utaddress-258) [ 6.863028] ACPI:
If an ACPI driver is available for this device, you should use it instead of the native driver
I think my root drive is 100% full causing strange problems with my video server. What steps can I use to see what's taking up the room on the drive and perhaps identify files that can safely be deleted?
For my dissertation I created a debootstrap install of Lenny. When I boot this system I just can login with root without a password. When I want to ssh this machine with the debootstrap install I can't just login with root. I'm asked for a password which I don't have.
So I created one with passwd root and after that I can connect to the machine with ssh and the given password. But the machine still logs in with without a password.