"System Default" kind of wipe: possible? How would one do this?

Would it be possible to take an existing installation and effectively reinstall all packages, restore all configuration files to their default config as if on a new install on that program, and wipe all user data (probably not in that order) so as to restore a system to a kind of "first boot" setting but with your current package listing retained.
How would one go about this? Could one slip into a terminal, sudo rm -r /some/folders/here (what folders necessary?) and then use pacman to reinstall ... everything (what kind of command would get you that? something with a grep listing?)

karol wrote:
r3bel wrote:
karol wrote:
Unless you use a ton of system-wide configs ;P
The problem of using a backup or hard drive image of your pristine installation is that Arch changes pretty fast and a 6-month-old installation would need a bit of work to get up to speed.
Correct me if I'm wrong but wouldnt a pacman -Syu do most of the job?
Depends on what changed in Arch in the meantime, what changes you made and what do you mean by 'most of the job'.
Let's say you've made your backup a couple months ago and now you want to move from grub-legacy to syslinux, install KDE and try systemd. If you revert to said backup in a month, you will have to do a few important changes "manually" because at the time of that backup you were using grub, initscripts and e.g. Gnome.
Reverting to the "clean slate" backup, updating it and making a fresh backup once you've tested the new configuration shouldn't be much of a problem but it's not automatic. You may need to perform some manual conflict resolution etc. (see the home page).
This is exactly why I wanted to strip the system clean and let the programs act as if this were a new install, without changing my partition table, have to download 12 gigs of data, etc. Reinstall the system without a format. Some of these changes that needed manual adjustment have caused a bit of a headache, it would be nice to have a nuclear option without having to reinstall. Especially now that AIF isn't around anymore I'd have to have a second computer to tell me what commands to run just to get things going again...

