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.

77 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. Re:You have been rooted, welcome to BSD by EvilAlien · · Score: 3, Funny
      I'm really dissapointed that nobody got around to writing a Welchia variant that upgrades vulnerable Windows boxes to Linux. It would have been a business move to gain desktop market share that even Bill Gates would have applauded.

      Oh well, snooze ya lose.

      --
      perl -e 'print $i=pack(c5, (41*2), sqrt(7056), (unpack(c,H)-2), oct(115), 10)'
    3. Re:You have been rooted, welcome to BSD by KilobyteKnight · · Score: 3, Funny

      I'm really dissapointed that nobody got around to writing a Welchia variant that upgrades vulnerable Windows boxes to Linux

      People would be calling MS tech support in droves:

      "I knew something was different because I haven't seen that comforting blue screen in a long time."

      "I'm glad those ugly colors are gone now, but I can't find Freecell anymore"

      "The paperclip is gone and I don't know how to get it back"

      "When I try to run the email attachments it just doesn't work"

      --
      When will Windows be ready for the desktop?
    4. Re:You have been rooted, welcome to BSD by Oopsz · · Score: 2, Informative
    5. Re:You have been rooted, welcome to BSD by DeKoNiNG · · Score: 2, Interesting

      You have been rooted, welcome to BSD
      From the Depenguinator site: it requires quite a lot of RAM (512MB is enough; 256MB might be, but I'm not sure)

      Please give it a try on my Linux Box, 120 MHz and 48 meg RAM, running Slackware 9.0 hehe...

      --
      Troll: Large Giant, 63 hp, AC 16, Usually chaotic evil.
  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 the+uNF+cola · · Score: 3, Insightful

      Yup. No different from the linux polarized messages we see from time to time. Nothign to see here.. just some people proud of their work :)

      --

      --
      "I'm not bright. Big words confuse me. But Wanda loves me and that should be enough for you." - Cosmo

    2. Re:Hmm... by technoid_ · · Score: 3, 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.

      Gee, could it be that we have some double standards...naah, couldn't be that....

      technoid

      --
      Two wrongs don't make a right, but 3 lefts do - Lew of GO magazine
    3. 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
    4. Re:Hmm... by richie2000 · · Score: 3, Funny
      upgrade Linux to Windows 2003.

      You are upside-down - up has become down and down is up. Please turn yourself over.

      I myself have upgraded twice, first from Win2000 Server to Red Hat 8 and then to Gentoo.

      --
      Money for nothing, pix for free
    5. Re:Hmm... by Tim+C · · Score: 2, Insightful

      All of that, to upgrade a machine from Windows to Linux?

      Still, perhaps you actually meant it that way round - while I've never had a virus or worm on my Linux boxes, I've never had one on my Windows boxes, either.

    6. 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.

    7. 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
    8. Re:Hmm... by Zathrus · · Score: 2, Insightful

      Care to show a recent main page /. article that praised Linux while bashing BSD at the same time?

      Sorry, while the tool is interesting, the article is flamebait. You can be proud of your work without being childish.

    9. 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.

    10. Re:Hmm... by _Sprocket_ · · Score: 2, Insightful


      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.


      I don't think its so easy to point to the source of hostility.

      Around '97 I was becoming interested in Unix/like systems. So I got myself an old 486 and was trying to decide to load it up with - FreeBSD or Linux. I was coming from a very Windows-centric viewpoint, so I asked around for advice. One friend suggested Linux (Slackware to be exact). Then I went to chat up the folks at the ISP I had a part-time helldesk job.

      The ISP in question was almost an entirely BSD shop. They were great believers in FreeBSD and, of course, suggested it. When I asked them about Linux I almost got my ear chewed off - and not with helpful reasons why to pick one over the other. I was shocked at how much animosity they had for the system.

      I can understand animosity towards Windows and Microsoft. I have shared some of the experiences that build up that contempt. But I can't understand why there is this friction between BSD and Linux users. Maybe its the old "Ford vs. Chevy" thing. Or maybe I just haven't experienced things as a BSD fan.
    11. Re:Hmm... by shaitand · · Score: 2, Insightful

      Well for one thing this site is news for nerds. Nerds are educated and therefore run englightened technically superior operating systems such as linux and BSD and all form of *nix.

      Windows is out of place here and therefore upgrading windows to pretty much anything would be quite on topic with the theme of the site. Since although you may disagree on other points, surely you wouldn't claim that windows is on par with any of those systems in a technical aspect (security, stability, performance, hackability (as opposed to crackability)).

      People who disagree with the theme and don't find it interesting should fly fly away and leave us geeks and nerds in peace.

    12. Re:Hmm... by dasunt · · Score: 3, Interesting

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

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

      Debian is already flirting with demonic possession in different ways

      Ne'ermind the hopefully optimistic other project

    13. Re:Hmm... by Brandybuck · · Score: 2, Insightful

      You're approaching FreeBSD from the wrong direction. At the risk of over-generalizing, the problem is that Windows, Linux and FreeBSD people approach problems in three different ways.

      Windows people want to know "what". What do I do to use a digital camera? What are the exact steps I need to take to make a picture I just took with my camera be my desktop wallpaper? And don't leave out any trivial steps, or I'll get confused. A good example is my mom. She doesn't know how to use Internet Explorer if it isn't running in a maximized Window. And even though she knows how to save a document she wrote, she doesn't know how to save a document someone sent to her in the mail. Although my mom is an extreme example of Windows users, I've seen similar attitudes amount highly experience Windows developers and administrators.

      Then there's the Linux approach. It's focused on the "how". Witness all the HOWTO's polluting the documentation space. While a much better approach, it's still limiting. The Windows user is stuck with eating out at restaurants and ordering take out food, but the Linux user has a recipe book, so they can cook their own food. But if there's a recipe they want that's not in the recipe book, they're still stuck. That's your problem. You're searching the Linux recipe book (newsgroup after newsgroup) for a recipe on how to use digital cameras.

      The FreeBSD (and traditional UNIX) approach is "why". Why do we do what we do when we mount a filesystem? When we know that, then we know how to use a digital camera. Because it's the same damned thing. We don't need a recipe book with ten thousand recipes for ten thousand different kinds of bread. All we need is a primer on baking bread. The rest we can figure out.

      Notice your use of the phrase "sure, that's an easy command, once you find it". You're looking for a specific recipe. A specific HOWTO. A FreeBSD user would say "that's an easy command, once you know why." The "why" is that a digital camera is a filesystem. So you mount it just like any other filesystem. If you don't want to type in the resulting command each time you use the camera, then do the same thing you do with all your other automounted filesystems, use an automounter! It's no different.

      --
      Don't blame me, I didn't vote for either of them!
  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

    1. Re:Now all we need is.. by Mark+J+Tilford · · Score: 2, Funny

      What, don't you remember Tuxissa?

      --
      -----------
      100% pure freak
    2. Re:Now all we need is.. by skinfitz · · Score: 3, Funny

      March 29, 1999 What started out as a prank posting to comp.os.linux.advocacy yesterday has turned into one of the most significant viruses in computing history. The creator of the virus, who goes by the moniker "Anonymous Longhair", modified the well-known Melissa[1] virus to download and install Linux on infected machines. "It's a work of art," one Linux advocate told Humorix after he looked through the Tuxissa virus source code. "This virus goes well beyond the feeble troublemaking of Melissa." The advocate enumerated some of the tasks the virus performs in the background while the user is blissfully playing Solitaire: Once the virus is activated, it first works on propogating itself. It has a built-in email harvesting module that downloads all the pages referenced in the user's Internet Explorer bookmarks and scans them for email addresses. Using Outlook, the virus sends a copy of itself to every email address it comes across. After it has successfully reproduced, the virus begins the tricky process of upgrading the system to Linux. First, the virus modifies AUTOEXEC.BAT so that the virus will be re-activated if the system crashes or is shut down while the upgrade is in process. Second, the virus downloads a stripped-down Slackware distribution, using a lengthy list of mirror sites to prevent the virus from overloading any one server. Then the virus configures a UMSDOS filesystem to install Linux on. Since this filesystem resides on a FAT partition, there is no need to re-partition the hard drive, one of the few actions that the Word macro language doesn't allow. Next, the virus uncompresses the downloaded files into the new Linux filesystem. The virus then permanently deletes all copies of the Windows Registry, virtually preventing the user from booting into Windows without a re-install. After modifying the boot sector, the virus terminates its own life by rebooting the system. The computer boots into the Slackware setup program, which automatically finishes the installation of Linux. Finally, the dazed user is presented with the Linux login prompt and the text, "Welcome to Linux. You'll never want to use Windows again. Type 'root' to begin..." The whole process take about two hours, assuming the user has a decent Internet connection. Since the virus runs invisibly in the background, the user has no chance to stop it until it's too late. The email message that the virus is attached to has the subject "Important Message About Windows Security". The text of the body says, "I want to let you know about some security problems I've uncovered in Windows 95/98/NT, Office 95/97, and Outlook. It's critically important that you protect your system against these attacks. Visit these sites for more information..." The rest of the message contains 42 links to sites about Linux and free software. Slashdot is one of those links. "That could spell trouble," one Slashdot expert told Humorix. "Slashdot could fall victim to the new 'Macro Virus Effect' if this virus continues to propogate at its present exponential growth rate. Red Hat's portal site, another site present on the virus' links list, seems to be quite sluggish right now..." Details on how the virus started are a bit sketchy. The "Anonymous Longhair" who created it only posted it to Usenet as an early April Fool's gag, a demonstration of how easy it would be to mount a "Linux revolution". Some other Usenet reader is responsible for actually spreading the virus into the wild. One observer speculated, "I imagine the virus was first sent to the addresses of several well-known spammers. The virus probably latched on to the spammer's email lists and began propagating at a fantastic rate. With no boundary to its growth, this thing could wind up infecting every single Net-connected Wintel box in the world. Wouldn't that be a shame!" Linus Torvalds, who just left for a two week vacation, was unavailable for comment at press time. We have a strong feeling that his vacation will be cut short very soon...

    3. Re:Now all we need is.. by Anonymous Coward · · Score: 3, Interesting

      Guys? Let's not keep lauding every new 20 lines of shell script and sophomoric disk duping tools as a new invention. And "making sure the first 40 Mbytes is not in use" is non-trivial. In most cases, it involves relocating the "/boot" partition. "/boot" is almost never necessary these days, you can put its contents on "/", but it's still awkward to do.

      Switching from one OS to another is not completely obvious to do at its best. I've written tools that do extremely similar things in Linux, although I stuffed the OS image into a swap space at the *END* of the disk, and completely automated the OS installation procedure to do a complete "burn to bare metal" and completely partition it as desired. Unfortunately, this guy's approach does not allow a graceful recovery if the middle step fails. If you use the Linux LILO tool, you can, by using "lilo -D" to set a default OS, but using "lilo -R" to set the next reboot to use the other OS for one time only.

      It's easy to do in the Linux world, because you can chroot to the new partition and run "grub-install" or "lilo" from there. It's tougher in the cross-platform world: getting it to correctly write an MBR is considerably more difficult. I normally solve it for Linux/Windows/Solaris/what-ever by using the Linux-based MBR generation tools, then if I really feel the need to flush the Linux partitions and blow away the MBR, use the other OS's native MBR tools while running that other OS.

      But the basic technique is at least 3 years old, hardly worthy of slashdotting.

    4. Re:Now all we need is.. by fred666 · · Score: 2, Interesting

      Actually, i think it is better (and easier) to have some kind of viral knoppix for that, since the system is already configured and immediately usable.

      There is very little steps needed to be performed when the worm is run, have a look:
      * First, the worm must download the knoppix ISO image (this is the most time and bandwidth consuming task)
      * Then, check the MD5 signatures and extract the files from the ISO and the boot floppy images to the harddisk into an hidden directory
      * Using the Windows "locales", configure little things like keyboard layout, default language,...
      * When everything is set up, install and configure the linux bootloader. (lilo is preferred here since it is blocklist based: booting Knoppix from NTFS partition is possible)
      * Mass-mailing using outlook, like any other worm :-)
      * You may have a choice here: should it delete the windoze system files ??
      * Finally, the worm reboot the system to finish the "infection" :-)
      * Enjoy your Gnu/Linux-infected machine :-D

      "Infecting" windoze machines with a Gnu/linux distribution without user interaction look like a feasible task to me: all we need is a crazy and skilled enough windoze worm developper.

  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 CaptainBaz · · Score: 2, Informative

      you need debootstrap. now is not the best time to be looking for the rpm, as people.debian.org is still down after the brk() attack, but the relevant section of the install docs is here.

    2. 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.

    3. Re:Similar tool for Debian by Killeri · · Score: 2, Informative

      I would guess the easiest way to do this is to get a Knoppix CD image, unpack it to disk and then boot from it, just like the source article describes.

    4. Re:Similar tool for Debian by heikkile · · Score: 2, Interesting

      I have once installed Debian over ssh, after I got the owner of the box to boot Knoppix. I guess DeadRat might work as well - except that you need to be careful not to mess with the partition(s) where the system is living. The Knoppix CD contained Debian's install software, and Debians website had a guide (somewhere - lost the link ) on how to a very manual install. I had to do all the disk partitioning etc from the command line, but that should not scare a slashdot reader...

      --

      In Murphy We Turst

    5. 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. Re:Similar tool for Debian by Alioth · · Score: 3, Informative

      I use User-Mode-Linux for my web/email/DNS servers. The co-lo that rents servers only rents RedHat servers. The 'host' still runs RedHat, but really very little of it - I have my own custom kernel (with skas patch, very useful if you are running UML virtual machines) on the RedHat host, plus iptables to act as a firewall. The RedHat host conceptually just runs as a network router.

      The real servers are all UML instances, all running Debian. The UML page on Sourceforge has a minimal Debian root disk image. I based my root images from these (created a new filesystem on the RedHat system of the appropriate size, mounted both, and cp -a from the minimal Debian install to the root filesystem file I was going to use, edited /mnt/etc/network/interface etc. to set the right IP addresses etc.) then booted. After that, it's just a case of using apt-get to get the packages you want to run.

      The nice thing about separating all your services on different VMs within one host is you can apply decent firewall rules for each VM. If, say, your DNS UML got rooted because of an unpatched BIND (unlikely with Debian, since you can just apt-get update && apt-get upgrade to keep up to date) the skript kiddie - instead of having the run of your whole server and being able to deface your website (or worse) is locked into your DNS UML. Add proper egress firewall rules with iptables on the host, and you can prevent most skript kiddie attacks from being able to work.

      Although I like the BSDs (I like all UNIX style OS, well, except a certain company whose name need not be mentioned), they can't yet (natively) do the equivalent of user mode Linux which is something I find incredibly useful. Hopefully they will in the future.

  6. I always knew those daemons were trouble... by Nate+B. · · Score: 2

    They're lurking in a nice Linux system just waiting for the moment to come alive and do their dirty work.

    Perhaps we penguinistas need to perfect a means of exorcising our systems of these evil daemons! Pure Linux, I say, pure Linux!

    --

    "Insanity is doing the same thing over again expecting a different result."
  7. Flame war! by GeckoFood · · Score: 2, Funny

    Oooooh! Fire! Pretty!

    --
    Be excellent to each other. And... PARTY ON, DUDES!
  8. 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!
  9. 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.
    1. Re:Wow... a Linux bashing article on SlashDot! by Zathrus · · Score: 3, Funny

      a pregnant nun

      Which is another way to "depenguinate".

      Yes, I did just watch Blues Brothers a couple nights ago.

  10. 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
  11. 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.
  12. 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.

    1. Re:Windows - Freenix by LM741N · · Score: 2, Funny

      There is already software similar to this. Its called Cygwin.

  13. Night Of The living Dead by fafaforza · · Score: 2, Funny


    The dead are going after the living!

  14. Do not use this unless you know what you're doing by e_AltF4 · · Score: 3, Insightful

    >5. Make sure that the first 40MB of space on your hard drive is not being actively used. ...
    I'm afraid that is NOT a trivial thing in 99.9% of all machines

  15. iptables -A INPUT -p tcp --syn --dport 22 -j DROP by JCCyC · · Score: 2, Funny

    PHTHBBBBBTTTTT!!!!!

  16. Depenguinate ?? by KoolDude · · Score: 2, Funny


    How do you moderate an entire article as flamebait?

    May be you can write a program to flamebaitrate the article. Nobody said only people who freebsduse can verbgenerate, rite ?

    --
    getSexySig(); /* returns sexy signature */
  17. Dead Rat by lunenburg · · Score: 3, Funny

    Dead Rat? OMG! I get it! It's like you took "Red Hat" and changed some letters around, and now it's like insulting!

    That's what makes it funny!!!!111

  18. 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 ;-)

  19. 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.

    1. Re:Not really an upgrade.... by cperciva · · Score: 2, Informative

      So all this does is write to the boot partition and load a barebones copy of bsd on a ramdisk?

      It also inserts a system configuration file into the filesystem image; and the filesystem in question -- UFS2 -- is one for which Linux support is rather lacking, so the filesystem image has to be built entirely within userland (thanks NetBSD!).

  20. Dummy! by Anonymous Coward · · Score: 2, Funny

    Linux is viral (due the the GPL) you're the worm! ;)

  21. The Word 'Upgrade' is Dying by cattail.nu · · Score: 2, Insightful
    The concept of an upgrade is dying. We all know we can switch out operating systems just like we can change what pair of shoes we are wearing. Each OS has good and bad points and I'm in favor of anything that makes it easy to shuffle between them. We should be bright enough not to destroy our production machines anyway. Isn't the ability to play with different things key to the evolution of open source software?

    Ancient Anguish

  22. Re:Useful! by cperciva · · Score: 2, Informative

    This is PERFECT for one of those Dedicated Server hosting providers that don't let you touch your box at all.

    That was the initial motivation; although it turns out that this is also very useful for installing FreeBSD on easily accessible servers, since loading the entire OS into a memory disk makes it possible to do things which sysinstall doesn't support -- for example, creating a vinum root system.

  23. Forget depenguinator, I want reverse defenestrator by phr1 · · Score: 3, Funny

    Reverse defenestration, throwing windows out of your computer. Where do I download? (Props to Eric for definition).

  24. Re:Having Used the latest FreeBSD (5.2(r2)) by sremick · · Score: 2, Interesting

    As someone who has been using FreeBSD on his desktop for over a year (first 4.8, now 5.1, soon 5.2) I'm interested in why you don't like FreeBSD on the workstation.

    The way I look at it, you get all the stability of FreeBSD's server skills, but on your desk. And the "polish" hasn't been an issue as Gnome looks the same on FreeBSD and Linux.

    Heck, I got a TV-in card for xmas and installed it in just a few moments. Popped it in, used kldload to load the driver without touching the kernel, built fxtv from ports, and a min later I was watching CNN in a window on my desktop.

  25. Can't we all just get along? by Junior+J.+Junior+III · · Score: 3, Insightful

    What's up with BSD "demonizing" linux like that?

    Actually, it's a fairly neat hack, even if the rivalry is somewhat silly.

    --
    You see? You see? Your stupid minds! Stupid! Stupid!
  26. Re:Let me get this straight... by evilviper · · Score: 2, Flamebait
    we're supposed to remove "inferior" RedHat distributions
    [...]
    because an unstable release of FreeBSD 5.x would be better for our systems

    You've obviously never used FreeBSD... The most unstable and buggy version of FreeBSD is a dramatic step-up from any Linux distro.

    This is no troll, it's a fact, and extremely hard to dispute ("Linux never crashed for me" does not count).

    peacefully obliterating all of our data while this script is running as well? WTF?

    That just might be a small stumbling block... But I think this is just a proof-of-concept right now... I'm sure you'd be the first to jump up and start waving the Linux banner if something like this was created to convert Windows to Linux in the same manner.
    --
    Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
  27. Re:Thanks, thanks! by cperciva · · Score: 2, Interesting

    Yep, too many curious people. I've disabled mrtg.daemonology.net for now, but I'll put snapshots of the MRTG graphs online later for anyone who wants to see what a slashdotting looks like.

  28. excellent! by kevin+lyda · · Score: 3, Insightful

    this is a good thing for linux and bsd. it would be nice to see a dedemonizer to go with it. this shows to people what "open systems" REALLY can be.

    --
    US Citizen living abroad? Register to vote!
  29. 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").
  30. 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. :)

  31. Re:Let me get this straight... by shani · · Score: 2, Insightful

    You've obviously never used FreeBSD... The most unstable and buggy version of FreeBSD is a dramatic step-up from any Linux distro.

    This is no troll, it's a fact, and extremely hard to dispute ("Linux never crashed for me" does not count).


    My experiences with FreeBSD have been universally bad.

    From the fact that it didn't support the built-in network card on my laptop (worked fine in Linux and Windows) to the fact that no less than 3 versions of the FreeBSD boot CD *and* floppy hard-locked on my desktop on install (worked fine in Linux and Windows). Then there's the fact that the POSIX threading support was bad enough to make our core application unusable on all versions of FreeBSD (up to 4.9, and it works fine on Linux and Solaris).

    I also find the whole CURRENT/STABLE/RELEASE naming a little confusing, but I could live with that if FreeBSD actually provided any real-world benefit. The only areas where I've seen a real, measurable benefit to FreeBSD is in high-volume UDP servers (which is to say: DNS, or possibly NFS) or the IPv6 stack (thanks to the KAME project).

    The fact is the FreeBSD technology is playing catch-up to Linux, and even if the technology were great, the childish "my OS is better than your OS" attitude of most FreeBSD users that I've met is what really makes FreeBSD stand out.

  32. 5.2RC on my lappie - good so far by puzzled · · Score: 2, Interesting



    I run two IBM T20s - on is my main machine, the other is backup and it runs the OS of the month. I keep FBSD 4.9 on most everything including my primary laptop, but last week I loaded 5.2RC to check its progress.

    I was mostly interested in improved USB support and I'm pretty pleased with the behavior so far. I've found some things to not love about ACPI but that may be my lack of clue rather than a problem with the OS.

    I pronounced 5.2RC almost cooked enough for daily use. I'm going to wrench on the backup lappie for a few more weeks and if it does nothing worse than ACPI neutering the power switch I'll probably swap drives and make it my main machine.

    --
    I am very easy to get along with, but I don't have time to waste being nice to people who are being stupid. -Theo
  33. If only they could do something more... Usefull by X!0mbarg · · Score: 2, Interesting

    Like a program that would "Capture the Flag" of a certain monopolistic regime...

    Now *that* would be a Wonderful use of a "program" ;) Taking all the current settings of a Windoze machine, keeping the "wallpaper" and similar, familiar trappings, and allowing you to switch to BSD (or your fax 'NIX), and minimize the trauma of some poor drone's switch to something "else"...

    But what are the Odds of seeing That happen anytime soon?

  34. Re:does FreeBSD have something like apt-get or yum by R.Caley · · Score: 2, Informative
    [having to do a make world on 300 boxen is not my idea of time well spent.]

    mount /usr/src
    mount /usr/obj
    cd /usr/src
    make installkernel installworld
    scp -r build:/etc/\* /etc

    This is assuming all your machines are identical. If not you'd have to be more careful about the config stuff, and use mergemaster, but that would be the case for any OS.

    Of course, NFS is not something you'd want to use to a remote machine, the idea of opening RPC ports in my firewall makes my skin crawl. But for upgrading multiple machines on your own network, the BSD system is really quick and clean.

    If something could be done to improve mergemaster, the ease of upgrading FBSD would be the killer argument for the death of the penguin. I've never seen a description of how to upgrade linux which didn't make me decide it would be easier just to do a clean install ofa new version. If there is such a description/method, please post and earn some well deserved karma.

    --
    _O_
    .|<
    The named which can be named is not the true named
  35. Re:Upgrade? Sheesh. by acidbass · · Score: 3, Funny

    The worst example I ever saw was on IRC; a jackass said "yeah, if you're stupid you should use Linux, but once you really understand UNIX you should use BSD".

    Hey! I said that!

  36. At least the server didn't go down... by Anonymous Coward · · Score: 2, Insightful

    I'm not sure how much of the Slashdot crowd woudl have decided to actually visit the page (your famous /. effect)... but I'm sure the server woudl remain up, as compared to other OS'es I've seen get /.-ed.

    I ran a LOTR promotion on my site a few months ago that brought a signifigant number of eyes to the page, in effect, a /. of my own making. Damned OS (FreeBSD 4.9) stayed up and chugging along...

    I've seen both Windblows and Linux creak under the same type of stress. You may label this as a troll post, but there is a bit of cheer for this "depenguinator"... I'm surprised the Linux community hasn't developed a "downgrade" tool for *BSD (etc.) to pop Linux back on a system posessed by the Daemon! ;-)

    Cheers folks...

    1. Re:At least the server didn't go down... by jrexilius · · Score: 2, Informative

      it is a bit of a troll post as the item that would crash under a /. effect is Apache (assuming thats what you are running) not the OS. There is not enough of a performance difference in OS level operations between linux and bsd that would have an impact on your network and webserving daemon's ability to handle a /. Assuming apache 1.3.x, even recompiled to handle more than 256 children you are hard limited by memory and bandwidth. So when you get too many concurrent TCP connections, they just get dropped, regardless of OS.

  37. 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.

  38. Re:I'll bite. (Sorry, can't resist) by tepples · · Score: 2, Funny

    The same people who just reinstalled Windows 98.

  39. 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.

  40. Re:Thanks, thanks! by cperciva · · Score: 2, Informative

    I've put a static snapshot of mrtg.daemonology.net up here: http://www.daemonology.net/depenguinator/slashdott ing/

    I'll update it from time to time over the next day.

  41. 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.

  42. Ok, I give up. You win. by Qbertino · · Score: 3, Funny

    I actually thought I was being funny and expected to be moderated that way.
    But moderating me and especially that post 'Insightful' takes the cake. I give up.
    And thus hereby offically anounce: Credit for the biggest 'Funny' goes to Mr. '+1 Insightfull' modder. :-)

    --
    We suffer more in our imagination than in reality. - Seneca
  43. Sometimes true by ca1v1n · · Score: 2, Interesting

    This is often true, but configurations in which it is not true are not uncommon. A friend of mine once had his BSD server stay up with a load of 86. It might take 2 minutes to completely service a request, but it still worked. When he had linux on the same box, same configuration on the same services, it would fall over around 12. BSD is incredible at handling load. It's less flexible in many ways than Linux, but it makes a really great server.

  44. Re:Just mount_msdosfs /dev/da0s1 /mnt/camera, easy by Brandybuck · · Score: 2, Interesting

    Whilst the above steps might seem trivial to the experienced users, you have to admit it's not the kind of intuitive setup proccess you would reccommend to your grandma.

    The comparison was being made with Linux. Granted, Linux has made some strides recently. But look back just one year ago. Under FreeBSD you just mounted your camera like it was an everyday filesystem. Under Linux you had to get special software, wade through reams of imcomplete HOWTO's, cross your fingers, clench your buttocks, and hope it worked.

    Whilst win32 is a joke to advanced users, you generally plug in supported hardware, and it just works.

    Yeah right. And I have a bridge to sell you in Brooklyn...

    Over Christmas vacation I was visiting my mom. Her computer was Win98SE. USB mass storage devices are supported by the OS. Plug in my thumbdrive and it works. But plug in my camera and it goes off into neverneverland. Even though my camera is a standard UMass device. I had to download the camera's USB drivers for Windows before it would recognize it. But I didn't need any special software under FreeBSD.

    --
    Don't blame me, I didn't vote for either of them!
  45. rooting DNS will have consequences.... by jusdisgi · · Score: 2, Informative

    While I certainly get your main point (rooting one box will leave the rest safe) I simply *must* take issue with your example.

    You say if this guy roots your DNS VM, he won't be able to deface your website. I'll point out the obvious: he now has control over the web address, and can point your website at his own box, where the defaced site lies. Or he can point it at the DNS box itself, install apache, and deface it there.

    Point is, if he roots your DNS server, you are all kinds of jacked.

    --
    Given a choice between free speech and free beer, most people will take the beer.