Ubuntu :: How To Remount Root Fs Rw

Aug 13, 2011

After an error on my root fs it had been remountet readonly. sudo mount -n -o remount, rw /

Can't open /var/lib/sudo/martin/0: Read-only file system mount: you must specify the filesystem type

View 2 Replies


ADVERTISEMENT

General :: Remount Root Filesystem As Read/write After Modify Readonly-root File?

Dec 21, 2010

My linux distro is CentOS 5.3. Today I edited /etc/sysconfig/readonly-root and set "READONLY" to yes, now my /etc/sysconfig/readonly-root file is like this:

# Set to 'yes' to mount the system filesystems read-only.
READONLY=yes
# Set to 'yes' to mount various temporary state as either tmpfs

[code]...

View 3 Replies View Related

Fedora :: Does Not Remount /root Filesystem On Start

Sep 10, 2009

2 days ago I had installed Fedora 9 on an old machine. The installation was from a Flash USB, and was OK and the kernel on thar installation was 2.6.25-14.fc9.i686.

After the installation I updated the system, and all looks to be ok, and the system was set with the kernel 2.6.27.25-78.2.56.fc9.i686.

But when I start the system with the latest kernel itÅ› get blockd on "remounting root filesystem in read-write mode" step, but not with the original kernel witch start correctly.

View 2 Replies View Related

Ubuntu :: Remount A Usb Drive With Nautilus In Lynx?

May 8, 2010

After using "safely remove drive" on a usb drive automatically mounted (in lucid lynx) i no longer have the ability to remount that drive without cycling its power.I don't know if it has anything to do with removing the "unmount" option from nautilus in favor of cleaning up menu.Anyway I didnt see any forum posts on the issue ---ps. anyone have trouble using a proprietary gfx driver (nvidia for me), a custom console resolution (specified by grub), and the splash screen - when trying to access the ctrl-alt-function tty's?seems the resolution is all screwed up or something and i cant see the login prompt. disabling splash via grub fixed it fine (EDIT - did not fix it)

View 7 Replies View Related

Ubuntu :: Remount Cdrom With Unhide Option

Aug 16, 2010

I'm trying to install WoW on my Ubuntu machine and I'm having trouble right off the hop. I'm using an install DVD thru wine and it says since the Installer.exe is hidden I need to remount my drive with the unhide option on.

I'm following this guide [URL]

This is the part of the guide I'm getting stuck at

Note that on some WoW DVD's the installer executable is hidden and you need to re-mount the disc with the 'unhide' option. To do this type in a terminal:

sudo umount /dev/cdrom
sudo mount -t iso9660 -o ro,unhide /dev/cdrom /media/cdrom0/

The unmount part works just fine but when I go to remount the drive it gives me this error:

mount: mount point /media/cdrom0/ does not exist

View 3 Replies View Related

General :: How To Remount The Grub

Nov 14, 2010

I used the Ubuntu 8.04 disc and went to the terminal, got the grub prompt and followed the couple of lines to setup Grub on (hd0,0), which I confirmed through Fdisk was the location of the boot. I also used my gParted CD to check the partitions and on gParted it is marked as hda,a. The flag shows it is an active boot, as does the * on the Ubuntu terminal show. I am getting the "..exist...no" message. I have xp32 on hd0,1, 64 on hd0,2 and ubuntu on hdo,6.

