=== jmc is now known as jackimc | ||
=== jackimc is now known as messewix | ||
dgargano | hi | 02:01 |
---|---|---|
joshuamaximus | hey, how do i add a second drive so i can use it for games in lutris and other stuff ie steam | 02:05 |
sarnold | probably gparted can help you partition and format it and it might even help you mount it | 02:06 |
joshuamaximus | ok | 02:06 |
joshuamaximus | i was tryin it through kde one | 02:06 |
joshuamaximus | lol | 02:06 |
karenw | Unless you expect it to be used by other operating systems or know enough to want something different, you want a GPT partition table and a single partition, probabally formatted ext4. | 02:07 |
joshuamaximus | ok thanks a bunch | 02:07 |
joshuamaximus | :) | 02:07 |
sarnold | ah yes, good points | 02:07 |
sarnold | probably /opt is a good place to mount it, I think weird things are usually fine being installed somewhere in /opt | 02:08 |
joshuamaximus | ok | 02:08 |
messewix | the kde partition manager is totally fine but I do think gparted is a teeny bit easire to use | 02:09 |
joshuamaximus | ok | 02:10 |
joshuamaximus | so if i have some thing mounted in /media it wont pick it up | 02:10 |
karenw | The /media directory is more intended for removable, well, media. | 02:11 |
joshuamaximus | o ok | 02:11 |
joshuamaximus | i see | 02:11 |
joshuamaximus | so mount in opt | 02:11 |
joshuamaximus | some one tell me how to use gparted like the place where it mounts drives to | 02:15 |
joshuamaximus | just wondering | 02:15 |
karenw | Hmm, guessing it parses /etc/mtab? | 02:20 |
karenw | or is it ftab | 02:20 |
karenw | *checks* /etc/fstab I think | 02:21 |
joshuamaximus | i heard that was dangerous | 02:21 |
joshuamaximus | so yea | 02:21 |
joshuamaximus | not going their | 02:21 |
karenw | No more dangerous than gparted itself. If you touch the existing partitions without knowing what you are doing you will lose data. | 02:22 |
sarnold | you'll want to add it to /etc/fstab to actually enjoy the experience in the long run, heh | 02:23 |
joshuamaximus | well dang | 02:23 |
karenw | Simpler and less error prone than the other method(s) I can think of to make it mount automatically (startup or login scripts) | 02:24 |
joshuamaximus | ok | 02:24 |
karenw | KUbuntu system settings has a "device Auto-Mount" option for me, but again it's more targetted to removable media like CD-ROMs or USB flash drives | 02:24 |
joshuamaximus | i see | 02:26 |
karenw | New line would be something like "UUID=cb23f9c7-da2e-4ee3-acfa-d5b04ffcf59e /opt ext4 defaults 0 2" | 02:26 |
karenw | Replace cb23f9c7-da2e-4ee3-acfa-d5b04ffcf59e with the actual partition ID | 02:26 |
joshuamaximus | why doesnt steam mount the drive when i know where it mounts to | 02:26 |
joshuamaximus | lol | 02:26 |
karenw | Steam doesn't concern itself with disks and partitions | 02:27 |
joshuamaximus | dang | 02:27 |
karenw | It just cares about the library directory you choose in it's settings. | 02:27 |
karenw | Which defaults to somewhere in your /home/<user>/.steam if you don't change it. | 02:27 |
karenw | Same on Windows. We'd be talking about drive letters like D:, but it's the same principle. Steam waves stuff in %programfiles% somewhere unless you change it, and doesn't care about the disk/partition just the path you give it. | 02:28 |
karenw | I have a similar windows setup where my steam, battle.net, etc. setup are on D:. | 02:29 |
joshuamaximus | o ok | 02:30 |
joshuamaximus | so i should use the path u mentioned for mounting a drive in steam | 02:30 |
joshuamaximus | i am sorry just been learning as i go | 02:30 |
joshuamaximus | lol | 02:30 |
karenw | You can mount the partition anywhere you want, as long as you pick the same path in steam settings. | 02:32 |
karenw | Conventional place would be a partition at `/opt`, then set steam to store your library in `/opt/steam` | 02:33 |
joshuamaximus | sorry :( | 02:34 |
karenw | Why are you appologising! | 02:34 |
joshuamaximus | just not understanding right now | 02:34 |
messewix | Partitioning is tricky! | 02:34 |
messewix | I broke my boot partition over the weekend by being an idiot | 02:34 |
karenw | Again, partitioning additional drives is tricky on Windows too. This isn't linux-specific. | 02:34 |
messewix | yeah | 02:35 |
joshuamaximus | i am not even seeing the .steam dir | 02:35 |
karenw | In fact it's worse there. I gave up trying to format a flash drive correctly to be readable by Windows and UEFI from Windows and used Linux to do it instead. | 02:35 |
joshuamaximus | it put it in .local | 02:35 |
karenw | joshuamaximus: Sounds like the default location, yeah | 02:35 |
karenw | Take it one step at a time. First, did you use gparted to create a new partition on the second drive. | 02:36 |
joshuamaximus | do i have to mount a folder | 02:36 |
joshuamaximus | instead of a drive | 02:36 |
karenw | So on linux (all UNIX-likes) you mount a partition in a directory. directory and folder have the same meaning (directory is the UNIX name, folder is the Windows name). | 02:37 |
joshuamaximus | so yes i made a second drive partition and what not | 02:38 |
karenw | Okay. Second did you add a line to fstab for it? | 02:38 |
joshuamaximus | nope | 02:39 |
joshuamaximus | i didn't wanna mess up my fstab | 02:39 |
karenw | Okay. Well, you're going to have to edit it at some point. But I can help tell you exactly what you need to write. | 02:40 |
joshuamaximus | ok | 02:40 |
karenw | Can you run `blkid` in a terminal and post the output? (Use paste.ubuntu.com or a similar service) | 02:40 |
karenw | Also the current contents of /etc/fstab would be helpful (`cat /etc/fstab`) | 02:41 |
joshuamaximus | ok | 02:42 |
joshuamaximus | just has the one drive their | 02:42 |
joshuamaximus | https://paste.ubuntu.com/p/K8jyrfkWRC/ | 02:45 |
karenw | and the output of blkid? | 02:45 |
joshuamaximus | o ok sorry | 02:45 |
joshuamaximus | https://paste.ubuntu.com/p/HWrG4HPzf7/ | 02:46 |
joshuamaximus | brb ok peeps | 02:47 |
joshuamaximus | have to find some thing to eat | 02:47 |
karenw | Okay, this is more convoluted than I expected. You currently have 4 drives and I don't know which one you intended to use. | 02:47 |
karenw | /dev/sda1 is named "games2" | 02:48 |
karenw | /dev/sdab is named "games3" | 02:48 |
karenw | * /dev/sdb1 is named "games3" | 02:48 |
karenw | * /dev/sdc1 is your efi boot drive | 02:48 |
karenw | /dev/sdc2 is your kubuntu install | 02:48 |
joshuamaximus | nvme | 02:48 |
joshuamaximus | i thought i was going to name my drives games 1 2 3 | 02:49 |
karenw | /dev/nvme0n1p1 is the ssd, that's where you want to put your steam library? | 02:49 |
joshuamaximus | yes | 02:49 |
joshuamaximus | nvme is fast | 02:49 |
karenw | Okay. The fstab line would be: | 02:49 |
karenw | UUID=80a12cd6-f325-493a-bd61-468799d1225b /opt ext4 discard 0 2 | 02:50 |
joshuamaximus | why whats the discard option for? | 02:50 |
joshuamaximus | just curious | 02:50 |
karenw | enables TRIM on SSDs | 02:50 |
joshuamaximus | ok cool | 02:51 |
joshuamaximus | thanks | 02:51 |
karenw | Interestingly enough it's set on your root partition, even though that's a HDD | 02:51 |
joshuamaximus | now to edit | 02:51 |
joshuamaximus | so would their be errors if i do this | 02:51 |
joshuamaximus | or conflictions | 02:52 |
karenw | So after you've edited it, run `sudo mount -a` | 02:52 |
karenw | That's what is run at startup, but doing it manually is probabally better than rebooting only to find it doesn't work | 02:52 |
joshuamaximus | ok | 02:53 |
joshuamaximus | so i guess i need to edit now but food is done | 02:53 |
karenw | Okay, mention my name `karenw` when you are back | 02:53 |
joshuamaximus | ok i am back | 02:54 |
joshuamaximus | it was just popcorn | 02:54 |
joshuamaximus | lol | 02:55 |
karenw | Oh okay | 02:55 |
karenw | Did `sudo mount -a` output any errors? | 02:55 |
joshuamaximus | need to edit yet | 02:56 |
joshuamaximus | sorry | 02:56 |
karenw | np | 02:56 |
joshuamaximus | something that it still uses systemd | 02:58 |
karenw | Exact message? | 02:58 |
joshuamaximus | mount: (hint) your fstab has been modified, but systemd still uses | 02:59 |
joshuamaximus | the old version; use 'systemctl daemon-reload' to reload | 02:59 |
karenw | Ah, run `sudo systemctl daemon-reload` (I don't think it's important here, but better to do it) | 02:59 |
joshuamaximus | ok | 02:59 |
joshuamaximus | their | 03:00 |
joshuamaximus | done | 03:00 |
joshuamaximus | no errors i think | 03:00 |
joshuamaximus | unless i have to reboot | 03:00 |
karenw | Nope, okay, you now have your new drive mounted at /opt and it will be there after reboot. \o/ | 03:01 |
joshuamaximus | so will steam now see it | 03:01 |
karenw | So there's 2 problems: Unlike windows, non-admin users can't make new directories in the root of a partition by default. So we need to fix that. And then we need to tell steam it can use this new location for your games | 03:02 |
joshuamaximus | ok so its like permissions | 03:02 |
karenw | So do `mkdir /opt/steam` and then `chown name:name /opt/steam` (replace name with your username) | 03:03 |
karenw | Oh, both of those need `sudo` | 03:03 |
joshuamaximus | ok | 03:03 |
karenw | So I'd run `sudo mkdir /opt/steam` `sudo chown karenw:karenw /opt/steam` | 03:03 |
joshuamaximus | their done | 03:04 |
joshuamaximus | now what | 03:04 |
karenw | Okay, now, inside steam, open up your settings -> storage | 03:04 |
joshuamaximus | k | 03:05 |
joshuamaximus | now? | 03:05 |
karenw | There's a dropdown at the top. For me it says "Local Drive (/)*", open it and click Add Drive. | 03:05 |
karenw | And pick the new folder we made in /opt | 03:06 |
joshuamaximus | so it says external drive now | 03:07 |
joshuamaximus | yippie | 03:07 |
karenw | Yay! | 03:07 |
karenw | You might want to make that the default place for newly installed games | 03:07 |
joshuamaximus | just did | 03:07 |
karenw | Click the ... on the top right under the drive list | 03:07 |
karenw | Excellent, you're all set! | 03:07 |
joshuamaximus | thanks | 03:08 |
joshuamaximus | your worth a bazillion dollars | 03:08 |
joshuamaximus | :D | 03:08 |
joshuamaximus | lol | 03:08 |
joshuamaximus | should i have been talkin about this stuff in off topic? | 03:09 |
joshuamaximus | or was this the right place | 03:09 |
karenw | AFAIK everything until we went to the steam settings screen was on-topic | 03:10 |
karenw | You're running kubuntu, and needed support adding a new partition | 03:10 |
joshuamaximus | ok thanks | 03:10 |
joshuamaximus | didn't wanna break tos | 03:10 |
joshuamaximus | hey, another project i am wanting to do is install teamspeak 5 on here i have friends that use it but every time i try to do it its a zip file | 03:23 |
joshuamaximus | and i don't know where to put every thing when i extract it | 03:23 |
karenw | Probabally just in it's own folder | 03:23 |
joshuamaximus | in what dir | 03:24 |
karenw | Anywhere | 03:24 |
joshuamaximus | ok | 03:24 |
joshuamaximus | so opt would be a good place? | 03:24 |
joshuamaximus | sience its optional | 03:25 |
karenw | Sure, /opt/teamspeak5 ? | 03:25 |
joshuamaximus | yes | 03:25 |
joshuamaximus | how come i am not seeing /opt | 03:26 |
joshuamaximus | is it hidden | 03:26 |
joshuamaximus | i am in home folder and not seeing opt | 03:27 |
joshuamaximus | witch sucks | 03:27 |
joshuamaximus | i was under places not my drive | 03:28 |
joshuamaximus | sorry | 03:28 |
karenw | Your home folder lives at /home/<name> by convention. | 03:30 |
joshuamaximus | ok | 03:31 |
joshuamaximus | thanks | 03:31 |
joshuamaximus | sorry for bugging u | 03:31 |
joshuamaximus | just so many questions | 03:31 |
joshuamaximus | how do i make a nicserv account? | 03:41 |
joshuamaximus | well brb | 03:43 |
joshuamaximus | how do i edit konversation to have a night time theme for the chat backround | 04:09 |
joshuamaximus | or whats a better irc client | 04:12 |
joshuamaximus | yo | 04:25 |
joshuamaximus | what repo is kept up the most snap or flathub | 04:25 |
joshuamaximus | just wondering | 04:25 |
=== gurupras- is now known as guruprasad | ||
joshuamaximus | any one awake | 07:05 |
joshuamaximus | just wondering | 07:05 |
joshuamaximus | i have a dissk write error on steam tryin to install a game | 07:05 |
BluesKaj | Hi all | 11:53 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!