Linux install : Grub on SSD, Ubuntu on HDD

I’m trying to install Ubuntu on my new laptop.

I have a small SSD and a big HDD, and I want to have :

  1. SSD : Windows

  2. HDD : Windows + Ubuntu

The problem is that the SSD uses “Intel RST” mode (instead of AHCI) and is not detected by Linux. But to boot I need to have Grub installed on this drive.

Can I temporarly install something like “mdadm” ? It would allow me to detect the SSD during the installation, so I could have Grub on my SSD.

The thing is I’m afraid Grub won’t work with this “Intel RST” mode, and I won’t be able to boot anymore…

All topic

How can I stop Linux from changing Windows’s clock? [duplicate]

This question already has an answer here:

  • Force Windows 8 to use UTC when dealing with BIOS clock

    7 answers

I have a computer (HP-e010nr) that dual-boots Linux Mint 18.3 (Cinnamon, 64-bit) and Windows 8.1 (64-bit). Both are installed via BIOS compatibility mode (the Windows installer refused to use UEFI). My issue is:

When I start Linux, it sees that the system clock is not UTC, so it changes it to UTC (and then displays it 7 hours back to keep the right time). When I start Windows, it expects the system clock to be normal time (not UTC). It displays the clock as 7 hours ahead of my time zone, making timestamps wrong.

I can change the hardware clock to normal time after shutting down Linux, but this is very annoying to do. I would like them to both display the same time if I shut down Linux and booted Windows (perhaps have Windows show the clock 7 hours before, or have Linux accept a non-UTC hardware clock).

Is it possible to stop Linux from changing the hardware clock so that other operating systems (Windows and Android) will display the correct time?

All topic

Cannot connect to SMB1 Linux samba share from Win10 [on hold]

We’re currently having issues connecting to a CentOS 5.5 samba share from Windows 10, connecting to the actual share is fine, but any folders within the share return a permission denied error.

As you can see from the logs the auth actually succeeds check_ntlm_password: authentication for user [windows.user] - [windows.user] - [WINDOWSDOMAIN+windows.user] succeeded

Connecting from a Windows 7 machine with the same user works straight away

smbd -V returns Version 3.5.4-0.70.el5_6.1

Have tried setting the SMB version to 2 in the smb.conf

Log file;
https://pastebin.com/FpS9eQgA

smb.conf;

[global]

encrypt passwords = true

winbind separator =+

guest account = nobody

browseable=yes

idmap uid = 10000-65000

idmap gid = 10000-65000

template shell = /bin/bash

workgroup = WINDOWSDOMAIN

realm = example.com

wins support = no

security=ads

winbind use default domain = yes

debug level = 2

smb ports = 445

[linuxshare]

path = /linuxshare

read only = No

create mask = 0777

directory mask = 0775

valid users=root, @WINDOWSDOMAIN+Admins

Any help would be much appreciated

All topic

How to enable/disable autoruns in Linux Mint 19 when a USB drive is plugged in?

I am running Linux Mint 19, and I would need the system to avoid opening any windows when I plug in a USB drive. I can’t seem to find anything in the System Settings to configure this behavior. I have also Googled and not found nothing relevant. Would you please advice?

All topic

Cannot connect to SMB1 Linux samba share from Win10

We’re currently having issues connecting to a CentOS 5.5 samba share from Windows 10, connecting to the actual share is fine, but any folders within the share return a permission denied error.

As you can see from the logs the auth actually succeeds check_ntlm_password: authentication for user [windows.user] - [windows.user] - [WINDOWSDOMAIN+windows.user] succeeded

Connecting from a Windows 7 machine with the same user works straight away

smbd -V returns Version 3.5.4-0.70.el5_6.1

Have tried setting the SMB version to 2 in the smb.conf

Log file;
https://pastebin.com/FpS9eQgA

smb.conf;

[global]

encrypt passwords = true

winbind separator =+

guest account = nobody

browseable=yes

idmap uid = 10000-65000

idmap gid = 10000-65000

template shell = /bin/bash

workgroup = WINDOWSDOMAIN

realm = example.com

wins support = no

security=ads

winbind use default domain = yes

debug level = 2

smb ports = 445

[linuxshare]

path = /linuxshare

read only = No

create mask = 0777

directory mask = 0775

valid users=root, @WINDOWSDOMAIN+Admins

Any help would be much appreciated

All topic

Which Linux distro works best on a gaming PC? [on hold]

I have a gaming PC I mostly use to edit videos and images in high quality.

Specs:

AMD Ryzen 7 1700 8 cores - 16 threads
32 GB G Skill - 1466 MHz on dual channels. Latency: 16-18-18-38.
MOBO: MSI B350M PRO-VDH (AM4)
NVIDIA Geforce GTX 1070 Ti
Samsung SSD and Seagate HDD.

I have an external soundcard Steinberg UR242. Sound EQ is important too.

Which Linux distro would be best to install, to get all the power from the PC and to get as much control as possible?

It has to be clocked, both RAM and CPU and be able to control fans/temp.

All topic

Can I move boot linux partition to another/drive partition and just boot from there?

Can I move working boot partition / root filesystem to another drive/partition and just boot from there?

Or device names will be changed and prevent from working?

All topic

Can I print on a Linux local printer using a remote windows driver?

I have 10 Raspberry Pi’s (RPI) all of which have their own USB Zebra GK420d label printer. After installing CUPS to each of them I can print labels to their printer using EPL2 PPD but it is too slow, especially for PDFs. Only two variants of print jobs get printed: PDFs from Evince, and generated web pages from Chromium.

When printing PDFs on a RPI through CUPS the filter process is pdftopdf -> gstoraster -> rastertolabel, which takes too long to print. Can this be sped up? Can I send a job from a Linux machine to a Windows machine which will then send ‘the same job’ to the same Linux machines printer to print, using the Windows driver? Or am I simply overlooking something?

EDIT: I haven’t got an answer for my own question but my alternate solution was to write my own ZPL, still printing through cups but as a raw queue (no filters used)

All topic

“rm filename” on Linux

I’m on a server (SUSE Enterprise) which has mounted a drive via NFS. I have created a 34GB file via dd if=/dev/Zero of=test_file bs=8k Count=4194304 to test the write speed of the NFS share. After that I deleted the file via rm test_file and then I immediately used df. The value in the “used” column of the output of df starts to decrease. I update by calling df every ~10 seconds and everytime I see that “used” has decreased by ~2GB. So the rm test_file command doesn’t seem to have completed it’s job although I have the command prompt available again (thus rm must have returned “0”, right?). What’s going on here in the Background?

All topic