How do I generate grub for legacy?
by ToddAndMargo
Hi All,
I have a Fedora 30 flash drive set up for dual booting
from Legacy or UEFI. It boots beautifully from UEFI.
(It also have a bios_grub partition).
It booted perfectly from both under Fedora 29.
Now when booting from legacy, it go into "System Setup".
If you press system Setup, I get a "/grub/core-system"
type error
Remaking grub.cfg, I get
# grub2-mkconfig -o /boot/grub2/grub.cfg
Generating grub configuration file ...
Adding boot menu entry for EFI firmware configuration
done
Uhhhhh.. I wanted legacy, not EFI.
What am I missing?
Many thanks,
-T
My procedure:
UEFI.BIOS.Dual.Boot.txt:
References that stink:
https://forums.linuxmint.com/viewtopic.php?t=223015
https://bl.ocks.org/gdamjan/05b799162e4b3e97a30d37a89fed0fa8
https://forum.level1techs.com/t/configure-grub-to-boot-legacy-and-uefi/12...
Requirements:
Fedora 29
Before installing, gparted:
Wipe the target disk
create a partition table as GPT
create a first partition as
1 Meg
unformatted
set the partition flag to "bios_grub"
Install Fedora 29 from a UEFI machine:
"/home" was removed at installation and moved into "/"
--->>> PRESUMED !!! <<<---
The machine was install and booted from UEFI
The machine is mounted as /dev/sda
Install the legacy BIOS boot loader:
Boot into fedora on UEFI
only installs 3 files
# dnf reinstall grub2-pc
create the BIOS .cfg file
# grub2-mkconfig -o /boot/grub2/grub.cfg
Note: if this complains, you forgot to create the partition above
# grub2-install --removable --recheck --target=i386-pc
--boot-directory=/boot /dev/sda
4 years, 9 months
SELinux label problem on a VM
by Patrick O'Callaghan
I have a small F29 Server VM (KVM/QEMU) which has not changed recently
and has worked consistently for several months. Now when I try to boot
it I get:
Requested operation is not valid: Setting different SELinux label on /home/poc/VM/vm-f29b.qcow2 which is already in use
I haven't touched any SElinux settings, though I do update my host F30
system on a daily basis so something may have changed.
The current context for that file is:
$ ls -lZ vm-f29b.qcow2
-rw-------. 1 qemu qemu system_u:object_r:svirt_image_t:s0:c467,c977 21478375424 Aug 11 11:14 vm-f29b.qcow2
Any thoughts on what I should look at?
poc
4 years, 9 months
NFS and Firewalld -
by Bob Goodwin
My NFS problems continue. The hard drive was replaced, Fedora 30
installed and NFS is configured. I think the configuration is good, I
followed the instructions anyway.
Firewlld appears to be a new stumbling block and I don't know how to fix
it. I looked at the Firewalld GUI and there is nothing intuitive about
it. If I stop Firewlld, showmount displays the exports.
[bobg@box83 ~]$ showmount -e 192.168.2.128
clnt_create: RPC: Unable to receive
"systemctl stop firewalld" on the server:
[bobg@box83 ~]$ showmount -e 192.168.2.128
Export list for 192.168.2.128:
/home 192.168.2.0/24
Any help appreciated.
--
Bob Goodwin - Zuni, Virginia, USA
http://www.qrz.com/db/W2BOD
box83 FEDORA-30/64bit LINUX XFCE Fastmail POP3
4 years, 9 months
firefox in f30
by François Patte
Bonjour,
I have just upgraded to f30 from f29.
As I wanted to use firefox, I had a warning: "create a new profile".....
Why I can't use my previous profile?
I tried to create a new profile and: all my bookmarks, all my addons all
my previous config have disappeared.
How can I recover? How can use my old config, bookmarks etc.
Thank you.
--
François Patte
UFR de mathématiques et informatique
Laboratoire CNRS MAP5, UMR 8145
Université Paris Descartes
45, rue des Saints Pères
F-75270 Paris Cedex 06
Tél. +33 (0)6 7892 5822
http://www.math-info.univ-paris5.fr/~patte
4 years, 9 months
f30 some packages have disappeared....
by François Patte
Bonjour,
I use to compile the last version of darktable anytime they make updates
to that software.
Upgrading from f29 to f30, my darktable no more works: libexiv2.so.26
not found... This is normal: it is now libexiv2.so.27. So, I wanted to
recompile darktable but I failed....
On darktable site they give the list of needed packages to compile and a
lot are missing in f30: libsqlite3, gtk+-3, ..... and some others.
As I successfully compiled darktable on f29, I think that these packages
were available in f29 and no more available in f30.
Why?
Thank you.
PS. to solve the libexiv2.so.26 problem I created a link libexiv2.so.26
---> libexiv2.so.27 but is this way of doing is a correct solution?
--
François Patte
UFR de mathématiques et informatique
Laboratoire CNRS MAP5, UMR 8145
Université Paris Descartes
45, rue des Saints Pères
F-75270 Paris Cedex 06
Tél. +33 (0)6 7892 5822
http://www.math-info.univ-paris5.fr/~patte
4 years, 9 months
Fix to stable version of Fedora after system upgrade.
by Cătălin George Feștilă
I want to set the update to a stable version of Fedora distro after I
follow an system upgrade.
I try to follow this https://fedoraproject.org/wiki/DNF_system_upgrade
This not work well, the output comes with fc30, fc31, fc32 versions for
packages and loop into this way, see the example:
...
Public key for zvbi-0.2.35-9.fc31.x86_64.rpm is not installed. Failing
package is: zvbi-0.2.35-9.fc31.x86_64
GPG Keys are configured as:
file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-30-x86_64
The downloaded packages were saved in cache until the next successful
transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: GPG check FAILED
Any help with this issue?
mythcat
4 years, 9 months
Amazfit Verge lite is not recognized
by Antonio M
I got a brand new Verge (a smartwatch by Amazfit) and when I connect to my
laptop device is not recognized, i.e it is not included in lsusb comamnd.
Is ot too new??
Antonio Montagnani
Linux Fedora 30 Workstation
da/from Gmail
4 years, 9 months
Gnome Shell crashes when playing sound in Chrome
by SternData
I thought this was a video related, but it turns out to be audio. If I
play a video or audio via Chrome, gnome-shell crashes as soon as I
un-mute the media player. Unfortunately, the crash does not leave a
reportable dump file.
Any ideas of what to look at?
--
-- Steve
4 years, 9 months
reinstall package on Atomic host
by arnaud gaboury
I run Fedora atomic 29. I made a mistake by removing one very important
SELinux module: su.
I can no more su (I can sudo), which is very annoying. To get back the
module, I need to reinstall the selinux-policy-targeted package.
------------------------------------------
% sudo setenforce 0
% sudo rpm-ostree uninstall selinux-policy-targeted
error:package/capability 'selinux-policy-targeted' isnot currently requested
% rpm -qa | grep selinux
.....
182:selinux-policy-targeted-3.....
-------------------------
Following this[0] thread, I tried:
----------------------------
% sudo rpm-ostree override remove selinux-policy-targeted
[sudo] password for gabx:
Checking out tree cb40a05... done
Resolving dependencies... done
Applying 1 override and 79 overlays
Processing packages... done
Running pre scripts... done
Running post scripts... done
Writing rpmdb... done
Writing OSTree commit... done
error: With policy root '/proc/self/fd/25/usr/etc/selinux/targeted':
selabel_open(SELABEL_CTX_FILE): No such file or directory
-----------------------------------
How can I delete/install or reinstall it? Is there a way to get back the su
module?
Thank you for help
[0]https://github.com/projectatomic/rpm-ostree/issues/1386
4 years, 9 months
Unable to install vagrant-scp
by Sudheer Satyanaraana
Hello,
I am on Fedora 30.
I am unable to install the Vagrant plugin vagrant-scp.
I get this error:
vagrant plugin install vagrant-scp
Installing the 'vagrant-scp' plugin. This can take a few minutes...
/usr/share/gems/gems/psych-3.1.0/lib/psych.rb:237: warning: already
initialized constant Psych::LIBYAML_VERSION
/usr/share/ruby/psych.rb:237: warning: previous definition of
LIBYAML_VERSION was here
/usr/share/gems/gems/psych-3.1.0/lib/psych.rb:239: warning: already
initialized constant Psych::NOT_GIVEN
/usr/share/ruby/psych.rb:239: warning: previous definition of NOT_GIVEN
was here
Bundler, the underlying system Vagrant uses to install plugins,
reported an error. The error is shown below. These errors are usually
caused by misconfigured plugin installations or transient network
issues. The error from Bundler is:
conflicting dependencies fog-core (~> 1.43.0) and fog-core (= 2.1.2)
Activated fog-core-2.1.2
which does not match conflicting dependency (~> 1.43.0)
Conflicting dependency chains:
fog-core (= 2.1.2), 2.1.2 activated
versus:
vagrant-libvirt (> 0), 0.0.41 activated, depends on
fog-core (~> 1.43.0)
As you can see, there's an issue resolving dependencies. How do I go
about resolving this issue?
-
Sudheer S
4 years, 9 months