how to (re-?)construct grub menu?
by William
Good afternoon,
I found out the rather hard way what caused those boot failure problems
that were the subject of a threat starting last month. After my weekly
"dnf upgrade" last Thursday, I checked my root e-mail, and found the
hard drive had 8 bad sectors, then 16 bad sectors. A smartctl short
test showed several parameters "pre-fail", and the others "old-age". I
obtained a new drive. My Cray Research friend gave me a USB stick with
"Clonezilla-Live-Version" on it. That duplicated the old hard drive
onto the new one, but apparently not 100%. After the old drive was
removed and the new drive installed, I could not boot. The system was
being put into a grub shell(?). (It displayed the "grub> " prompt.)
After beating out heads against the wall (or the phone), my Cray
research friend gave me another USB stick with "Boot-Repair-Disk" on it.
That rebuilt a grub file, but not correctly. But at least I got a
grub menu when booting, and I was able to edit the shell that the grub
menu entry would run. I had to take the "efi" off the commands
"linuxefi" and "initrdefi". That allows me to boot up Fedora. But the
menu is missing an entry for windows, and I still have to edit that
script every time.
I want the grub menu to offer the three most recent patches of Fedora,
the most recent Fedora rescue shell, and windows-7, in that order.
(This is a dual-boot system.) And I want the shells launched by the
menu entries to be correct. How do I get that accomplished - the
correct Fedora-25 way? If it matters, the motherboard uses UEFI bios.
Thank-you in advance.
Bill.
3 years, 1 month
smartmontools still "monitoring" a replaced hard drive.
by William Mattison
Good evening,
(f26; Gnome) This past spring, with a lot of help from this list, I replaced the dying hard drive on my home workstation. But when I use the "disks" tool to check the health of the new hard drive, smartmontools continues to report test data from the old drive. I've looked at the smartmontools web site, but I don't see a way of telling smartmontools to update itself to the new drive. I'm a home user with no real sys.admin., OS, or hardware training. So please spell it out clearly, in detail:
How do I make smartmontools (and the disks tool) aware of the hard drive replacement and monitor the new hard drive properly?
Thank-you in advance.
Bill.
3 years, 1 month
Epson XP-860: available printer driver won't print in duplex
by Temlakos
Everyone:
Recently I bought an Epson XP-860, to replace the XP-810 that finally
quit on me after many long years of service.
But when I went to install a printer driver, I found that duplex
printing is simply not available.
It might or might not be significant that the recommended printer
drivers are Epson XP-820 CUPS/Gutenprint drivers, regular and simplified.
I tried installing the Epson Printer Utility from the Epson site. But
that doesn't seem to do anything to make full duplex available.
Temlakos
3 years, 2 months
secure boot disabled
by AV
I installed Fed 27 on a Dell XPS 13 9370 using Fed 27 Live
on a usb stick after deleting Ubuntu 16.04 LTS that came
installed on the device.
I checked that secure boot + necessary conditions were
set to 'enabled' in UEFI.
However after install I find 'secure boot disabled'.
$ dmesg | grep -i secure
[ 0.000000] secureboot: Secure boot disabled
[ 5.630671] Loaded UEFI:MokListRT cert 'Fedora Secure Boot CA:
fde32599c2d61db1bf5807335d7b20e4cd963b42' linked to secondary sys
keyring
$ ls -l /sys/firmware/efi/efivars/Secure*
-rw-r--r--. 1 root root 5 Jan 31 16:33
/sys/firmware/efi/efivars/SecureBoot-8be4df61-93ca-11d2-aa0d-
00e098032b8c
Can this have anything to do with the fact that this notebook
only has Thunderbolt 3 and USB 3.1 (C) ports so that I had to use
an adapter cable ?
As I did not expect this I did not check what happened under Ubuntu.
(Aside from some probably neglectable ACPI hiccups everything else
seems to be working OK).
AV
3 years, 2 months
Organising photos visually
by Patrick O'Callaghan
Looking for some advice here. I have a large set of old slides
(transparencies) which I'm currently scanning for the family, but of
course many of them are out of order. Clearly they don't have EXIF
information (they were taken in the 70s and 80s). I'm looking for a way
to order them *visually* after scanning, but the usual apps (Digikam,
Shotwell, Lightroom) don't seem to be able to do this. They only
understand machine-readable sorting, e.g. by the file mod date, size,
exposure data etc., none of which is useful in this case.
Any ideas?
poc
3 years, 2 months
how to audit chmod syscall system wide? a wired problem of home
directory group write permission got set
by mr.cheng
my Linux laptop started to have a problem of setting my home directory with group write permission
$ ls -ld $HOMEdrwxr-x--- 34 user users 4096 Jan 30 21:45 /home/user
to:
$ ls -ld $HOMEdrwxrwx--- 34 user users 4096 Jan 30 21:45 /home/user
This usually doesn't cause a problem but since recently it started settings group write on servers as well which I did ssh login; and once logout, the next time it doesn't allow re-login from server side sshd audit logs, says because of group write permission is set it doesn't allow my account to login;
this wired problem has started settings multiple ssh servers, either at home Linux server, or Linux server in the cloud,but it isn't always reproducible, in past 30 days it happened 3 times to 4 different servers
I suspect current Linux laptop has a software virus or something because it has been in use for 2 years; I re-installed the laptop with latest Fedora 27 and all started as fresh, but 2 weeks later right now, the group write permission is set again to one of my servers;
I checked all bash_history and system logs, didn't see any explicit bash call of "chmod g+w ..." ; so I suspect some software is calling by chmod syscall, so I wonder anyone knows how to set a system wide chmod audit? and if a whole hard drive anti-virus scan is necessary, which anti-virus scan software do you recommend?
It's weird that nothing worse than a group write permission set. No damage to system, no malfunctioning. The newly installed Linux system just functions perfect if without that.But I am kind of pretty sure it's this laptop, because whenever this laptop is down time, I use another newer laptop I bought a few months ago, nothing bad happens yet during this current 3years old laptop downtime.
Thanks;
3 years, 2 months
Fedora 27 curl 7.55.1 ignore self-signed certificates
by Kleber Rocha
Hi,
I have a problema with curl, in Fedora 26, I imported the certificate into
the /etc/pki/ca-trust/source/anchors/, and after I run the command:
update-ca-trust extract, after that, curl trust on the self-signed
certificate.
But, in Fedora 27, I do the same configuration, but curl don't trust in the
self-signed certificate.
Thank you
3 years, 2 months
Fw: Who has created a directory called "~/updates"
by stan
Sent to me personally instead of the list, forwarded.
Begin forwarded message:
Date: Wed, 31 Jan 2018 20:10:07 +0100
From: Joachim Backes <joachim.backes(a)rhrk.uni-kl.de>
To: stan <stanl-fedorauser(a)vfemail.net>
Subject: Re: Who has created a directory called "~/updates"
On 01/31/18 19:49, stan wrote:
> On Wed, 31 Jan 2018 17:08:11 +0100
> Joachim Backes <joachim.backes(a)rhrk.uni-kl.de> wrote:
>
>> I'm running F27, and found coincidentally a directory called
>> ~/updates containing megs of RPMs in my home directory. Does anybody
>> know wherefrom these entries are coming?
>
> Did you by chance define a local repository in /etc/yum.repos.d?
>
> Or could it be that you used it for something at some point, and then
> forgot about it? Are the rpms in the directory recent?
>
Same time, same date.
--
Fedora release 27 (Twenty Seven)
Kernel-4.14.15-301.fc27.x86_64
Joachim Backes <joachim.backes(a)rhrk.uni-kl.de>
https://www-user.rhrk.uni-kl.de/~backes/
3 years, 2 months
unusual networking question - have DHCP assign the same IP to a
computer, regardless of which ethernet port is used
by Tim
Hi,
I have what's probably an odd-ball desire:
I have a PC with a 100 Mb/s motherboard ethernet interface, and a 1
Gb/s PCI card ethernet interface. And IPs are assigned from a Fedora
PC running a DHCP server which reconfigures its DNS server, on the fly.
I'd like the PC to always get assigned the same IP, and hostname,
regardless of which ethernet port the (single) ethernet cable would get
plugged in to. I'd like the addressing to be consistent, and just
work. Having the PC change addresses because the cable got plugged
into a different port breaks other things on the network.
This is the stanza for this PC in the dhcpd.conf file:
host oddbox {
# hardware ethernet 00:24:21:9A:6F:6C;
hardware ethernet C8:3A:35:DC:54:59;
fixed-address 192.168.1.12;
option host-name "oddbox";
}
It won't allow me to specify two macs, hence one being hashed out.
Is this sort of thing do-able? (And controlled from the DHCP server,
not manually on the PC in question.)
Yes, I know there'd be a world of pain if someone tried to connect both
ports at the same time. But there's only one ethernet cable, so that
can't happen. And I really don't want to physically block the slower
motherboard ethernet port, to prevent it being used accidentally.
--
[tim@localhost ~]$ uname -rsvp
Linux 4.14.14-200.fc26.x86_64 #1 SMP Fri Jan 19 13:27:06 UTC 2018 x86_64
Boilerplate: All mail to my mailbox is automatically deleted.
There is no point trying to privately email me, I only get to see
the messages posted to the mailing list.
This email brought to you by potato omelates
3 years, 2 months