Messed up Grub!
by Arthur Dent
Hello All,
I can't update my Fedora 17 box until sometime in July due to issues I
won't bore you with.
In the meantime I have another problem. Some time ago I had a crash
during a yum update, the net result of which was the fact that the
kernel it was installing at the time became corrupted (amongst other
problems). I can boot into the previous kernel and everything works
fine, except when I reboot. Naturally it wants to boot into the "latest"
kernel.
I have set the grub timeout to 5 seconds so I can select the older
kernel and all is well.
However, I thought I would be clever and set it to automatically boot to
the second kernel, so I edited /etc/default/grub and changed
GRUB_DEFAULT=saved to GRUB_DEFAULT=1.
I then ran grub2-mkconfig -o /boot/grub2/grub.cfg and rebooted. Now I
appear to have lost my earlier kernel options and it boots into the
corrupted version.
[edit] No wait - It seems I have to go into "advanced" options from grub
where I can pick the older kernel [/edit]
What did I do wrong - and how do I get it to default to my working
kernel?
Thanks
Mark
=============8<===================================================
cat /etc/default/grub
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Fedora"
GRUB_DEFAULT=saved
#GRUB_DEFAULT=2
GRUB_CMDLINE_LINUX="rd.md=0 rd.lvm=0 rd.dm=0 SYSFONT=True KEYTABLE=uk
rd.luks=0 LANG=en_US.UTF-8 rhgb quiet"
#GRUB_THEME="/boot/grub2/themes/system/theme.txt"
=============8<===================================================
10 years, 10 months
grub2-mkconfig not picking up all kernels
by Frank McCormick
Reposting on Fedora list because it's not only 19 affected
I noticed this morning that when I run grub2-mkconfig from my fedora 19
partition, or from my 18 partition
it does not find all the kernels on a fedora 17 partition. There are 3
in Fedora 17 /boot...3.8.11, 3.8.13 and the latest
3.9.5. It finds only the 3.8.11 kernel. Grub was installed in /dev/sda
from the 19 partition; I have since re-installed
Grub from the 18 partition and the same problem exists.
Is this a bug or am I missing something?
--
--Cheers--
10 years, 10 months
friperry/Alt F2
by Patrick Dupre
Hello,
I am using Fedora 18 and Frippery.
Every time that the screen lock is activated, after I recover the gnome
session, the date in the top panel is at a wrong position.
I can recover it properly by doing a Alt F2 (and r), but then, all my
gnome-terminal windows are moved inside a unique workspace
(I have typically 6 workspace).
Where is the "bug"?
Regards.
===========================================================================
Patrick DUPRÉ | | email: pdupre(a)gmx.com
Laboratoire de Physico-Chimie de l'Atmosphère | |
Université du Littoral-Côte d'Opale | |
Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
189A, avenue Maurice Schumann | | 59140 Dunkerque, France
===========================================================================
10 years, 10 months
Performance and the hard disk size
by Paul Smith
Dear All,
Does the size of the hard disk affect Fedora's performance?
I am looking for a 2 T disk to replace my current disk, but some
people are warning me about performance; they say I should buy a disk
of at most 1 T. Are they correct?
Thanks in advance,
Paul
10 years, 10 months
(no subject)
by Paul Smith
Dear All,
How can I see the total disk size of my hard disk?
I have used the following command:
# fdisk -l | grep Disk
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes, 1953525168 sectors
Disk identifier: 0x0003dd50
Disk /dev/mapper/fedora_new--host--5-swap: 6274 MB, 6274678784 bytes,
12255232 sectors
Disk /dev/mapper/fedora_new--host--5-root: 53.7 GB, 53687091200 bytes,
104857600 sectors
Disk /dev/mapper/fedora_new--host--5-home: 939.7 GB, 939712839680
bytes, 1835376640 sectors
#
Should I conclude that the size of my hard disk is 1 TB?
Thanks in advance,
Paul
10 years, 10 months
polkit-gnome-authentication-agent-1 fails to start after F17->F18 update
by Corinna Vinschen
Hi,
I just updated a server machine from F17 to F18. This server is
running a local VNC session which I connect to via SSH. It's using
an XFCE4 desktop environment.
The machine is running a lot of virtual machines and so far there
was a virt-manager instance running in the VNC desktop.
After the upgrade to F18, virt-manager no longer starts:
Unable to connect to libvirt.
authentication failed: polkit: Authorization requires authentication
but no agent is available.
So I checked and, yes, there's actually no agent running, there's no
polkit-gnome-authentication-agent-1 process, as usual.
In the XFCE4 Session settings, starting the PolicyKit Authentication
Agent is activated. But polkit-gnome-authentication-agent-1 simply
doesn't start. When I try to start it from the command line, I only
get an error message:
$ /usr/libexec/polkit-gnome-authentication-agent-1
(polkit-gnome-authentication-agent-1:5772): polkit-gnome-1-WARNING **:
Unable to determine the session we are in: No session for pid 5772
I know next to nothing about polkit. To get virt-manager working I added
a rule once:
$ cat /etc/polkit-1/rules.d/80-libvirt-manage.rules
polkit.addRule(function(action, subject) {
if (action.id == "org.libvirt.unix.manage"
&& subject.active
&& subject.isInGroup("libvirt")) {
return polkit.Result.YES;
}
})
but that is taken from information on the net, and it obviously can't
help when there's no agent running.
So, how can I fix this? How can I make polkit-gnome-authentication-agent-1
start in my VNC XFCE4 session again?
Thanks for any help,
Corinna
10 years, 10 months
Analyzing system shutdown
by Sam Varshavchik
Is there an equivalent of systemd-analyze for system shutdown processes.
Something on a couple of my machines takes about 20 seconds to wind down,
during a reboot or a shutdown, and I'd like to figure out what it is.
10 years, 10 months
Re: mcelog.service
by lee
Reindl Harald <h.reindl(a)thelounge.net> writes:
> Am 21.06.2013 08:39, schrieb lee:
>> Reindl Harald <h.reindl(a)thelounge.net> writes:
>>
>>> Am 19.06.2013 17:01, schrieb lee:
>>>> Look at pulseaudio, for example. It can be useful *if* you actually
>>>> have use for features it provides --- which I don't
>>>
>>> most do
>> Do you have any evidence for that?
>
> control the volume of each application was not
> that easy before pulseaudio and yes it is a
> benefit
I didn't have any problems with that.
>>>> It's like installing all available packages just because they exist.
>>>
>>> no
>> sure is
>
> stop this foolish trolling
Stop accusing me of trolling. It's not my problem that you are unable
to understand arguments, and I'll save my time rather than giving
explanations because no matter what I might say, you'd only use it to
accuse me of trolling.
> in *this case* you had *some thousand* more packages
Yes, I'd have even more packages installed that I don't have use for.
>> I don't have a software raid. Why is it kept running?
>
> *because you do not disable it*
And how would I disable it? Mdmonitor is stopped and disabled, and md
is still running.
>>>> Why is irqbalance running? Does it really do anything useful?
>> That's what it claims, but does it really?
>
> read the sourcecode and leave us in peace..................
So you don't have any real arguments for or experience with running
irqbalance other than what the manpage claims that it does. Instead of
proving some useful answers, all you can do is accuse ppl of trolling.
>>>> What about rtkit-daemon? That sounds like something watching out for rootkits
>>>> what does it actually do, and will it warn me?
>>>
>>> *lol*
>>> RealtimeKit is a D-Bus system service that changes the
>>> scheduling policy of user processes/threads to SCHED_RR (i.e. realtime
>>> scheduling mode) on request. It is intended to be used as a secure
>>> mechanism to allow real-time scheduling to be used by normal user
>>
>> And now you're going to claim that most users use it ...
>
> no i am going to claim that you are a troll or have zero knowledge
> and the latter does not qualify you for any of the asnwers in this
> thread - period
Ah yes, of course, that claim again, lol. Since you don't have any
arguments or facts, making silly claims is all you can do. That gets a
little boring and is pretty pitiful.
--
"Object-oriented programming languages aren't completely convinced that
you should be allowed to do anything with functions."
http://www.joelonsoftware.com/items/2006/08/01.html
10 years, 10 months
Re: SATA 6Gb/s but current 3.0 Gb/s
by Digimer
On 06/23/2013 05:50 PM, Paul Smith wrote:
> On Sun, Jun 23, 2013 at 10:41 PM, Digimer <lists(a)alteeve.ca> wrote:
>>> Thanks to both for your replies. I am not sure whether my motherborad
>>> is capable of SATA 6.0 Gb/s. How can I determine that?
>>
>> It will say in your mainboard's manual. Often time, on two ports will be
>> SATA3 and the bulk will be SATA2. In my experience, usually the SATA2 are
>> black headers and SATA3 are blue, but that is certainly not a standard.
>> Again, you manual or mainboard's quick reference guide will tell you.
>
>
> Thanks for your reply. Is there some way of determining the model of
> my motherboard by software?
>
> Paul
>
'dmidecode | less' should tell you. The mainboard make/model is usually
one of the first sections returned.
Please keep replies on-list. It benefits everyone that way.
--
Digimer
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without
access to education?
10 years, 10 months
Broadcast RGB property and Intel video driver
by Tom Horsley
For the longest time, I've had this suspicion that some
update to the Intel graphics driver has made it screw
up the range of colors that can be displayed.
I just found this command:
xrandr --output HDMI2 --set "Broadcast RGB" Full
And the result is magical, the thin mist that had been
obscuring my screen was blown away, and everything is
crystal clear again.
But, it makes the screen flicker badly, and the Samsung
TV I'm using is slightly out of sync till I power cycle
it (or switch modes and switch back).
Anyone know if there is some way to set this permanently
as the default mode for the display rather than having to
run xrandr to change it at runtime?
(Apparently the default "Automatic" setting for this
property guesses wrong).
10 years, 10 months