Slashdot Mirror


FreeBSD Based Live CDs

Newtonian_p writes "Now the BSD world has an answer to Knoppix. The FreeSBIE project have released a live FreeBSD based system on CD. There are also plans to develop a suite of programs to be used to create a personalized disk." If it offers a painless BSD install (the way Knoppix makes it easy to install Debian to a hard drive), this should be a popular project. Reader Cronopios links to a related effort called LiveBSD which "has heavily modified FreeSBIE's scripts to allow for apache mysql and many other programs to run."

44 of 252 comments (clear)

  1. Re:FreeBSD is a solid OS by moberry · · Score: 5, Informative

    The purpose of the live CD is not as your actual OS. It is used for testing the operating system to see if it works correctly with your hardware. I have also used P.H.L.A.K (A lighweight, hackery live CD also, like knoppix based on debian)for disaster recovery on windows systems. It works quite well.

  2. You can install Knoppix...?!?!? by Meefan · · Score: 0, Informative

    Since when? AFIAK, Knoppix is live CD only. No install. I used it yesterday to teach a Linux class, and if there's an install option, I didn't see it. -Dave

    --

    ------
    http://cooltech.org
    If it ain't cool, it ain't coolt
    1. Re:You can install Knoppix...?!?!? by broadcast_255 · · Score: 2, Informative

      yes you can, there is command like knoppix-install or somethin' i already forgot, but i did it several times last year

    2. Re:You can install Knoppix...?!?!? by The_DOD_player · · Score: 5, Informative

      I might be biting a troll here.. but you can install Knoppix.
      Just open up a console, su, and run "knx-hdinstall". Its "just" a shellscript, so you can browse while installing. After install you get a Debian Sid system.

    3. Re:You can install Knoppix...?!?!? by dtl · · Score: 1, Informative

      It has been there for ages. Open up a root shell and run knx-hdinstall

    4. Re:You can install Knoppix...?!?!? by kahei · · Score: 4, Informative


      You can indeed install it -- the result is a kind of Debian-lite installation. It's probably better to install real Debian once Knoppix has led the way; installed Knoppix has some quirks, such as a tendency to read things from the CD image on the HD now and then.

      --
      Whence? Hence. Whither? Thither.
    5. Re:You can install Knoppix...?!?!? by gl4ss · · Score: 3, Informative

      since like, forever.

      there's few ways to do it, you can install the image to hd and run it from there. or do a normal installation(as other replier said, knx-hdinstall iirc).

      however be aware that upgrading from this installed system to a normal debian system might not go as smoothly as you'd hope(it might though, but I'd rather use a 'proper' installation cd and do a netinstall).

      --
      world was created 5 seconds before this post as it is.
    6. Re:You can install Knoppix...?!?!? by diogenesx · · Score: 1, Informative

      If you want a knoppix like install from a livecd, try mepis [www.mepis.org]. It's a debian-based distro designed to be both a livecd AND an installer cd. It's fantastic. I'm running it on my laptop and mp3 server right now.

    7. Re:You can install Knoppix...?!?!? by CoolHnd30 · · Score: 2, Informative
      I've installed Debian off Knoppix on about 10 pc's over the past year. I initially ran into the problem above.

      Then I stroked my sources and apt preferences correctly, that would iron out. I've since been running Debian unstable on 3 systems for the last 4 months without a hitch, all installed with Knoppix.

      I could never get all my hardware working correctly with a straight Debian install (without kernel recompiles and other mucking about). But having installed with Knoppix, its just WORKED !!

  3. Available for purchase by Anonymous Coward · · Score: 4, Informative

    Just seen it at blcds.com for sale, if anyone's interested

  4. Now? by cperciva · · Score: 4, Informative

    Now the BSD world has an answer to Knoppix

    Err... This may be "Stuff that matters", but it shouldn't be "News for Nerds". FreeBSD has had live CDs since at least 2002.

    1. Re:Now? by Anonymous Coward · · Score: 1, Informative

      'FreeBSD has had live CDs since at least 2002'

      I've been able to generate 'live' cd's since
      make buildworld DESTDIR=targetdir.

      All you need is sufficient space to store around 120MB of FreeBSD OS, a copy of mkisofs, and know how to use release/write_mfs_in_kernel.c.
      Its a little slow for X unless you use the ufs in vn on cd trick (ld.so takes ages to mmap from a cd9660 fs) but otherwise ok.

      I thought the ability to create a single cd FreeBSD was old news - its documented in the manual. oh well.

    2. Re:Now? by kent_eh · · Score: 5, Informative

      News? Not really.

      I have been using this particular FreeSBIE disk for a couple of months now. Using it to post this, as a matter of fact.

      I'm using it at work on a machine that normally runs XP and takes twice as long to boot to XP as it does to the live CD.

      For some reason the giant list of Live CDs doesn't seem to include the BSD variants.

      There are 8 different *BSD live CDs listed at LiveCDNews.com.

      --

      ---
      "I can't complain, but sometimes still do..." Joe Walsh
  5. Another Live CD by Anonymous Coward · · Score: 5, Informative

    Another FreeBSD-based live CD is BSDeviant.

  6. Re:BSD isn't a hard install by clymere · · Score: 5, Informative

    Yes, it was a pain in the ass when I tried it on old hardware(p1). Of course i am a total newbie as far as the BSD's, I'm well aware that many install them on old hardware for use as routers. However, I can defintly say that I found BSD's to be more difficult then Linux on obsolete hardware. Maybe its easy once you know what you're doing.

    --
    once you go slack, you never go back
  7. Re:BSD isn't a hard install by Simon+Lyngshede · · Score: 5, Informative

    I found the NetBSD disklabel tool difficult to use, so I used OpenBSD to slice my disk. But other than that, no I agree, the BSD'es are very easy to install.

    OpenBSD is wonderfully easy to install.

  8. I wonder why... by cesarcardoso · · Score: 5, Informative

    ...the FreeBSD LiveCD wasn't mentioned.

    It's the older FreeBSD LiveCD around, a project carried by the Brazilian FreeBSD User Group.

    --
    Cesar Cardoso can be found at cesar at zyakannazio dot eti dot br (or at least I believe so)
  9. DragonFly BSD by Anonymous Coward · · Score: 1, Informative

    DragonFly BSD comes on a Live CD; it's going to be the standard installation/demo/rescue disk.

  10. Portage and deb-apt on FreeBSD by Anonymous Coward · · Score: 2, Informative

    Want Gentoo's portage and Dedian's deb-apt

    http://www.freshports.org/emulators/linux_base-d eb ian/

    http://www.freshports.org/emulators/linux_base-g en too-stage1/

    they worked fine, thank god I won't have to use linux. It's to risky with SCO attacking, my clients and I are much safer.

  11. And the torrent... by IcePic · · Score: 5, Informative

    http://people.su.se/~jj/FreeSBIE-1.0-i386.iso.torr ent

    --
    -- I'm as unique as everyone else.
    1. Re:And the torrent... by Spetiam · · Score: 5, Informative
  12. Re:LiveCD. by mst76 · · Score: 4, Informative

    > I enjoy playing with LiveCDs, but I always find that we are not taking advantage of the writing ability of many CD drives.
    [...]
    > If I download a neat application and install it or save a word doc in my directory, I want it automatically cued up to be burned when I shutdown.

    First, most LiveCD systems are already packed to the brim, and don't allow you to unmount you're main CD during operation, so you'd need at least two drives. Second, there are two ways to add files to a cd-rw: multisession and packet writing. Multisession is widely supported, but not suitable for small files as there is a overhead of about 15MB for each new session. Packet writing requires the UDF filesystem. AFAIK, neither Linux nor FreeBSD have good UDF support in read-write mode, and I'm not sure if anyone is actively working on it.

    A much better bet would be a LiveCD in conjunction with USB flash memory for your personal files. If you want to install apps, the new version of the SLAX-Live CD supports ovlfs (Overlay Filesystem), which lets you insert files on a read-only root filesystem. For FreeBSD, unionfs might do the trick.

  13. Re:DVD?? by Nurseman · · Score: 2, Informative

    With so many of us having dvd drives, I wonder why there isn't a dvd version??

    I asked this in a previous dicussion on Linux CD's and the answer has to do with how the OS reads DVD's. I don't recall the exact answer, but they are not "bootable". My DVD will boot a CD, but not a DVD. It may have to do with the way the bios reads the CD's

    --
    Save a Life. Donate Blood. Please.
  14. Re:BSD isn't a hard install by Punk+Walrus · · Score: 5, Informative

    I found OpenBSD so easy, it was virtually painless.

    1. Burn floppy
    2. Insert floppy into old hardware (in this case, a 486 DX4 100), reboot machine
    3. OpenBSD boots from floppy. Asked me if I want to Install, upgrade, or cancel. I chose (I)nstall
    4. Asked me which hard drive.
    5. Gave me fdisk like partition manager. Listed whole drive as c with one bit "a" FAT16 partition. I deleted "a," entered in the partitions I needed, with "b" being my swap by default. Did w,q to write and quit.
    6. Asked me to set up network interface, root password, etc...
    7. Asked me which install type, I set up ftp, I selected the mirror closest to me, selected the packages I wanted, and then waited for install to complete (20 min on cable modem).
    8. I took out the floppy, rebooted, and got a login prompt.
    9. Signed in as root, and heeded "afterboot" security warning.

    Then I installed bash with a simple add_pkg command, added non-root user, set up pf, found apache was installed and set up by default, changed forwarding to "1", slapped pfctl and apachectl to run, and wala! Working router/NAT/webserver in less than an hour.

  15. Re:OS Comparison by Anonymous Coward · · Score: 1, Informative

    I suggest migrating the boxes you listed in the following order: B, C, D, A. Learning about iptables (sorry, last time I used Linux as a router firewall that's what was used) and ports, etc as you set up B will be a big help in troubleshooting problems with C. By then you will be comfortable enough to try D and then A. A and D are probably switchable. I personally went B, moved to OpenBSD before setting up C, moved to OS X for D, and quit developing software before trying A. :-) Enjoy. You are about to embark on a frustrating but very rewarding journey.

  16. Solaris LiveCD by GodBlessTexas · · Score: 2, Informative

    I can't really get excited about all these live CD's. A guy named Chris in Enron Broadband's Information Security Group created a Solaris LiveCD back in 2000 (before the term LiveCD either existed or was popular) that the InfoSec group used to run systems from CD. He even had one that was the absolute minimum of the OS to run IDS engines. I believe it was around 70MB total. After he hacked all that together from Solaris 2.6 and then 7, all the rest of this stuff just seems a bit anticlimactic. Don't get me wrong, as I do enjoy the variety. I wonder if Chris ever wrote up how he did it. It's probably not that hard to to do now, but back then that was cool stuff.

    --
    Remember the Alamo, and God Bless Texas...
  17. Re:OS Comparison by El+Cubano · · Score: 4, Informative

    ... a development box (which in the end is probably going to end up running a Microsoft OS, because mainly I'm going to be working on a game project I've put aside for too long, and unfortunately if I ever want to sell it, the "mainstream" is still running MS.

    No need to pollute your machine. I develop a computer simulation (it started as a thesis project), so it has almost all the same requirements a modern game would have: 3-D graphics, sound, GUI, etc. I use wxWidgets (formerly wxWindows) which gets me pretty much every feature I need. The best part is tha I can use the gcc cross-compiler to build the win32 target .exe from my Linux box. I then have friends of mine test the final windows .exe (after I do some preliminary testing through WINE).

    I would assert that is better to develop the Win32 apps from linux than from win32. Especially since I don't have to worry about VS.NET flaking out on me, or the other crappy tools that are common on Windows.

  18. Re:OS Comparison by Sweetshark · · Score: 3, Informative

    You might also take a look at distrowatch to find candidates...

  19. Re:OS Comparison by Hel+Toupee · · Score: 5, Informative

    Having used FreeBSD since 1999 or so for one reason or another, and having looked at several Linux distros, I'll throw in my 2cents.

    FreeBSD looks like UNIX (oversimplification, albeit) down-and-dirty. I ran X on it for awhile (enlightenment or fvwm95 on a 486DX/66) and will never again. It really is not set up for a GUI, and you will do a ton of work getting it there. It will run Linux-compatible binaries provided you have the right libraries.
    This is what I would use as the server because I am comfortable with it, and feel it is faster and more secure in this capacity. (I have little proof of the proceeding statement, but know there are thousands of benchmarks that prove me either right or wrong)

    Linux distros I've tried range from pretty and trendy (Mandrake, Knoppix), to Windows clones (Lin---s, Licoris), to down-and-dirty UNIX type (Slackware). Mandrake would be my choice for the laptop and the development box because I just like the way it feels.

    The FreeBSD live CD doesn't seem like anything more than an educational tool, because, IMHO, FreeBSD is supposed to be installed, customized, and left to what it does best, run server daemons. Check out linuxISO.org if you haven't already. It is a quick resource for information about a TON of different distros.

    --
    PERL:
    All of the power of Voodoo with most of the understandibility!
  20. Re:Hopefully eventually by bloodstains · · Score: 5, Informative

    the guys over at unixpunxhave a distrib that fits on a mini CD

  21. How easy is install in a multiboot scenerio? by jonadab · · Score: 2, Informative

    I tried to install OpenBSD (also FreeBSD and NetBSD) and was unable to get past
    the disklabel process. Now, there are some things about my setup that may have
    been making it hard, but in the same scenerio I was able to get other systems
    installed (e.g., Mandrake, BeOS), and I failed to get BSD working. One of the
    things I suspect may have been a problem is that I was trying to put it on my
    "spare" partition that I was keeping open at the time for fooling around with
    installing various things just for a few days to play with. (Then I'd install
    something different after a while...) This partition was something like the
    third primary partition on the IDE secondary master driver, or something like
    that, and was probably past the 1024th cyllinder. Also I needed to keep the
    primary master MBR for PowerBoot (a third-party boot manager) and so could not
    put the BSD bootloader there.

    Now, this was over a year ago, and I intend to try again soon, hoping that some
    things have been ironed out in newer versions. A FreeBSD LiveCD sure sounds
    like a good opportunity for me. I'll be giving one a try.

    --
    Cut that out, or I will ship you to Norilsk in a box.
  22. FreeBSD for newbies by xot · · Score: 5, Informative

    I havent tried FreeSBIE so i would'nt know how easy or tough iut is to get a copy up or running.But what I do know is the getting a relatively standard box running FreeBSD is very ease.
    I would recommend all newbies who are trying out a unix OS for the first time to start with FreeBSD.There are a few reasons for this :

    1. The installer (sysinstall) is ver easy and self explanatory.
    2. FreeBSD gives you a lot of options in terms of how you want to install and from where.It can even pick up a the installation from a dos partition.(from c:)
    3. The documentation is amazing.You will love the handbook.All my questions about the installation were answered by the handbook itself, i had to look nowhere else.
    4. For any non-standard issues theres a very active FreeBSD mailing list.

    For all the above reasons,i think FreeSBIE should be even smoother than a normal FreeBSD install. Looking forward to givin it a spin, guess i dun have to try knoppix now ;-)

    --
    Lord of the Binges.
  23. Re:OS Comparison by scrytch · · Score: 3, Informative

    FreeBSD looks like UNIX (oversimplification, albeit) down-and-dirty. I ran X on it for awhile (enlightenment or fvwm95 on a 486DX/66) and will never again. It really is not set up for a GUI, and you will do a ton of work getting it there.

    Yeah, clicking on "Desktop" in the installer, that really was hard.

    It will run Linux-compatible binaries provided you have the right libraries.

    I forgot to undertake the astonishingly difficult task of clicking "Linux Compatibility" in the install, so I had to resort to the incredibly complex "make install" command in any of the linux binaries port because I forgot that the linux base system had the incredibly cryptic name of "linux-base".

    You sir posited zero evidence for your assertions.

    --
    I've finally had it: until slashdot gets article moderation, I am not coming back.
  24. Re:OS Comparison by mbadolato · · Score: 2, Informative

    It really is not set up for a GUI, and you will do a ton of work getting it there. It will run Linux-compatible binaries provided you have the right libraries.

    Oh come now... I've installed FreeBSD on a few machines ranging from a Dell pII 400 to a Frankenputer(tm) I built from parts lying around the house. I've never had any issues getting X running with Gnome, KDE, Windowmaker, or anything else. I choose the options right in the installer and it just works for me.

    From there the GUI runs just like it does in Linux.

  25. My quick review by WD · · Score: 4, Informative

    Neat concept, but definately rough around the edges. (Especially compared to Knoppix)

    I am writing this from the Live CD using Firefox, so that at least says something. But here are some issues I ran in to: (Keep in mind I've never used FreeBSD before)

    1. The Live CD doesn't boot properly on my system. After churning away for a while, it finally gets to the boot splash screen so I can't see what's going on. Then after hitting a few keys I got to the console and it displayed an error:
    Mounting Root from cd9660:acd0
    Root Mount Failed: 5
    mountroot>

    Using a little trial and error I was able to get the boot process to continue by typing:
    cd9660:cd2
    It appears that the Live CD got confused along the way as to what CD drive is which. I have two IDE-attached and one SCSI-attached CD devices in my machine.

    2. I was presented with screens to select my KB Language and Layout. No biggie here, but just more interaction than Knoppix requires.

    3. At the end of the boot process, I was presented with a root console prompt, and the tail end of a list of 10 items. I couldn't figure out how to scroll up the screen to read the list. PageUp, Shift + PageUP, + PageUP... I tried a bunch.

    4. One of the last items in the list explained how to get into X (by typing xinit). So I got into X with XFCE fine. But the refresh rate is 60Hz and I fear my eyes are going to start bleeding pretty soon.

    5. XFCE has auto-hide toolbars on the top and bottom of the screen. I find these quite distracting.

    That's about it so far. It's neat to be able to play around with an OS that lives on a CD, but I'm wondering how useful this project is. Knoppix is a slick way of showing what a free non-MS operating system can do. Pop in the CD, boot it up, and you'll end up in a nice graphical interface with programs to try out. Plus it's extremely handy to use as a "rescue" CD for systems whose operating systems will not boot for various reasons.

    But where does FreeSBIE fit in? As a rescue CD for those who know BSD well but not Linux? To show off how FreeBSD can almost be as nice a desktop as as Linux (Knoppix)? If FreeBSD is aimed as a server OS ("The Power To Serve"), how useful is a Live CD?

    I don't mean to sound too negative here. It does seem like a neat project. I'm just failing to see its niche.

    1. Re:My quick review by Anonymous Coward · · Score: 2, Informative

      Use the scroll lock key, and then the arrow keys to scroll the console...

    2. Re:My quick review by ph43thon · · Score: 2, Informative

      it would seem to me that a LiveCD in all cases is good for reparing a system if something has gone horribly wrong.. like a Super Rescue Floppy. So, it's good for system administrators I guess. Also, fun for college students and the like to go into computer labs and boot from cd to goof around. Oh, and the fact that Knoppix doesn't allow bootup support for multiple languages isn't really a plus IMO. Unless, of course, you only use the LiveCD to demo FreeBSD.. but then you can just use the toolset to make one that boots straight in. Then again, I can't tell that they have the toolset available at the moment.

      p

  26. Re:Plan 9 by Anonymous Coward · · Score: 1, Informative

    The Plan9 installation CD is a 'live cd'. When you boot it, you are asked if you want to install or run from the cd. (This applies to PC type hardware).

    Available from plan9 (this page will take you to 'additional software' after you agree to the license, select the current snapshot to get a 70Meg download)

  27. Re:OS Comparison by UnassumingLocalGuy · · Score: 4, Informative

    Maybe back in 1999 your rant holds true, but no more today. X and WindowMaker run happily on my little P133 laptop, and it took minimal effort to set up. Linux binary compatibility is a breeze to set up, I had UT2003 running (not on my laptop, of course) and fragging away.

    Next time you run the FreeBSD sysinstall, take a little more time and pay more attention.

    --
    "Hu, ho, ho-ah-oh-oh-oh. Hu, ho ho-ah-oh-oh-oh. Mario Paint! Whoaaa!"
  28. Re:OS Comparison by jdray · · Score: 2, Informative
    I recently went laptop shopping, and had decided that it was going to run Linux exclusively (no dual boot to Windows). I started by deciding which distro I wanted to use (SuSE was the end choice after much deliberation), then looking at their "supported hardware" page under notebooks. Lo and behold, SuSE has only certified IBM notebooks with their latest version, 9.0 (more brands to follow, I'm sure).

    Reading the certification results (example), I found that the internal WLAN card wasn't supported. Not to be deterred, I searched IBM's web site and found this, along with several other documents, that puts me right on the path.

    Unfortunately, a lot of research is required to find info when doing something like this. Don't be deterred by just one source.

    --
    The Spoon
    Updated 6/28/2011
  29. Re:no business card, but... by Brandybuck · · Score: 3, Informative

    Not having used the NetBSD LiveCD, I may be off base here. But your typical "live" CD is a much different beast than your Knoppix/FreeSBIE style CD. The former are meant for emergency recovery and stuff. No one uses them on a day to day basis for the desktop needs. On the other hand, I can use Knoppix or FreeSBIE as my primary desktop OS. In fact, with a USB thumb drive, I don't even NEED a harddrive anymore!

    Of course, even Knoppix isn't new. I was using Slackware '96 off of a CD with a floppy for /etc and /home.

    --
    Don't blame me, I didn't vote for either of them!
  30. Re:OS Comparison by Brandybuck · · Score: 3, Informative

    It really is not set up for a GUI, and you will do a ton of work getting it there.

    I must respectfully disagree. I am using FreeBSD as my primary desktop OS at home and at work. I'ts fully "GUIified". KDE 3.2. MPlayer, Xmms, yada, yada, yada.

    While setting stuff up isn't automatically done for you before you even insert the install CD, it still isn't that difficult. Thanks to XFree86 (the true hero of the desktop), the days of having to manually compute modelines is ancient history. Run the command "XFree86 -configure" and you are done! You may want to tweak stuff afterwards, but the meat of the configuration is done.

    Of course, if even the briefest glimpse of a command line is give you a case of the heebie jeebies, perhaps you should stay away.

    --
    Don't blame me, I didn't vote for either of them!
  31. Re:Hopefully eventually by beware1000 · · Score: 2, Informative

    slow burning speeds and using the bump to line it up in the tray has always been my key to success :)

  32. Re:Why BSD? by mph · · Score: 2, Informative
    What would a BSD card get you that a Linux one can't?
    If you're trying to fix a broken FreeBSD box, and FreeBSD is the operating system you use everyday and know well, I think you'd rather have a FreeBSD boot disk.