LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-13-2017, 11:19 PM   #1
ajslisa
LQ Newbie
 
Registered: Jun 2017
Posts: 6

Rep: Reputation: Disabled
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?

Last edited by ajslisa; 06-13-2017 at 11:28 PM. Reason: incomplete original question
 
Old 06-13-2017, 11:40 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.10, Centos 7.5
Posts: 17,655

Rep: Reputation: 2484Reputation: 2484Reputation: 2484Reputation: 2484Reputation: 2484Reputation: 2484Reputation: 2484Reputation: 2484Reputation: 2484Reputation: 2484Reputation: 2484
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
 
Old 06-13-2017, 11:45 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 18,059

Rep: Reputation: 2895Reputation: 2895Reputation: 2895Reputation: 2895Reputation: 2895Reputation: 2895Reputation: 2895Reputation: 2895Reputation: 2895Reputation: 2895Reputation: 2895
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 ?.
 
Old 06-13-2017, 11:47 PM   #4
ajslisa
LQ Newbie
 
Registered: Jun 2017
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by chrism01 View Post
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

Last edited by ajslisa; 06-13-2017 at 11:50 PM.
 
Old 06-13-2017, 11:53 PM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.10, Centos 7.5
Posts: 17,655

Rep: Reputation: 2484Reputation: 2484Reputation: 2484Reputation: 2484Reputation: 2484Reputation: 2484Reputation: 2484Reputation: 2484Reputation: 2484Reputation: 2484Reputation: 2484
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
 
Old 06-13-2017, 11:56 PM   #6
ajslisa
LQ Newbie
 
Registered: Jun 2017
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by syg00 View Post
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
 
Old 06-14-2017, 12:33 AM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 18,059

Rep: Reputation: 2895Reputation: 2895Reputation: 2895Reputation: 2895Reputation: 2895Reputation: 2895Reputation: 2895Reputation: 2895Reputation: 2895Reputation: 2895Reputation: 2895
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.
 
Old 06-14-2017, 12:41 AM   #8
ajslisa
LQ Newbie
 
Registered: Jun 2017
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by chrism01 View Post
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
 
Old 06-14-2017, 12:44 AM   #9
ajslisa
LQ Newbie
 
Registered: Jun 2017
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by syg00 View Post
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
 
Old 06-14-2017, 12:44 AM   #10
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 18,059

Rep: Reputation: 2895Reputation: 2895Reputation: 2895Reputation: 2895Reputation: 2895Reputation: 2895Reputation: 2895Reputation: 2895Reputation: 2895Reputation: 2895Reputation: 2895
That's probably enough - so you are running as a liveCD rather than a full install. Let me go test.
 
Old 06-14-2017, 01:09 AM   #11
ajslisa
LQ Newbie
 
Registered: Jun 2017
Posts: 6

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by syg00 View Post
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

Last edited by ajslisa; 06-14-2017 at 01:10 AM.
 
Old 06-14-2017, 03:10 AM   #12
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 18,059

Rep: Reputation: 2895Reputation: 2895Reputation: 2895Reputation: 2895Reputation: 2895Reputation: 2895Reputation: 2895Reputation: 2895Reputation: 2895Reputation: 2895Reputation: 2895
Real life intervened - rain stopped, dog needed a walk ...

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.

Last edited by syg00; 06-14-2017 at 03:11 AM.
 
Old 06-14-2017, 08:16 PM   #13
AwesomeMachine
LQ Guru
 
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,513

Rep: Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004Reputation: 1004
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
msmtp client giving error : network read error: the operation timed out nitin_ucer Programming 3 05-15-2013 01:52 PM
msmtp client giving error : network read error: the operation timed out nitin_ucer Programming 1 05-13-2013 07:17 PM
silo read error on block <number>... results in a short read peterlowrie Linux - Hardware 0 02-07-2010 07:39 PM
fsck error (read from fs resulted in short read) NeoKaiserSigma Linux - General 0 04-05-2005 06:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:17 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration