Language Selection

English French German Italian Portuguese Spanish


Syndicate content
LinuxInsight - aggregated feeds
Updated: 27 min 45 sec ago

LXer: Top 5: Fortran turns 60, AutoCAD alternatives, and more

Saturday 18th of November 2017 04:55:36 PM
This week, we look at Fortran at 60, open source CAD programs, programming-friendly fonts, and more.

Reddit: Fedora 5 Issues (Urgent)

Saturday 18th of November 2017 04:52:22 PM

Hi, I'm new here so if anything is wrong with my post (Structure, location, etc.) please forgive me.

I'm having a huge problem right now. I have an industrial printer. Prints roughly 3 meters wide. Inside it is a computer running Fedora 5. I don't think there is anything special about the computer but the Hard drive containing Fedora has irreplaceable software for actually running the printer. The problem with the computer is that it goes straight to an FF post code when booted but that isn't my issue right now. Basically what I want to do is remove the hard drive from the computer, put it in another one, and reinstall the computer back into the printer. How would I go about doing this? Simply removing the drive and plugging it into another PC results in No Operating System Found.

Any help would be appreciated. The printer set me back roughly $40 000.

PS. The reason I'm not going to the manufacturer is because the company doesn't exist anymore. Also this is really urgent because its Saturday afternoon and and I have someone coming to purchase the machine on Monday morning.

submitted by /u/blankymcblankface
[link] [comments]

Phoronix: Darling Is Still Active With A Goal To Run macOS Apps On Linux

Saturday 18th of November 2017 04:09:02 PM
It's been one year and a few days when last researching a status update on "Project Darling" for running macOS/OSX applications on Linux. While the project hasn't been generating too much buzz this year, it still is being developed...

Reddit: MBR, GPT, LVM, EFI, GRUB and finally lilo

Saturday 18th of November 2017 03:10:45 PM

(English is not my native language, sorry for the mistakes)

TL;DR: author is whining about GRUB being so lame with LVM and finally discovers lilo doing it right, but being abandoned since late 2015.


MBR is just a mistake. A great mistake that went so far. Are you serious thinking about putting together information about boot and disk partitions?

Don't tell me "It was always like that", just say "It is ugly".

It gets even worse when engineering mistakes are being fixed by using duct tape and WD40. To overcome stupid 4 partitions limit we have to welcome "extended partition" (logically), which in turn, tricks us and puts a lot of half-empty MBRs all over the disk. Spaghetti, anyone?

And of course, you couldn't just resize a partition. Well, you could, but only if it has a space afterwards, and the way to do it is easy: just delete it and create again with same beginning and new ending. You could do it a little bit less scary with sfdisk, and sfdisk will be the only automated backup and restore solution when you have "extended" shit.

There is an utility called ptmax, it helps a lot, but anyway, MBR and partition increase is just a pain in the ass.

Now welcome the anal plug of MBR, GRUB with core.img. Obviously 446 bytes in the MBR is not enough to store any reasonable code, and it's too costy to create a separate partition for GRUB in MBR environment, so it's better to put some data just after MBR and before the partition has started. This is a "well documented" behavior, of course, because 1Mb space before the first partition now is rather bit, but was a lot smaller back in the old days.

Backup? Anyone? Well, without "extended" bullshit all you have to do is to take the first 512 bytes with dd and you're good to go. Using "extended" partition makes you idiot: sfdisk or just take a photo of your partition layout with your shiny smartphone.


Well, nope. GPT solves "shake but don't stir" problem of MBR: it tells us not to use this stupid hacks of core.img with MBR and created separate partition for GRUB.

It has a nice and well engineered backup process: you always have a backup copy in the end of the disk (but modern fdisk with GPT support still thinks there is none, gdisk is fine with it), and you can just copy first 34 blocks with dd and be happy.

But the problem with partition resize is still here. And as soon as our environment gets more and more virtualized, resize of virtual disk becomes more and more everyday and simple operation. But you've created partitions, don't you? Then nothing will help you here.


This is awesome. I can do whatever I want. I can snapshot, resize, move aroud. This. Is. Awesome.

Tools for backup are nice and easy to use, vgcfgbackup and vgcfgrestore have some rough edges, but in general, they are nice.

