Depenguinator "Upgrades" Linux to BSD 616
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.
You have been rooted, welcome to BSD (Score:5, Funny)
The next root kit is announced and within days all machines have been *upgraded* to BSD. Argh
iptables -A INPUT -p tcp --syn --dport 22 -j DROP (Score:2, Funny)
Re:You have been rooted, welcome to BSD (Score:5, Funny)
At least the server didn't go down... (Score:2, Insightful)
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
I've seen both Windblows and Linux creak under the same type of stress. You may label this as a troll post, bu
Linux as a server (Score:5, Informative)
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 [ripe.net], and the whois server gets around 28 hits/second as you can see here [ripe.net]. 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.
Sometimes true (Score:3, Interesting)
Re:You have been rooted, welcome to BSD (Score:4, Funny)
Oh well, snooze ya lose.
Re:You have been rooted, welcome to BSD (Score:4, Funny)
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"
Hmm... (Score:4, Insightful)
Cool stuff, but the write-up is a little, uhm, polarizing?
Re:Hmm... (Score:3, Insightful)
Re:Hmm... (Score:2, Insightful)
Sorry, while the tool is interesting, the article is flamebait. You can be proud of your work without being childish.
Re:Hmm... (Score:3, Insightful)
Gee, could it be that we have some double standards...naah, couldn't be that....
technoid
Re:Hmm... (Score:4, Insightful)
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.
Re:Hmm... (Score:3, Insightful)
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
Re:Hmm... (Score:3, Insightful)
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.
Re:Hmm... (Score:4, Funny)
Could be worse, we could be talking about a package to upgrade Linux to Windows 2003.
Re:Hmm... (Score:3, Funny)
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.
Depenguinate ?? (Score:3, 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 ?
Re:Hmm... (Score:5, Insightful)
I agree with parent post
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.
Just mount_msdosfs /dev/da0s1 /mnt/camera, easy! (Score:2, Insightful)
* The same goes with digital cameras: plug it in, and mount_msdosfs
You mention this as if it demonstrated how easy freebsd was to operate!
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.
Whilst win32 is a joke to advanced users, you generally p
Re:Just mount_msdosfs /dev/da0s1 /mnt/camera, easy (Score:3, Interesting)
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
Re:Just mount_msdosfs /dev/da0s1 /mnt/camera, easy (Score:5, Insightful)
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.
Re:Hmm... (Score:3, Insightful)
I don't think its so easy to point to the source of hostility.
Around '97 I was be
Re:Hmm... (Score:3, Insightful)
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
Re:Hmm... (Score:5, Insightful)
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.
Re:Hmm... (Score:2)
Re:Hmm... (Score:2)
Actually, I was planning on making an RPM out of this, but I hadn't gotten around to it yet. (And, to be honest, I have work I really should be doing...)
Re:Hmm... (Score:4, 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 [debian.org] ways [debian.org]
Ne'ermind the hopefully optimistic other project [debian.org]
I'm gonna sit back at a safe distance (Score:5, Funny)
Now all we need is.. (Score:4, Funny)
Dummy! (Score:2, Funny)
Re:Now all we need is.. (Score:2, Funny)
Re:Now all we need is.. (Score:3, Funny)
Re:Now all we need is.. (Score:3, Interesting)
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 stuffe
Similar tool for Debian (Score:5, Interesting)
Thanks!
Re:Similar tool for Debian (Score:2, Informative)
Re:Similar tool for Debian (Score:5, Informative)
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.
Re:Similar tool for Debian (Score:2, Informative)
Re:Similar tool for Debian (Score:3, Interesting)
Re:Similar tool for Debian (Score:5, Informative)
Well, I don't know of a tool, but how about HOWTO [sourceforge.net]?
Have a good one. :)
Re:Morphix+VNC (Score:2)
Re:Similar tool for Debian (Score:4, Informative)
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
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.
Re:Similar tool for Debian (Score:2)
Well, my long held belief is that before upgrading you should back up /var, /etc, /home, /usr/src, and /usr/local.
Just tar them up and dump them on a CD- put the date on it. I've been upgrading linux systems since '94, and this method has worked for me.
(/usr/src may be a bit much, but if you have installed much custom software there might be something there you can't find- my fav i
I always knew those daemons were trouble... (Score:2)
Perhaps we penguinistas need to perfect a means of exorcising our systems of these evil daemons! Pure Linux, I say, pure Linux!
Re:I always knew those daemons were trouble... (Score:2)
Flame war! (Score:2, Funny)
HOWTO - Install Debian Onto a Remote Linux System (Score:5, Informative)
Depenguinator? (Score:2, Funny)
Wow... a Linux bashing article on SlashDot! (Score:5, Funny)
Re:Wow... a Linux bashing article on SlashDot! (Score:4, Funny)
Which is another way to "depenguinate".
Yes, I did just watch Blues Brothers a couple nights ago.
Dude, this is Slashdot..... (Score:2)
Add some tentacle rape hentai, and watch Slashdot get slashdotted...
pff, old stuff (Score:5, Interesting)
you can do this with any system that lets you bootstrap the OS from the harddrive (i.e. gentoos stage tarballs).
Instant system trash (Score:5, Insightful)
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:
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.
Windows - Freenix (Score:5, Interesting)
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
Re:Windows - Freenix (Score:2)
Re:Windows - Freenix (Score:2)
Indeed it should. Send the average win9x user a 650 MB file named ostrash.exe (but secretly it is the RH 9 install disk). Most win 9x users will spend 6 hours downloading it, then run it finally they will call their sysadmin asking what is a root password?
Re:Windows - Freenix (Score:3, Funny)
Night Of The living Dead (Score:2, Funny)
The dead are going after the living!
Do not use this unless you know what you're doing (Score:3, Insightful)
I'm afraid that is NOT a trivial thing in 99.9% of all machines
Re:Do not use this unless you know what you're doi (Score:5, Interesting)
I would think that on most i386 systems running linux the first 40mb or so is
Swap is a simple case of swapoff then setting it up again in the freebsd setup (perhaps using the old
and
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
"upgrade" using only ssh? hmm.... (Score:2)
Dead Rat (Score:3, Funny)
That's what makes it funny!!!!111
Re:Dead Rat (Score:2)
Useful! (Score:2)
Oh, and "creep" not "creap."
Re:Useful! (Score:3, Informative)
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.
Not really an upgrade.... (Score:5, Insightful)
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.
Re:Not really an upgrade.... (Score:3, Informative)
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!).
Depenguinator... (Score:2, Funny)
Re:Depenguinator... (Score:2)
finally... (Score:2)
ps -waux
instead of
ps -ef
-t
Re:finally... (Score:2, Funny)
ps -waux
instead of
ps -ef
I don't get it. ps -waux works fine on my Debian GNU/Linux box. So does ps -ef. On the other hand, my braindead OpenBSD box doesn't support ps -ef and I assume FreeBSD probably doesn't either since you're all a bunch of flaming BSD zealots and won't accept the superiority of System V. For god's sake you probably haven't even adopted System V runlevels and /etc/init.d script directory structures. Savages.
Uh-oh (Score:2, Funny)
Apparently the software was not designed to be used by the majority of the Linux community.
The Word 'Upgrade' is Dying (Score:2, Insightful)
Ancient Anguish [anguish.org]
Forget depenguinator, I want reverse defenestrator (Score:4, Funny)
Can't we all just get along? (Score:4, Insightful)
Actually, it's a fairly neat hack, even if the rivalry is somewhat silly.
excellent! (Score:4, Insightful)
A program?!? (Score:2)
-Charlie
5.2RC on my lappie - good so far (Score:3, 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.
If only they could do something more... Usefull (Score:2, Interesting)
Now *that* would be a Wonderful use of a "program"
But what are the Odds of seeing That happen anytime soon?
xbill (Score:2)
BFD (Score:2)
I've done a similar thing to thousands of SCO boxes in order to turn them into penguins.
Bah. (Score:2, Troll)
non-FreeBSD? (Score:2)
- Hubert
Re:In The spirit of the Holiday's (Score:2, Funny)
Re:In The spirit of the Holiday's (Score:2)
IT *is* fucked.
Re:Thanks, thanks! (Score:2)
That said, the people pounding on mrtg.daemonology.net are creating a bit of a load... I might need to take those scripts offline if things get too bad.
Re:Thanks, thanks! (Score:3, Interesting)
Re:Thanks, thanks! (Score:3, Informative)
I'll update it from time to time over the next day.
Re:Having Used the latest FreeBSD (5.2(r2)) (Score:2, Interesting)
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 port
Re:Having Used the latest FreeBSD (5.2(r2)) (Score:2)
(Besides, although this is a personal experience, KDE 3.1.4 on FreeBSD 5.1 uses less memory (doesn't touch swap with 256
Re:Let me get this straight... (Score:2, Flamebait)
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).
That just might be a small stumbling block... But I
Re:Let me get this straight... (Score:3, Insightful)
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
Re:Let me get this straight... (Score:5, Informative)
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.
Re:Can we have the DeSCOinator now? (Score:5, 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:
I hope everyone finds this helpful.
Re:does FreeBSD have something like apt-get or yum (Score:5, Informative)
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
Re:does FreeBSD have something like apt-get or yum (Score:3, Informative)
mount /usr/src /usr/obj /usr/src /etc
mount
cd
make installkernel installworld
scp -r build:/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 multipl
Re:does FreeBSD have something like apt-get or yum (Score:2)
Re:Upgrade? Sheesh. (Score:3, Funny)
Hey! I said that!
Re:I'll bite. (Sorry, can't resist) (Score:2, Funny)
The same people who just reinstalled Windows 98.
Ok, I give up. You win. (Score:4, Funny)
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.