RTJimmyC | Hi, I'm trying to figure out a permission issue on a .sh, I get permission denied, though I appear to seem to have it set correctly | 01:15 |
---|---|---|
RTJimmyC | prime_user@Xubuntu-E5450:~/scripts-pc$ ls -l | 01:16 |
RTJimmyC | -rwxr-xrwx 1 prime_user prime_user 1443 Dec 2 2021 RNscript.sh | 01:16 |
RTJimmyC | prime_user@Xubuntu-E5450:~/scripts-pc$ ./RNscript.sh | 01:16 |
RTJimmyC | ./RNscript.sh: 61: exec: /home/prime_user/scripts-pc/lib/linux-x86_64/RNscript: Permission denied | 01:16 |
ikwyl6 | RTJimmyC: looks like the file: !/scripts-pc/lib/linux-x86_64/RNscript you don't have permission to use... | 01:41 |
RTJimmyC | Doesn't the last rwx mean that all users have execute privileges? | 01:45 |
ikwyl6 | RTJimmyC: that is your script. but it must be trying to use the file: /home/prime_user/scripts-pc/lib/linux-x86_64/RNscript that is in another dir... | 01:57 |
RTJimmyC | TY! I didn't realize there was a second file, works now | 02:07 |
xu-irc1w | hi - just did a clean/minimal install of xubuntu 22.04.2 but system doesn't boot up | 02:54 |
xu-irc1w | following error: | 02:54 |
xu-irc1w | Gave up waiting for root file system device. | 02:54 |
xu-irc1w | says something about a UUID not existing | 02:54 |
xu-irc1w | any help would be appreciated | 02:55 |
Bashing-om | xu-irc1w: Did you manually set your partitions and fail to set '/' for root ? | 03:01 |
xu-irc1w | i didn't manually set anything, just did automatic install in minimal mode | 03:01 |
xu-irc1w | via USB | 03:01 |
xu-irc1w | installed on a RAID-0 setup (the array works fine) | 03:01 |
xu-irc1w | any details you need let me know | 03:02 |
Bashing-om | xu-irc1w: Next then is how are you booting - CSm or UEFI ? the way you boot the installer is how the system will boot. | 03:03 |
xu-irc1w | i have no idea | 03:03 |
xu-irc1w | i'll check | 03:03 |
xu-irc1w | so go into my BIOS and look at what mode it's booting up with? and change it to the other one and see if it works? | 03:04 |
xu-irc1w | BIOS seems to be in UEFI boot mode, from what i can see | 03:05 |
Bashing-om | xu-irc1w: Yeah = that is one option . be aware I have limited experiemne with raid - best I recall the boot code must reside outside of the raid array. | 03:06 |
Bashing-om | !raid | xu-irc1w | 03:06 |
ubottu | xu-irc1w: Tips and tricks for RAID and LVM can be found on https://help.ubuntu.com/community/Installation/SoftwareRAID and http://www.tldp.org/HOWTO/LVM-HOWTO - For software RAID, see https://help.ubuntu.com/community/FakeRaidHowto | 03:06 |
xu-irc1w | i mean, i already installed | 03:08 |
xu-irc1w | so i think the RAID is working fine | 03:08 |
xu-irc1w | it's basic software RAID, Intel | 03:09 |
xu-irc1w | i've used it before with other OSes, works | 03:09 |
xu-irc1w | i only say this because i'm not sure how those links will help ubottu | 03:09 |
xu-irc1w | oh it's a bot | 03:10 |
Bashing-om | xu-irc1w: What I would do here is check the UUIDs in /etc/fstab file that match ' sudo blkid -c /dev/null '. | 03:13 |
xu-irc1w | can you be more descriptive? i am relatively inexperienced with linux | 03:13 |
xu-irc1w | you're asking me to compare UUIDs in 2 different areas, correct? | 03:14 |
xu-irc1w | how do i check directories from shell? | 03:15 |
Bashing-om | xu-irc1w: sure ! ... boot up the insatller in "try ubuntu mode' activate a terminal > run thge blkid command - then in the file manager open the /etc/fstab file. | 03:16 |
xu-irc1w | so i have to plug in the USB key again? | 03:16 |
xu-irc1w | and boot from it? | 03:16 |
Bashing-om | xu-irc1w: are you prently in the shell of the problematic install ? | 03:17 |
xu-irc1w | it goes into shell | 03:17 |
xu-irc1w | after it fails to boot | 03:17 |
xu-irc1w | yes | 03:17 |
xu-irc1w | i just don't know linux commands | 03:17 |
Bashing-om | xu-irc1w: Not a problem - we all started to learn from nothing at some point :) ... from the current shell what results ' ls -al /etc/fstab ' ? | 03:19 |
xu-irc1w | i did "blkid" command and it says some stuff | 03:19 |
xu-irc1w | -rw-r--r-- 1 0 /etc/fstab | 03:20 |
xu-irc1w | ls -al /etc/fstab | 03:23 |
xu-irc1w | shows | 03:23 |
xu-irc1w | -rw-r--r-- 1 0 /etc/fstab | 03:23 |
Bashing-om | xu-irc1w: Great - you do have a shell vice a grub prompt - are you aware that a minimal instal has no GUI ? | 03:26 |
xu-irc1w | it doesn't? | 03:26 |
xu-irc1w | oh | 03:26 |
xu-irc1w | lol | 03:26 |
xu-irc1w | so no desktop and stuff? | 03:26 |
Bashing-om | xu-irc1w: Nope - ya get to choose what you want to install from that minmal :) | 03:27 |
xu-irc1w | perhaps i should do a fresh install | 03:28 |
xu-irc1w | full install | 03:28 |
xu-irc1w | and go from there | 03:28 |
xu-irc1w | because i am not good at linux so i can use GUI | 03:28 |
Bashing-om | xu-irc1w: That depends on what you want - I too prefer to build from a minimal install. Much less bloat and faster system. | 03:29 |
xu-irc1w | i see | 03:29 |
xu-irc1w | i am only running a server though | 03:30 |
xu-irc1w | with a good system | 03:30 |
xu-irc1w | so it's fine it marginally slower | 03:30 |
Bashing-om | xu-irc1w: ^ such however - oe ust know what they want :( | 03:30 |
Bashing-om | xu-irc1w: In a server - a gui is another attack vector ! Hense not generaly recommneded to run a GUI . | 03:31 |
Bashing-om | one must know* | 03:32 |
xu-irc1w | k | 03:32 |
xu-irc1w | but it is just a server for fun with friends | 03:32 |
xu-irc1w | i am not advanced enough to do a 24/7 server lol | 03:32 |
Bashing-om | xu-irc1w: But someday you will be - experience and practice will make it so. | 03:33 |
xu-irc1w | well i don't think i will ever be advanced enough, i have too many other hobbies | 03:34 |
xu-irc1w | and linux is complicated | 03:34 |
Bashing-om | xu-irc1w: only as complicated as you choose to make it - choose your spin and ubuntu is almoast "sailor proof" :) // right now I do not understand how with " waiting for root file system device." you can even boot the kernel :( | 03:38 |
xu-irc1w | i am doing a new install | 03:39 |
xu-irc1w | full install | 03:39 |
xu-irc1w | i hope it works | 03:39 |
Bashing-om | xu-irc1w: well - we are here if ya need :D | 03:40 |
xu-irc1w | same problem, doesn't boot | 03:43 |
xu-irc1w | ls -al /etc/fstab | 03:43 |
xu-irc1w | shows the same thing as before | 03:43 |
xu-irc1w | so what not? | 03:44 |
xu-irc1w | now* | 03:44 |
xu-irc1w | it says | 03:44 |
xu-irc1w | -rw-r--r-- 1 0 /etc/fstab | 03:44 |
Bashing-om | xu-irc1w: do all the UUID's agree with what 'blkid' report ? | 03:45 |
xu-irc1w | i don't know how to check that | 03:45 |
Bashing-om | xu-irc1w: ' less /etc/fstabv ' to see the file's contents. | 03:45 |
Bashing-om | typo ! | 03:46 |
Bashing-om | ' less /etc/fstab ' | 03:46 |
xu-irc1w | you want me to type in 'blkid' ? | 03:46 |
xu-irc1w | i did that | 03:47 |
xu-irc1w | it shows me a UUID code | 03:47 |
Bashing-om | xu-irc1w: I swapped out from a mechanical keyboard - with this keyboard a lot of fat fingering going on :( | 03:48 |
Bashing-om | xu-irc1w: Yeah - ya need to make sure that ALL the UUIDs exactly match what the blkid shows for UUIDs . exactly! | 03:50 |
xu-irc1w | how do i check the other UUIDs? | 03:51 |
xu-irc1w | there is a UUID on the shell screen already | 03:51 |
xu-irc1w | that one? | 03:51 |
Bashing-om | xu-irc1w: Does A Wimdows instal play into this also ? where Windows is holding a partition captive ? | 03:52 |
xu-irc1w | i do not have windows on it | 03:52 |
xu-irc1w | just linux install fresh' | 03:52 |
xu-irc1w | when i try to boot it says | 03:53 |
xu-irc1w | Gave up waiting for root file system device. | 03:54 |
xu-irc1w | ALERT! UUID=blablabla does not exist. Dropping to a shell! | 03:54 |
Bashing-om | xu-irc1w: pastebin the results and I will check // I got ecperience :) ... run ' sudo blkid | nc termbin.com 9999 ' . pass me back the resulting locatig URL. | 03:54 |
xu-irc1w | i don't know how to use that | 03:55 |
xu-irc1w | sorry | 03:55 |
xu-irc1w | just tell me how to change the UUID | 03:55 |
Bashing-om | xu-irc1w: No problem in that shell run command ' sudo blkid | nc termbin.com 9999 ' copy and paste the command for best results. | 03:56 |
xu-irc1w | i want to learn though | 03:57 |
xu-irc1w | tell me how to do this myself | 03:57 |
xu-irc1w | i want to check it myself :) | 03:57 |
Bashing-om | xu-irc1w: We 1st make sure there is sometbing that needs changing :P | 03:57 |
xu-irc1w | tell me how to check | 03:57 |
xu-irc1w | i want to learn | 03:57 |
xu-irc1w | i don't want pastebin because i don't learn | 03:57 |
Bashing-om | xu-irc1w: Me - I open a text editor and cupy the UUID as shown from ' less /etc/fstab ' then for each UUID I copy from ' sudo blkid' ad compare the results :D | 04:00 |
Bashing-om | ad/and* | 04:00 |
xu-irc1w | command "less" not found | 04:00 |
Bashing-om | xu-irc1w: Wow - that is minimal !~ .. ok try with ' cat /etc/fstab ' | 04:01 |
xu-irc1w | this is full install not minimal | 04:02 |
xu-irc1w | i did "cat /etc/fstab" | 04:02 |
xu-irc1w | nothing happened | 04:02 |
Bashing-om | xu-irc1w: ' ls -al /etc/fstab ' ? so we know we have shell interfase ! | 04:04 |
xu-irc1w | -rw-r--r-- 1 0 /etc/fstab | 04:04 |
xu-irc1w | that's what it says | 04:08 |
xu-irc1w | i have to go soon | 04:10 |
Bashing-om | xu-irc1w: Then proofs we have a true shell - what now shows ' which less ' ? ( we got a path issue ?) | 04:10 |
xu-irc1w | command: "which less" | 04:11 |
xu-irc1w | result: nothing happens | 04:11 |
Bashing-om | xu-irc1w: plot thickens - how about ' ls -al /usr/bin/less ' ? | 04:12 |
xu-irc1w | no such file or directory | 04:13 |
xu-irc1w | i have to go very soon | 04:15 |
Bashing-om | xu-irc1w: Blows me away that "less" is not in a default install - how about ls -al /usr/bin/cat ' ? | 04:15 |
xu-irc1w | it exists | 04:16 |
Bashing-om | xu-irc1w: then we can look from ' cat /etc/fstab ' . | 04:16 |
xu-irc1w | just tell me what to type in but plz hurry | 04:17 |
xu-irc1w | i have to go soon | 04:17 |
xu-irc1w | i will be back later though, another day | 04:17 |
Bashing-om | xu-irc1w: I did ! >> cat /etc/fstab :D | 04:17 |
xu-irc1w | i do that | 04:17 |
xu-irc1w | nothing happens | 04:17 |
xu-irc1w | command: "cat /etc/fstab" | 04:18 |
xu-irc1w | result: nothing happens | 04:18 |
Bashing-om | xu-irc1w: Path issue ? what about ' /usr/bin/cat /etc/fstab ' ? | 04:19 |
xu-irc1w | "usr/bin/cat/etc/fstab" ? | 04:19 |
xu-irc1w | or | 04:19 |
xu-irc1w | "usr/bin/cat /etc/fstab" ? | 04:19 |
xu-irc1w | i did the second one | 04:20 |
xu-irc1w | nothing happens | 04:20 |
Bashing-om | the latter - a space betwee /cet/ and /etc/ | 04:20 |
xu-irc1w | thank you so much for your help but i unfortunately have to go for now | 04:21 |
Bashing-om | xu-irc1w: Makes absoltely no sense to me ! the tool exists and the file exists ! | 04:21 |
xu-irc1w | it's OK, thank you! | 04:21 |
xu-irc1w | i might come back later and try again | 04:21 |
xu-irc1w | take care | 04:21 |
Bashing-om | laters ! | 04:21 |
=== keypushe- is now known as keypusher | ||
christian | hello, I have a problem in Terminals with xubuntu 22.04. When I mark a command until end of line an paste the result, the command is not executed. I have to type ENTER explicitely. How can I recover the former behaviour, where the command was executed without typing ENTER? Thanks for any advice! | 13:36 |
nzxtnzxt | hello fellow linux users | 19:21 |
nzxtnzxt | are you all feeling linux today | 19:21 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!