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
ADVERTISEMENT
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
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
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
Sep 4, 2010
runlevels 2 -5 are identical in Ubuntu. /etc/init/rc-sysinit.conf is used instead of /etc/inittab for changing the runlevel. But there's no point doing that since the runlevels are identical. The default runlevel is 2, so I tried to find some service I could disable in /etc/rc2.d. I didn't find anything I could work with.
View 4 Replies
View Related
Feb 8, 2010
i have no problem ( not yet any more ). but i have a question to the development: who had the mangificent idea to change the philosopy of more than 30 year old runlevels ( 0, 1,2,3,4,5,6 ). now when the system is full up who -r and runlevel gives you can anybody imagine how many scripts which are using commands like "who -r", "runlevel" or parse utmp are give up working. i think a couple of thousends. portability is written in unix with capital letters . please send me a message if you plan to change the runlevel to "S" that i can modify my scripts.
View 8 Replies
View Related
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
May 24, 2011
I am attempting to create a working emdebian system on some arm hardware that I have. I can successfully boot the system, but it hangs at runlevel 2. I am trying to determine how to debug my problem but I am currently at a loss. I am going to include the steps I have taken thus far in hopes that someone can point out my error(s) and mistakes.
I've used multistrap
sudo multistrap --no-auth -a armel -d EmDebian/ -f emdebian.conf
to create a rootfs; t
The content of emdebian.conf is something similar to the following:
[General]
unpack=true
debootstrap=Grip Networking Debian
aptsources=Debian
[Grip]
packages=ntpdate udev lrzsz netcat telnetd adduser sudo nano
source=[URL
keyring=emdebian-archive-keyring
suite=stable
[Debian]
packages=
source=[URL]
keyring=debian-archive-keyring
suite=stable
[Networking]
packages=netbase ifupdown iproute net-tools
source=[URL]
keyring=emdebian-archive-keyring
suite=stable
After multistrap finishes I do the following:
sudo cp /usr/bin/qemu-arm-static EmDebian/usr/bin/
and then I chroot into it:
sudo chroot EmDebian/
Once inside I finalize the installation by doing
dpkg --configure -a
At this point in time I have went as far as creating a new user as well as added the ability to login via the serial console. However each situation ends in the same exact way, the kernel simply halts right after it enters runlevel2 when it is implemented on the arm hardware. For what it is worth I am using a kernel that I have verified to work using a different OS, so I believe that should not be the problem. I am looking for what my next step should be to resolve this problem, verbose booting relieved nothing and I can't seem to locate the reason for this hang.
View 4 Replies
View Related
Dec 21, 2015
I want to make a simple script so that the user can easy change the runlevels.
The script should prompt the user to choose the new runlevel, run the /sbin/init program and receive a confirmation message.
View 5 Replies
View Related
Oct 19, 2010
Every time when I right click the USB drive icon and select "Safely remove drive" I always get this error message
FAILED: No such file or directory
even though the icon does disappear from the desk top. I have been ignoring it since the USB drive seems working fine.Now I have a more serious problem. When I tried to copy files onto the USB drive it says "read only file system" and doesn't let me. I tried unplug and plug the USB key but that doesn't help.
View 5 Replies
View Related
Aug 6, 2010
I'm trying to init 3 .. but I can't change te runlevel...I was reading about upstart.. But I can't understand.. :-(ubuntu upstartWhy they don't want to use /etc/inittab..it is so easy...Always I have problems because someone change the way of do things in linux...
View 6 Replies
View Related
Jul 5, 2011
I am using suse 10.3 and my machine is giving this error.
inittab file is ok
no partition is 100% used.
reinstall sysvinit package
View 3 Replies
View Related
Dec 16, 2010
I have learned without a doubt what runlevels are...the questions I have are related to the init scripts and how to create a link to an init script. I see that there was a post where someone was trying to get people to do homework for them...I assure you I want to understand what I am trying to learn. That said, here are my hang ups:
1. The script that contains the default runlevel to my understanding is /etc/rc.d/init.d, though I've also found /etc/inittab on the web as the default. My book isn't too clear on this as it doesn't state it exactly, so which is it for sure?
2. My assignment asks what I'd name a link to an init script that would start a fictitious BIGD daemon early on in the boot process. My answer: /etc/rc.5.bigd.d --I don't think that this is the right answer though because in the book, it states that the /etc/rc.d/rcN.d contains names of scripts whose names begin with K and S. My understading in that this starts and kills each script depending on how it's entered.
View 5 Replies
View Related
May 6, 2011
my Sabayon desktop won't boot into runlevel 5 anymore:
Code:
ERROR: avahi-daemon failed to start
Also can't start avahi manually, verbose mode gives no extra information, debug says: (...)
Code:
* Starting avahi-daemon ...
+ /usr/sbin/avahi-daemon -D
+ eend 1
+ exit 1
* ERROR: avahi-daemon failed to start
(sic)
I suspect this to be related to the hplip drivers I installed before the last reboot, all I did was select the package in sulfur, and as it worked right out of the box, I changed nothing else.
View 6 Replies
View Related
May 10, 2011
How do I recover from accidentally set the runlevel to 0?
View 5 Replies
View Related
Mar 27, 2011
I'am using Ubuntu 10.10, and wish to install a Debian OS.I downloaded the file "debian-6.0.1a-amd64-netinst.iso.(My motherboard is a 945CG-F7 with INTEL PENTIUM DUAL CPU E2160)I recorded the file on CD as "iso" (following instructions from Internet).Grub tried to read the CD but than started Ubuntu OS.
View 2 Replies
View Related
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
View Related
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
Oct 11, 2010
whats the difference between restarting/stopping apache using 'service httpd restart/stop' and apachectl restart/stop. I know that using 'service httpd restart' is actually a script in /etc/init.d/httpd but what about apachectl?
View 1 Replies
View Related
Jul 16, 2011
I want my samba to keep my windows attributes exactly what the user setted in windows I mean if it has read only file in win box and copy it to samba share ,samba keep it read only and same for other attributes but it does not do it now with my configuration:Quote:
[global]
workgroup = DOMAIN
server string = File Server
[code]...
View 3 Replies
View Related
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
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
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
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
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
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
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
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
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
Feb 4, 2010
What are the possible problem when Windows access the file from Ubuntu got Read Only even though have a full permission to read, write and execute the file? Ubuntu to Ubuntu accessing the file there is no problem only Windows got a problem.
View 1 Replies
View Related