Similar Messages

  • Is it possible to install windows 7 on my macbook from a removable hard drive using boot camp? How would I do this?

    Is it possible to install windows 7 on my macbook from a removable hard drive using boot camp?
    How would I do this?

    If you have Lion installed, and run Boot Camp, it will create the boot flash for you, just followe the tutorial on screen. As far as I remember, this was not possible prior to Lion.

  • I mistakenly erased contact numbers in my iphone and itunes. if they can somehow find in Time mashine (she's always been on) or you can forget about them? operating system Lyon. restore contacts if possible, how to do it?

    I mistakenly erased contact numbers in my iphone and itunes. if they can somehow find in Time mashine (she's always been on) or you can forget about them? operating system Lyon. restore contacts if possible, how to do it?

    your contacts are in your time machine
    look around in these forums about time machine

  • My ipod was stolen, can I find out what the serial number of it is, based on looking at a connection history in my itunes? How would I do this? I didn't register it.

    My ipod was stolen, can I find out what the serial number of it is, based on looking at a connection history in my itunes? How would I do this? I didn't register it. I think I found the guy selling it, just looking to confirm the serial number and I'll make a phone call to the police.
    Thanks

    kevilay2013 wrote:
    is this possible?
    Yes.
    Open iTunes on the computer you used to sync the iPod and select Preferences… from the iTunes menu.
    Select the Devices pane. Position the cursor over any of its backups. The iPod's serial number will appear in a popup window.

  • How would I do this?

    I have to say I'm completely lost. I need to make two files - WordFrequencyAnalyzer.java that has all the functions and TestWordFrequencyAnalyzer.java that should be a GUI that calls the first one. I know how to make GUIs without a problem but its these functions that baffle me.
    This is what I need to do - WordFrequencyAnalyzer.java needs to have a constructor that opens us a text file and reads it and saves what is needed for analysis. This is what I have:
    public void WordFrequencyAnalyzer(String filename) throws IOException
         {//Constructor.  Uses file name to open file reads it, saving what is needed, then closes the file.
               BufferedReader br = new BufferedReader(new InputStreamReader(new FileInputStream(new File(filename))));
         }Now these are killing me:
    public int frequency(String word)
    *****This needs to be able to check the number of times the particular word occurs in the file. How would I do this? Please help give me a clue. The next few seem to tie in together if I could figure out how to do one of them.
    public String mostFrequentWord()
    //The word that occurs most often in the file
    public String[] wordsOccurringAtLeast(int minimumNumberOfTimes)
    //An array, alphabetized, of all the words occurring at least the given minimum number of times...I'd figure I'd use a search and compare method here.
    public int numberOfWords()
    //The number of words (counted once each) in the file
    public String toString()
    //Returns a string which, when printed, will show two columns, with a word on each line on the left and its frequency on the right. The result must be alphabetized.
    Who could give me some pointers. I don't want the code done for me because I need to learn too. Do I need to put the data from the text file into a Collection interface in the java.util package or should I use something else?? And how would I go about doing something like that?
    Thank you very much,
    Henry

    I modified the code above for the Hashtable to a Collection and came up with this and emailed him:
         What about this:
         Collection words = new Collection();
         String line;
         while ((line = br.readLine()) != null)
         StringTokenizer st = new StringTokenizer(line);
         while (st.hasNext())
         { words.add(st.next().toString());
         Storing in a Collection is what you want right? I don't want to do something that you don't approve of. I remember the time I used a Hashtable and you didn't like it. ...
    This is his response:
    As for your suggested solution: A collection is a good idea, but Collection is
    an interface, so you can't do anything like
    Collection words = new Collection();
    You must figure out what kind of collection to use. And here's a hint about
    something else:
    If every time you see a word like "the" you store it in the collection, you'll
    have two problems: the word will be stored over and over, which is inefficient
    use of space, and your program will have to do a lot of repetitive work to
    implement the methods, which is inefficient use of time.
    I new he wanted a Collection. I'm starting to know him a little better now I guess, which still doesn't help as much. If anyone has any ideas please post - this is all new to me. Does anyone know the best kind of Collection to use as he put it?
    Thanks,
    Henry

  • I want to reset my bootcamp Windows 7 to factory setting. How would I do this without damaging or effecting my Mac data?

    I want to reset my bootcamp Windows 7 to factory setting. How would I do this without damaging or effecting my Mac data?

    If you want to erase the BootCamp Partition, you'd use the Bootcamp utility.
    Then that part of the Mac's hard disk drive may be available for use in OS X.
    {Or, if you want to install a clean Windows 7 in the same BootCamp partition
    you'd use the BootCamp utility to erase/install Windows in the same location.
    There is a BootCamp Support section in Apple Support online, and also there
    is a fairly OK ASC discussions area specific to that purpose. }
    But you may have to check to see if the partition map is correct for Mac OS X
    after you've used Bootcamp utility to remove Windows and the partition map.
    If you do not use the BootCamp utility to remove Windows, correctly or if a
    different method to install Windows was used, you'd have to move your Mac
    OS X system and applications off the computer to an external hard drive by
    use of a clone utility (carbon copy cloner, or superduper, etc) then use the
    OS X disk utility (from running clone, is easiest) to erase the computer's HD
    and then correctly partition map and format the hard drive for Mac OS X.
    At that point, the entire drive would be erased to reclaim any untouched
    partitions from alternative Windows utilities that were used, or not used in
    the time frame of proper opportunity.
    I've had a few Macs that had been partitioned for Windows and found one
    second hand MacBook to have more actual hard disk drive capacity than
    the previous owner and the Mac HD info suggested on first glance. About
    70% of the drive had been a Windows partition, but was invisible to OS X.
    So that turned out to be a lucky find, it was like installing a larger HDD.
    The wording of your question leaves a lot
    of important information out of the picture.
    Good luck!
    edited

  • I have os x version on an imac but want to upgrade to mountian lion how would oi do this?

    I have os x version 10.5.8 on an imac but want to upgrade to mountian lion how would i do this?
    this is in my about this mac section (if this helps)
    Hardware Overview:
      Model Name:          iMac
      Model Identifier:          iMac7,1
      Processor Name:          Intel Core 2 Duo
      Processor Speed:          2.4 GHz
      Number Of Processors:          1
      Total Number Of Cores:          2
      L2 Cache:          4 MB
      Memory:          2 GB
      Bus Speed:          800 MHz
      Boot ROM Version:          IM71.007A.B03
      SMC Version (system):          1.21f4
    cheers Nino

    Hi nino8881
    1) It has to be an iMac Mid 2007 or newer. If this is the case ...
    2) Make sure you have Lion or the latest version of Snow Leopard. (You can't upgrade from 10.5.8 to Mountain Lion.)
    3) If step 1 & 2 are checked, you can download OS X Mountain Lion from the Mac App Store and install it.

  • How would I express this correctly

    How would I express this correctly?
    elseif ($row_rs['loggedinip'] != $_SERVER['REMOTE_ADDR'] AND
    now("Y-m-d H:i:s") < $row_rs['lastlogin']+120 minutes) {
    die(header("Location:
    http://domain.com/login.php"));
    else {...

    .oO(jsteinmann)
    >Its not on a unix system
    Doesn't matter. Unix timestamps also work on Windows, they
    are just one
    way to store a time code withing the range of (roughly)
    1902-2038.
    >mysql data is in a datetime format
    You could also let MySQL already return the date as a Unix
    timestamp or
    even do the entire calculation in MySQL, as already
    suggested. You could
    let MySQL return both: the normal 'lastlogin' field and
    another one with
    'lastlogin'+120 minutes or whatever. Or do the entire date
    test in SQL
    and just return a boolean value if the last login was more
    than 120
    minutes ago or not ... there are several different ways.
    Micha

  • How Would You Do This Effect in Logic?

    I'm trying to figure out how I would best achieve the vocal effect in Kesha's song "BLOW."
    http://www.youtube.com/watch?v=_USZ2D0GTxo
    In the chorus, there is the catchy "blow....oh...oh..oh..oh..oh..oh" section. Someone suggested she sings the entire line, which gets interrupted by a gate, which could be triggered by a keyboard, so everytime you hit a note, it stops the steady note she's singing. If you guys think that's what they are doing, how would I set this up? This kind of thing goes on in modern pop all the time and I have to find a way to do this effect before it drives me crazy;)
    I get hired to do karaoke tracks all the time and whenever there is one these to day it is always a pain due to my being more a traditional guitar, keyboard "organic" producer than synth/FX guy.
    Thanks for any help.
    Tom

    Thanks David.
    The plug ins you mention don't really help though, because they can only be set to preset patterns. This is a specific pattern of course. I know The Bee Gees did this in Robin Gibb song from the 80s called "Boys Do Fall In Love" ....there was a section that went "B......B...B...Boys fall in love." They did it by sampling the phrase into the Emulator back then and playing the phrase. I guess I could do that with EXS.
    The best solution would be if there was a way to make a gate respond to a midi track, so I could play the rhythm on the midi track, quantize it, then use that as a trigger to the gate...gonna try that...Guess I could also record the midi track as a sidestick or something and use that audio track to trigger the gate....hmmmm.
    Tom

  • I share my iTunes with my family's iPods.  We all buy music on our iPod's and would like to transfer the purchases to the iTunes library.  How would we do this?

    I share my iTunes with my family's iPod's.  We all buy music seperately on our own iPod and would like to transfer the music to our iTunes library, how would we do this?

    Oh jeez, that was simple. Thanks!

  • If i want to contact apple with an idea i have for a new feature for the iphone how would i do this?

    if i want to contact apple with an idea i have for a new feature for the iphone how would i do this?

    A quick google search would have revealed the answer.
    http://www.apple.com/feedback/iphone.html

  • HT1349 My Macbook Pro was stolen and I need the serial number. How would I find this? I need it for the police report so if I could get answers soon that would be great, thanks :)

    How would I find this? I need it for the police report so if I could get answers soon that would be great, thanks

    Lanlani wrote:
    ... It there any other solution ?
    Consider using this site: http://www.stolenlostfound.org/
    This is Apple's official word on the subject:
    Reporting a lost or stolen Apple product
    If you have lost or found an Apple product, please contact your local law enforcement agency to report it. Although Apple does not have a process to track or flag lost or stolen product, you can use My Support Profile to find a list of serial numbers for items purchased or registered with your Apple ID.

  • I am considering switching from MIE to Firefox. But I need to use an outdated version (7.3.1) of QuickTime, and I do not want Firefox to update it. If I installed Firefox, how would I prevent this?

    I am considering switching from MIE to Firefox. But I need to use an outdated version (7.3.1) of QuickTime, and I do not want Firefox to update it. If I installed Firefox, how would I prevent this?

    Firefox doesn't update plugins like that. The worst you might see is a "nag" from Firefox after an update, about that plugin being outdated; and you can dismiss that "nag" by just closing it.

  • My wifi option greyed out and when i checked out wifi adress it shows N/A . how would i solve this ?

    my wifi option greyed out and when i checked out wifi adress it shows N/A . how would i solve this ?

    http://support.apple.com/kb/TS1559

  • I had downloaded and used Final Cut Pro 7 (studio 3) on my mac, but it died. Can I download it to my new computer without buying a new copy? I'm not sure of the number of installations for academic copies. How would I do this?

    I had downloaded and used Final Cut Pro 7 (studio 3) on my mac, but it died. Can I download it to my new computer without buying a new copy? I'm not sure of the number of installations for academic copies. How would I do this?

    AH...good. 
    There is no limit on the times you can install it from the DVDs. There's just a limit as to being able to run it on multiple machines AT THE SAME TIME. If your old computer dies, or you sell it (please reformat the drive so they don't get FCP for free), then you can install on a new computer fine.  And you are allowed to install on (1) desktop and (1) laptop at the same time as well...but only use it on one machine at any given time. Meaning you can use it on the desktop at work, and then when away from the office, on your laptop.
    Long story short...you can install it fine without any issues.

Maybe you are looking for

  • Request.getParameter() always returns null

    I have a html file and am trying to retrieve the values from a formin my servlet. here is the html code: <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <h1><b>Add DVD</b></h1> </head> <body> <form ac

  • Beware the update of 2006-06-28 for the ipod nano!!!!!!!!!!!!!!!!!

    I ran this update and now the ipod never shows as connected and itunes takes forever to load (if it does (50/50 chance). The update window, looked ok, i clicked on update (realizing that all my playlist would be wiped out) and waited, and waited, etc

  • Resource not available error in servlet

    This is my directory structure C:\Program Files\Apache Software Foundation\Tomcat 4.1\webapps\VSG\WEB-INF and here i have in web-inf my web.xml which looks like this <web-app> <servlet servlet-name>Myservlet</servlet-name> <servlet-class>Myservlet<se

  • Dual Network Issues

    I have set up a n network using a new airport extreme base station and have a g band running alongside it using my old base station. After a lot of resets and trying different things, everything appears to be working. However, when I try to have my M

  • PR quantity change after Release

    Hi Friends,                                        I am unable to change PR Quantity after release of PR. Please suggest.. Regards,