blob: 10c11207db045ee3f8915d5c2bc48452f4050fe6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-discuss] Bug or Feature?
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20Bug%20or%20Feature%3F&In-Reply-To=%3C4F80825D.7080000%40mageia.org%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="006903.html">
<LINK REL="Next" HREF="006905.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-discuss] Bug or Feature?</H1>
<B>Thomas Backlund</B>
<A HREF="mailto:mageia-discuss%40mageia.org?Subject=Re%3A%20%5BMageia-discuss%5D%20Bug%20or%20Feature%3F&In-Reply-To=%3C4F80825D.7080000%40mageia.org%3E"
TITLE="[Mageia-discuss] Bug or Feature?">tmb at mageia.org
</A><BR>
<I>Sat Apr 7 20:07:25 CEST 2012</I>
<P><UL>
<LI>Previous message: <A HREF="006903.html">[Mageia-discuss] Bug or Feature?
</A></li>
<LI>Next message: <A HREF="006905.html">[Mageia-discuss] Bug or Feature?
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#6904">[ date ]</a>
<a href="thread.html#6904">[ thread ]</a>
<a href="subject.html#6904">[ subject ]</a>
<a href="author.html#6904">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>07.04.2012 20:59, imnotpc skrev:
><i> On 04/07/2012 12:43 PM, Wolfgang Bornath wrote:
</I>>><i> 2012/4/7 imnotpc<<A HREF="https://www.mageia.org/mailman/listinfo/mageia-discuss">imnotpc at rock3d.net</A>>:
</I>>>><i> On 04/07/2012 09:35 AM, Frank Griffin wrote:
</I>>>>><i> On 04/07/2012 08:51 AM, imnotpc wrote:
</I>>>>>><i> I just discovered that when a new kernel package is installed the grub
</I>>>>>><i> menu entry is added to the bottom rather than the top. The result is that
</I>>>>>><i> the original kernel remains the default and new kernels not used. Most of my
</I>>>>>><i> systems are only accessed through ssh so I had no idea the new kernels
</I>>>>>><i> weren't being used and this only came to my attention today when another
</I>>>>>><i> update, probably dbus, broke the old kernel and hung all my boxes during
</I>>>>>><i> reboot.
</I>>>>>><i>
</I>>>>>><i> I would think that if you install an update the expectation is that it
</I>>>>>><i> would be used by default. I haven't had time to check yet, but this may also
</I>>>>>><i> be the cause of other bugs I've been having. Is this a bug or intended
</I>>>>>><i> behavior?
</I>>>>>><i>
</I>>>>><i> Not so. The default uses the symlinks for vmlinuz and initrd which are
</I>>>>><i> version-independent, and the kernel install redefines them to point to the
</I>>>>><i> new kernel. The entry tacked on to the end uses the new versoins by name,
</I>>>>><i> and is there so that after the next new kernel comes along you'll have an
</I>>>>><i> entry to boot this one if you need to.
</I>>>><i>
</I>>>><i> So the first and last menu entry are the same most recent version? Then this
</I>>>><i> is probably a bug since the symlink entry won't boot but the entry at the
</I>>>><i> bottom that lists the version by name boots fine.
</I>>><i> Then something went wrong during installation of the new kernel. Could
</I>>><i> you please show the output of
</I>>><i>
</I>>><i> $ ls -l /boot
</I>>><i>
</I>><i> I don't think it effects this output, but just so you know I deleted
</I>><i> most of the unused entries from the grub menu and moved the most recent
</I>><i> version to the top so it would boot again if there was a power failure.
</I>><i> The curious thing is I expected vmlinuz-3.3.1-desktop-1.mga2 to be here
</I>><i> but it isn't. This box has received every update that has come out.
</I>><i>
</I>><i> [<A HREF="https://www.mageia.org/mailman/listinfo/mageia-discuss">root at Cedar1</A> jalaramie]# ls -l /boot
</I>><i> total 20792
</I>><i> -rw-r--r-- 1 root root 440 Apr 7 08:14 boot.backup.sda
</I>><i> lrwxrwxrwx 1 root root 27 Apr 7 08:17 config ->
</I>><i> config-3.3.1-desktop-2.mga2
</I>><i> -rw-r--r-- 1 root root 135041 Feb 16 09:36 config-3.2.6-desktop-3.mga2
</I>><i> -rw-r--r-- 1 root root 136931 Apr 4 06:15 config-3.3.1-desktop-2.mga2
</I>><i> drwxr-xr-x 2 root root 4096 Mar 21 19:03 dracut/
</I>><i> -rwxr-xr-x 1 root root 537088 Apr 3 14:22 gfxmenu*
</I>><i> drwxr-xr-x 2 root root 4096 Apr 7 08:14 grub/
</I>><i> -rw-r--r-- 1 root root 5715971 Apr 3 14:22 initrd-3.2.6-desktop-3.mga2.img
</I>><i> -rw-r--r-- 1 root root 5733762 Apr 5 07:32 initrd-3.3.1-desktop-2.mga2.img
</I>><i> lrwxrwxrwx 1 root root 31 Apr 5 07:32 initrd-desktop.img ->
</I>><i> initrd-3.3.1-desktop-2.mga2.img
</I>
You are missing the symlink initrd.img -> initrd-3.3.1-desktop-2.mga2.img
that is used on default setups...
--
Thomas
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="006903.html">[Mageia-discuss] Bug or Feature?
</A></li>
<LI>Next message: <A HREF="006905.html">[Mageia-discuss] Bug or Feature?
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#6904">[ date ]</a>
<a href="thread.html#6904">[ thread ]</a>
<a href="subject.html#6904">[ subject ]</a>
<a href="author.html#6904">[ author ]</a>
</LI>
</UL>
<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-discuss">More information about the Mageia-discuss
mailing list</a><br>
</body></html>
|