You are not logged in.

#1 2015-04-08 11:18:13

piedro
Member
Registered: 2013-04-11
Posts: 218

[Solved] How to configure boot with linux, linux-lts and nvidia driver

Hello everyone!

After my Arch box is getting more and more used as production system (just happens...) I get a bit paranoid. So in addition to system backups (working on that...) I would really like to set up a second safe boot option with the linux-lts package...

Now I do have two questions about that:

1. If I install linux-lts and nvidia-lts how do I make sure that nvidia-lts is used by the lts boot option? Or is this a default behaviour anyway?

2. As I use one disk with btrfs and I understand that the btrfs modules change a lot, - is it safe to use the linux-lts kernel to access a btrfs disk that has been in use with the standard arch linux kernel?


I would really appreciate some hints here before I set it all up...

thx a lot,
piedro

Last edited by piedro (2015-10-24 18:30:39)

Offline

#2 2015-04-08 12:49:26

ooo
Member
Registered: 2013-04-10
Posts: 1,638

Re: [Solved] How to configure boot with linux, linux-lts and nvidia driver

1. If you have configured your system for nvidia drivers everything should work. nvidia-lts provides the nvidia kernel module for -lts kernel and it will be loaded on boot as usual.

2. from btrfs wiki:

The filesystem disk format is no longer unstable, and it's not expected to change unless there are strong reasons to do so.

It's recommended to use most recent kernel with btrfs, but you shoud have no problems using your btrfs partitions with linux-lts. That is unless they realize something is seriously broken and change the file system format. Just don't enable any possible new optional btrfs features that aren't supported by the -lts kernel.

Offline

#3 2015-04-08 14:01:47

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] How to configure boot with linux, linux-lts and nvidia driver

Make sure you test your backup setup (both configs & data backups and the -lts stuff) before you need it. Check if it works as expected.

Offline

#4 2015-04-08 15:47:28

firekage
Member
From: Eastern Europe, Poland
Registered: 2013-06-30
Posts: 617

Re: [Solved] How to configure boot with linux, linux-lts and nvidia driver

ooo wrote:

1. If you have configured your system for nvidia drivers everything should work. nvidia-lts provides the nvidia kernel module for -lts kernel and it will be loaded on boot as usual.

In my case, it never worked. I installed lts kernel and nvidia for it, after boot nvidia module could not start X or itself. Black screen and only terminal.

Offline

#5 2015-04-08 16:21:56

piedro
Member
Registered: 2013-04-11
Posts: 218

Re: [Solved] How to configure boot with linux, linux-lts and nvidia driver

Thanks!

That seems to be a bit mixed messages here...

@ooo: I know about the Btrfs Wiki but there's a boot preventing bug  again introduced with newest kernel 3.19.x ...

From the Btrfs WIki also: 

Alert: bug in 3.19.1, 3.14.35, 3.18.9

    mount can hang due to a deadlock introduced in stable kernel series, see Gotchas for more

I guess I just have to try to find out about the nvidia stuff then ...

thx for reading,
p.

Offline

#6 2015-04-09 06:29:07

ooo
Member
Registered: 2013-04-10
Posts: 1,638

Re: [Solved] How to configure boot with linux, linux-lts and nvidia driver

piedro wrote:

@ooo: I know about the Btrfs Wiki but there's a boot preventing bug  again introduced with newest kernel 3.19.x ...

I though the question was whether you could have issues using btrfs partitions with linux-lts after using it with newer kernel, which should be very unlikely as I tried to explain.

It's not uncommon that major btrfs bugs slip in to kernel releases, but they are usually fixed quickly. Looks like a fix is already scheduled to 3.19.4 for the deadlock mentioned. for the record I've been using my btrfs partitions on 3.19.3 for ~2weeks without any lockups or other issues.

Offline

#7 2015-04-09 06:58:35

piedro
Member
Registered: 2013-04-11
Posts: 218

Re: [Solved] How to configure boot with linux, linux-lts and nvidia driver

Alright then!

I'll try on the weekend...

thx a lot,
piedro

Offline

#8 2015-06-07 17:27:02

piedro
Member
Registered: 2013-04-11
Posts: 218

Re: [Solved] How to configure boot with linux, linux-lts and nvidia driver

Works.

thx, p.

Offline

#9 2015-06-07 20:48:29

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [Solved] How to configure boot with linux, linux-lts and nvidia driver

Please remember to mark the thread as solved https://bbs.archlinux.org/viewtopic.php?id=130309

Offline

#10 2015-06-07 21:11:21

piedro
Member
Registered: 2013-04-11
Posts: 218

Re: [Solved] How to configure boot with linux, linux-lts and nvidia driver

Title too long, I marked in the first post...

cheers, p.

Offline

Board footer

Powered by FluxBB