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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-dev] Mageia 2 / Mageia 3 beta on EC2
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Mageia%202%20/%20Mageia%203%20beta%20on%20EC2&In-Reply-To=%3CCAGmz6yiZAnnt7_STdp3Kc_nSHq%2BNbgnJQpuruT5yPqdx2moSMA%40mail.gmail.com%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="021092.html">
<LINK REL="Next" HREF="021091.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] Mageia 2 / Mageia 3 beta on EC2</H1>
<B>Glen Ogilvie</B>
<A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Mageia%202%20/%20Mageia%203%20beta%20on%20EC2&In-Reply-To=%3CCAGmz6yiZAnnt7_STdp3Kc_nSHq%2BNbgnJQpuruT5yPqdx2moSMA%40mail.gmail.com%3E"
TITLE="[Mageia-dev] Mageia 2 / Mageia 3 beta on EC2">nelg at linuxsolutions.co.nz
</A><BR>
<I>Fri Jan 4 10:50:31 CET 2013</I>
<P><UL>
<LI>Previous message: <A HREF="021092.html">[Mageia-dev] Mageia 2 / Mageia 3 beta on EC2
</A></li>
<LI>Next message: <A HREF="021091.html">[Mageia-dev] Security updates - help needed!
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#21130">[ date ]</a>
<a href="thread.html#21130">[ thread ]</a>
<a href="subject.html#21130">[ subject ]</a>
<a href="author.html#21130">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Hi Thomas,
On 4 January 2013 04:41, Thomas Backlund <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">tmb at mageia.org</A>> wrote:
><i> Glen Ogilvie skrev 3.1.2013 13:10:
</I>><i>
</I>>><i> Hi,
</I>>><i>
</I>>><i> Has anyone got Mageia 2 or Mageia 3 beta running on Amazon EC2?
</I>>><i>
</I>>><i> I have been having a go, but not quite got there yet, so thought I'd ask
</I>>><i> if anyone has already done it?
</I>>><i>
</I>><i>
</I>><i> There was someone on irc testing it and had some progress...
</I>><i> I don't know if he finished his tests.
</I>><i>
</I>><i> One thing... you need kernel-server-3.4.24-1 from 2/updates_testing
</I>><i> to get it to boot (kernel image gz kompressed)
</I>><i>
</I>
Thank you fro the tip about using kernel-server-3.4.24-1.
After switching to this kernel, and rebuilding initrd, with the command:
mkinitrd-mkinitrd --with=xen-blkfront --with=xennet --with=xen-netfront
initrd-3.4.24-server-2.mga2.img 3.4.24-server-2.mga2
It worked on Amazon EC2 and I have a nice Amanzon EC2 Mageia2 box. I'll
create a clean AMI for others to use in the next few weeks! I released a
Mandriva 2011 public AMI about a year ago.
It went much better than my attempt with 3.3.8-server-2.mga2, which
complained about the compression format.
I see in the change log, you have switched it back to gzip.
Searching for the gzip signature, using
od -A d -t x1 vmlinuz-3.3.8-server-2.mga2 | grep '1f 8b 08 00' does not
find it, for 3.3.8, but searching for the xz sig, using
od -A d -t x1 vmlinuz-3.3.8-server-2.mga2 | grep -i 'fd 37 7a 58 5a 00',
return a match.
I found what is a little bit of a trap for people... funny now I think
about it.
the output from running file vmlinuz*
vmlinuz-3.4.24-server-2.mga2: Linux kernel x86 boot executable bzImage,
version 3.4.24-server-2.mga2 (<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">iurt at ecosse.mageia.org</A>) #1 SMP Tue Dec 18,
RO-rootFS, swap_dev 0x3, Normal VGA
vmlinuz-3.3.8-server-2.mga2: Linux kernel x86 boot executable bzImage,
version 3.3.8-server-2.mga2 (<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">iurt at jonund.mageia.org</A>) #1 SMP Mon Jul 30 ,
RO-rootFS, swap_dev 0x2, Normal VGA
It is easy to assume that bzImage mean's bzip.. but it does not.. it means
big zimage. the actual compression type is not displayed using the file
command.
I wonder if a patch to the file command to also output the compression type
for kernel images, might be a good idea?
Regards
Glen Ogilvie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-dev/attachments/20130104/a3bcfb67/attachment.html>
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="021092.html">[Mageia-dev] Mageia 2 / Mageia 3 beta on EC2
</A></li>
<LI>Next message: <A HREF="021091.html">[Mageia-dev] Security updates - help needed!
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#21130">[ date ]</a>
<a href="thread.html#21130">[ thread ]</a>
<a href="subject.html#21130">[ subject ]</a>
<a href="author.html#21130">[ author ]</a>
</LI>
</UL>
<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
mailing list</a><br>
</body></html>
|