Fwd: cloning a desktop to a notebook

---------- Forwarded message ----------
From: jsmith-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org <jsmith-FrUbXkNCsVf2fBVCVOL8/A@public.gmane.org>
Date: Wed, Aug 27, 2008 at 6:23 AM
Subject: Re: cloning a desktop to a notebook
To: Neil Joseph Schelly <neil-36BP7YAVJ2kN+BqQ9rBEUg@public.gmane.org>




On Wed, Aug 27, 2008 at 6:14 AM, Neil Joseph Schelly <neil-36BP7YAVJ2kN+BqQ9rBEUg@public.gmane.org> wrote:
On Tuesday 26 August 2008 15:36, Greg Rundlett wrote:
> I *assumed* that apt-get had a -f option to designate a file to read
> package names from.... it does not.  So, a working equivalent to what
> I intended to have happen would be
>  sudo apt-get install `cat package-list.txt`

Yeah, apt-get -f means something else entirely.  But this is what xargs is all
about.

cat package-list.txt|xargs apt-get install

That still assumes your package list is clean.  This is how I'd make it (need
apt-show-versions installed).  It still won't make a perfectly clean list,
but clean enough.  I have duplicated many system setups just like this.
apt-show-versions |cut -f1 -d'/'

the way I use is with  dpkg -
"dpkg --get-selections > packages.txt"
 
move packages.txt over to the new machine, then:
"sudo dpkg --set-selections <packages.txt && apt-get -f install" will install them all.

You can edit the packages.txt to remove any packages you don't want installed (say you had nvidia on the desktop, but ATI on the laptop - you could hand-edit the packages.txt to remove the nvidia, then install the ATI package).

I've used this several times to clone machines.

jeff

-------------------------------------------------------------
Forgot to send to the distro list, plus one edit:
"sudo dpkg --set-selections <packages.txt && apt-get -f install" should be ""sudo dpkg --set-selections <packages.txt && sudo apt-get -f install"

jeff





_______________________________________________
gnhlug-discuss mailing list
gnhlug-discuss@...
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
Greg Rundlett | 26 Aug 20:40

cloning a desktop to a notebook

I'm building two new work systems; installing Kubuntu on
A) a desktop and
B) a notebook.

Both are i386 so there are no architecture differences.  There are of
course differences in RAM, and disk space.  However, I'm installing
binary packages.

The desktop is pretty much done.  I started building the notebook
(meaning point and click through the package manager).  Rather than
try to chase down all the software I'd like to install, I'd rather
just clone the desktop system.  I figured the most straightforward way
to install all the packages that are on system A onto system B is to
just list the installed packages and feed that into a apt-get install

system A
dpkg-query -l|cut -d ' ' -f 3 |xargs echo -n > package-list.txt

system B
sudo apt-get install -f package-list.txt

Any better approaches?  Any reasons this will blown up in my face?

Thanks,

-- Greg
TARogue | 26 Aug 13:24

speakers/headphones

For some reason, when I plug in my headphones on my laptop (Thinkpad R61 
series) the speakers continue working. So the sound is coming through 
the headphones and the speakers.

This only started happenning after I trued using a USB headset. Before I 
ever plugged that in, I didn't have this issue. When i had headphones 
plugged in, the external speakers were mute.

Any ideas?

Thanks
  Tom

--

-- 
TARogue (Linux user number 234357)
 Giving money and power to government is like giving whiskey and car keys
 to teenage boys. --P.J. O'Rourke
Bill Sconce | 26 Aug 02:23
X-Face

[GNHLUG] PySIG August 2008 - this Thursday (28th) - BOSS(tm); Kent's Korner; more

PySIG                    Manchester, NH                   28 August 2008
------------------------------------------------------------------------
                           The BOSS
              BOSS -- Build your Own Search Service
        Presented by Ray Côté, Appropriate Solutions, Inc.
------------------------------------------------------------------------

