LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   read only error (https://www.linuxquestions.org/questions/linux-newbie-8/read-only-error-4175607878/)

ajslisa 06-13-2017 11:19 PM

read only error
 
hey, i'm new to Linux, obviously.
I have fedora running on a bootable usb
I can not run firefox, it says the firefox profile cannot be loaded, it may be missing or inaccessible
secondly, when I try to run a 'sudo yum update' it redirects to '/usr/bin/dnf update' (which I presume is fine) but then says config error: Read-only fyle system: '/var/log/dnf.log'
I have read threads saying the read only error only comes about when massive damage has been done to the system, and granted i'm a brand-spankin new user, I don't think I've done anything to massively damage the system, I've literally just changed directories and been working on navigation.

side question, what is the stock text editor for fedora?

chrism01 06-13-2017 11:40 PM

1. RHEL/Centos still use yum (at least up to v6), but Fedora (bleeding edge precursor to RHEL releases) has moved on to dnf - so no worries there

2. you can check rw access of your mounts thus
Code:

sudo mount
3. default editor should be vim (sometimes symlinked to 'vi') afaik.

HTH & Welcome to LQ :)

syg00 06-13-2017 11:45 PM

What sort of USB - thumb drive, or external (real) hard drive ?. How did you create this system - post a link is fine.
From a terminal post (all) the output from this
Code:

df -hT
cat /etc/fstab
lsblk -f

As in most things Linux, there are innumerable editors available. Which GUI editor ships depends on desktop. Which iso did you install ?.

ajslisa 06-13-2017 11:47 PM

Quote:

Originally Posted by chrism01 (Post 5722538)
1. RHEL/Centos still use yum (at least up to v6), but Fedora (bleeding edge precursor to RHEL releases) has moved on to dnf - so no worries there

2. you can check rw access of your mounts thus
Code:

sudo mount
3. default editor should be vim (sometimes symlinked to 'vi') afaik.

HTH & Welcome to LQ :)

hello chris thank you, after mounting it i'm encountering the same error =/
wait, I think i'm misunderstanding, I apologize I probably need rest really lol
the data the mount command returned did not have any errors listed, but I will keep studying to at least be able to understand the data it is returning to be able to further identify the error. thank you again

chrism01 06-13-2017 11:53 PM

Please post the output of
Code:

sudo mount
and the cmds asked for by syg00 (also prefixed with sudo if reqd).
Please use CODE tags https://www.linuxquestions.org/quest...do=bbcode#code when doing so - thank you

ajslisa 06-13-2017 11:56 PM

Quote:

Originally Posted by syg00 (Post 5722540)
What sort of USB - thumb drive, or external (real) hard drive ?. How did you create this system - post a link is fine.
From a terminal post (all) the output from this
Code:

df -hT
cat /etc/fstab
lsblk -f

As in most things Linux, there are innumerable editors available. Which GUI editor ships depends on desktop. Which iso did you install ?.

sandisk 16gb thumb drive, https://getfedora.org/en/workstation/download/
also, to be completely honest with you I cant say I've installed an iso yet. today is my first day in Linux so please forgive the incompetence

syg00 06-14-2017 12:33 AM

Don't worry about not knowing (yet) - we're all here to learn.

What you downloaded was an iso - how did you "install" it on the thumb-drive ?. Details needed.
Also, to run those commands I gave you, hit the "Windows" key if you have one, and type "terminal". It will give you a seesion like an old DOS prompt. Enter the commands, and ue the "Edit" menu item to copy them (highlight with the mouse first). Paste here.
That is probably gnome desktop, so your editor will be gedit. Amongst others as per above.

ajslisa 06-14-2017 12:41 AM

Quote:

Originally Posted by chrism01 (Post 5722543)
Please post the output of
Code:

sudo mount
and the cmds asked for by syg00 (also prefixed with sudo if reqd).
Please use CODE tags https://www.linuxquestions.org/quest...do=bbcode#code when doing so - thank you

Code:

[root@loaclhost-live liveuser]# sudo mount
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime,seclabel)
prov on /proc type proc (rw,nosuid,nodev,noexec,relatime)
devtmpfs on /dev type devtmpfs (rw,npsuid,seclabel,size=1953736k,nr_inodes=488434,mode=775)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,realtime)
tmpfs on /dev/pts type devpts (rw,nosuid,nodev,seclabel)
devpts on /dev/pts type devpts (rw,nosuid,noexe,relatime,seclabel,grid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,nodev,seclabel,mode=755)
tmpfs on /sys/fs/cgroup type tmpfs (ro,nosuid,nodev,noexec,seclabel,mode=755)
cgroup on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexe,relatime,seclabel)
efivars on /sys/firmware/efi/efivarfs (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpu,cpuacct)
cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/net_cls,net_prio type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls,net_prio)
cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
cgroup on /sys/fs/cgroup/pids type cgroup (rw,nosuid,nodev,noexec,relatime,pids)
cgroup on /sys/fs/cgroup/devices type cground (rw,nosuid,nodev,noexec,relatime,devices)
cgroup on /sys/fs/cgroup/freezer type cgroup (re,nosuid,nodev,noexec,relatime,freezer)
cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
cgroup on /sys/fs/cgroup/hugelb type cgroup (rw,nosuid,nodev,noexec,relatime,hugelb)
configfs on /sys/kernel/config type configfs (rw,relatime)
/dev/sdal on /run/initramfs/live type vfat (ro,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro)
/dev/mapper/live-rw on / type ext4 (ro,relatime,seclabel,data=ordered)
rpc_pipefs on /var/lib/nfs/rpc_pipefs (rw,relatime)
selinuxfs on /sys/fs/selinux type selinuxfs (rw,relatime)
system-l on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=22,pgrp=l,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=14222)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,seclabel)
tmpfs on /tmp type tmpfs (rw,nosuid,seclabel)
debugfs on /sys/kernel/debug type debugfs (rw,relatime,seclabel)
mqueue on /dev/mqueue type mqueue (rw,relatime,seclabel)
nfsd on /proc/fs/nfsd type nfsd (re,relatime)
vart on /var/tmp type tmpfs (rw,relatime,seclabel)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,seclabel,size=395036k,mode=700,uid=1000,gid=1000)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
tmpfs on /run/user/0 type tmpfs (rw,nosuid,nodev,relatime,seclabel,size=395036k,mode=700)