But the understanding of the nature of LVM is still uncommon. More and more system administrators create one big partition with MBR on their disks and then put this partition to LVM. Why? Fuck you, that's why.

And even more gore and sorrow awaits ahead if you dare to abandon MBR or GPR completely, leaving only LVM for your whole disk.

Nice try, Ubuntu!

Note: I will use Ubuntu as an example here. If you've ever had any other experience with LVM, please leave a comment.

"What's the problem, man? I've seen something about LVM during installation, is it so bad?"


Everything here makes me cry.

First of all, a partition is put to LVM. Why? Fuck you once again, that's why. And this is an "extended" partition, so two stupid MBR records all over my disk.

Then /boot. Well, you've said "LVM"? Now have your MBR and /boot as primary partition. Yes, I do know about GRUB unable to boot from LVM, but this was a long time ago in a galaxy far away. GRUB plays well with /boot in LVM now.

And to the poing: what's the reason of having MBR with LVM? LVM can do all the things.

Let it die

Can we abandon MBR completely? Yes, for sure. Installer will not help us, so just press Alt+F2 to fire up second console and to the following (assuming /dev/sda is my disk):

pvcreate /dev/sda vgcreate ubuntu /dev/sda lvcreate -n root -L6G ubuntu lvcreate -n swap -l100%FREE ubuntu

6Gb here for rootfs, all other for swap.

Afterwards "Partition disks" step of installer will do just fine and let us use our logical volumes instead of partitions.

Houston, we have a problem

Everything goes well, but the GRUB. Could we potentially install it? As sure as hell - LVM leaves first megabyte empty. Why? Well, you know. But pvs -o +pe_start will show it.

Once again, first megabyte of disk is perfectly empty. Nothing stops GRUB from writing there 446 bytes of stage 1, and putting core.img as it would like. But GRUB is unable to do it without MBR.

Damn, why not? Just put a warning sign, ask me for confirmation, and just do it! Neeeeeeh. You support LVM, WHAT'S THE PROBLEM?

Okay, maybe this is the installer to blame? Chroot and try is manually, grub-install and adding -s option. It will give is «unable to identify a filesystem in hostdisk//dev/sda: safety check can't be performed» error.

So let's put on our masks and animal skins and grep the sources. The truth is - GRUB will never ever install itself without MBR with at least 1 partition. Deal with it.

True warriors will look at me with compassion and say: "Just join our church of EFI, stop jumping aroud as an amphetamine bunny with GRUB".

Well, I'm ready, I'm in, EFI is really simple way, but there still is a lot of legacy hardware without EFI support. And while EFI could act as BIOS, BIOS will always be BIOS.


At large, EFI is good. No hidden parts on your disk, just plain ESP partition, plain old FAT, just put .efi binary there and good to go. EFISTUB-enabled kernels could do it without any help.

systemd-boot needs only 7 lines of configuration. Seven. Compare is to your grub.cfg and let's cry together.

But stop. EFI needs partition. Again. And no LVM support.

There is a trick. We can take a disk and format it without partitions to FAT, EFI will use it without any problem. So we will have two disks in our environment - one for the EFI, one for the rootfs and stuff. No so bad, but still not perfect.


And yes, this is WAT. This is a real WATMAN!

But let's think again - why GRUB is so ugly? Well, because it supports the whole hell of features. Boot this so, boot this other way, put some options here, chainload my Windows installation here and show me a menu. But in modern world we usually have some well-separated simple environments, we just need to boot our one kernel.

So, what about lilo? It plays well with LVM with PV as whole disk: could have /boot on logical volume; don't need any MBR or GPT to be created; works well in Ubuntu 16.04 LTS (there is a package, it works just fine).

There is another problem with it: the project has been abandoned since late 2015. But it is good as it is.


Please, just see my message: do not use MBR or GPT, if you have LVM. There is no reason! And don't ever put partition to LVM (except some crazy dual-boot-my-grandma-Windows cases).

And let's hope to have LVM support with EFI somedays. And while it is not there, let's cry and use lilo.

submitted by /u/maniaque_ru
[link] [comments]

LXer: This Week in Open Source: Linux Demonstrates Superpowers With Supercomputer Domination & More

