LUKS on arch can be a pain, I just skip it with my new desktop.
I mean it's a M.2 screwed to the motherboard, if someone is in my house with my computer open, I have got bigger problems.
A streamlined ncurses partition/LUKS manager would take 50% time off any arch install.
As for getting your system back to the way you like it, why not just copy your dot files over, had my all my app back in a hour.
Ubuntu isn't the problem, it's Canonical.
Years ago they where hero's in the community, they put together a debian based distro, nicely packaged.
Canonical change it vision, the best way I can describe it they tried the apple style route. (not a dig, despite apple been dicks, they have some good OS design)
As time went on, the amount of patch's for this started conflicting with upstream, This came to head when GNOME 3 went down a different path.
As for unity, I know a lot of people hate it, but I love it and I think it's one of the most consistent and usable DE's, and miles better than GNOME 3, but maintaining the out of tree patch's was a nightmare.
Just try to compile it on any other distro and the pain will haunt you for days.
The second problem for unity was Canonical trying for the mobile space, so the development for unity was rough in the early days and they keep switching the backends.
2D for mobile and for drives that where not up to scratch, then to a 3D backend, then to Compiz and some QML.
Needless to say this pissed everyone off, The inconsistent development ruined Unity, hopefully ubport will get rid of Mir and the other crap now that Canonical ditched them.
The final straw for me was Mir and been completely unresponsive to the community.
I understand with GNOME 3 why they split but Mir was just fragmentation for the sake of it and the licence was problematic.
After that I jumped ship to Arch and never looked back.
I think we can ignore this, it fails on dir's with no files in them.
My fontconfig is still screwed, All the stuff not compile for arch is throwing a lot of errors e.g my lutris wine builds are broken.
It looks like fontconfig has a new formatting for config's and old programs are having a bad time.
make sure that nouveau is blacklisted via kernel cmd or add in the file /etc/modprobe.d/disable-nouveau.conf
fill it with "blacklist nouveau" (without the quotes). Info.
Install the dkms version of the driver with
sudo pacman -S nvidia-dkms
This will install the dkms dependency and ask to switch out the Nvidia package say yes, it should auto compile the Nvidia module for your kernel. Info
3.If you are still having trouble try downgrading to an older versions of the Nvidia package's.Info
It says on the wiki page not to install the drivers directly form Nvidia.
The Nvidia drivers are flaky and will fail if not kept in sync version wise.
This can happen if mirrors are not up to date.
e.g lib32-nvidia-utils does not match version with the 64bit package.
Remove all trace of the Nvidia driver you installed, it will conflict with pacman as it tries to install new files, I believe the uninstaller with the Nvidia driver will do it.
Once you system is clean of the driver make sure that all the right repo's are enabled such as multilib.
Use pacman to install the drivers, the packages you will need are.
As far as I know there is not way to deal with this, since nvidia prime sync required drm modeset. The two drivers try to become drm masters and conflict with each other.
You have set "modprobe nvidia_drm modeset=1" disable it and you can run both X servers again but prime sync will be disabled (e.g screen tearing).
Take a stab at what I am using, Arch Linux with systemd!!!!.
I should be looking at sysv/slackware , clearly they are to blame. \s.
And yet you asked a question that could have been answered by:
knowing how to use systemd
So I have to know all edge uses of systemd, before I can ask a question got it.
knowing how to use the package manager
It comes with systemd, so what's that got to do with with.
knowing how to properly use a search engine
Which I clearly did in my replies, I wanted to make sure it was not a issue for others.
Everyone else answer the question informatively, you tried to ideologically point score.
So I ask one final time, where in my post did I said anything, like OMG!! systemd is such cancer, it killed my puppy. This would never happen with other init systems.
Was a bit pissed, sorry my tone was not to your satisfaction.
I been using Linux since the 90's, I have plenty of "understanding".
How would you like me to convey that I have problem with systemd without mention it.
Again I ask HOW was anything I said specificity point to this been unique to systemd.
I would "WTF" with any other init system,I just want to manage my services but tribal ideologue take everything as an attack.
I have just disable it, I did not enable it. As I said I keep to the defaults, If it was enabled some how by accident, then it's a problem.
If it's enabled by default that's a big problem.
VGA pass-through already works*(it is a pain to set up at the moment) with desktop class GPU mgweatherman08 video.
Optimus is an edge case because if you want to use it with a VM, you would have to pass-through both Intel and Nvidia GPUs in an headless environment. Which kinda defeats the purpose of not dual booting.
Some Nvidia optimus card are muxless, the don't have an output, like in the old days with separate graphics accelerator and display adaptors.
They render an app like a game and copy the frame back to the card acting as the display adaptor, this need the drivers of both cards and the windowing system to have some infrastructure to support this, on linux it's a kludgy hack.
The theory is with Intel's new tech we could run an VM guest with an virtual Intel GPU, That close enough to the real thing that the Nvidia driver will work like normal pass-through.
edit:
spelling/grammar
I am in same boat, I needed windows for a game so I parted my HDD, it ok but booting windows on a HDD is painful(how Microsoft make it so slow, is actually impressive), and I have little space on my SSD.
So you will not have any problems it's easy today with GPT/UEFI, after you install windows just set you bootloader back to Linux and your done.
Your firmware should have an entry of window boot manager.
I have be having performance issues with wine and the lack of DX10/11 is limiting games, hopefully intel's new virtual GPU, will lead to nvidia optimus working with VGA Pass Thru.
I am have trouble working out how, you have set up this system, what style of encrypted HDD did you use.
For a start do not mount the ext drive in /home/m/media, that will cause trouble for now just put it in /mnt. or see here for fstab auto mounting external HDDs.
You was right you don't need a crypttab for just one drive.
I had a similar problem with an ext HDD, I was assigning sda,sda,etc manually and the boot order would change, if the ext drive was plunged in.
I changed crypttab to use UUID instead.
Also check when running mkinitcpio that you have the drive plunged in so it pick up the right modules, I know USB3 should be builtin the kernel, worth a try.
Could you post your fstab and crypttab?
Yes you got it, you might as well use the standard kernel it's one of the benefits of Arch. My system is stable. I am aware of the Nvidia tearing issue, it does not seam too effect my system, I see no tearing.
Test each setting then copy a big file to the an external drive.
You can set it live without rebooting with these commands
echo always >/sys/kernel/mm/transparent_hugepage/enabledecho madvise >/sys/kernel/mm/transparent_hugepage/enabledecho never >/sys/kernel/mm/transparent_hugepage/enabledYou need root for them.
I had the same issue it was Transparent Hugepages
Here is a blog post explaining it.
TL:DR
add
transparent_hugepage=madviseto you kernel boot config.Ok, now do it for six drives and ten partitions.
Also don't forget to set up the bootloader and key files to unlocked :-)
LUKS on arch can be a pain, I just skip it with my new desktop.
I mean it's a M.2 screwed to the motherboard, if someone is in my house with my computer open, I have got bigger problems.
A streamlined ncurses partition/LUKS manager would take 50% time off any arch install.
As for getting your system back to the way you like it, why not just copy your dot files over, had my all my app back in a hour.
Ubuntu isn't the problem, it's Canonical.
Years ago they where hero's in the community, they put together a debian based distro, nicely packaged.
Canonical change it vision, the best way I can describe it they tried the apple style route. (not a dig, despite apple been dicks, they have some good OS design)
As time went on, the amount of patch's for this started conflicting with upstream, This came to head when GNOME 3 went down a different path.
As for unity, I know a lot of people hate it, but I love it and I think it's one of the most consistent and usable DE's, and miles better than GNOME 3, but maintaining the out of tree patch's was a nightmare.
Just try to compile it on any other distro and the pain will haunt you for days.
The second problem for unity was Canonical trying for the mobile space, so the development for unity was rough in the early days and they keep switching the backends.
2D for mobile and for drives that where not up to scratch, then to a 3D backend, then to Compiz and some QML.
Needless to say this pissed everyone off, The inconsistent development ruined Unity, hopefully ubport will get rid of Mir and the other crap now that Canonical ditched them.
The final straw for me was Mir and been completely unresponsive to the community.
I understand with GNOME 3 why they split but Mir was just fragmentation for the sake of it and the licence was problematic.
After that I jumped ship to Arch and never looked back.
I think we can ignore this, it fails on dir's with no files in them.
My fontconfig is still screwed, All the stuff not compile for arch is throwing a lot of errors e.g my lutris wine builds are broken.
It looks like fontconfig has a new formatting for config's and old programs are having a bad time.
obviously they are using a VT100.
Glad to help.
You can hold the package from been upgraded info.
Warning about withholding upgrades for too long, this should only be used short term till a fix is out.
OK, lets try this.
sudo pacman -S nvidia-dkms
This will install the dkms dependency and ask to switch out the Nvidia package say yes, it should auto compile the Nvidia module for your kernel. Info
3.If you are still having trouble try downgrading to an older versions of the Nvidia package's.Info
It says on the wiki page not to install the drivers directly form Nvidia.
The Nvidia drivers are flaky and will fail if not kept in sync version wise.
This can happen if mirrors are not up to date. e.g lib32-nvidia-utils does not match version with the 64bit package.
Update your mirrors so they are in sync, use Reflector and check Mirror Status.
Remove all trace of the Nvidia driver you installed, it will conflict with pacman as it tries to install new files, I believe the uninstaller with the Nvidia driver will do it.
Once you system is clean of the driver make sure that all the right repo's are enabled such as multilib.
Use pacman to install the drivers, the packages you will need are.
sudo pacman -Syy nvidia nvidia-settings nvidia-utils lib32-nvidia-utils
If you are still getting file conflicts then use the wiki on pacman to force overwrite the old files.
As far as I know there is not way to deal with this, since nvidia prime sync required drm modeset. The two drivers try to become drm masters and conflict with each other.
You have set "modprobe nvidia_drm modeset=1" disable it and you can run both X servers again but prime sync will be disabled (e.g screen tearing).
For the my OP
Take a stab at what I am using, Arch Linux with systemd!!!!.
I should be looking at sysv/slackware , clearly they are to blame. \s.
So I have to know all edge uses of systemd, before I can ask a question got it.
It comes with systemd, so what's that got to do with with.
Which I clearly did in my replies, I wanted to make sure it was not a issue for others.
Everyone else answer the question informatively, you tried to ideologically point score.
So I ask one final time, where in my post did I said anything, like OMG!! systemd is such cancer, it killed my puppy. This would never happen with other init systems.
Here is a handy chart.
Was a bit pissed, sorry my tone was not to your satisfaction.
I been using Linux since the 90's, I have plenty of "understanding".
How would you like me to convey that I have problem with systemd without mention it.
Again I ask HOW was anything I said specificity point to this been unique to systemd.
I would "WTF" with any other init system,I just want to manage my services but tribal ideologue take everything as an attack.
Where did I blame systemd for anything?, I just wanted to know that is not on by default, because that would be mad of any init system.
It was something I did somehow. Not everyone who has a problem with systemd is some mad hater.
That's good to know, I am going to mask it. Something trigger it, could have been a script that gobbled the systemd string.
I have just disable it, I did not enable it. As I said I keep to the defaults, If it was enabled some how by accident, then it's a problem. If it's enabled by default that's a big problem.
VGA pass-through already works*(it is a pain to set up at the moment) with desktop class GPU mgweatherman08 video.
Optimus is an edge case because if you want to use it with a VM, you would have to pass-through both Intel and Nvidia GPUs in an headless environment. Which kinda defeats the purpose of not dual booting.
Intel GVT.
Some Nvidia optimus card are muxless, the don't have an output, like in the old days with separate graphics accelerator and display adaptors.
They render an app like a game and copy the frame back to the card acting as the display adaptor, this need the drivers of both cards and the windowing system to have some infrastructure to support this, on linux it's a kludgy hack.
The theory is with Intel's new tech we could run an VM guest with an virtual Intel GPU, That close enough to the real thing that the Nvidia driver will work like normal pass-through.
edit: spelling/grammar
I am in same boat, I needed windows for a game so I parted my HDD, it ok but booting windows on a HDD is painful(how Microsoft make it so slow, is actually impressive), and I have little space on my SSD.
So you will not have any problems it's easy today with GPT/UEFI, after you install windows just set you bootloader back to Linux and your done.
Your firmware should have an entry of window boot manager.
I have be having performance issues with wine and the lack of DX10/11 is limiting games, hopefully intel's new virtual GPU, will lead to nvidia optimus working with VGA Pass Thru.
They are programming in java, not using an IDE is just upping the kink factor.
I boot with EFISTUB/KMS and it runs at native for me, If your booting form an SSD, I would suppress console messages like so.
I go form password prompt to x in about 2 second.
I am have trouble working out how, you have set up this system, what style of encrypted HDD did you use.
For a start do not mount the ext drive in /home/m/media, that will cause trouble for now just put it in /mnt. or see here for fstab auto mounting external HDDs.
You was right you don't need a crypttab for just one drive.
Check you have set up persistent block naming right.
Add encrypt Hook like so.
See here
Sounds like a hardware fault to me, try with a stable live distro like Ubuntu or Windows(if you can) and see if its the same.
I had a similar problem with an ext HDD, I was assigning sda,sda,etc manually and the boot order would change, if the ext drive was plunged in.
I changed crypttab to use UUID instead.
Also check when running mkinitcpio that you have the drive plunged in so it pick up the right modules, I know USB3 should be builtin the kernel, worth a try.
Could you post your fstab and crypttab?
Yes you got it, you might as well use the standard kernel it's one of the benefits of Arch. My system is stable. I am aware of the Nvidia tearing issue, it does not seam too effect my system, I see no tearing.