sorry for the delay, the usb cant connect to the internet currently so I typed that over to copy it, will be copying the results of the other inquiry shortly

ajslisa 06-14-2017 12:44 AM

Quote:

Originally Posted by syg00 (Post 5722549)
Don't worry about not knowing (yet) - we're all here to learn.

What you downloaded was an iso - how did you "install" it on the thumb-drive ?. Details needed.
Also, to run those commands I gave you, hit the "Windows" key if you have one, and type "terminal". It will give you a seesion like an old DOS prompt. Enter the commands, and ue the "Edit" menu item to copy them (highlight with the mouse first). Paste here.
That is probably gnome desktop, so your editor will be gedit. Amongst others as per above.

gnome desktop?
I used rufus, and i'm unable to copy at the moment, the laptop running the thumbdrive wont run firefox so I copied over what chris requested by typing, about to do the same for your command output requests as well, pausing for a little nicotine first though, will start in 2 min

syg00 06-14-2017 12:44 AM

That's probably enough - so you are running as a liveCD rather than a full install. Let me go test.

ajslisa 06-14-2017 01:09 AM

Quote:

Originally Posted by syg00 (Post 5722540)
What sort of USB - thumb drive, or external (real) hard drive ?. How did you create this system - post a link is fine.
From a terminal post (all) the output from this
Code:

df -hT
cat /etc/fstab
lsblk -f

As in most things Linux, there are innumerable editors available. Which GUI editor ships depends on desktop. Which iso did you install ?.

[CODE]
df -hT
Filesystem Type Size Used Avail Use% Mounted on
devtmpfs devtmpfs 1.9G 0 1.9G 0% /dev
tmpfs tmpfs 1.9G 8.0K 1.9G 1% /dev/shm
tmpfs tmpfs 1.9G 1.5M 1.9G 1% /run
tmpfs tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup
/dev/sdal vfat 15G 1.4G 14G 10% /run/initramfs/live
/dev/mapper/live-rw ext4 6.3G 4.5G 1.9G 71% /
tmpfs tmpfs 1.9G 72K 1.9G 1% /tmp
vartmp tmpfs 1.9G 64K 1.9G 1% /var/tmp
tmpfs tmpfs 386M 4.6M 382M 2% /run/user/1000
tmpfs tmpfs 386M 0 386M 0% /run/user/0

cat /etc/fstab
vartmp /var/tmp tmpfs defaults 0 0

lsblk -f
NAME FSTYPE LABEL UUID MOUNTPOINT
loop1 ext4 Anaconda 21402f47-lb69-42de-a0f0-bc633db181cf
|-live-base ext4 Anaconda 21402f47-lb69-42de-a0f0-bc633db181cf
|-live-rw ext4 Anaconda 21402f47-lb69-42de-a0f0-bc633db181cf /
mmcblk0rpmb
mmcblk0boot0
loop2 DM_snapshot_cow
|-live-rw ext4 Anaconda 21402f47-lb69-42de-a0f0-bc633db181cf /
loop0 squashfs
sda
|-sda1 vfat FEDORA-WS-L C620-B611 /run/initramfs/live
mmcblk0boot1
mmcblk0
|-mmcblk0p4 ntfs Windows RE tools 6AB41F16B41EE47B
|-mmcblk0p2
|-mmcblk0p3 ntfs Windows C6665491665483D9
|-mmcblk0p1 vfat 70E3-7F31
[CODE]

I couldn't get the arrows to copy exactly, but did what I could. also, code wrapping not wanting to work

syg00 06-14-2017 03:10 AM

Real life intervened - rain stopped, dog needed a walk ... :p

Dunno what your issue is - I fired up a F25 Live desktop iso I had laying around. No problems.
That "/dev/mapper/live-rw on / type ext4 (ro,relatime,seclabel,data=ordered)" should be rw. Maybe some error messages, but hard to know what to look for. Try this in a terminal, and post the output.
Code:

journalctl -b 0 | grep -A10 -Ei "(sysroot|switching root)"
Did you check the iso you downloaded to ensure it was valid ?. I've not used rufus, so can't comment on its veracity.

AwesomeMachine 06-14-2017 08:16 PM

If you simply wrote the iso file to a flash drive it would still be an iso file system, which is read only. If you installed the os to a flash drive, then it should be read/write.


All times are GMT -5. The time now is 03:24 PM.