get linux boxes to show hostname on windows network
Once it is installed and running, edit /etc/samba/smb.conf and put following lines in somewhere in Global Settings section:
workgroup = your_workgtoup netbios name = your_hostname
I was wondering why there was not an even amount of ram reported on linux.
Graphics is on the motherboard so it uses some memory.
dmesg | grep "Memory"
[ 0.000000] Memory: 16069952K/16453324K available (8427K kernel code, 1285K rwdata, 3956K rodata, 1480K init, 1292K bss, 383372K reserved, 0K cma-reserved) [ 0.871218] [drm] Memory usable by graphics device = 2048M
dmidecode --type memory
dd command for two discs with different size partitions
Now to restore the image to any sdb:
Next, backup entries of the extended partitions:
Use 446 bytes to overwrite or restore your /dev/XYZ MBR boot code only with the contents of $mbr.backup.file.
Use 512 bytes to overwrite or restore your /dev/XYZ the full MBR (which contains both boot code and the drive's partition table) with the contents of $mbr.backup.file.
The sfdisk command act as a partition table manipulator for Linux. You can use this tool to list partitions too:
# sfdisk -lu /dev/sda
# sfdisk -ls /dev/sda
71669760 Disk /dev/sda: 8922 cylinders, 255 heads, 63 sectors/track Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from 0 Device Boot Start End #cyls #blocks Id System /dev/sda1 * 0+ 104- 105- 838656 83 Linux /dev/sda2 104+ 235- 131- 1048576 82 Linux swap / Solaris /dev/sda3 235+ 8922- 8688- 69781504 83 Linux /dev/sda4 0 - 0 0 0 Empty
-l : List the partitions of a device.
-s : List the size of a partition.
-u or -uS or -uB or -uC or -uM : Accept or report in units of sectors (blocks, cylinders, megabytes, respecpively). The default is cylinders, at least when the geometry is known.
added these lines to apache directive for
AddEncoding gzip gz <FilesMatch "\.gz$"> ForceType text/plain Header set Content-Encoding: gzip </FilesMatch>
From the X11 app, open the terminal, and then access the remote host with:
ssh -XC user@host
Then, when logged, simply run the command for the desired app, ex: firefox, nautilus, thunderbird, whatever…
You can even launch only the system (Ubuntu, Xubuntu, Mint, etc..) Main Menu, and interact with the remote system from there, without the need of a full graphical front-end. On a remote Linux Mint env, i simply run:
If you really need it, you can even start the remote graphical environment locally at your Mac's X11, simply running:
ubuntu-session xubuntu-session etc... (depends of your remote environment)
Better than any VNC, even better than an X11VNC connection! Secured and compressed connection FTW.
mount drive - has repository from DVD set I bought in January 2017
deb [arch=amd64] file:///mnt/arch/repo/linuxmint serena main upstream import deb [arch=amd64] file:///mnt/arch/repo/ubuntu xenial main restricted universe multiverse deb [arch=amd64] file:///mnt/arch/repo/ubuntu xenial-updates main restricted universe multiverse deb [arch=amd64] file:///mnt/arch/repo/ubuntu xenial-security main restricted universe multiverse # deb file:///mnt/repo/repo/linuxmint serena main upstream import # deb file:///mnt/repo/repo/ubuntu xenial main restricted universe multiverse # deb file:///mnt/repo/repo/ubuntu xenial-updates main restricted universe multiverse # deb file:///mnt/repo/repo/ubuntu xenial-security main restricted universe multiverse
Bought new M.2 drive for trackfile machine - making some notes here about setting linux up on ti
Modify the boot option to add “nvme_load=YES” and remove “quiet splash
# Either this way… mount /dev/sdd1 /mnt/boot mount /dev/sdd3 /mnt/boot/efi for i in /dev/ /dev/pts /proc /sys ; do mount -B $i /mnt/$i ; done #or this way, both commands do the same… mount /dev/sdd1 /mnt/boot mount /dev/sdd3 /mnt/boot/efi mount --bind /sys /mnt/sys mount --bind /proc /mnt/proc mount --bind /dev /mnt/dev mount --bind /dev/pts /mnt/dev/pts #Internet access #For internet access inside chroot: cp /etc/resolv.conf /mnt/etc/resolv.conf
fsarchiver savefs /mnt/backup/trackfile/sdd/deb_part/sdd2.fsa /dev/sdd2
portable usb backup drive
sdd2 original size was 58.59 GB - used 16.17
On fedora: fedora 27 docs grub
grub2-mkconfig -o /boot/efi/EFI/fedora/grub.cfg
GRUB_DEFAULT=saved GRUB_SAVEDEFAULT=true GRUB_THEME=/boot/grub/themes/breeze/theme.txt GRUB_BACKGROUND=
5-4-18 Trying to set up efi boot on both nvme drive and /dev/sdd
sdd will be experimental distros.
getting error on nvme drive after installing ubuntu 18.04 on sdd drive
MODSIGN: Couldn't get UEFI db list
read spamless at the bottom may be able to reinstall grub on nvme and get it to stop??
its just a bug and should wait for a fix??
try reloading grub on nvme drive from grub manual
This install doesn’t conflict with standard install as long as they are in separate directories. Note that grub-install is actually just a shell script and the real task is done by other tools such as grub-mkimage. Therefore, you may run those commands directly to install GRUB, without using grub-install. Don’t do that, however, unless you are very familiar with the internals of GRUB. Installing a boot loader on a running OS may be extremely dangerous. On EFI systems for fixed disk install you have to mount EFI System Partition. If you mount it at /boot/efi then you don’t need any special arguments: # grub-install Otherwise you need to specify where your EFI System partition is mounted: # grub-install --efi-directory=/mnt/efi
mate hosed grub
Please do not forget to make your BIOS boot on nvme0n1p1/EFI/ubuntu/grubx64.efi file!
Bios keeps hanging and I am reloading it via a usb thumb drive and the button on the back
I am going to try a different bios next time. Notes about bios versions. These are on flatboy as well in case I can't get to them because trackfile hangs at the splash screen.
Using 2704 now but 2304 has been renamed so should get picked up next time. 5-11-18
Version 2403 2015/07/275.6 MBytes Z97-WS Formal BIOS 2403 release. Support Broadwell CPU Implement 5th-Generation Intel Core Processors code *Full support of the new CPU requires VGA driver version 10.18.14.4206 or later *Before using the 5th Gen Intel Core processors, we suggest that you use USB BIOS Flashback or download ”BIOS updater for 5th Gen Intel Core Processors”to update the BIOS.
1. Improve compatibility with some smart card reader. (Support card reader KCR-318.) 2. Improve compatibility to some DIMMs.
Version 2304 2015/03/115.57 MBytes Z97-WS Formal BIOS 2304 release 1. Fix compatibility for Genius 87 Gaming Keyboard. 2. Update ME file version to 126.96.36.1995. 3. Support NVMe
Version 2013 2014/12/255.49 MBytes Z97-WS Formal BIOS 2013 release 1.Update RC version to RC 2.00 2.Support Asmedia SATA Express EFI driver 3.Add exFAT support.
rename bios file to: Z97-WS Z97WS.CAP
Notes for later from live iso
look for it:
sudo lsof /var/lib/dpkg/lock
kill -9 <PID> (get <PID> from lsof output