Saturday 18th of November 2017 03:06:57 PM
This week in open source/Linux news, Linux not powers the vast majority of the world's supercomputers, Hyperledger is set apart from hype, and more.

Reddit: Intalling Node.js

Saturday 18th of November 2017 02:10:46 PM

Phoronix: Funtin SFF-8639: U.2 NVMe SSD To PCI-E Card Adapter

Saturday 18th of November 2017 02:03:52 PM
With our review this week of the Intel Optane SSD 900P 280GB U.2 SSD there was a discussion in the forums about using U.2 SSDs in desktop systems, etc. If your system doesn't have a U.2 slot, an adapter like the Funtin SFF-8639 makes it easy to pop the SSD into a PCI-E x4 slot...

Phoronix: KVM & Xen Don't Change Much With Linux 4.15

Saturday 18th of November 2017 01:28:44 PM
There are a ton of exciting improvements building up in Linux 4.15, but not too much on the virtualization front...

LXer: KDE Applications 17.12 Linux Software Stack Ports More Apps to KDE Frameworks 5

Saturday 18th of November 2017 01:18:18 PM
The KDE Project today released the beta version of its upcoming KDE Applications 17.12 open-source software suite for GNU/Linux operating systems.

TuxMachines: Linux 4.15, Linux 4.16, and Linux Foundation's CNCF and CII

Saturday 18th of November 2017 01:01:47 PM
  • Linux 4.15 Gets Fixed To Report Current CPU Frequency Via /proc/cpuinfo

    A change recently in the Linux kernel led the CPU MHz reported value via /proc/cpuinfo to either be the nominal CPU frequency or the most recently requested frequency. This behavior changed compared to pre-4.13 kernels while now it's been fixed up to report the current CPU frequency.

  • Linux 4.16 Will Be Another Big Cycle For Intel's DRM Driver

    We are just through week one of two for the Linux 4.15 merge window followed by eight or so weeks after that before this next kernel is officially released. But Intel's open-source driver developers have already begun building up a growing stack of changes for Linux 4.16 when it comes to their DRM graphics driver.

  • CNCF Wants You to Use 'Certified Kubernetes'
  • Open Source Threat Modeling

    Application threat modeling is a structured approach to identifying ways that an adversary might try to attack an application and then designing mitigations to prevent, detect or reduce the impact of those attacks. The description of an application’s threat model is identified as one of the criteria for the Linux CII Best Practises Silver badge.

read more

Reddit: Help woth installing linux or ubuntu on dell inspiron 15 7995

Saturday 18th of November 2017 12:58:47 PM

It keeps freezing as soon as I try to boot it up from a USB , I used Rufus to install the Iso file. The menus are working in the bios but as soon as the Linux logo shows up it freezes and nothing is happening. Laptop is fairly new got it last year

submitted by /u/Dubxx
[link] [comments]

TuxMachines: Linux World Domination and Microsoft Corruption in Munich

Saturday 18th of November 2017 12:54:44 PM

read more

TuxMachines: Programming/Development: 'DevOps', NumPy, Google SLING

Saturday 18th of November 2017 12:51:56 PM
  • 5 DevOps leadership priorities in 2018

    This week, DevOps professionals gathered in San Francisco to talk about the state of DevOps in the enterprise. At 1,400 attendees, the sold-out DevOps Enterprise Summit has doubled in size since 2014 – a testament to the growth of the DevOps movement itself.

    With an ear to this event and an eye on the explosion of tweets coming out of it, here are five key priorities we think IT leaders should be aware of as they take their DevOps efforts into the new year.

  • NumPy Plan for dropping Python 2.7 support

    The Python core team plans to stop supporting Python 2 in 2020. The NumPy project has supported both Python 2 and Python 3 in parallel since 2010, and has found that supporting Python 2 is an increasing burden on our limited resources; thus, we plan to eventually drop Python 2 support as well. Now that we're entering the final years of community-supported Python 2, the NumPy project wants to clarify our plans, with the goal of to helping our downstream ecosystem make plans and accomplish the transition with as little disruption as possible.

  • Google SLING: An Open Source Natural Language Parser

    Google Research has just released an open source project that might be of interest if you are into natural language processing. SLING is a combination of recurrent neural networks and frame based parsing.

    Natural language parsing is an important topic. You can get meaning from structure and parsing is how you get structure. It is important in processing both text and voice. If you have any hope that Siri, Cortana or Alexa are going to get any better then you need to have better natural language understanding - not just the slot and filler systems currently in use.