The machine was working properly and then it was stored for a year. It works fine with the live cd and I have the GRUB shell, which lands me at the GRUB prompt. I am assuming that the kernel is not mounted ? (whatever that entails, as GRUB one message said I had to install kernel before.....

Anyway, I remember that installing the three systems was quite grueling, as I first installed 32, then changed the boot ini file, and then installed 64 and changed the boot ini file there, and then installed ubuntu - with great trepidation- as it seems to want to partition my discs, which I pre-partitiond with gParted. I guess I could copy the GRUB text and the Windows text from another machine that has the same basic install, and redo it.

View 6 Replies View Related

Server :: Possible To Remount To Add Noatime?

Feb 10, 2010

I currently have this filesystem for my live squid server. Can I remount it to add noatime while the cache is being used?

[root@ ~]# cat /proc/mounts
rootfs / rootfs rw 0 0
/dev/root / ext3 rw,data=ordered 0 0
/dev /dev tmpfs rw 0 0
/proc /proc proc rw 0 0
/sys /sys sysfs rw 0 0
/proc/bus/usb /proc/bus/usb usbfs rw 0 0
devpts /dev/pts devpts rw 0 0
/dev/sda3 /var ext3 rw,data=ordered 0 0
/dev/sda1 /boot ext3 rw,data=ordered 0 0
tmpfs /dev/shm tmpfs rw 0 0
none /proc/sys/fs/binfmt_misc binfmt_misc rw 0 0
sunrpc /var/lib/nfs/rpc_pipefs rpc_pipefs rw 0 0
/etc/auto.misc /misc autofs rw,fd=7,pgrp=2586,timeout=300,minproto=5,maxproto=5,indirect 0 0
-hosts /net autofs rw,fd=13,pgrp=2586,timeout=300,minproto=5,maxproto=5,indirect 0 0
nodev /dev/oprofile oprofilefs rw 0 0
/dev/sda2 /var/spool/squid reiserfs rw 0 0

Remount:
mount -o noatime,remount,rw /dev/sda2

View 1 Replies View Related

Ubuntu :: Sometimes Ext4 Home Partition Remount Read Only

May 11, 2010

I'm using Ubuntu 10.04 64bit (Kernel 2.6.32-22-generic) and sometimes my /home partition is remounting in read-only and i have no idea why. Normally I only use programms like Firefox, Rhythmbox, Evolution and Netbeans 6.8. Should I switch to the EXT3 filesystem?

dmesg shows me the following information:
Code:
[ 8758.010352] ata7.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[ 8758.010356] ata7.00: failed command: FLUSH CACHE
[ 8758.010360] ata7.00: cmd e7/00:00:00:00:00/00:00:00:00:00/a0 tag 0
[ 8758.010361] res 40/00:00:00:4f:c2/00:00:00:00:00/00 Emask 0x4 (timeout)
[ 8758.010363] ata7.00: status: { DRDY }
[ 8758.010366] ata7: hard resetting link .....

Code:
badblocks -v /dev/sdb
Checking blocks 0 to 78150743
Checking for bad blocks (read-only test): done
Pass completed, 0 bad blocks found.

View 4 Replies View Related

Ubuntu Installation :: External USB Drive Btrfs Remount?

Dec 28, 2010

I'm running Maverick on an older Stinkpad. I have a btrfs /home as a second partition on the internal HDDand a brand shiny new 3TB external USB western digital drive also formatted btrfs. I'm having a problem whenever I hibernate/suspend the laptop by closing the lid and start it back up later, the external drive won't remount unless I do a complete reboot. I have no entry in /etc/fstab for the external drive.Quote:Unable to mount "blah" DBus error org.gtk.Private.RemoteVolumeMonitor.Failed: An operation is already pending

View 3 Replies View Related

Ubuntu Security :: Constantly Having To Remount Encrypted Home Folder

Aug 16, 2011

while since I've been here. I'm having an issue with a fresh install of 11.04. Due to work requirements, I encrypted my home folder, which is fine, however, it seems to randomly lock itself down while I'm working, and it's getting really annoying.

Apps stop working, I can't open nautilus (something about not being able to create certain folders because home is locked), hell, even the terminal link on my desktop says failed to launch application (though the launcher on the top panel works). I just have to run ecryptfs-mount-private and enter my password to fix it, but it's doing this every 15 minutes or so. what might cause it to relock itself so frequently? I would expect to not have to deal with mounting my private data, that should happen at login and be good until log out.

View 3 Replies View Related

OpenSUSE Install :: How To Remount Encrypted Home

May 21, 2011

After update to 11.4, I would like to regain access to my encrypted home that I left intact. Both user.img and user.key files are there, but when I create the same user again in YaST, it does not recognize their presence and it asks again for size of the image. I am afraid it will just overwrite the old image. I do have full backup of hte data, but since its 150GB, I would rather not have to transfer it again.

How can I remount my old encrypted home?

View 7 Replies View Related

Hardware :: Usb Thumb Drive Unmount And Remount By Itself?

May 17, 2011

I have thumb drive connected to a busybox box.I mounted it /opt in initialzation file. However after a while it will unmount itself because it changes its drive letter from sda1 to sdb1. How could a usb device change its drive letter by itself? How could I prevent it happening?

View 13 Replies View Related

Ubuntu Networking :: Samba Share Requires Unmount/Remount After Restart

Aug 4, 2011

I recently built a computer for a friend that is only going to be used to run a network share.

The problem I am running into is that whenever the computer restarts the share, while visible, cannot be accessed by the two Windows 7 laptops in the house.

If I run 'sudo umount /media/storage' followed by 'sudo mount /dev/sda1 /media/storage' the once visible but inaccessible share is now accessible.

I do not understand why this would be. I have added the line 'usershare owner only = false' to my smb.conf file.

View 2 Replies View Related

General :: (debian 5.0) How To Stop Remount As Read Only On Runlevel 2

Feb 7, 2011

I have downloaded voyage linux 6.5 based on lenny. One of the last things it says is mounting filesystem as read only. then asks me to do login. how to stop this action and eave the file system as Read/Write.

View 1 Replies View Related

Slackware :: Kernel 2.6.33 Failed To Boot (Cannot Remount Read-only Fs)

Mar 7, 2010

I tried to compile a 2.6.33 kernel following Alien's guide.

I pretty much used the default values for every (NEW) option avaiable. I used "make localmodconfig" on my current config (zcat /proc/config.gz) and then tried to use "make menuconfig" to check if I could change anything. I didn't understand most of the options, so I skipped it. Then I used "make bzImage modules" and "make modules_install", copied the files mentioned on the wiki and run lilo.

But when I try to boot using my custom kernel, it gives an error like "Cannot remount read-only filesystem as read-write! This can cause serious problems."

If I try to continue the boot, it hangs when trying to launch the syslog script...

The new kernel entry on lilo.conf is:

Code:
image = /boot/vmlinuz-custom-2.6.33
root = /dev/sda4
label = newkernel
read-only
just like the default kernel entry.

By the way, one thing I changed is the kernel compression format, which I set LZMA. But it didn't seem to be the problem, since it at least started...

View 10 Replies View Related

CentOS 5 :: Remount Second Hard Drive After Replacing Primary?

Jul 27, 2011

For starters, I apologize if this turns out to be a double post. My windows laptop hiccupped in the middle...

So I had a Linux box with two drives running happily for years. Both drives were in the same logical volume, and the second had a file system on it.

The the boot drive croaked. I replaced it and reinstalled CENTOS (making sure, of course, to be careful to use the new drive). The I put the second drive back into the volume group (and that's it).

I'm assuming I probably need to create a new logical volume, because that's how it was before, but I really really don't want to format it.

Am I missing a step or am I screwed?

Fsck -l showed the following output both before and after I put the drive in the volume group. code...

View 9 Replies View Related

Ubuntu :: Allow A Specific User To Mount Or Remount A Specific Partition?

Jun 9, 2010

my system I want user1 and only user1 to be able to mount and unmount a specific partition, this partition contains backups and is usually mounted read only, needs to be temporarily mounted read/write by user1 while doing the backup.user1 is an unprivileged user. I've read that the user option will let any user mount the file-system (and only that user can then subsequently unmount it) and that the users option allows any user to mount or unmount the file-system.I also found this in mount's man pageQuote:The owner option is similar to the user option, with the restriction that the user must be the owner of the special file. This may be useful e.g. for /dev/fd if a login script makes the console user owner of this device. The group option is similar, with the restriction that the user must be member of the group of the special file.So it looks like I'd need a login script for that user to make the user owner of the device file (/dev/voiceserv/backup in this case)

View 7 Replies View Related

Software :: File System - Errors= Remount-ro 0 5 - Does It Also Create Directory "MyApp"

Jul 19, 2010

I am going to add following line to the /etc/fstab file /dev/sda4 /MyApp ext3 noatime, errors=remount-ro 0 5 Does it also create directory "MyApp"? Or which kernel file is responsible for creating the directories? Also on linux, which kernel file is able to create some soft links and additional directories?

View 4 Replies View Related

General :: Ubuntu 6.06: Mounting /root/sda1 /root Failed: No Such Device

Jan 22, 2010

An old machine in our office, running Ubuntu 6.06 all of a sudden will not boot up. I get the following info during boot:

Uncompressing Linux... Ok Booting the kernel
mount: Mounting /root/sda1 /root failed: No such device
mount: Mounting /root/dev on /dev/.static/dev failed: No such file or directory

[code]....

I haven't changed anything on the system as far as I'm aware, and I ran some HD diagnostics and everything seems fine. however when I try to mount the drive with the following command:

sudo mount -t ext3 -o rw /dev/hda1 /mnt

I get the following error:

mount: wrong fs type, bad option, bad
superblock on /dev/sda1, missing code
page or helper program, or other error
In some cases useful info is found in
syslog - try dmesg | tail or so

I ran fdisk -l and it says the partition type is Linux. The output after running dmesg | tail :

[12207.483801] init_special_inode: bogus i_mode (101)
[12207.483809] EXT2-fs: corrupt root inode, run e2fsck
[12260.427078] init_special_inode: bogus i_mode (101)

[code]...

Update: After running e2fsck -p /dev/sda1, I get the following info:

/dev/sda1: clean, 142449 / 9584640 files, 5402711 / 19161520 blocks

View 1 Replies View Related

Ubuntu :: Root User Directory Does Not Exist, Root Password Not Recognised?

Oct 26, 2010

I no longer have access to my root desktop. On a session I attempted to change the root username but i apparently assigned it a wrong directory that does not exist. When I rebooted with my new root username, i was instead recognised as a simple user (no root privileges). I tried the console to change to "old" root but root password is not accepted and there is no way to access to sudoer files. it seems that inserting a new username requires root privileges and i am back to square one. Simply logging with old root username and password after restart gives me a blank screen with nothing on it and cannot even reboot.

View 9 Replies View Related

Ubuntu Security :: Giving Root Permission To An Application But Without Running It As Root?

Jan 20, 2011

want to run VirtualBox with root permissions. Trouble is that only when run as root i can access attached USB devices inside of a virtual machine, otherwise, these a greyed out).Now running VirtualBox as a root user also changes the configuration folders, making all my virtual machines already defined disappear. I also don't want to copy all to the root configuration folders. Is there a way to give the VirtualBox root permissions but without actually running the application as a root user. Is it possible to do without changing the permissions of the non-root user, i.e. i don't want my user to have all root permissions, due to security considerations.

View 1 Replies View Related

Ubuntu :: Can't Cd To Root Acount /home In Terminal - Sudo Cd /root Fails?

Jul 25, 2011

can't cd to root acount /home in terminal - sudo cd /root fails?

View 3 Replies View Related

General :: Did Not Find Any Option For Root Password For Root User In Ubuntu 9.10?

Mar 2, 2010

i used opensuse 11.1 ...there is option for root user to create password for root...but for ubuntu i did not find anything like that...so how can i create root password....or how can i use root

View 1 Replies View Related

Ubuntu :: Deleted Something As Root And Did Not Get Space Back / Nothing In Root Trash?

Jul 22, 2010

So I transfered a few folders with videos in them to the public folder on an Ubuntu 10.04 laptop I have from my Ubuntu 10.04 64bit laptop. When I wanted to delete the folder I didn't have permission so I ran "gksudo nautilus" so I could delete it as root. So I deleted the folder but I did not get the space back!

I went to /.local/Shared/Trash and one of the folders I deleted was there but deleting it didn't get that space back either.

I did some searching but most of what I find doesn't help or tells me to look in the folder /.local/Shared/Trash folder but that didn't help any.

View 3 Replies View Related

Ubuntu :: Make A Shell Script Run With Root AND Non-root Priveledges?

Jul 28, 2010

I have a bit of a dilemma.

I'm using XFCE and it doesn't by default lock the screen before hibernating. I see this as a bit of a security risk, and as I can't hibernate while the screen is locked, I'm a bit lost as to how to achieve this.

I've begun editing /etc/acpi/hibernate.sh, here's what I have so far code...

If I run with sudo, the system hibernates, but gnome-screensaver will not fire. I can verify this by trying "sudo gnome-screensaver-command --lock". The screen goes black, but is not locked. The screen locks properly without sudo.

So the only solution I can see is to edit /etc/acpi/hibernate.sh in such a way that gnome-screensaver-command runs under the current user, and pm-hibernate is called as root.

Also, when I click the HIBERNATE button in XFCE, how does it call pm-hibernate under root without prompting me for a password? I normally wouldn't be interested in such things, but as it seems relevant to my problem I'm a little more eager to learn

View 3 Replies View Related

Ubuntu :: Root-User : Unset The Root Password?

Oct 14, 2010

A friend of mine has told me to set a root password and use root (f.e. switching to su in terminal and work with root rights instead).Is there any way to unset the root password? I know how to use sudo now.

View 9 Replies View Related

Ubuntu :: Switch From Root (#) To Normal Non-root Prompt($)?

Mar 20, 2010

how do i switch from root (#) to normal non-root prompt($). I'm new to linux

View 3 Replies View Related

Debian :: Root Access And Desktop Disabled \ Couldn't Open The Root Terminal?

Feb 19, 2011

I was using the latest stable release of Debian, dual-booted alongside Windows Vista, with the GNOME desktop, installed via netinst, trying to build and install a library that I knew and trusted, when suddenly I couldn't open the Root Terminal. I clicked the link (in Applications->Accessories (I think, whatever the top one is)->Root Terminal), and in the taskbar I saw an item that said "Starting Root Terminal". A few seconds later, that went away, but the terminal still wasn't open. I tried the regular user terminal, to see the same thing happen. Unsure of what was happening, I tried restarting my computer, since that's always the first step you should take in computer problems.

When I restarted, GNOME wouldn't start. The screen would flash a bit for a few seconds, then a dialog box would appear over a background of static that said "The greeter application is crashing. Attempting another one...".t would then go back to the DOS-style kernel, wait a second, and then the same thing would happen. After several of that, I would get a blue screen which said something to the effect of "It has been detected that the desktop environment has crashed six times in the past 30 seconds.

Waiting two minutes before trying again." When it did that, I tried logging in as root to assess the problem. I gave it the correct password, but it said that it was an incorrect login. After several tries (to ensure I didn't mistype the password), I logged in as myself. Same problem. I tried the su command, with the correct password, and it said it couldn't authorise it.

After a lengthy conversation with a friend of mine who was very good with computers, he basically summarised that he had no clue, but that his best guess would be a virus. Upon running the Linux installer, I found the Repair option. Not being particularly familiar with Linux, I used it simply to backup my important files onto a flash drive. I then tried running the Install option, in an attempt to simply write over my existing Linux and make it new again. The installer, however, consistently froze up when trying to start the partitioner, on the "Checking disks..." stage. I figured it was a problem with my partition. In my naivete, I simply used the Windows tools to clear that partition... It destroyed GRUB too, so I couldn't run any OS. I figured my computer was pretty well screwed, and at that point just decided to bring it into the shop and have them completely wipe it.

my computer was backed up onto an external hard driven I brought it back, I reinstalled Windows. Upon restart, it said that it was still looking for GRUB, which made no sense to me. After messing around with it a bit, I decided to just reinstall Linux too. To my lack of surprise, that fixed the problem. Both OS' now ran just fine. The first thing I did on Debian was to install the Clam Anti-Virus, which I understood to be one of the best Linux anti-viruses. However, within about 10 hours, got the same problem as originally. I wasn't doing any of the same things, and between the lack of consistency in activities and the fact that I had an anti-virus running,figured it wasn't a virus. Not knowing what to do, I just left it and have been using Windows since.

View 8 Replies View Related

OpenSUSE Install :: Create A Root Backup Image Of The Root Partition ?

Oct 12, 2010

Since I installed MS2 I messed up grub. Finally I got 11.3 back to its old glory.

What would be the best procedure to create a backup image with all settings and permissions ...just in case ?

View 5 Replies View Related

OpenSUSE Install :: Get Root Privileges On User Account Without Using Root Login?

Feb 5, 2011

i am having problems with privileges i have created a new user with my name, but i cant get root privileges on it. i need the same privileges as the root profile.

View 9 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved