I want to mount / partition Read-Only !

I have Arch installed on my Acer Aspire One... and it works great on this little machine!
The Acer One has no hard disk, but uses SSD, so to reduce writes to disk i use EXT2, I have my /home on a separate SD card, and I mounted log and temp directories on tmpfs:
/var/log, /var/tmp, /tmp, /var/cache/pacman/pkg .
now i would like to mount the root partition (/) read only.
the reason is that i want that filesystem (EXT2) to be safe in case of improper power-off or any other disaster ...
this guide for Opensuse shows how to take care of resolv.conf and mtab files (which are, I suppose, the only files that need to be writable, after i moved the log and temp directoryes in tmpfs and the home on SD card)
http://en.opensuse.org/How-To_Make_the_ … _read-only
but then the guide advises to change some configuration files, so that the sistem doesn't remount the root partition read-write after fsck.
unfortunately the files named in the gyuide are related to Suse, and i didn't find them in Arch...:/
In fact i tried to add the "ro" option to the / partition in my /etc/fstab and i rebooted the system, but as root i can still write to the partitions..
  Ideas and Info ..?!
THX
xirtyllo

Other post here.  http://bbs.archlinux.org/viewtopic.php?id=65414
Closing

Similar Messages

  • [kinda solved, hd broken]Salvaged hard drive mounted as read-only

    My old netbook died recently (if a guy in a shady computer store in Edinburgh tells you that "this adapter will surely work" -- what ever you do, don't believe him). Got a new netbook, and an external usb hd case for the old hard drive in the hope of salvaging it.
    The old hd seems to have survived, as it mounts just fine and all my old partitions show up (home folder, root, swap...). However, I cannot change the permissions of the files using thunar as root, nor can I copy them to my internal hd --probably because the drive is mounted as read-only. The /home partition, which is the one I'm interested in copying things from, is formated in ext4.
    I'm guessing I should change something in my fstab, though I'm not sure what exactly. What's weird though is that the drive does not show up when I run sudo fdisk -l, nor does it show in gparted (which is run as root, of course) -- meaning I don't know what rule I should put in my fstab file, as I dont know what mount point to apply it to. I use xfce on my current laptop, but seeing as the problem persists when I try on my partners ubuntu laptop I figure that the DE hasn't got much to do with it.
    I guess I could open up the computer, put in the old hard drive and change some configs, install drivers etc. to make my new computer boot properly from it. Does seem like a drag though, so I figured I'd try asking here first. I suspect this is a fairly common problem, but my google-fu does not appear to be strong enough as I've failed to find a solution on my own.
    Last edited by caligo (2010-07-19 20:09:01)

    karol wrote:'mount: /dev/sdd2: cannot read superblock' is quite different from mounting read-only - I'd call it read ... NOT!
    I hope you have some sort of backup.
    Yes, "cannot read" is indeed a more disheartening message... When trying to copy the files through thunar, I can see them but not move or open them -- and trying to change the permissions results in an error message about the file system being "read-only".
    itsbrad212 wrote:# fsck /dev/sdd2
    results in
    Attempt to read block from filesystem resulted in short read
    The thing might indeed be dead...
    I have backups of all the important things -- just wanted to save some recent random files and a bunch of wallpapers, but I think I'll survive the loss. Thanks for the help guys. Might try to format the whole thing, see if its just the data that's corrupted or of the harware is busted as well.

  • [Solved]External HDD only mounts as read only

    Okay, I have a general log, but I'm not completely sure what all information you need. Ask and you will receive.
    So I run udiskie through i3, works great, but my file systems get mounted as read-only, which is..not great. It's pretty irritating. So I thought, hey, let's just chown that shit, right? No. It's a read only file system.
    Anyway, so I did killall udiskie, tried mounting it manually and all as demonstrated in lsblk, and it's still read only, for some interesting reason. (Sorry the lsblk log isn't clean). If there's some other output you'd like, let me know...
    I run the thunar file manager, which is alright, but it doesn't auto-mount (I tried setting it up, googled it a lot, it just didn't auto-mount, and udiskie looked like it worked fine until I realized it was all read-only).
    In lsblk I ran sudo thunar to view the drive, since permission was denied to myself. It was still read-only, meaning it's not necessarily a udiskie problem?  I could mount my other flash drive alright it appeared, but when I did it with udiskie it was also readonly.
    The flash drive was made with dd, so it had two partitions, the second one mounted fine, the first one not so much, and with udiskie it just mounted what looked like the second one with more files (So maybe both? I was a bit confused).
    lsblk: http://pastebin.com/WdJbky9j
    udiskie -a: http://pastebin.com/RT2sQE01
    On a side note, those awesome arrows on the side of my terminal thanks to zsh and oh-my-zsh? They're just empty rectangles in rxvt-unicode, and I have no idea why. They display fine in pastebin. If anyone happens to know what I'm missing there, much obliged.
    Solution:
    Actually understand NTFS in linux (Working on it)
    Install ntfs-3g
    Last edited by Rojikku (2014-07-02 02:06:18)

    lsblk -f: http://pastebin.com/KeHpDtF6
    Anything I could say would be repetitive of the data. >>; But for record purposes, btrfs and the external is ntfs.
    Edit:  I don't have ntfs-3g installed, FYI. It seemed like an alternative to udiskie and I dislike installing things frivolously. I noticed another user fixed a somewhat similar problem like that, would that be my issue?
    Last edited by Rojikku (2014-07-02 01:37:24)

  • External drives mount as read only

    I am running OS X 10.6, on a MacPro. Something happened recently to make my external hard drives mount as read only. The only way I've found to be able to fix them is to run Disk Utility every time I start up my computer. Does anyone have an solution to this?
    Also every time I run the Disk Utility, at the end of the repairs it says "Updating boot support partitions for the volume as required." I do not know if this is related, but I haven't been able to find anything relevant in relation to my problem with the drives mounting as read only.
    Message was edited by: HeatherK

    You might give this a try:
    Select the drive and Press COMMAND-I to open the Get Info window. At the bottom open the Ownership and Sharing section. Be sure the box labeled "Ignore permissions on this volume" is unchecked. If it is checked then click on the lock icon, authenticate, then uncheck that box. Close the window.
    Open the Terminal application in your Utilities folder and at the prompt enter or paste the following:
    sudo chown root:admin
    Put a space after "admin" then drag the drive's icon into the Terminal window. Press RETURN. You will be prompted to enter your admin password which will not be echoed.
    See if this fixes the problem.

  • [partially solved] Root mounted as read-only, lots of errors

    I started my laptop without the power cord, and the boot stopped at several steps. I could continue the boot with pressing the power button for a second. XFCE booted fine, but some things were broken. Then I rebooted, and I cannot boot to xfce anymore at all (with or without power cord), since the root is mounted as read-only, and other partitions are not mounted at all. I didn't change my system at all so it is difficult to fix the problem. Now when I boot I just get lots of errors due to the read-only root partition. Fstab should be okay since it worked before, and has not been modified in months.
    # /etc/fstab: static file system information
    # <file system> <dir> <type> <options> <dump> <pass>
    none /dev/pts devpts defaults 0 0
    none /dev/shm tmpfs defaults 0 0
    #/dev/cdrom /media/cd auto ro,user,noauto,unhide 0 0
    #/dev/dvd /media/dvd auto ro,user,noauto,unhide 0 0
    #/dev/fd0 /media/fl auto user,noauto 0 0
    UUID=141f10a8-d0f2-43e0-b71e-5d01f1b3b126 /boot ext2 defaults 0 0
    UUID=7f0ebf97-6e66-4e39-9db8-05fabd53180b swap swap defaults 0 0
    UUID=859ac481-922b-4126-a575-462b145581fd / jfs defaults 0 0
    UUID=3439fb11-ee6f-443a-9635-73ee7268e31c /media/disk ext3 defaults,data=writeback 0 0
    UUID=82e37328-095e-4fd8-87ca-a74c6decc746 /media/oldroot ext3 defaults,data=writeback 0 0
    I found related errors in daemon.log
    Jun 23 13:15:26 nawi laptop-mode: Remounting filesystems.
    Jun 23 13:15:26 nawi laptop-mode: /dev/sda6 not found in PARTITIONS.
    Jun 23 13:15:26 nawi laptop-mode: / not found in PARTITIONS.
    Jun 23 13:15:26 nawi laptop-mode: Checking /dev/sda6 against HD because PARTITIONS contains "auto".
    Jun 23 13:15:26 nawi laptop-mode: Considering /dev/sda.
    Jun 23 13:15:26 nawi laptop-mode: /dev/sda6 contains /dev/sda, which is in HD, so we will remount it.
    Jun 23 13:15:26 nawi laptop-mode: Original options: rw
    Jun 23 13:15:26 nawi laptop-mode: Reducing file system type.
    Jun 23 13:15:26 nawi laptop-mode: Executing: mount /dev/sda6 / -t jfs -o remount,rw,atime,norelatime
    Jun 23 13:15:26 nawi laptop-mode: Executing: /sbin/blockdev --setfra 256 /dev/sda6
    Jun 23 13:15:26 nawi laptop-mode: none not found in PARTITIONS.
    Jun 23 13:15:26 nawi laptop-mode: /dev not found in PARTITIONS.
    Jun 23 13:15:27 nawi laptop-mode: Checking none against HD because PARTITIONS contains "auto".
    Jun 23 13:15:27 nawi laptop-mode: Considering /dev/sda.
    Jun 23 13:15:27 nawi laptop-mode: none not found in PARTITIONS.
    Jun 23 13:15:27 nawi laptop-mode: /proc not found in PARTITIONS.
    Jun 23 13:15:27 nawi laptop-mode: Checking none against HD because PARTITIONS contains "auto".
    Jun 23 13:15:27 nawi laptop-mode: Considering /dev/sda.
    Jun 23 13:15:27 nawi laptop-mode: none not found in PARTITIONS.
    Jun 23 13:15:27 nawi laptop-mode: /sys not found in PARTITIONS.
    Jun 23 13:15:27 nawi laptop-mode: Checking none against HD because PARTITIONS contains "auto".
    Jun 23 13:15:27 nawi laptop-mode: Considering /dev/sda.
    Jun 23 13:15:27 nawi laptop-mode: none not found in PARTITIONS.
    Jun 23 13:15:27 nawi laptop-mode: /dev/pts not found in PARTITIONS.
    Jun 23 13:15:27 nawi laptop-mode: Checking none against HD because PARTITIONS contains "auto".
    Jun 23 13:15:27 nawi laptop-mode: Considering /dev/sda.
    Jun 23 13:15:27 nawi laptop-mode: none not found in PARTITIONS.
    Jun 23 13:15:27 nawi laptop-mode: /dev/shm not found in PARTITIONS.
    Jun 23 13:15:27 nawi laptop-mode: Checking none against HD because PARTITIONS contains "auto".
    Last edited by nawitus (2009-06-23 20:57:47)

    It seems that laptop-mode remounted the partitions as read-only, because of bug in laptop-mode(?). I disabled that daemon, and now boot works. After that I can boot normally even with laptop-mode daemon, but now I'm afraid of booting without the power cord as that can break the system..

  • All USB drives mount as read only for user

    I have searched a bunch and thee results I find seem to be irrelevant to my situation. Most relate to a single USB media that is a problem and won't read or write.
    On a new Arch install on a new computer (my third base system install). Running Gnome.
    All USB mass storage devices mount as read only for the logged in user. Root has write permissions and I can mkdir no problem. It is not an issue with the USB drive itself as this occurs with multiple USB media (I've tested several SD cards on a reader and at least two drives, all the media works correctly on my existing installations)
    I'm posting the contents of my /etc/group file in case there's an obvious error there I don't see, and my dmesg output upon plugging in the drive. User name is changed in the group file posted to "archie"
    This is a single-user system.
    /ect/group
    root:x:0:root
    bin:x:1:root,bin,daemon
    daemon:x:2:root,bin,daemon
    sys:x:3:root,bin
    adm:x:4:root,daemon
    tty:x:5:
    disk:x:6:root
    lp:x:7:daemon
    mem:x:8:
    kmem:x:9:
    wheel:x:10:root,archie
    ftp:x:11:
    mail:x:12:
    uucp:x:14:archie
    log:x:19:root
    utmp:x:20:
    locate:x:21:
    rfkill:x:24:
    smmsp:x:25:
    http:x:33:
    games:x:50:
    lock:x:54:
    uuidd:x:68:
    dbus:x:81:
    network:x:90:
    video:x:91:
    audio:x:92:
    optical:x:93:
    floppy:x:94:
    storage:x:95:
    scanner:x:96:
    power:x:98:
    nobody:x:99:
    users:x:100:archie
    systemd-journal:x:190:
    archie:x:1000:
    avahi:x:84:
    polkitd:x:102:
    rtkit:x:133:
    gdm:x:120:
    brlapi:x:999:
    kvm:x:78:
    ntp:x:87:archie
    dmesg output
    [ 968.044188] usb 4-3: new high-speed USB device number 4 using ehci-pci
    [ 968.170628] usb-storage 4-3:1.0: USB Mass Storage device detected
    [ 968.171435] scsi7 : usb-storage 4-3:1.0
    [ 969.174450] scsi 7:0:0:0: Direct-Access Generic USB SD Reader 1.00 PQ: 0 ANSI: 0
    [ 969.175068] scsi 7:0:0:1: Direct-Access Generic USB MS Reader 1.03 PQ: 0 ANSI: 0
    [ 969.939417] sd 7:0:0:0: [sdb] 15572992 512-byte logical blocks: (7.97 GB/7.42 GiB)
    [ 969.941028] sd 7:0:0:0: [sdb] Write Protect is off
    [ 969.941037] sd 7:0:0:0: [sdb] Mode Sense: 03 00 00 00
    [ 969.944664] sd 7:0:0:1: [sdc] Attached SCSI removable disk
    [ 969.945509] sd 7:0:0:0: [sdb] No Caching mode page found
    [ 969.945517] sd 7:0:0:0: [sdb] Assuming drive cache: write through
    [ 969.952682] sd 7:0:0:0: [sdb] No Caching mode page found
    [ 969.952693] sd 7:0:0:0: [sdb] Assuming drive cache: write through
    [ 969.956396] sdb: sdb1
    [ 969.965003] sd 7:0:0:0: [sdb] No Caching mode page found
    [ 969.965011] sd 7:0:0:0: [sdb] Assuming drive cache: write through
    [ 969.965015] sd 7:0:0:0: [sdb] Attached SCSI removable disk
    I'm sure I'm just missing something in user management, but I can't find what.
    Last edited by hooya (2014-04-27 03:10:49)

    I am also having the same problem. Root can read and write to automounted drives, but my user cannot. I've tried with a variety of drives, I am assuming they are being automounted by root instead of the logged-in user somehow. (I am running x directly, and am not using a display manager, if that has anything to do with it).
    When I look at how it is mounted it is as follows:
    /dev/sdc1 on /run/media/myuser/drivename type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=1000,fmask=0022,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2)

  • Disk image mounts as read only

    I have a set of disk images that are mounting as read only. How can I change the permissions for these images? The image files themselves  have r/w permission, but when they get mounted, they are mounted as read only. The images are formatted as "Mac OS standard". I notice that Disk Utility now can only create images in Mac OS Extended. Is that the problem?

    That obsolete volume format is no longer fully supported in Mavericks. You can read it, but you can't write to it.

  • [solved] External drive automatically mounted as read-only

    Hi folks,
    I have a strange issue with an external drive automatically mounted as read-only whenever I plug it to my laptop :
    [sclarckone@archLaptop ~]$ mount
    /dev/sdb1 on /run/media/sclarckone/dd type ntfs (ro,nosuid,nodev,relatime,uid=1000,gid=100,fmask=0177,dmask=077,nls=utf8,errors=continue,mft_zone_multiplier=1,uhelper=udisks2)
    And I can't remount it as read-write :
    [sclarckone@archLaptop ~]$ sudo mount -o remount,rw /dev/sdb1
    mount: cannot remount /dev/sdb1 read-write, is write-protected
    But of course, I'm able to mount it as read-write on other operating systems.
    I have udisks and udisks2 installed on my system. I also belong to the storage group so I thought I could mount a filesystem as a normal user but I can't :
    [sclarckone@archLaptop ~]$ mount /dev/sdb1 dd/
    mount: only root can do that
    I don't know whether it is relevant to this problem, but I have systemd and polkit installed as well... Does anybody has an idea of where the problem could come from ?
    Thanks for your help !
    Last edited by sclarckone (2012-12-13 21:45:04)

    Check out following file :
    /usr/share/polkit-1/actions/org.freedesktop.udisks.policy
    Look for mount a device and It should have configuration like :
    <action id="org.freedesktop.udisks.filesystem-mount">
    <description>Mount a device</description>
    <description xml:lang="da">Montér en enhed</description>
    <message>Authentication is required to mount the device</message>
    <message xml:lang="da">Autorisering er påkrævet for at montere et fil system</message>
    <defaults>
    <allow_any>no</allow_any>
    <allow_inactive>no</allow_inactive>
    <allow_active>yes</allow_active>
    </defaults>
    </action>

  • [SOLVED] Root mounted as "Read-only filesystem". mkinitcpio issue?

    I am currently in the middle of setting up system encryption with LUKS. I have been making good progress so far, but I do have one remaining issue.
    After typing my LUKS password, the Linux kernel starts to complain that root is a read-only filesystem. "Starting NetworkManager... cannot touch file XYZ: Read-only filesystem". When it has finally finished booting, I am dropped into a TTY. I can log in and cat my files, but I cannot write to any files our use any programs that do (like pacman).
    I wonder if this is an mkinitcpio issue, but I am not sure. For whatever it's worth, here's my basic setup:
    * /dev/sda1: Boot
    * /dev/sda2: Swap
    * /dev/sda3: Root (LUKS/ext4)
    * menu.lst looks like this
    * /etc/fstab contains this line:
    /dev/mapper/root / ext4 defaults 0 1
    * /etc/mkinitcpio.conf contains these lines:
    MODULES="ext4"
    HOOKS="base udev pata scsi sata encrypt filesystems"
    edit: I should note that I did reinstall the kernel after making those edits to mkinitcpio.conf.
    Any idea what I'm doing wrong? As always, I really do appreciate the help. Thanks in advance!
    Last edited by jalu (2011-04-16 22:14:20)

    So it looks like this major problem was caused by a minor mistake. The file /etc/rc.sysinit was not executable. This made it impossible for the kernel to run the script, which in turn made it impossible for the kernel to mount /dev/sda2 (the swap partition) at /dev/mapper/swap. For some unknown reason, this in turn caused /dev/sda2 to be mounted at /, messing everything up.
    Anyway, a simple sudo chmod +x /etc/rc.sysinit fixed the problem. Thanks for the help, MadTux!

  • Filesystem mounts as read only after boot

    Hi!
    I have checked the wiki, the forum posts and poked around on the web but haven't found anything helpful.
    I have just installed arch on my laptop, and after boot the file system is read only.
    Where do I change it so that it is mounted as read write after initial boot up?
    Thanks for any help and pointers!
    Chris Danyael X
    Last edited by Danyael X (2008-09-22 09:35:19)

    Onwards: That did work. with rw I can read and write. Thanks for the help!
    But there is still something that fails early on just after the kernel has been loaded, iit's in the stuff that comes after udev being loaded but the info scrolls by much to fast for me to see.
    Thats what I want to take a look at but I can't find it in /var/log, I'm not sure what that part of the boot up is called so I don't quite know where to start looking for a log of that.
    EDIT: I have now found the reason for that the inittab stuff doesnt log anything at all ever. Seems like I have to hack the scripts to get som logging features in there. I am fairly certain that its the inettab stuff that doesn't reload the filesystem as it should. I'll get back with the modifications I'm contemplating on making on the inittab scripts to enable logging. Found som e interesting stuff on IBM developerworks that describes the nessecary modifications though its for a RHEL system not Arch.
    Last edited by Danyael X (2008-09-24 10:07:28)

  • [SOLVED]root partition read only after update systemd

    After update systemd today, the systemd-remount-fs.service fail to start. Root filesystem is read only I tried add rw to fstab mount option, but the root parition is still  read only. I noticed that util-linux package are installed and udev package is dropped , Does it related to my problem?
    Please advice me.
    Sorry for my bad English.
    Update
    After downgard util-linux package, the system work again 
    Update 2
    UUID in grub.conf and fstab  are inconsistent, Thanks to  tomegun for point out this problem.
    Last edited by aduser (2012-06-08 04:05:59)

    output of systemctl status systemd-remount-fs.service
    systemd-remount-fs.service - Remount Root and Kernel File Systems
    Loaded: loaded (/usr/lib/systemd/system/systemd-remount-fs.service; static)
    Active: failed (Result: exit-code) since Sun, 03 Jun 2012 01:17:42 +0800; 5min ago
    Process: 132 ExecStart=/usr/lib/systemd/systemd-remount-fs (code=exited, status=1/FAILURE)
    CGroup: name=systemd:/system/systemd-remount-fs.service
    fstab
    UUID=55326b3a-eec9-498e-8e20-0a7ddd8daf9a / btrfs rw,compress=lzo,space_cache,autodefrag 0 1
    UUID=54c17991-716b-496e-a89b-4e978f2d92a4 /boot ext2 defaults 0 1
    systemctl
    UNIT LOAD ACTIVE SUB JOB DESCRIPTION
    proc-sys...misc.automount loaded active waiting Arbitrary Executable File Formats File System Automount Point
    sys-devi...d-card1.device loaded active plugged RV630 audio device [Radeon HD 2600 Series]
    sys-devi...d-card0.device loaded active plugged 82801I (ICH9 Family) HD Audio Controller
    sys-devi...et-eth0.device loaded active plugged RTL8111/8168B PCI Express Gigabit Ethernet controller
    sys-devi...dd-sdd1.device loaded active plugged ST3120213A
    sys-devi...dd-sdd2.device loaded active plugged ST3120213A
    sys-devi...ock-sdd.device loaded active plugged ST3120213A
    sys-devi...da-sda1.device loaded active plugged WDC_WD6400AAKS-22A7B0
    sys-devi...da-sda2.device loaded active plugged WDC_WD6400AAKS-22A7B0
    sys-devi...da-sda3.device loaded active plugged WDC_WD6400AAKS-22A7B0
    sys-devi...da-sda5.device loaded active plugged WDC_WD6400AAKS-22A7B0
    sys-devi...ock-sda.device loaded active plugged WDC_WD6400AAKS-22A7B0
    sys-devi...db-sdb1.device loaded active plugged WDC_WD1002FAEX-00Z3A0
    sys-devi...db-sdb2.device loaded active plugged WDC_WD1002FAEX-00Z3A0
    sys-devi...db-sdb3.device loaded active plugged WDC_WD1002FAEX-00Z3A0
    sys-devi...db-sdb4.device loaded active plugged WDC_WD1002FAEX-00Z3A0
    sys-devi...db-sdb5.device loaded active plugged WDC_WD1002FAEX-00Z3A0
    sys-devi...ock-sdb.device loaded active plugged WDC_WD1002FAEX-00Z3A0
    sys-devi...dc-sdc1.device loaded active plugged ST980811AS
    sys-devi...dc-sdc2.device loaded active plugged ST980811AS
    sys-devi...ock-sdc.device loaded active plugged ST980811AS
    sys-devi...y-ttyS1.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS1
    sys-devi...y-ttyS2.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS2
    sys-devi...y-ttyS3.device loaded active plugged /sys/devices/platform/serial8250/tty/ttyS3
    sys-devi...y-ttyS0.device loaded active plugged /sys/devices/pnp0/00:07/tty/ttyS0
    -.mount loaded active mounted /
    boot.mount loaded active mounted /boot
    dev-hugepages.mount loaded active mounted Huge Pages File System
    dev-mqueue.mount loaded active mounted POSIX Message Queue File System
    sys-kernel-debug.mount loaded active mounted Debug File System
    tmp.mount loaded active mounted /tmp
    xs-big.mount loaded active mounted /xs/big
    xs-dev-\...pace\x5d.mount loaded active mounted /xs/dev/[workspace]
    xs-dev.mount loaded active mounted /xs/dev
    xs-dl.mount loaded active mounted /xs/dl
    xs-file.mount loaded active mounted /xs/file
    systemd-...d-console.path loaded active waiting Dispatch Password Requests to Console Directory Watch
    systemd-...word-wall.path loaded active waiting Forward Password Requests to Wall Directory Watch
    console-...daemon.service loaded active running Console Manager
    console-...-start.service loaded failed failed Console System Startup Logging
    dbus.service loaded active running D-Bus System Message Bus
    [email protected] loaded active running dhcpcd on eth0
    gdm.service loaded active running Gnome Display Manager
    [email protected] loaded active running Getty on tty1
    systemd-journald.service loaded active running Journal Service
    systemd-logind.service loaded active running Login Service
    systemd-...unt-fs.service loaded failed failed Remount Root and Kernel File Systems
    systemd-sysctl.service loaded active exited Apply Kernel Variables
    systemd-...-setup.service loaded active exited Recreate Volatile Files and Directories
    systemd-...rigger.service loaded active exited udev Coldplug all Devices
    systemd-udev.service loaded active running udev Kernel Device Manager
    systemd-...nlevel.service loaded failed failed Update UTMP about System Runlevel Changes
    systemd-...ssions.service loaded active exited Permit User Sessions
    systemd-...-setup.service loaded active exited Setup Virtual Console
    dbus.socket loaded active running D-Bus System Message Bus Socket
    systemd-initctl.socket loaded active listening /dev/initctl Compatibility Named Pipe
    systemd-journald.socket loaded active running Journal Socket
    systemd-shutdownd.socket loaded active listening Delayed Shutdown Socket
    systemd-...control.socket loaded active listening udev Control Socket
    systemd-...-kernel.socket loaded active running udev Kernel Socket
    basic.target loaded active active Basic System
    cryptsetup.target loaded active active Encrypted Volumes
    getty.target loaded active active Login Prompts
    graphical.target loaded active active Graphical Interface
    local-fs-pre.target loaded active active Local File Systems (Pre)
    local-fs.target loaded active active Local File Systems
    multi-user.target loaded active active Multi-User
    network.target loaded active active Network
    remote-fs.target loaded active active Remote File Systems
    sockets.target loaded active active Sockets
    sound.target loaded active active Sound Card
    swap.target loaded active active Swap
    sysinit.target loaded active active System Initialization
    systemd-...es-clean.timer loaded active waiting Daily Cleanup of Temporary Directories
    LOAD = Reflects whether the unit definition was properly loaded.
    ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
    SUB = The low-level unit activation state, values depend on unit type.
    JOB = Pending job for the unit.
    74 units listed. Pass --all to see inactive units, too.
    grub2 conf
    menuentry 'Broken' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-ck kernel-true-852c733e-be0d-4375-8668-d7ae049295a9' {
    load_video
    set gfxpayload=keep
    insmod gzio
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos1'
    if [ x$feature_platform_search_hint = xy ]; then
    search --no-floppy --fs-uuid --set=root --hint-bios=hd0,msdos1 --hint-efi=hd0,msdos1 --hint-baremetal=ahci0,msdos1 54c17991-716b-496e-a89b-4e978f2d92a4
    else
    search --no-floppy --fs-uuid --set=root 54c17991-716b-496e-a89b-4e978f2d92a4
    fi
    echo 'Loading Linux ck kernel ...'
    linux /vmlinuz-linux-ck root=UUID=852c733e-be0d-4375-8668-d7ae049295a9 ro rootflags=subvol=broken quiet add_efi_memmap elevator=bfq
    echo 'Loading initial ramdisk ...'
    initrd /initramfs-linux-ck.img
    The update packages
    core/btrfs-progs 0.19.20120328-2 2 -> 3
    core/device-mapper 2.02.95-4 4 -> 6
    core/cryptsetup 1.4.2-1 1 -> 2
    core/gpm 1.20.6-7 7 -> 8
    core/lvm2 2.02.95-4 4 -> 6
    extra/libglapi 8.0.3-1 1 -> 2
    extra/libgl 8.0.3-1 1 -> 2
    extra/ati-dri 8.0.3-1 1 -> 2
    extra/bluez 4.99-2 2 -> 6
    extra/consolekit 0.4.6-3 3 -> 4
    extra/gvfs 1.12.3-1 1 -> 2
    extra/gvfs-obexftp 1.12.3-1 1 -> 2
    extra/libatasmart 0.18-1 1 -> 2
    extra/libcanberra 0.28-4 4 -> 5
    extra/libpulse 2.0-1 1 -> 2
    extra/libcanberra-pulse 0.28-4 4 -> 5
    extra/mesa 8.0.3-1 1 -> 2
    extra/pulseaudio 2.0-1 1 -> 2
    extra/xf86-video-ati 6.14.99-0.20120517 0.20120517 -> 1.20120517
    community/libvirt 0.9.12-7 7 -> 8
    community/ttf-ubuntu-font-family 0.80-2 2 -> 3
    multilib/lib32-libglapi 8.0.3-3 3 -> 3.1
    multilib/lib32-libgl 8.0.3-3 3 -> 3.1
    ==> Software upgrade (new version) :
    core/util-linux 2.21.1-2 -> 2.21.2-1
    core/e2fsprogs 1.42.2-2 -> 1.42.3-1
    core/libpipeline 1.2.0-2 -> 1.2.1-1
    core/libsystemd 44-7 -> 184-2
    core/procps-ng 3.3.2-2 -> 3.3.3-1
    core/systemd 44-7 -> 184-2
    core/systemd-sysvcompat 3-1 -> 184-2
    extra/pixman 0.24.4-1 -> 0.26.0-1
    extra/xorg-server-common 1.12.1.902-1 -> 1.12.2-1
    extra/xorg-server 1.12.1.902-1 -> 1.12.2-1
    community/libuser 0.57.1-2 -> 0.57.6-1
    community/os-prober 1.49-3 -> 1.53-1
    community/systemd-arch-units 20120412-6 -> 20120528-3
    repo-ck/linux-ck-corex 3.3.7-1 -> 3.4-1
    repo-ck/linux-ck-corex-headers 3.3.7-1 -> 3.4-1
    ==> New package :
    core/systemd-tools 184-2 (required by systemd)
    Does the systemd not support btrfs subvolume as root partition??
    Last edited by aduser (2012-06-02 17:45:39)

  • Root is mounted as read-only

    Hello,
    I 've installed arch 2009.08 but when i am booting into my system a message appears that my / is mounted as ro (read-only)
    I ve to run mount -n -o remount,rw / to make it writtable.
    I ve used ext4 for / and /home partitions and ext3 for /boot
    Is there any bug with the latest 2009.08 images ?
    Thanks

    x-tra wrote:
    I amm gettin the folowing message during boot
    #The superblock could not be read or does not describe a correct ext2 filesystem (FUNNY because i prepared ext4 partions for / and /home).
    I f the device is valid and it really contains ext2/ext3 then the superblock is corrupt"
    Please run efsck -b <block> /dev/sda3
    Then my root partition has to be mounted using the command
    mount -n -o remount,rw /
    Any idea  ?????
    I ve done the installation using netisnstall cd because with the core one i had kernel panics
    Here is my fstab
    # /etc/fstab: static file system information
    # <file system>        <dir>         <type>    <options>          <dump> <pass>
    none                   /dev/pts      devpts    defaults            0      0
    none                   /dev/shm      tmpfs     defaults            0      0
    /dev/cdrom             /media/cd   auto    ro,user,noauto,unhide   0      0
    /dev/dvd               /media/dvd  auto    ro,user,noauto,unhide   0      0
    #/dev/fd0               /media/fl   auto    user,noauto             0      0
    /dev/sda1 /boot ext3 defaults 0 1
    /dev/sda2 swap swap defaults 0 0
    /dev/sda3 / ext4 defaults 0 1
    /dev/sda4 /home ext4 defaults 0 1
    /dev/sdb1 /mnt/DATA ext4 defaults 0 1

  • Arch is mounting / as read-only post-install

    Okay, so I have no idea what I'm missing (I've done several Arch installs.) Machine is i686, no unusual hardware, and it's had Arch installed on it in the past. I run through the configuration, partitions, packages, etc., and when I reboot, Arch mounts my root as read-only..
    Any ideas as to why this would be happening?

    I understand, and thanks for your help. Fortunately I had just installed the system and didn't have anything valuable on it; Arch installs so fast that I figured it would be faster for me to run the install again and verify that my fstab was correct rather than try and chroot in

  • Want to create a Read Only user for a given app owner user

    Hi Folks,
    We have an application owner schema, lets call it OWNER, which has different objects living under it.
    Now, for certain reasons, the app group wants a read only user which should be able to view objects living only in OWNER. It would only be able to read things, and have no create or alter types of priv to be able to change anything.
    The first idea was to create a new user (e.g. RO) and give this explicit grants (select only) for all objects in OWNER. Though this works, is a maintenance havoc, since everytime there is a new object in OWNER, you have to remember to give explicit grants to all RO (or RW ) kind of users.
    What i am looking forward to is, some sort of privilege or role concept that apply on the user level, and not on object level. something that allows me to say, all objects of this schema (e.g. OWNER) are visible to user RO. Other restrictions on RO would control read or write behaviour.
    Does this thing exist ? please point me to the documentation/example..
    regards
    raghav..

    CREATE OR REPLACE TRIGGER myTest.trg_mytest
    AFTER DDL
    ON myTest.SCHEMA
    DECLARE
         lv_obj_type VARCHAR2(20) := TRIM(UPPER(ora_dict_obj_type));
         lv_evt_type VARCHAR(20)      := TRIM(UPPER(ora_sysevent));
         lv_obj_name     VARCHAR2(30) := trim(UPPER(ora_dict_obj_name));
         lv_role_name     VARCHAR2(30) := 'myTest_RO';
         lv_stmt          VARCHAR2(4000) := NULL;
         ln_job_nr     NUMBER;
    BEGIN
         IF lv_evt_type != 'GRANT' --lv_obj_type <> 'OBJECT PRIVILEGE' --
         THEN
              DBMS_JOB.SUBMIT(ln_job_nr,'begin execute immediate ''grant ' || ' select on ' ||
                                       lv_obj_name || ' to ' || lv_role_name || '''; END;');
         END IF;
       INSERT INTO TB_EVT_LOG(d_date, description)
       VALUES(SYSDATE,  lv_obj_name || '~~~~ created ' || lv_obj_type || '~~~~' || lv_evt_type );
       EXCEPTION
         WHEN OTHERS THEN
           RAISE;
    END trg_mytest;
    /This works. But, my problem is that it is not able to filter out the Grant statement itself, Its logging an entry for the grant (as a ddl operation as well).
    what am I doing wrong here ?
    regards
    raghav..

  • USB flash storage mounted as read-only filesystem

    Hello all,
    I'm new to Arch Linux and trying to migrate all my works to arch. Installed KDE, GNOME3, and hardware drivers successfully But I have problems with USB flash disks. When plugging a usb device, system mounts it as a readonly filesystem. so I can't change its contents. It always happens to my flash disk, but flash disk of my friend is ok!
    I tried to mount manually with super user access, but no hope. It says:
    [root@myhost soroush]# mount /dev/sdb1 /mnt/
    mount: warning: /mnt/ seems to be mounted read-only.

    roygbiv wrote:Maybe you can post your /etc/fstab?
    # /etc/fstab: static file system information
    # <file system> <dir> <type> <options> <dump> <pass>
    tmpfs /tmp tmpfs nodev,nosuid 0 0
    /dev/sda2 / ext4 defaults 0 1
    /dev/sda3 /home ext4 defaults 0 1
    /dev/sda4 swap swap defaults 0 0

Maybe you are looking for

  • Need to add text to a field in ALV_GRID

    Hi guys, I am working on a ALV_GRID report where I have a requirement...I have one field which is for debit and credit indicator, so what I have to do is ..if field has got 'A' in it then I need to print 'Yes' in this particular filed in the output a

  • Problems - application crashes on startup on iOS

    iphone 5 ios6.1, bought Photoshop Touch from itunes. when i try to start it remain freezed on the blue starting screen with the PS Photoshop Touuch logo. tried already to install again, to respring, but nothing happens...please help!

  • Issues installing InDesignCC2014. Getting this message - Error:5

    Hello. i just installed indesign CC 2014 on both the mac in the studio and the computer in the home office. I used the new version of InDesign to work on a on a current project, and now that i'm trying to open the same file at home the new indesign w

  • HT204053 App Store / Apple ID update

    My old Apple ID is coming up at the App Store and making hard for me to make purchases. When I went to Apple, I was being treated like I lost my ID. I just quit what I was doing. It was frustrating. How do I change my ID at the App Store?

  • Can't buy skype credit - An internal error occurre...

    i got this error message when buying skype credit. "An internal error occurred. Sorry, but we were unable to start your payment. Please try again later." any help would be appreciated.