1 <?xml version=
"1.0" encoding=
"utf-8"?>
2 <rss version='
2.0' xmlns:lj='http://www.livejournal.org/rss/lj/
1.0/' xmlns:
atom=
"http://www.w3.org/2005/Atom">
4 <title>Petter Reinholdtsen
</title>
5 <description></description>
6 <link>http://people.skolelinux.org/pere/blog/
</link>
7 <atom:link href=
"http://people.skolelinux.org/pere/blog/index.rss" rel=
"self" type=
"application/rss+xml" />
10 <title>Pornoskannerne på flyplassene bedrer visst ikke sikkerheten
</title>
11 <link>http://people.skolelinux.org/pere/blog/Pornoskannerne_p___flyplassene_bedrer_visst_ikke_sikkerheten.html
</link>
12 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Pornoskannerne_p___flyplassene_bedrer_visst_ikke_sikkerheten.html
</guid>
13 <pubDate>Sat,
11 Dec
2010 10:
45:
00 +
0100</pubDate>
15 <p
>Via
<a href=
"http://webmink.com/
2010/
12/
10/links-for-
2010-
12-
10/
">en
16 blogpost fra Simon Phipps i går
</a
>, fant jeg en referanse til
17 <a href=
"http://www.washingtontimes.com/news/
2010/dec/
9/exposed-tsas-x-rated-scanner-fraud/
">en
18 artikkel i Washington Times
</a
> som igjen refererer til en artikkel i
19 det fagfellevurderte tidsskriftet Journal of Transportation Security
21 "<a href=
"http://springerlink.com/content/g6620thk08679160/fulltext.html
">An
22 evaluation of airport x-ray backscatter units based on image
23 characteristics
</a
>" som enkelt konstaterer at
24 <a href=
"http://www.dailysquib.co.uk/?a=
2389&c=
124">pornoscannerne
</a
>
25 som kler av reisende på flyplasser ikke er i stand til å avsløre det
26 produsenten og amerikanske myndigheter sier de skal avsløre. Kort
27 sagt, de bedrer ikke sikkerheten. Reisende må altså la ansatte på
28 flyplasser
<a href=
"http://www.thousandsstandingaround.org/
">se dem
29 nakne eller la seg beføle i skrittet
</a
> uten grunn. Jeg vil
30 fortsette å nekte å bruke disse pornoskannerne, unngå flyplasser der
31 de er tatt i bruk, og reise med andre transportmidler enn fly hvis jeg
37 <title>Now accepting bitcoins - anonymous and distributed p2p crypto-money
</title>
38 <link>http://people.skolelinux.org/pere/blog/Now_accepting_bitcoins___anonymous_and_distributed_p2p_crypto_money.html
</link>
39 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Now_accepting_bitcoins___anonymous_and_distributed_p2p_crypto_money.html
</guid>
40 <pubDate>Fri,
10 Dec
2010 08:
20:
00 +
0100</pubDate>
42 <p
>With this weeks lawless
43 <a href=
"http://www.salon.com/news/opinion/glenn_greenwald/
2010/
12/
06/wikileaks/index.html
">governmental
44 attacks
</a
> on Wikileak and
45 <a href=
"http://www.salon.com/technology/dan_gillmor/
2010/
12/
06/war_on_speech
">free
46 speech
</a
>, it has become obvious that PayPal, visa and mastercard can
47 not be trusted to handle money transactions.
49 <a href=
"http://webmink.com/
2010/
12/
06/now-accepting-bitcoin/
">Simon
50 Phipps on bitcoin
</a
> reminded me about a project that a friend of
51 mine mentioned earlier. I decided to follow Simon
's example, and get
52 involved with
<a href=
"http://www.bitcoin.org/
">BitCoin
</a
>. I got
53 some help from my friend to get it all running, and he even handed me
54 some bitcoins to get started. I even donated a few bitcoins to Simon
55 for helping me remember BitCoin.
</p
>
57 <p
>So, what is bitcoins, you probably wonder? It is a digital
58 crypto-currency, decentralised and handled using peer-to-peer
59 networks. It allows anonymous transactions and prohibits central
60 control over the transactions, making it impossible for governments
61 and companies alike to block donations and other transactions. The
62 source is free software, and while the key dependency wxWidgets
2.9
63 for the graphical user interface is missing in Debian, the command
64 line client builds just fine. Hopefully Jonas
65 <a href=
"http://bugs.debian.org/
578157">will get the package into
66 Debian
</a
> soon.
</p
>
68 <p
>Bitcoins can be converted to other currencies, like USD and EUR.
69 There are
<a href=
"http://www.bitcoin.org/trade
">companies accepting
70 bitcoins
</a
> when selling services and goods, and there are even
71 currency
"stock
" markets where the exchange rate is decided. There
72 are not many users so far, but the concept seems promising. If you
73 want to get started and lack a friend with any bitcoins to spare,
75 <a href=
"https://freebitcoins.appspot.com/
">some for free
</a
> (
0.05
76 bitcoin at the time of writing). Use
77 <a href=
"http://www.bitcoinwatch.com/
">BitcoinWatch
</a
> to keep an eye
78 on the current exchange rates.
</p
>
80 <p
>As an experiment, I have decided to set up bitcoind on one of my
81 machines. If you want to support my activity, please send Bitcoin
82 donations to the address
83 <b
>15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b
</b
>. Thank you!
</p
>
88 <title>Martin Bekkelund: En stille bønn om Datalagringsdirektivet
</title>
89 <link>http://people.skolelinux.org/pere/blog/Martin_Bekkelund__En_stille_b__nn_om_Datalagringsdirektivet.html
</link>
90 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Martin_Bekkelund__En_stille_b__nn_om_Datalagringsdirektivet.html
</guid>
91 <pubDate>Thu,
9 Dec
2010 21:
25:
00 +
0100</pubDate>
93 <p
><a href=
"http://www.bekkelund.net/
">Martin Bekkelund
</a
> ved
94 <a href=
"http://www.friprog.no/
">friprog-senteret
</a
> har skrevet
96 <a href=
"http://www.bekkelund.net/
2010/
12/
09/en-stille-bonn/
">korte
97 oppsummering
</a
> rundt datalagringsdirektivet, som jeg videreformidler
100 <p
><blockquote
><strong
>Det pågår i disse dager en intens diskusjon om
101 innføring av Datalagringsdirektivet (
<acronym
102 title=
"Datalagringsdirektivet
">DLD
</acronym
>) i norsk rett. Kanskje
103 har du gjort deg opp en mening, kanskje er du usikker. I begge
104 tilfeller ber jeg deg lese videre.
</strong
></p
>
106 <p
>Samtlige fagmiljøer, både i Norge og EU, har konkludert med at
107 <acronym title=
"Datalagringsdirektivet
">DLD
</acronym
> ikke bør
108 innføres på nåværende tidspunkt. Den tekniske kvaliteten på direktivet
109 er dårlig, det griper uforholdsmessig inn i personvernet, det har
110 store mangler og viktige spørsmål som hvem som skal ha tilgang og
111 hvordan data skal lagres er fortsatt uavklart.
</p
>
114 <li
><a href=
"http://ikt-norge.no/norge-kan-slippe-datalagringsdirektivet/
">EU-ekspertene sier
</a
> at konsekvensene av å benytte vetoretten er minimale
</li
>
115 <li
><a href=
"http://www.regjeringen.no/pages/
2281080/Deninternasjonalejuristkommisjon.pdf
">Juristene påpeker
</a
> at direktivet er i strid med EMK
</li
>
116 <li
><a href=
"http://www.dagbladet.no/
2010/
12/
06/kultur/debatt/kronikk/dld/personvern/
14594699/
">Datatilsynet sier
</a
> direktivet får store konsekvenser for personvernet og at direktivet er irreversibelt
</li
>
117 <li
><a href=
"http://www.bekkelund.net/?s=dld
">Teknologene sier
</a
> at sikker lagring ikke er mulig, at det er svært enkelt å omgå og mulig å manipulere data og produsere falske beviser
</li
>
118 <li
><a href=
"http://www.regjeringen.no/pages/
2281080/NJ_247460_1_P.pdf
">Pressen sier
</a
> nei av hensyn til kildevernet
</li
>
119 <li
>Det er store
<a href=
"http://tetzschner.blogspot.com/
2010/
03/den-tyske-forfatningsdomstol.html
">interne
</a
> <a href=
"http://stoppdld.no/
2010/
03/
02/datalagring-stoppet-av-tysk-forfatningsdomstol/
">stridigheter
</a
> i EU. Blant annet har den tyske forfatningsdomstolen funnet at måten
<acronym title=
"Datalagringsdirektivet
">DLD
</acronym
> er innført på er i strid med tysk grunnlov
</li
>
120 <li
>Alle de store
<a href=
"http://www.bekkelund.net/
2010/
12/
08/lokasjonsdata-og-datalagringsdirektivet/
">operatørene og tilbyderne sier nei
</a
>, av tekniske og personvernmessige årsaker
</li
>
123 <p
>Jeg liker å tro at jeg er en hyggelig fyr. Jeg har et rent
124 rulleblad, og med unntak av to fartsbøter har jeg aldri vært en byrde
125 for samfunnet. Det akter jeg å fortsette med. Det er mange som meg,
126 lovlydige, pliktoppfyllende borgere som aldri vil utgjøre en trussel
127 mot noe som helst. Vi synes derfor det er trist og sårende at all vår
128 atferd skal overvåkes døgnkontinuerlig.
</p
>
130 <p
><strong
>Understøttet av faglige vurderinger kan du trygt si nei til
131 <acronym title=
"Datalagringsdirektivet
">DLD
</acronym
>.
</strong
></p
>
133 <p
><a href=
"http://www.bekkelund.net/kontakt/
">Ta kontakt med meg
</a
>
134 hvis du har spørsmål om
<acronym
135 title=
"Datalagringsdirektivet
">DLD
</acronym
>, uansett hva det måtte
138 <p class=
"info
">Denne teksten er å anse som
<a
139 href=
"http://creativecommons.org/licenses/publicdomain/
"><em
>Public
140 Domain
</em
></a
>. Spre den videre til alle som kan ha nytte av
142 </blockquote
></p
>
144 <p
>Siste
<a href=
"http://www.nettavisen.no/it/article3043918.ece
">melding
145 fra Nettavisen
</a
> er at regjeringen planlegger å fremme sitt forslag
146 til implementering av datalagringsdirektivet i morgen, i ly av
147 fredprisutdelingen for å få minst mulig pressedekning om saken. Vi
148 får snart se om det stemmer.
</p
>
153 <title>Student group continue the work on my Reprap
3D printer
</title>
154 <link>http://people.skolelinux.org/pere/blog/Student_group_continue_the_work_on_my_Reprap_3D_printer.html
</link>
155 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Student_group_continue_the_work_on_my_Reprap_3D_printer.html
</guid>
156 <pubDate>Thu,
9 Dec
2010 19:
30:
00 +
0100</pubDate>
158 <p
>A few days ago, I was introduces to some students in the robot
159 student assosiation
<a href=
"http://www.robotica.no/
">Robotica
160 Osloensis
</a
> at the University of Oslo where I work, who planned to
161 get their own
3D printer. They wanted to learn from me based on my
162 work in the area. After having a short lunch meeting with them, I
163 offered them to borrow my reprap kit, as I never had time to complete
164 the build and this seem unlike to change any time soon. I look
165 forward to see how this goes. This monday their volunteer driver
166 picked up my kit and drove it to their lab, and tomorrow I am told the
167 last exam is over so they can start work on getting the
3D printer
168 operational.
</p
>
170 <p
>The robotic group have already build several robots on their own,
171 and seem capable of getting the reprap operational. I really look
172 forward to being able to print all the cool
3D designs published on
173 <a href=
"http://www.thingiverse.com/
">Thingiverse
</a
>. I even got
174 some
3D scans I got made during Dagen@IFI when one of the groups at
175 the computer science department at the university demonstrated their
176 very cool
3D scanner.
</p
>
181 <title>Debian Edu development gathering and General Assembly for FRiSK
</title>
182 <link>http://people.skolelinux.org/pere/blog/Debian_Edu_development_gathering_and_General_Assembly_for_FRiSK.html
</link>
183 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Debian_Edu_development_gathering_and_General_Assembly_for_FRiSK.html
</guid>
184 <pubDate>Mon,
29 Nov
2010 18:
40:
00 +
0100</pubDate>
186 <p
>On friday, the first Debian Edu / Skolelinux
187 <a href=
"http://www.friprogramvareiskolen.no/Gathering/
2010-
12-
03-
05-Oslo
">development
188 gathering
</a
> in a long time take place here in Oslo, Norway. I
189 really look forward to seeing all the good people working on the
190 Squeeze release. The gathering is open for everyone interested in
191 learning more about Debian Edu / Skolelinux.
</p
>
193 <p
>On Saturday, the Norwegian member organization taking care of
194 organizing these development gatherings, Fri Programvare i Skolen,
196 <a href=
"http://friprogramvareiskolen.no/Genfors/
2010">General Assembly
197 for
2010</a
>. Membership is open for all, and currently there are
388
198 people registered as members. Last year
32 members cast their vote in
199 the memberdb based election system. I hope more people find time to
200 vote this year.
</p
>
205 <title>Why isn
't Debian Edu using VLC?
</title>
206 <link>http://people.skolelinux.org/pere/blog/Why_isn_t_Debian_Edu_using_VLC_.html
</link>
207 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Why_isn_t_Debian_Edu_using_VLC_.html
</guid>
208 <pubDate>Sat,
27 Nov
2010 11:
30:
00 +
0100</pubDate>
210 <p
>In the latest issue of Linux Journal, the readers choices were
211 presented, and the winner among the multimedia player were VLC.
212 Personally, I like VLC, and it is my player of choice when I first try
213 to play a video file or stream. Only if VLC fail will I drag out
214 gmplayer to see if it can do better. The reason is mostly the failure
215 model and trust. When VLC fail, it normally pop up a error message
216 reporting the problem. When mplayer fail, it normally segfault or
217 just hangs. The latter failure mode drain my trust in the program.
<p
>
219 <p
>But even if VLC is my player of choice, we have choosen to use
220 mplayer in
<a href=
"http://www.skolelinux.org/
">Debian
221 Edu/Skolelinux
</a
>. The reason is simple. We need a good browser
222 plugin to play web videos seamlessly, and the VLC browser plugin is
223 not very good. For example, it lack in-line control buttons, so there
224 is no way for the user to pause the video. Also, when I
225 <a href=
"http://wiki.debian.org/DebianEdu/BrowserMultimedia
">last
226 tested the browser plugins
</a
> available in Debian, the VLC plugin
227 failed on several video pages where mplayer based plugins worked. If
228 the browser plugin for VLC was as good as the gecko-mediaplayer
229 package (which uses mplayer), we would switch.
</P
>
231 <p
>While VLC is a good player, its user interface is slightly
232 annoying. The most annoying feature is its inconsistent use of
233 keyboard shortcuts. When the player is in full screen mode, its
234 shortcuts are different from when it is playing the video in a window.
235 For example, space only work as pause when in full screen mode. I
236 wish it had consisten shortcuts and that space also would work when in
237 window mode. Another nice shortcut in gmplayer is [enter] to restart
238 the current video. It is very nice when playing short videos from the
239 web and want to restart it when new people arrive to have a look at
240 what is going on.
</p
>
245 <title>DND hedrer overvåkning av barn med Rosingsprisen
</title>
246 <link>http://people.skolelinux.org/pere/blog/DND_hedrer_overv__kning_av_barn_med_Rosingsprisen.html
</link>
247 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/DND_hedrer_overv__kning_av_barn_med_Rosingsprisen.html
</guid>
248 <pubDate>Tue,
23 Nov
2010 14:
15:
00 +
0100</pubDate>
250 <p
>Jeg registrerer med vond smak i munnen at Den Norske Dataforening
252 href=
"http://www.dataforeningen.no/hedret-med-rosingprisen
.4849070-
133913.html
">hedrer
253 overvåkning av barn med Rosingsprisen for kreativitet i år
</a
>. Jeg
254 er glad jeg nå er meldt ut av DND.
</p
>
256 <p
>Å elektronisk overvåke sine barn er ikke å gjøre dem en tjeneste,
257 men et overgrep mot individer i utvikling som bør læres opp til å ta
260 <p
>For å sitere Datatilsynets nye leder, Bjørn Erik Thon, i
261 <a href=
"http://www.idg.no/computerworld/article174262.ece
">et intervju
262 med Computerworld Norge
</A
>:
</p
>
264 <p
><blockquote
>
265 - For alle som har barn, meg selv inkludert, er førstetanken at det
266 hadde vært fint å vite hvor barnet sitt er til enhver tid. Men ungene
267 har ikke godt av det. De er små individer som skal søke rundt og finne
268 sine små gjemmesteder og utvide horisonten, uten at foreldrene ser dem
269 i kortene. Det kan være fristende, men jeg ville ikke gått inn i
271 </blockquote
></p
>
273 <p
>Det er skremmende å se at DND mener en tjeneste som legger opp til
274 slike overgrep bør hedres. Å flytte oppveksten for barn inn i en
276 <a href=
"http://en.wikipedia.org/wiki/Panopticon
">Panopticon
</a
> er et
277 grovt overgrep og vil gjøre skade på barnenes utvikling, og foreldre
278 burde tenke seg godt om før de gir etter for sine instinkter her.
</p
>
280 <p
>Blipper-tjenesten får meg til å tenke på bøkene til
281 <a href=
"http://en.wikipedia.org/wiki/John_Twelve_Hawks
">John Twelve
282 Hawks
</a
>, som forbilledlig beskriver hvordan et totalitært
283 overvåkningssamfunn bygges sakte men sikkert rundt oss, satt sammen av
284 gode intensjoner og manglende bevissthet om hvilke prinsipper et
285 liberalt demokrati er fundamentert på. Jeg har hatt stor glede av å
286 lese alle de tre bøkene.
</p
>
291 <title>Lenny-
>Squeeze upgrades of the Gnome and KDE desktop, now with apt-get autoremove
</title>
292 <link>http://people.skolelinux.org/pere/blog/Lenny__Squeeze_upgrades_of_the_Gnome_and_KDE_desktop__now_with_apt_get_autoremove.html
</link>
293 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Lenny__Squeeze_upgrades_of_the_Gnome_and_KDE_desktop__now_with_apt_get_autoremove.html
</guid>
294 <pubDate>Mon,
22 Nov
2010 14:
15:
00 +
0100</pubDate>
296 <p
>Michael Biebl suggested to me on IRC, that I changed my automated
297 upgrade testing of the
298 <a href=
"http://people.skolelinux.org/~pere/debian-upgrade-testing/
">Lenny
299 Gnome and KDE Desktop
</a
> to do
<tt
>apt-get autoremove
</tt
> when using apt-get.
300 This seem like a very good idea, so I adjusted by test scripts and
301 can now present the updated result from today:
</p
>
303 <p
>This is for Gnome:
</p
>
305 <p
>Installed using apt-get, missing with aptitude
</p
>
307 <blockquote
><p
>
319 freedesktop-sound-theme
321 gconf-defaults-service
336 gnome-desktop-environment
340 gnome-session-canberra
345 gstreamer0.10-fluendo-mp3
354 libaprutil1-dbd-sqlite3
357 libboost-date-time1.42
.0
358 libboost-python1.42
.0
359 libboost-thread1.42
.0
361 libchamplain-gtk-
0.4-
0
363 libclutter-gtk-
0.10-
0
370 libfreerdp-plugins-standard
385 libgnomepanel2.24-cil
390 libgtksourceview2.0-common
391 libmono-addins-gui0.2-cil
392 libmono-addins0.2-cil
394 libmono-corlib2.0-cil
395 libmono-i18n-west2.0-cil
397 libmono-security2.0-cil
398 libmono-sharpzip2.84-cil
399 libmono-system2.0-cil
402 libndesk-dbus-glib1.0-cil
413 libtelepathy-farsight0
422 nautilus-sendto-empathy
443 python-gtksourceview2
467 python-zope.interface
472 rhythmbox-plugin-cdrecorder
479 system-config-printer-udev
481 telepathy-mission-control-
5
492 </p
></blockquote
>
494 <p
>Installed using apt-get, removed with aptitude
</p
>
496 <blockquote
><p
>
502 fast-user-switch-applet
521 libgtksourceview2.0-
0
529 system-config-printer
534 </p
></blockquote
>
536 <p
>Installed using aptitude, missing with apt-get
</p
>
538 <blockquote
><p
>
539 gstreamer0.10-gnomevfs
540 </p
></blockquote
>
542 <p
>Installed using aptitude, removed with apt-get
</p
>
544 <blockquote
><p
>
546 </p
></blockquote
>
548 <p
>This is for KDE:
</p
>
550 <p
>Installed using apt-get, missing with aptitude
</p
>
552 <blockquote
><p
>
554 </p
></blockquote
>
556 <p
>Installed using apt-get, removed with aptitude
</p
>
558 <blockquote
><p
>
561 </p
></blockquote
>
563 <p
>Installed using aptitude, missing with apt-get
</p
>
565 <blockquote
><p
>
581 kdeartwork-theme-icon
585 kdebase-workspace-bin
586 kdebase-workspace-data
615 plasma-dataengines-workspace
617 plasma-desktopthemes-artwork
618 plasma-runners-addons
619 plasma-scriptengine-googlegadgets
620 plasma-scriptengine-python
621 plasma-scriptengine-qedje
622 plasma-scriptengine-ruby
623 plasma-scriptengine-webkit
625 plasma-wallpapers-addons
626 plasma-widget-folderview
627 plasma-widget-networkmanagement
631 xscreensaver-data-extra
633 xscreensaver-gl-extra
634 xscreensaver-screensaver-bsod
635 </p
></blockquote
>
637 <p
>Installed using aptitude, removed with apt-get
</p
>
639 <blockquote
><p
>
641 google-gadgets-common
664 libkonqsidebarplugin4a
673 libplasma-geolocation-interface4
675 libplasmagenericshell4
718 plasma-dataengines-addons
719 plasma-scriptengine-superkaramba
720 plasma-widget-lancelot
721 plasma-widgets-addons
722 plasma-widgets-workspace
726 update-notifier-common
727 </p
></blockquote
>
729 <p
>Running apt-get autoremove made the results using apt-get and
730 aptitude a bit more similar, but there are still quite a lott of
731 differences. I have no idea what packages should be installed after
732 the upgrade, but hope those that do can have a look.
</p
>
737 <title>Migrating Xen virtual machines using LVM to KVM using disk images
</title>
738 <link>http://people.skolelinux.org/pere/blog/Migrating_Xen_virtual_machines_using_LVM_to_KVM_using_disk_images.html
</link>
739 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Migrating_Xen_virtual_machines_using_LVM_to_KVM_using_disk_images.html
</guid>
740 <pubDate>Mon,
22 Nov
2010 11:
20:
00 +
0100</pubDate>
742 <p
>Most of the computers in use by the
743 <a href=
"http://www.skolelinux.org/
">Debian Edu/Skolelinux project
</a
>
744 are virtual machines. And they have been Xen machines running on a
745 fairly old IBM eserver xseries
345 machine, and we wanted to migrate
746 them to KVM on a newer Dell PowerEdge
2950 host machine. This was a
747 bit harder that it could have been, because we set up the Xen virtual
748 machines to get the virtual partitions from LVM, which as far as I
749 know is not supported by KVM. So to migrate, we had to convert
750 several LVM logical volumes to partitions on a virtual disk file.
</p
>
753 <a href=
"http://searchnetworking.techtarget.com.au/articles/
35011-Six-steps-for-migrating-Xen-virtual-machines-to-KVM
">a
754 nice recipe
</a
> to do this, and wrote the following script to do the
755 migration. It uses qemu-img from the qemu package to make the disk
756 image, parted to partition it, losetup and kpartx to present the disk
757 image partions as devices, and dd to copy the data. I NFS mounted the
758 new servers storage area on the old server to do the migration.
</p
>
764 # http://searchnetworking.techtarget.com.au/articles/
35011-Six-steps-for-migrating-Xen-virtual-machines-to-KVM
769 if [ -z
"$
1" ] ; then
770 echo
"Usage: $
0 &lt;hostname
&gt;
"
776 if [ ! -e /dev/vg_data/$host-disk ] ; then
777 echo
"error: unable to find LVM volume for $host
"
781 # Partitions need to be a bit bigger than the LVM LVs. not sure why.
782 disksize=$( lvs --units m | grep $host-disk | awk
'{sum = sum + $
4} END { print int(sum *
1.05) }
')
783 swapsize=$( lvs --units m | grep $host-swap | awk
'{sum = sum + $
4} END { print int(sum *
1.05) }
')
784 totalsize=$(( ( $disksize + $swapsize ) ))
787 #dd if=/dev/zero of=$img bs=
1M count=$(( $disksize + $swapsize ))
788 qemu-img create $img ${totalsize}MMaking room on the Debian Edu/Sqeeze DVD
790 parted $img mklabel msdos
791 parted $img mkpart primary linux-swap
0 $disksize
792 parted $img mkpart primary ext2 $disksize $totalsize
793 parted $img set
1 boot on
796 losetup /dev/loop0 $img
799 dd if=/dev/vg_data/$host-disk of=/dev/mapper/loop0p1 bs=
1M
800 fsck.ext3 -f /dev/mapper/loop0p1 || true
801 mkswap /dev/mapper/loop0p2
804 losetup -d /dev/loop0
807 <p
>The script is perhaps so simple that it is not copyrightable, but
808 if it is, it is licenced using GPL v2 or later at your discretion.
</p
>
810 <p
>After doing this, I booted a Debian CD in rescue mode in KVM with
811 the new disk image attached, installed grub-pc and linux-image-
686 and
812 set up grub to boot from the disk image. After this, the KVM machines
813 seem to work just fine.
</p
>
818 <title>Lenny-
>Squeeze upgrades, apt vs aptitude with the Gnome and KDE desktop
</title>
819 <link>http://people.skolelinux.org/pere/blog/Lenny__Squeeze_upgrades__apt_vs_aptitude_with_the_Gnome_and_KDE_desktop.html
</link>
820 <guid isPermaLink=
"true">http://people.skolelinux.org/pere/blog/Lenny__Squeeze_upgrades__apt_vs_aptitude_with_the_Gnome_and_KDE_desktop.html
</guid>
821 <pubDate>Sat,
20 Nov
2010 22:
50:
00 +
0100</pubDate>
823 <p
>I
'm still running upgrade testing of the
824 <a href=
"http://people.skolelinux.org/~pere/debian-upgrade-testing/
">Lenny
825 Gnome and KDE Desktop
</a
>, but have not had time to spend on reporting the
826 status. Here is a short update based on a test I ran
20101118.
</p
>
828 <p
>I still do not know what a correct migration should look like, so I
829 report any differences between apt and aptitude and hope someone else
830 can see if anything should be changed.
</p
>
832 <p
>This is for Gnome:
</p
>
834 <p
>Installed using apt-get, missing with aptitude
</p
>
836 <blockquote
><p
>
837 apache2.2-bin aptdaemon at-spi baobab binfmt-support
838 browser-plugin-gnash cheese-common cli-common cpp-
4.3 cups-pk-helper
839 dmz-cursor-theme empathy empathy-common finger
840 freedesktop-sound-theme freeglut3 gconf-defaults-service gdm-themes
841 gedit-plugins geoclue geoclue-hostip geoclue-localnet geoclue-manual
842 geoclue-yahoo gnash gnash-common gnome gnome-backgrounds
843 gnome-cards-data gnome-codec-install gnome-core
844 gnome-desktop-environment gnome-disk-utility gnome-screenshot
845 gnome-search-tool gnome-session-canberra gnome-spell
846 gnome-system-log gnome-themes-extras gnome-themes-more
847 gnome-user-share gs-common gstreamer0.10-fluendo-mp3
848 gstreamer0.10-tools gtk2-engines gtk2-engines-pixbuf
849 gtk2-engines-smooth hal-info hamster-applet libapache2-mod-dnssd
850 libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap
851 libart2.0-cil libatspi1.0-
0 libboost-date-time1.42
.0
852 libboost-python1.42
.0 libboost-thread1.42
.0 libchamplain-
0.4-
0
853 libchamplain-gtk-
0.4-
0 libcheese-gtk18 libclutter-gtk-
0.10-
0
854 libcryptui0 libcupsys2 libdiscid0 libeel2-data libelf1 libepc-
1.0-
2
855 libepc-common libepc-ui-
1.0-
2 libfreerdp-plugins-standard
856 libfreerdp0 libgail-common libgconf2.0-cil libgdata-common libgdata7
857 libgdl-
1-common libgdu-gtk0 libgee2 libgeoclue0 libgexiv2-
0 libgif4
858 libglade2.0-cil libglib2.0-cil libgmime2.4-cil libgnome-vfs2.0-cil
859 libgnome2.24-cil libgnomepanel2.24-cil libgnomeprint2.2-data
860 libgnomeprintui2.2-common libgnomevfs2-bin libgpod-common libgpod4
861 libgtk2.0-cil libgtkglext1 libgtksourceview-common
862 libgtksourceview2.0-common libmono-addins-gui0.2-cil
863 libmono-addins0.2-cil libmono-cairo2.0-cil libmono-corlib2.0-cil
864 libmono-i18n-west2.0-cil libmono-posix2.0-cil
865 libmono-security2.0-cil libmono-sharpzip2.84-cil
866 libmono-system2.0-cil libmtp8 libmusicbrainz3-
6
867 libndesk-dbus-glib1.0-cil libndesk-dbus1.0-cil libopal3.6
.8
868 libpolkit-gtk-
1-
0 libpt-
1.10.10-plugins-alsa
869 libpt-
1.10.10-plugins-v4l libpt2.6
.7 libpython2.6 librpm1 librpmio1
870 libsdl1.2debian libservlet2.4-java libsrtp0 libssh-
4
871 libtelepathy-farsight0 libtelepathy-glib0 libtidy-
0.99-
0
872 libxalan2-java libxerces2-java media-player-info mesa-utils
873 mono-
2.0-gac mono-gac mono-runtime nautilus-sendto
874 nautilus-sendto-empathy openoffice.org-writer2latex
875 openssl-blacklist p7zip p7zip-full pkg-config python-
4suite-xml
876 python-aptdaemon python-aptdaemon-gtk python-axiom
877 python-beautifulsoup python-bugbuddy python-clientform
878 python-coherence python-configobj python-crypto python-cupshelpers
879 python-cupsutils python-eggtrayicon python-elementtree
880 python-epsilon python-evolution python-feedparser python-gdata
881 python-gdbm python-gst0.10 python-gtkglext1 python-gtkmozembed
882 python-gtksourceview2 python-httplib2 python-louie python-mako
883 python-markupsafe python-mechanize python-nevow python-notify
884 python-opengl python-openssl python-pam python-pkg-resources
885 python-pyasn1 python-pysqlite2 python-rdflib python-serial
886 python-tagpy python-twisted-bin python-twisted-conch
887 python-twisted-core python-twisted-web python-utidylib python-webkit
888 python-xdg python-zope.interface remmina remmina-plugin-data
889 remmina-plugin-rdp remmina-plugin-vnc rhythmbox-plugin-cdrecorder
890 rhythmbox-plugins rpm-common rpm2cpio seahorse-plugins shotwell
891 software-center svgalibg1 system-config-printer-udev
892 telepathy-gabble telepathy-mission-control-
5 telepathy-salut tomboy
893 totem totem-coherence totem-mozilla totem-plugins
894 transmission-common xdg-user-dirs xdg-user-dirs-gtk xserver-xephyr
896 </p
></blockquote
>
898 Installed using apt-get, removed with aptitude
900 <blockquote
><p
>
901 arj bluez-utils cheese dhcdbd djvulibre-desktop ekiga eog
902 epiphany-extensions epiphany-gecko evolution-exchange
903 fast-user-switch-applet file-roller gcalctool gconf-editor gdm gedit
904 gedit-common gnome-app-install gnome-games gnome-games-data
905 gnome-nettool gnome-system-tools gnome-themes gnome-utils
906 gnome-vfs-obexftp gnome-volume-manager gnuchess gucharmap
907 guile-
1.8-libs hal libavahi-compat-libdnssd1 libavahi-core5
908 libavahi-ui0 libbind9-
50 libbluetooth2 libcamel1.2-
11 libcdio7
909 libcucul0 libcurl3 libdirectfb-
1.0-
0 libdmx1 libdvdread3
910 libedata-cal1.2-
6 libedataserver1.2-
9 libeel2-
2.20 libepc-
1.0-
1
911 libepc-ui-
1.0-
1 libexchange-storage1.2-
3 libfaad0 libgadu3
912 libgalago3 libgd2-noxpm libgda3-
3 libgda3-common libggz2 libggzcore9
913 libggzmod4 libgksu1.2-
0 libgksuui1.0-
1 libgmyth0 libgnome-desktop-
2
914 libgnome-pilot2 libgnomecups1.0-
1 libgnomeprint2.2-
0
915 libgnomeprintui2.2-
0 libgpod3 libgraphviz4 libgtk-vnc-
1.0-
0
916 libgtkhtml2-
0 libgtksourceview1.0-
0 libgtksourceview2.0-
0
917 libgucharmap6 libhesiod0 libicu38 libisccc50 libisccfg50 libiw29
918 libjaxp1.3-java-gcj libkpathsea4 liblircclient0 libltdl3 liblwres50
919 libmagick++
10 libmagick10 libmalaga7 libmozjs1d libmpfr1ldbl libmtp7
920 libmysqlclient15off libnautilus-burn4 libneon27 libnm-glib0
921 libnm-util0 libopal-
2.2 libosp5 libparted1.8-
10 libpisock9
922 libpisync1 libpoppler-glib3 libpoppler3 libpt-
1.10.10 libraw1394-
8
923 libsdl1.2debian-alsa libsensors3 libsexy2 libsmbios2 libsoup2.2-
8
924 libspeexdsp1 libssh2-
1 libsuitesparse-
3.1.0 libsvga1
925 libswfdec-
0.6-
90 libtalloc1 libtotem-plparser10 libtrackerclient0
926 libvoikko1 libxalan2-java-gcj libxerces2-java-gcj libxklavier12
927 libxtrap6 libxxf86misc1 libzephyr3 mysql-common rhythmbox seahorse
928 sound-juicer swfdec-gnome system-config-printer totem-common
929 totem-gstreamer transmission-gtk vinagre vino w3c-dtd-xhtml wodim
930 </p
></blockquote
>
932 <p
>Installed using aptitude, missing with apt-get
</p
>
934 <blockquote
><p
>
935 gstreamer0.10-gnomevfs
936 </p
></blockquote
>
938 <p
>Installed using aptitude, removed with apt-get
</p
>
940 <blockquote
><p
>
942 </p
></blockquote
>
944 <p
>This is for KDE:
</p
>
946 <p
>Installed using apt-get, missing with aptitude
</p
>
948 <blockquote
><p
>
949 autopoint bomber bovo cantor cantor-backend-kalgebra cpp-
4.3 dcoprss
950 edict espeak espeak-data eyesapplet fifteenapplet finger gettext
951 ghostscript-x git gnome-audio gnugo granatier gs-common
952 gstreamer0.10-pulseaudio indi kaddressbook-plugins kalgebra
953 kalzium-data kanjidic kapman kate-plugins kblocks kbreakout kbstate
954 kde-icons-mono kdeaccessibility kdeaddons-kfile-plugins
955 kdeadmin-kfile-plugins kdeartwork-misc kdeartwork-theme-window
956 kdeedu kdeedu-data kdeedu-kvtml-data kdegames kdegames-card-data
957 kdegames-mahjongg-data kdegraphics-kfile-plugins kdelirc
958 kdemultimedia-kfile-plugins kdenetwork-kfile-plugins
959 kdepim-kfile-plugins kdepim-kio-plugins kdessh kdetoys kdewebdev
960 kdiamond kdnssd kfilereplace kfourinline kgeography-data kigo
961 killbots kiriki klettres-data kmoon kmrml knewsticker-scripts
962 kollision kpf krosspython ksirk ksmserver ksquares kstars-data
963 ksudoku kubrick kweather libasound2-plugins libboost-python1.42
.0
964 libcfitsio3 libconvert-binhex-perl libcrypt-ssleay-perl libdb4.6++
965 libdjvulibre-text libdotconf1.0 liberror-perl libespeak1
966 libfinance-quote-perl libgail-common libgsl0ldbl libhtml-parser-perl
967 libhtml-tableextract-perl libhtml-tagset-perl libhtml-tree-perl
968 libio-stringy-perl libkdeedu4 libkdegames5 libkiten4 libkpathsea5
969 libkrossui4 libmailtools-perl libmime-tools-perl
970 libnews-nntpclient-perl libopenbabel3 libportaudio2 libpulse-browse0
971 libservlet2.4-java libspeechd2 libtiff-tools libtimedate-perl
972 libunistring0 liburi-perl libwww-perl libxalan2-java libxerces2-java
973 lirc luatex marble networkstatus noatun-plugins
974 openoffice.org-writer2latex palapeli palapeli-data parley
975 parley-data poster psutils pulseaudio pulseaudio-esound-compat
976 pulseaudio-module-x11 pulseaudio-utils quanta-data rocs rsync
977 speech-dispatcher step svgalibg1 texlive-binaries texlive-luatex
979 </p
></blockquote
>
981 <p
>Installed using apt-get, removed with aptitude
</p
>
983 <blockquote
><p
>
984 amor artsbuilder atlantik atlantikdesigner blinken bluez-utils cvs
985 dhcdbd djvulibre-desktop imlib-base imlib11 kalzium kanagram kandy
986 kasteroids katomic kbackgammon kbattleship kblackbox kbounce kbruch
987 kcron kdat kdemultimedia-kappfinder-data kdeprint kdict kdvi kedit
988 keduca kenolaba kfax kfaxview kfouleggs kgeography kghostview
989 kgoldrunner khangman khexedit kiconedit kig kimagemapeditor
990 kitchensync kiten kjumpingcube klatin klettres klickety klines
991 klinkstatus kmag kmahjongg kmailcvt kmenuedit kmid kmilo kmines
992 kmousetool kmouth kmplot knetwalk kodo kolf kommander konquest kooka
993 kpager kpat kpdf kpercentage kpilot kpoker kpovmodeler krec
994 kregexpeditor kreversi ksame ksayit kshisen ksig ksim ksirc ksirtet
995 ksmiletris ksnake ksokoban kspaceduel kstars ksvg ksysv kteatime
996 ktip ktnef ktouch ktron kttsd ktuberling kturtle ktux kuickshow
997 kverbos kview kviewshell kvoctrain kwifimanager kwin kwin4 kwordquiz
998 kworldclock kxsldbg libakode2 libarts1-akode libarts1-audiofile
999 libarts1-mpeglib libarts1-xine libavahi-compat-libdnssd1
1000 libavahi-core5 libavc1394-
0 libbind9-
50 libbluetooth2
1001 libboost-python1.34
.1 libcucul0 libcurl3 libcvsservice0
1002 libdirectfb-
1.0-
0 libdjvulibre21 libdvdread3 libfaad0 libfreebob0
1003 libgd2-noxpm libgraphviz4 libgsmme1c2a libgtkhtml2-
0 libicu38
1004 libiec61883-
0 libindex0 libisccc50 libisccfg50 libiw29
1005 libjaxp1.3-java-gcj libk3b3 libkcal2b libkcddb1 libkdeedu3
1006 libkdegames1 libkdepim1a libkgantt0 libkleopatra1 libkmime2
1007 libkpathsea4 libkpimexchange1 libkpimidentities1 libkscan1
1008 libksieve0 libktnef1 liblockdev1 libltdl3 liblwres50 libmagick10
1009 libmimelib1c2a libmodplug0c2 libmozjs1d libmpcdec3 libmpfr1ldbl
1010 libneon27 libnm-util0 libopensync0 libpisock9 libpoppler-glib3
1011 libpoppler-qt2 libpoppler3 libraw1394-
8 librss1 libsensors3
1012 libsmbios2 libssh2-
1 libsuitesparse-
3.1.0 libswfdec-
0.6-
90
1013 libtalloc1 libxalan2-java-gcj libxerces2-java-gcj libxtrap6 lskat
1014 mpeglib network-manager-kde noatun pmount tex-common texlive-base
1015 texlive-common texlive-doc-base texlive-fonts-recommended tidy
1016 ttf-dustin ttf-kochi-gothic ttf-sjfonts
1017 </p
></blockquote
>
1019 <p
>Installed using aptitude, missing with apt-get
</p
>
1021 <blockquote
><p
>
1022 dolphin kde-core kde-plasma-desktop kde-standard kde-window-manager
1023 kdeartwork kdebase kdebase-apps kdebase-workspace
1024 kdebase-workspace-bin kdebase-workspace-data kdeutils kscreensaver
1025 kscreensaver-xsavers libgle3 libkonq5 libkonq5-templates libnetpbm10
1026 netpbm plasma-widget-folderview plasma-widget-networkmanagement
1027 xscreensaver-data-extra xscreensaver-gl xscreensaver-gl-extra
1028 xscreensaver-screensaver-bsod
1029 </p
></blockquote
>
1031 <p
>Installed using aptitude, removed with apt-get
</p
>
1033 <blockquote
><p
>
1034 kdebase-bin konq-plugins konqueror
1035 </p
></blockquote
>