Slashdot Mirror


Depenguinator "Upgrades" Linux to BSD

cperciva writes "Many systems around the world have been possessed by penguins and dead rats. It would be nice to exorcize these evil spirits, but this can be difficult without physical access to the machines in question. Thanks to a new depenguinator, it is now possible to upgrade Linux systems to run FreeBSD 5.x without requiring anything more than an SSH connection." Clever idea.

24 of 616 comments (clear)

  1. You have been rooted, welcome to BSD by diersing · · Score: 5, Funny
    I'm now scared.

    The next root kit is announced and within days all machines have been *upgraded* to BSD. Argh

    1. Re:You have been rooted, welcome to BSD by skaffen42 · · Score: 5, Funny

      I think we finally have proof that BSD is dead. I mean, this is the clearest attempt at daemonic possession I have ever seen.

      --
      People couldn't type. We realized: Death would eventually take care of this.
  2. Hmm... by RobKow · · Score: 4, Insightful

    How do you moderate an entire article as flamebait? ;)

    Cool stuff, but the write-up is a little, uhm, polarizing?

    1. Re:Hmm... by sempf · · Score: 4, Funny

      Could be worse, we could be talking about a package to upgrade Linux to Windows 2003.

      --
      /usr/bin/grep -i -E meaning life.txt
    2. Re:Hmm... by molnarcs · · Score: 5, Insightful

      I'm a freebsd user (5.1 - cvsupping to 5.2rc2 at the moment) and I love it. Contrary to some myths, it is great on the desktop. There are some things that just work. Put one line in your kernel config file (devce pcm) and you can just plug any supported sound card in, and it will just work, without the need for any configuration. The same goes with digital cameras: plug it in, and mount_msdosfs /dev/da0s1 /mnt/camera and there you go. Configuration is no more difficult than slackware (in fact, its easier, with automatic dependency checking/resolution ala apt-get, or by simply using the ports system). On the other hand...

      I agree with parent post ... sadly, this announcment will be considered as flamebait. I don't understand this, really. I signed up to bsdforums when switched to BSD, and I must say its one of the friendliest forums I ever been to (including mandrakeusers.org or pclo which are also great). I don't find the hostility against linux in bsd users there the way I find hostility towards bsd users from linux users here on slashdot or recently, even osnews.In fact, there is a linux section (other os) on bsdforums, and I saw people helping out with fedora install or whatnot there without any 'use bsd instead' notes. I wish this continual flamewar would end, but frankly, I believe (mod me down if you wish) that most hostility comes from linux users. If you find some bsd folks here a little touchy, considering the amount of trolling every bsd announcment gets, it is a small miracle that people still come here for bsd news, that they are not as bitter as one would expect (but than, they - warning, flamebait! - seems to be more mature.

      This is not because BSD is better or something. I like linux as much as I do BSD, I just like to use the latter better, because it is more interesting/fun to _ME_. I believe the linux crowd can be (and maybe it is) as 'mature' as bsd folks, but it is a more diverse group as well as considerably larger, so I think there is more room for a small but vocal minority to ruin the relationship and raise ill will towards each other. I wish that more considerate linux users would help out modding down trolls, afterall, we both have profited from each other's work.

      Unfortunately, due to licencing, code exchange is mostly a one way road (BSD > Linux), but still BSD has to thank for GCC (well, not specifically linux) or the ULE scheduler (which is partly based on a linux developer's work - more linux specific) without which our beloved OS would be poorer.

      Anyhow, the point I was trying to make is that this article can sadly be considered a flamebait, although we see similar announcment without anyone fearing that it is on the 'other' side. It would be nice to live without fears that such announcments would attract a large amount of trolling, to think that the article (read it!) has its on technical merits that can be interesting to anyone who visits slashdot (nerds?) no matter what OS they use.

    3. Re:Hmm... by secolactico · · Score: 4, Insightful

      He. I tought it was more funny than flamebaiting.

      How long before it gets added to debian or gentoo as a package?

      "apt-get install freebsd" or "emerge freebsd".

      There goes my productive day... Now I *have* to try this. I'll set up a linux box and see if I can depenguinate it.

      He... even the name's funny.

      --
      No sig
    4. Re:Hmm... by Paradise+Pete · · Score: 4, Insightful
      Just think, if it was about "upgrading" windows boxes to Linux it would not be considered flamebait. It would be applauded by the slashdot sheep.

      So you can't see how saying one thing is flamebait, but saying the opposite is not?
      Example:
      You're a moron.
      You're no moron.
      It also depends on your audience. Saying "Abortion is murder" at a pro-choice meeting might well be flamebait, but saying it at a pro-life meeting certainly is not.

  3. I'm gonna sit back at a safe distance by CompWerks · · Score: 5, Funny

    and watch this flame war. Marshmallows anyone?

    --
    If you can read this sig - the bitch fell off.
  4. Now all we need is.. by Anonymous Coward · · Score: 4, Funny

    .. a worm to upgrade all windows boxes to linux remotely :D

  5. Similar tool for Debian by tuxzone · · Score: 5, Interesting

    Looks like a great tool. Unfortunality for the daemons, I want to replace my dead rat (7.2) with a Debian branded penguin. I would love to do that upgrade online. Any tips or tools?
    Thanks!

    1. Re:Similar tool for Debian by vadim_t · · Score: 5, Informative

      Use debootstrap. It will create a minimal install in any folder. Then chroot, and there you go, a small Debian system. Using that, you can either install Debian on another partition while running another distribution, or I suppose you also could replace your current install with Debian by booting into single user mode, and replacing your old system with Debian.

      While you should be able to simply chroot into your new system and start adding stuff, I'd be a very good idea to boot it first. Debian will need to run some scripts on boot to finish configuring itself.

      I'd go with the first option. The second one is too easy to screw up if you don't know what you're doing.

    2. Re:Similar tool for Debian by Marsala · · Score: 4, Informative

      Well, I don't know of a tool, but how about HOWTO?

      Have a good one. :)

  6. HOWTO - Install Debian Onto a Remote Linux System by vinsci · · Score: 4, Informative

    Personally, I find this howto more useful. ;-) HOWTO - Install Debian Onto a Remote Linux System

    --

    Trusted Computing FAQ | Free Dawit Isaak!
  7. Wow... a Linux bashing article on SlashDot! by tommck · · Score: 4, Funny
    This is going to go over like a pregnant nun!

    --
    ---- It puts the lotion on its skin or else it gets the hose again. It does this whenever it's told.
  8. pff, old stuff by sweede · · Score: 4, Interesting

    This isnt new, I changed 3 of my dedicated servers (2 debian 1 redhat) to Gentoo using a doc thats almost 2 years old that was based of a "how to remote install BSD"

    you can do this with any system that lets you bootstrap the OS from the harddrive (i.e. gentoos stage tarballs).

    --
    I follow the SDK and GDN principles.. Spelling Dont Kount, Grammer Dont Neither
  9. Instant system trash by Fizzl · · Score: 5, Insightful
    So, it writes a bootloader, ramdisk loader scripts and a bare bones BSD image to the beginning of your disk, trashing the partitioning (not sure about the last bit. That's the impression I got).

    Effective, yet mischievously evil.

    Well. Uhoh.. I don't know what to think about this. I mean, it's kinda neat. It's called depenguinator to make clear it's going to get rid of your linux, butbut...
    I still think the way of operation is very crude and evil.

    It says:
    This code is beta-quality at best. Do not use this unless you know what you're doing.


    I'd personally go as far as saying:
    Do not use this unless you are reallyreallyabsolutely sure you want to permanently destroy your current system.
  10. Windows - Freenix by aking137 · · Score: 5, Interesting

    I've often wondered if this could be done with Windows - if one could make a (perhaps large) Windows executable that, when you double click on it, assimilates your system and turns it into a Linux box. (Which could in turn provide the depenguinators with lots more machines to work on.)

    Win9x should be more straight forward - you can boot a linux kernel directly from a real DOS prompt using loadlin (although this may not be necessary), and it's possible to have the whole root filesystem stored in one file on a FAT32 filesystem, so the .exe could create the root filesystem (maybe something like a base debian or gentoo install), put everything in place, change how the machine boots, and restart.

  11. Re:Do not use this unless you know what you're doi by sparkes · · Score: 4, Interesting

    "upgrading" from one OS to another is never trivial.

    I would think that on most i386 systems running linux the first 40mb or so is /boot or swap.

    Swap is a simple case of swapoff then setting it up again in the freebsd setup (perhaps using the old /boot?)

    and /boot is going bye bye anyway.

    As a confirmed debian user (running it across multiple platforms) I wouldn't use this anyway and would suggest any user looking for a clean upgrade to a BSD from GNU/Linux would be better off backing up /home and other stuff that you want to survive the upgrade (/var/www perhaps) and nuking the whole thing using OpenBSD. If you are 'upgrading' from GNU/Linux to a BSD at least make it the safest variant ;-)

  12. Not really an upgrade.... by bobthemuse · · Score: 4, Insightful

    So all this does is write to the boot partition and load a barebones copy of bsd on a ramdisk? Not terribly impressive. Now if there was a script which could make a list of my RH packages, backup all my config files, generate an BSD install script, then most importantly, intelligently copy my config files from their old RH default location to the new BSD location, then I would be impressed.

    Not really difficult, just time consuming. Of course, this assumes the RH system was installed through packages only, would break on most anything compiled, but the script described above would be a start.

  13. Re:Can we have the DeSCOinator now? by Valdrax · · Score: 4, Funny

    Well, it's not quite what you're looking for, but I have written a shell script to remove all offending SCO IP from Linux based on the evidence presented so far:

    #!/bin/sh

    I hope everyone finds this helpful.

    --
    If it's for-profit but free, you're not the customer -- you're the product (e.g., the Slashdot Beta's "audience").
  14. Re:does FreeBSD have something like apt-get or yum by molnarcs · · Score: 5, Informative

    "having to do a make world on 300 boxen"

    Not any more, and 'make world' is being deprecated in favor of 'make buildworld'. The difference is, that 'make buildworld' is totally self contained. You do 'make buldworld' on one machine, export /usr/obj (and /usr/src as well?) as nfs, mount it on your 300 boxen, and you only need to install the shiny new bsd with 'make installworld'. That's it. So it is actually quite easy to deploy on a large server farm. You would go the same way with the ports btw: build on one machine and have it make pakcages, than install the packages with pkg_add -r whatever on the rest of the machines. Neat. :)

  15. Re:Let me get this straight... by swb · · Score: 4, Informative

    In the FreeBSD Ports collection, there are many Ports marked as broken, and many more unmaintained and suffering from bit-rot.

    Name any five that depend on each other and are important for real-world use? Ports suffers from both the desire to be large and from the fact that they're generally supported by one person. I've been running FreeBSD now for nearly 5 years and have only run into a broken port once, snmpd, which broke after a significant change in system variables, which in turn broke snmpd. It was fixed quickly, and since then every time I've built a port it's built.

    How exactly is FreeBSD 5 a "dramatic step-up from ANY Linux distro"? FreeBSD releases are only supported for 12 months. Then you have to upgrade. In comparison, Debian supports its releases for at least two years, and RHEL offers a whopping FIVE years. That's right, five. This matters in real-world use.

    You don't understand FreeBSD releases. There are point releases (eg, 5.2), -STABLE branches and -CURRENT branches. Most people track a -STABLE branch. Tracking a stable branch provides you with bug fixes and occasionally some new features backported from -CURRENT. Tracking -STABLE requires you to periodically rebuild the system from source, but this is FreeBSD's *advantage* -- it's a single, coherent system that can be easily and totally recompiled from up-to-date source code.

    I've been running 4-STABLE now for almost 4 years and its still a supported (ie, active development and maintenance) branch of FreeBSD. The 2.2 and 3 STABLE branches are still there and I think 3 was still supported until the 5-STABLE branch was created.

    Maintaining FreeBSD is easy if you track -STABLE and supported for years, and its often possible (albeit not necessarily recommnede) to upgrade from one major release to another -- I did it from 3.x to 4.x. In this manner (and not just point RELEASEs), FreeBSD revisions are suppported for years -- far longer than even most sane people would run a given revision of software.

    I never did more chasing than I did trying to keep Dead Rat systems updated; either I used RPMs and prayed that the package author didn't decide to switch a bunch of compilation options, or a built packages from source, which meant I had to do my own porting. And then there was libc upgrades and all other manner of horror of trying to maintain an OS that was a kernel with a bunch of other stuff glued on without any coherency.

    I'll grant some Linux distros have better turnkey desktop setups, and certainly greater corporate involvement (although ask yourself when "greater corporate involvement" and "better software" were part of the same sentence), and higher visibility.

    But longer suppport, easier maintenance and reliability over the long haul? No way.

  16. Linux as a server by shani · · Score: 4, Informative

    Interestingly, the k root name server has been running Debian Linux for a year or two now and has not had any "creak". It gets about 1500 queries/second per machine (the root server is distributed geographically via anycasting, and at each site by load balancing), and receives all manner of ill-formed packets.

    Other root servers seem to run Linux (use nmap if you're curious), but I don't know the people running them so I can't be sure.

    Now admittedly this is a very specific type of service: it's a single application that all fits into memory.

    We're going to be moving www.ripe.net and whois.ripe.net from Solaris to Linux in 2004. The WWW server gets about 20 hits/second as you can see here, and the whois server gets around 28 hits/second as you can see here. These have more complex usage, with disk I/O, new process creation, and so on. I wouldn't let these services migrate if I thought they would be unstable.

  17. Re:Just mount_msdosfs /dev/da0s1 /mnt/camera, easy by fubar1971 · · Score: 4, Insightful

    Correct! If by "just works" you mean:
    1. load the driver from the supplied cd (where is that damn thing)
    2. reboot
    3. recover from blue screen of death
    4. reboot in 'safe mode' (thanks MS, for protecting me from evil!)
    5. Remove outdated, incompatable driver
    6. Spend six hours reading forums and newsgroups about other users experience with how the device failed for them, and what they did.
    7. Hunt down an obscure driver that is not intended for use with your device, but will give you some functionality without conflicting with your other drivers.
    8. Download and install driver from a less than reputable source
    9. Watch a worm run rampant through your system
    10. Finally learn your lesson and install Linux or buy a Mac


    I am definetily no fan of WinBlows. I use linux everyday. Unfortunately, installing *new* hardware on Linux can be just as inconveinent as any othe OS.

    The same thing can be said about most Linux distros as well....

    1. find the driver on some obscure website or news group.
    2. Recompile the kerenel to include the driver(Damn it has errors)
    3. Fix code problems
    4. Recompile
    5. Repeat steps 3 and 4
    6. Write patch for incompaitable gcc version
    7. Repeat steps 3 and 4
    8. Restart with new kernel
    9. kernel panic
    10. reboot old kernel
    11. Remove incorrectly compiled kernel.
    12. Spend six hours reading forums and newsgroups about other users experience with how the device failed for them, and what they did.
    14. Download and install beta or (shudder alpha level)driver.
    15. Repeat steps 2 - 12
    16. Compile driver as loadable module.
    17. Repeat steps 3 - 7
    18. Start Daemon or reboot
    19. Kernel Panic
    20. Reboot in 'interactive mode', 'different run level' or 'using emergency boot media'
    21. Remove loadable module
    22. spend 6months writing your own driver
    23. Overlook security flaw in your own code.
    24. Watch your box get r00t'ed.
    22. Finally learn your lesson and install Windows or buy a Mac.

    Those that live in glass houses should not throw stones.