You are not logged in.

#1 2020-06-13 15:18:07

DuckerMan
Member
Registered: 2018-09-21
Posts: 35

[Solved] How do I use /dev/sdb as drive for Games?

Hi there! I have 2 hard drives:
/dev/sda5 is /
/dev/sda6 is /home

/dev/sdb1  - Is another empty harddrive. How do I automount this harddrive and then create WINEPREFIX (I want to save games on /dev/sdb1, and /dev/sda6 will be for another files) ?

Last edited by DuckerMan (2020-06-13 16:04:13)

Offline

#2 2020-06-13 15:29:35

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,518
Website

Re: [Solved] How do I use /dev/sdb as drive for Games?

By "Games" do you just mean everything in Wine?  If so, then you've already described the answer: mount that partition wherever you'd like then set WINEPREFIX to that path.

What have you tried?  What problems are you facing doing this?


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#3 2020-06-13 15:39:33

DuckerMan
Member
Registered: 2018-09-21
Posts: 35

Re: [Solved] How do I use /dev/sdb as drive for Games?

I've tried nothing. How can I automount /dev/sdb?

Offline

#4 2020-06-13 15:41:31

Roken
Member
From: South Wales, UK
Registered: 2012-01-16
Posts: 1,366

Re: [Solved] How do I use /dev/sdb as drive for Games?


Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus B550-F Gaming MB, 128Gb Corsair DDR4, Fractal Design Define 7 XL, 5 HD (2 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703

/ is the root of all problems.

Offline

#5 2020-06-13 15:42:31

Skunky
Member
Registered: 2018-01-25
Posts: 231

Re: [Solved] How do I use /dev/sdb as drive for Games?

You can use Fstab

Offline

#6 2020-06-13 15:51:55

DuckerMan
Member
Registered: 2018-09-21
Posts: 35

Re: [Solved] How do I use /dev/sdb as drive for Games?

So, I have to regenerate fstab, right?

Offline

#7 2020-06-13 15:55:28

loqs
Member
Registered: 2014-03-06
Posts: 19,062

Re: [Solved] How do I use /dev/sdb as drive for Games?

You can just add the new entry to the current fstab.
Edit:
See Persistent_block_device_naming to avoid issues caused by device names changing.

Last edited by loqs (2020-06-13 15:59:12)

Offline

#8 2020-06-13 15:58:10

DuckerMan
Member
Registered: 2018-09-21
Posts: 35

Re: [Solved] How do I use /dev/sdb as drive for Games?

loqs wrote:

You can just add the new entry to the current fstab.

Could you please say, how can I do this?

Offline

#9 2020-06-13 16:01:26

loqs
Member
Registered: 2014-03-06
Posts: 19,062

Re: [Solved] How do I use /dev/sdb as drive for Games?

See the link to fstab skunky provided and the link to persistent block device naming I provided.  Edit fstab in a text editor,  add the new entry at the end.

Offline

#10 2020-06-13 16:03:36

DuckerMan
Member
Registered: 2018-09-21
Posts: 35

Re: [Solved] How do I use /dev/sdb as drive for Games?

Thanks

Offline

Board footer

Powered by FluxBB