read more

TuxMachines: Graphics: AMDGPU, Radeon, Intel DRM

Saturday 18th of November 2017 12:34:11 PM
  • AMDGPU DC Code Lands For Linux 4.15 Kernel

    Linus Torvalds has accepted the AMDGPU DC display code pull request for the Linux 4.15 kernel. AMD Linux users can now rejoice!

    Overnight David Airlie sent in the AMDGPU DC pull request for Linux 4.15 and since then Linus Torvalds was active on the kernel mailing list ranting about AMD header files and other unrelated to DC code. He was also pulling in other PRs... It was getting a bit worrisome, given the DC code not being in pristine shape, but it was exciting as heck to see this evening that he did go ahead and pull in the 132 thousand lines of new kernel code to land this AMDGPU DC. Linus hasn't provided any commentary about DC on the kernel mailing list as of writing.

  • Radeon VCN Encode Support Lands In Mesa 17.4 Git

    It's an exciting day for open-source Radeon Linux users today as besides the AMDGPU DC pull request (albeit still unmerged as of writing), Radeon VCN encoding support has landed in Mesa Git.

  • The - Hopefully - Final Stab At Intel Fastboot Support

    Intel's Maarten Lankhorst has sent out what could be the final patches for enabling "fastboot" support by default within their DRM graphics driver.

read more

TuxMachines: Raspberry Digital Signage 10

Saturday 18th of November 2017 12:32:30 PM

It shows web pages from Internet, LAN or internal sources (a WordPress installation comes already installed by default on the SD card); there is no way to escape this view but rebooting the machine.

Marco Buratto has released Raspberry Digital Signage 10.0 today, which comes with the latest and greatest Chromium build (featuring advanced HTML5 capabilities, Adobe Flash support and H264/AVC video acceleration), so you can display more attractive resources, more easily.

read more

Reddit: Linux Mint 18.3 Beta Review

Saturday 18th of November 2017 12:24:04 PM

TuxMachines: Red Hat Leftovers

Saturday 18th of November 2017 12:20:31 PM

read more

More in Tux Machines

Is your company an open source parasite?

Getting involved in the open source projects that matter to a company, in other words, gives them more ability to influence their future today, even as dependence on a vendor results in putting one's future in the hands of that vendor to resolve on their timetable. It's simply not smart business, not if an open source alternative exists and your company already depends upon it. In sum, the GitHub contributor counts should be much higher, and not merely for those in the business of selling software (or tech, generally). Any company defined by software—and that's your company, too—needs to get more involved in both using and contributing open source software. Read more

LibreELEC Embedded Linux OS Now Compatible with Windows 10 Fall Creators Update

The LibreELEC 8.2.1 update is based on the latest Kodi 17.6 "Krypton" open-source and cross-platform media center software and it mostly patches some Samba (SMB) "file exists" share errors on Windows 10 Fall Creators Update by updating the protocol to Samba 4.6.10, implementing SMB client options for minimum SMB protocol and an SMB legacy security option with NTLMv1, and disabling SPNEGO. "LibreELEC 8.2.x includes changes that allow the Kodi SMB client and our embedded Samba server to support SMB2/3 connections; deprecating SMB1 to improve security and performance. This is necessary to cope with changes Microsoft introduced in the Windows 10 ‘Fall Creators Update’ to resolve SMB1 security issues," explained the developers. Read more

Canonical Releases Major Kernel Update for Ubuntu 16.04 to Fix 13 Security Flaws

The update is a major one patching a total of 13 security flaws, including race conditions in Linux kernel's ALSA subsystem, the packet fanout implementation, and the key management subsystem, as well as use-after-free vulnerabilities in both the USB serial console driver and the ALSA subsystem. Various other issues were also patched for Linux kernel's key management subsystem, the Ultra Wide Band driver, the ALSA subsystem, the USB unattached storage driver, and the USB subsystem, which received the most attention in this update as several security flaws were recently disclosed. Read more

Graphics: NVIDIA and AMD