____________________________________________________________________
PySIG -- New Hampshire Python Special Interest Group
Amoskeag Business Incubator, Manchester, NH
28 August 2008 (4th Thursday)   7:00PM        (Beginner's Q&A at 6:30PM)

The monthly meeting of PySIG, the NH Python Special Interest Group,
takes place on the fourth Thursday of the month, starting at 7:00 PM.

A beginners' session precedes, at 6:30 PM.  (Bring a Python question!)
Favorite-gotcha contest, Kent's Korner, and more this month.

____________________________________________________________________
             BOSS, an Internet search API from Yahoo
                       Presented by Ray Côté

"BOSS (Build your Own Search Service) is different - it's a truly open
API with as few rules and limitations as possible. With BOSS, developers
and start-ups now have the technology and infrastructure to build next
generation search solutions that can compete head-to-head with the
principals in the search industry. BOSS will grow and evolve with a
focus on providing additional functionality, tools, and data for
developers."
  ...
"The BOSS Mashup Framework is an experimental Python library that
provides developers with tools for mashing up the BOSS API with other
third-party data sources."
    http://developer.yahoo.com/search/boss/

Ray Côté is President and co-Founder of Appropriate Solutions, Inc.
in Peterborough, New Hampshire.
    http://www.appropriatesolutions.com

-------------------------------------------------------------------
Kent's Korner:
   defaultdict

   "defaultdict is a little-known gem tucked away in the collections
   module of the standard library.  A defaultdict is a dict with a
   default value - a value that will be returned for missing keys."

Plus:
-------------------------------------------------------------------
o Our usual roundtable of introductions, happenings, announcements

o Data Types
    - "Towers" of them...

o Gotcha contest
    - Got a favorite "gotcha"?  Bring it and share...

And of course, milk, & cookies from Janet's kitchen.
  This month: "Mexican Wedding Balls"; and more

-------------------------------------------------------------------
6:30   Beginners' Q&A
7:00   Welcome, Announcements - Bill & Ted & Alex
7:10   Cookies & Milk - Janet and Alex
7:20   Favorite-gotcha contest
7:25   Impromptu lightning talk(s) - anyone
7:40   Kent's Korner - Assignments in Python, presented by Kent Johnson

8:00   BOSS - a Python-scriptable Internet search API  - Ray Côté

8:45   Open discussion; plans for next time
9:00~  Adjourn

___________________________________________________________________
About PySIG:
    PySIG meetings are typically 10-20 people, around a large table
    equipped with a projector and Internet hookups (wired and
    wireless).  We encourage laptops and a hands-on seminar style.
    The main meeting starts at 7 PM; officially we finish circa 9 PM.  
    Everyone is welcome.  ("Membership" is anyone who has an interest
    in the Python progamming language, whether on Microsoft systems
    or Linux or OS X; or cell phones, mainframes, or space stations.
    We have everyone  from object-oriented gurus to recovering COBOL
    programmers.)  Tell your friends!

Beginners' session:
    The half hour before the formal meeting (i.e., starting at 6:30PM)
    we have a beginners' session.  Any Python question is welcome -- 
    whoever asks the first question gets the half hour!  Questions are
    equally welcome by mail beforehand (in which case we can announce
    them) or at the meeting.  (As are all Python questions, anytime.)

Mailing list:
    http://www.dlslug.org/mailman/listinfo/python-talk

About Python:
    "Python is a dynamic object-oriented programming language that
    can be used for many kinds of software development. It offers 
    strong support for integration with other languages and tools, 
    comes with extensive standard libraries, and can be learned
    in a few days.  Many Python programmers report substantial 
    productivity gains and feel the language encourages the 
    development of higher quality, more maintainable code."

    "NASA uses Python...so does Rackspace, Industrial Light&Magic,
    AstraZeneca, Honeywell, and many others."

    Google: "Python has been an important part of Google since the
    beginning, and remains so as the system grows and evolves." 
    -Peter Norvig

    http://www.python.org

About Amoskeag Business Incubator:
    Our gracious hosts are the Amoskeag Business Incubator, an
    organization providing a supportive entrepreneurial environment
    that stimulates the growth of businesses to ensure economic
    vitality and encourage job creation, by providing affordable
    office space and technical assistance to early stage companies.
    PySIG thanks the ABI for their generous hospitality.

    http://www.abi-nh.com

_______________________________________________________________________
Directions (thanks to Ted Roche for improvements to "from the north"):
    PySIG NH meetings are held at the Amoskeag Business Incubator,
    33 South Commercial Street, Manchester, NH.

    Coming in to Manchester using I-293, from the north:
        o Use Exit 6 from I-293.  Stay to the right on the ramp,
          yield twice to traffic incoming from the left, cross back
          over I-293 and accept one merge coming in from your right.

        o Then get in the right lane, and stay there, over the river,
          and onto the Canal Street exit ramp.

        o Take the first right off Canal Street onto North Commercial
          Street.  Enjoy the scenic mill buildings as the street turns
          into Commercial Street.

        o Coming to the traffic light get in the middle lane.  South
          Commercial Street starts on the other side of the light.
          You go straight through (and join the folks coming from the
          south at step * below).

    Coming in to Manchester using I-293, from the south:
        o Use the Granite Street exit.  Turn right (east).  Go under
          I-293 and cross the bridge over the Merrimack River.

        o Turn right (south) at the first light after crossing the
          bridge.

        * This is South Commercial Street.  Go past one parking-lot
          entrance, turn right into the second one.  33 Commercial
          Street will be right in front of you.  You may go in via
          either the ramp or the door and three steps inside.

        o Inside.  Up the stairs if via the door.  Go through the
          glass doors - follow the diamonds on the floor.  Go left 
          at the last diamond.   (Under a sign which says 
              "<- Amoskeag Small Bus. Incubator").

        o More diamonds, another sign...  much glass and office
          space for SNHU; turn left there, 4 more diamonds and 
          you're at the glass doors for the Incubator.  An "abi"
          sign is above.

        o Through the doors, straight down the hall.  The ABI
          Conference Room is on the left.

________________________________________________________________________
$URL: svn://svn.in-spec-inc.com/isi/trunk/isi/opages/pysig.announcement $
$Id: pysig.announcement 3077 2008-08-26 00:25:10Z sconce $   $Rev: 3077 $

_______________________________________________
gnhlug-announce mailing list
gnhlug-announce <at> mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-announce/

_______________________________________________
gnhlug-discuss mailing list
gnhlug-discuss <at> mail.gnhlug.org
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
Michael ODonnell | 24 Aug 03:31

OT - elaborate Windows malware scam


I share the author's grudging admiration for the
sophistication of this Windows malware:

   http://www.theregister.co.uk/2008/08/22/anatomy_of_a_hack/print.html
Thomas Charron | 22 Aug 17:28

RedHat & Fedora package servers compromised

  FYI for those of you who may be running RedHat or Fedora.

https://www.redhat.com/archives/fedora-announce-list/2008-August/msg00012.html

--

-- 
-- Thomas
Ted Roche | 22 Aug 14:16

Red Hat Academy training at NHTI Concord

Matt Lind, Assistant Director of Computer Services at NHTI, wrote to
tell me that NHTI has adopted the Red Hat Academy curriculum (1) as the
basis of their Intro to UNIX Operating Systems course coming up this
fall. The first semester covers the equivalent of Red Hat's RHA030
course and the second the RHA130 materials. Both courses are useful in
preparing folks new to UNIX for the Red Hat Certified Technician (RHCT)
certification. Matt tells me that there are still some seats available.
If you or friends or associates would be interested in learning more on
Linux in a structured environment, this can be a very economical way to
do it. http://www.nhti.edu

(1) Assistant Director of Computer Services at NHTI
Jerry Feldman | 22 Aug 13:24

Boston Linux and Unix InstallFest XXX reminder tomorrow August 23, 2008

Boston Linux Installfest XXX
When:  Saturday,  August 23, 2008 from 9:00 am to 5:00 pm
Where: MIT Building E-51, Room 061
        2 Amherst St, Cambridge
	Plenty of parking in front of the building
	

What you need to bring: Your computer, monitor, power strips and your
Linux distributions. We do have copies of some distributions.
In general we have expertise with most distros, but if you need special
expertise, please email the BLU discussion list in advance.

COST: It's free! However, we DO have expenses, and contributions are
welcome. Please consider contributing $25 per machine.

Our volunteers will help you to install Linux on your own system.  While
Linux runs on most systems, some systems do have configurations and
hardware that may not be supported. Please consult the following web
pages for hardware compatibility. While we prefer you to bring your own
distros, our volunteers will normally have

  Linux.ORG: http://www.linux.org/hardware/index.html
  Hardware HOWTO: http://www.linuxdoc.org/HOWTO/Hardware-HOWTO.html
  Linux Frequently Asked Questions: http://www.linuxdoc.org/

Generally our volunteers have sets of the latest Fedora, SuSE and
Ubuntu distributions:
    * Fedora - http://fedora.redhat.com (Fedora 9)
    * Open SuSE - http://opensuse.org (OpenSuSE 11.0)
    * Ubuntu - http://www.ubuntu.com  (Hardy Herron 8.04)
    * Debian - http://www.debian.org/
We will also be installing VirtualBox on some systems.

Please refer to the BLU website (http://www.blu.org) for further
information and directions. Parking is available in front of the
building on Amherst St. Enter the building, and take the elevator to
your left down 1 floor. Room 061 is opposite the elevator.

--

-- 
Jerry Feldman <gaf@...>
Treasurer
Boston Linux and Unix user group
http://www.blu.org
PGP key id: 537C5846
PGP Key fingerprint: 3D1B 8377 A3C0 A5F2 ECBB  CA3B 4607 4319 537C 5846

_______________________________________________
gnhlug-discuss mailing list
gnhlug-discuss@...
http://mail.gnhlug.org/mailman/listinfo/gnhlug-discuss/
Bill McGonigle | 22 Aug 02:19

[GNHLUG] [DLSLUG-Announce] RSpec and Behaviour Driven Development - DLSLUG Monthly Meeting - September 4th

***************************************************************
               Dartmouth-Lake Sunapee Linux User Group
                        http://dlslug.org/
               a chapter of GNHLUG - http://gnhlug.org
***************************************************************

The next regular monthly meeting of the DLSLUG will be held:

                  Thursday, September 4th, 7-9PM
at:               Dartmouth College, Room TBA

                  All are welcome, free of charge.

                              Agenda

7:00  Sign-in, networking

7:15  Introductory remarks

7:20  RSpec and Behaviour Driven Development, a.k.a, Battle of the
       Testing Frameworks, Vol. II: "Aim For Brevity, But Avoid Jargon"
         presented by Ari Brown

       BDD is the new buzzword that everyone and their Mom is handing
       out like they're running for office. But what exactly IS BDD?
       BDD is Behavior Driven Development, and it's ALL about
       describing how your application works, as opposed to testing
       individual methods. But BDD isn't a religion, it's more of a
       clothing line and our model for the runway is RSpec - testing
       not only Ruby code, but also Java! Expect to see awesome, and
       don't even bother wearing socks. They'll just get blown off.

       Ari Stuart Brown is a Ruby aficionado and programming language
       enthusiast. He actively uses Ruby and wishes he used Haskell and
       D more often than he does.  He is an avid Rails programmer and
       active committer to the Rubinius VM for Ruby. His current work
       is Todos, a personal planner on MDMX + Caffeine. Ari's current
       brain child is a computer conference set for this April. He is
       16 years old and a student at the local Hanover High School. He
       also is a NOLS alumnus.

8:50  Roundtable Exchange - where the attendees can make
         announcements or ask a linux/oss question of the group.

-----

                       Driving Directions

       Please see the website for links to driving directions.

                          Refreshments

       Refreshments this month will be sponsored by the Girl
       Scouts of America. Yes'm, cookies. Who's getting milk?

                             RSVP

       RSVP by replying to this e-mail so we can give any
       refreshment sponsor a count.

                          Mailing Lists

       There are two primary mailman lists set up for DLSLUG, an
       Announce list and a Discuss list. Please sign up for the
       Announce list (moderated, low-volume) to stay apprised of
       the group's activities and the Discuss list (unmoderated)
       for group discussion. Links to the mailing lists are on the
       webpage.

                        Tell Your Friends

       Please pass this announcement along to anyone else who may
       be interested.

-----
Bill McGonigle, Owner           Work: 603.448.4440
BFC Computing, LLC              Home: 603.448.1668
bill@...           Cell: 603.252.2606
http://www.bfccomputing.com/    Page: 603.442.1833
Blog: http://blog.bfccomputing.com/
VCard: http://bfccomputing.com/vcard/bill.vcf

_______________________________________________
DLSLUG-Announce mailing list
DLSLUG-Announce@...
http://dlslug.org/mailman/listinfo/dlslug-announce
_______________________________________________
gnhlug-announce mailing list
gnhlug-announce@...
http://mail.gnhlug.org/mailman/listinfo/gnhlug-announce/
Jeff Macdonald | 21 Aug 20:50

exim question

Hey,

I've searched the main exim docs to see if it implements RFC 3463 and
I can't find any such reference. I know there are some exim fans here.
Does exim not support that RFC?

--

-- 
Jeff Macdonald
Ayer, MA
Cole Tuininga | 21 Aug 20:12

Debian Sudoku


This just got posted on our internal jabber server - thought folks here
might be amused by it.

http://algebraicthunk.net/~dburrows/blog/entry/package-management-sudoku/

--

-- 
Cole Tuininga <colet@...>
Code Energy

Gmane