{"id":593,"date":"2010-07-01T07:01:31","date_gmt":"2010-07-01T01:31:31","guid":{"rendered":"http:\/\/judepereira.com\/blog\/?p=593"},"modified":"2012-02-16T08:15:38","modified_gmt":"2012-02-16T02:45:38","slug":"nocd-sabayon-linux","status":"publish","type":"post","link":"https:\/\/judepereira.com\/blog\/nocd-sabayon-linux\/","title":{"rendered":"noCD? |boot from usb| Sabayon Linux"},"content":{"rendered":"<p>I had a pen-drive lying around, and so I decided to try out a new distribution of linux, Sabayon Linux.<\/p>\n<p>Why Sabayon?<\/p>\n<ul>\n<li>On a base install, everything is there and just works perfectly<\/li>\n<li>For a newbie, the hard part is often getting playback codecs, well, Sabayon has them pre-installed<\/li>\n<li>Sabayon has focused on the base theme too, it looks great<\/li>\n<li>Entropy, their package manager, is really awesome, &#8216;man entropy&#8217; to see more<\/li>\n<\/ul>\n<p>Let&#8217;s mount and copy the contents of the live image, it can be downloaded <a href=\"http:\/\/www.sabayon.org\/mirrors\">here<\/a>. As super user, do<br \/>\n[sourcecode lang=bash]<br \/>\nmkdir \/media\/sabayon<br \/>\nmount -o loop \/path\/to\/iso\/file \/media\/sabayon<br \/>\n[\/sourcecode]<br \/>\nPlug in you pen-drive, wait for the device to settle down first, then copy whatever is important to you from the pen-drive to a hard-disk, and format it after you&#8217;ve successfully backed up your previous data<br \/>\n[sourcecode lang=bash]<br \/>\nmkfs.ext3 \/dev\/sdyx<br \/>\n[\/sourcecode]<br \/>\nReplace sdyx as per your needs, i. e. the partition where you will be booting the live image from, in my case it was sdc1. You can choose any filesystem type you want to, but let&#8217;s just stick to ext3 for now.<br \/>\nNow copy the contents of the live image which you previously mounted to this drive after mounting it<br \/>\n[sourcecode lang=bash]<br \/>\nmkdir \/media\/target<br \/>\nmount \/dev\/sdyx \/media\/target<br \/>\ncp -r \/media\/sabayon\/* \/media\/target\/<br \/>\n[\/sourcecode]<br \/>\nThe parameter &#8216;-r&#8217; indicates that it should copy recursively, and not just the files present in the top level directory<br \/>\nNow we&#8217;ll need to setup that device to boot correctly, you may not want to end up with a few errors and be done with it, do you?<br \/>\n<!--more--><br \/>\n<strong><a id=\"grubv2\">for grub version 2 onwards<\/a><\/strong><br \/>\n<em><a href=\"#grubv1\">skip to the older grub version section<\/a><\/em><\/p>\n<p>Add the following to your grub.cfg(\/boot\/grub\/grub.cfg)<br \/>\n[sourcecode lang=bash]<br \/>\nmenuentry &#8220;Sabayon GNU\/Linux Live USB&#8221; &#8211;class sabayon &#8211;class gnu-linux &#8211;class gnu &#8211;class os {<br \/>\ninsmod ext2<br \/>\nset root='(hdX,Y)&#8217;<br \/>\nlinux \/boot\/sabayon root=\/dev\/ram0 aufs init=\/linuxrc cdroot looptype=squashfs max_loop=64 loop=\/livecd.squashfs splash=silent,theme:sabayon vga=791 console=tty1 quiet music &#8212;<br \/>\ninitrd \/boot\/sabayon.igz<br \/>\n[\/sourcecode]<\/p>\n<p><strong><a id=\"grubv1\">for grub versions older than grub 2<\/a><\/strong><br \/>\nAdd the following to your menu.lst(a. k. a. \/boot\/grub\/grub.conf)<br \/>\n[sourcecode lang=&#8221;bash&#8221;]<br \/>\ntitle Sabayon GNU\/Linux Live USB<br \/>\nroot (hdX,Y)<br \/>\nkernel \/boot\/sabayon root=\/dev\/ram0 aufs init=\/linuxrc cdroot looptype=squashfs max_loop=64 loop=\/livecd.squashfs splash=silent,theme:sabayon vga=791 console=tty1 quiet music &#8212;<br \/>\ninitrd \/boot\/sabayon.igz<br \/>\n[\/sourcecode]<br \/>\nReplace hdX,Y with the disk partitioning layout following the grub standards. In my case, it was hd1,1<br \/>\nReboot, and your all set, make sure you press and hold the &#8216;Shift&#8217; key(for older grub versions, the &#8216;ESC&#8217; key) so that it shows you the menu, then get down the list, and press &#8216;enter&#8217;<br \/>\nYou may also optionally choose to install grub on that device, but so far I only got to getting the grub directories installed there<\/p>\n<p>Now you can explore the power of Sabayon Linux, <em>have fun!<\/em><br \/>\n<sub>If you come across any problems, comment and I would love to resolve your issue<\/sub><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I had a pen-drive lying around, and so I decided to try out a new distribution of linux, Sabayon Linux. Why Sabayon? On a base install, everything is there and just works perfectly For a newbie, the hard part is often getting playback codecs, well, Sabayon has them pre-installed Sabayon has focused on the base [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[52,11],"tags":[141,139,142,140],"class_list":["post-593","post","type-post","status-publish","format-standard","hentry","category-code","category-gen-sab-fed","tag-boot-from-usb","tag-nocd","tag-nocd-usb-boot","tag-sabayon-linux"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pqtyx-9z","jetpack-related-posts":[{"id":289,"url":"https:\/\/judepereira.com\/blog\/sabayon-four-oh\/","url_meta":{"origin":593,"position":0},"title":"Sabayon fOuR oH","author":"Jude Pereira","date":"June 16, 2009","format":false,"excerpt":"Based on Gentoo, Sabayon 4.1, tells me: Great performance with less RAM(though you need like 1GB RAM for it to work well enough). Package Management System is absolutely fantastic, with it's new \"Entropy\". Totally the perfect distribution. A fine distribution for the newbie or the expert. This is what a\u2026","rel":"","context":"In &quot;gnu linux&quot;","block_context":{"text":"gnu linux","link":"https:\/\/judepereira.com\/blog\/category\/linux\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":893,"url":"https:\/\/judepereira.com\/blog\/coloured-varlogmessages-at-tty12\/","url_meta":{"origin":593,"position":1},"title":"Coloured \/var\/log\/messages at tty12","author":"Jude Pereira","date":"April 26, 2011","format":false,"excerpt":"Reading logs could never become any more easier, at just a keystroke, you have your logs displayed where you want, in some fancy colour. They look great too. TTY's can be accessed by pressing Alt + Ctrl + F[1 - 12] simultaneously. In the following, you'll get a decent, colourized\u2026","rel":"","context":"In &quot;another snippet | code&quot;","block_context":{"text":"another snippet | code","link":"https:\/\/judepereira.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":694,"url":"https:\/\/judepereira.com\/blog\/visual-basic-6-revisited-linux-wine\/","url_meta":{"origin":593,"position":2},"title":"visual basic 6 revisited &#8211; linux &#8211; wine","author":"Jude Pereira","date":"August 5, 2010","format":false,"excerpt":"Earlier this year, I had written an article on running Visual Basic 6 on linux under wine, this is an update for it, the prior one is deprecated Getting Visual Basic 6 to work on linux is pretty easy, not much trouble, all the basic things work, as of what\u2026","rel":"","context":"In &quot;another snippet | code&quot;","block_context":{"text":"another snippet | code","link":"https:\/\/judepereira.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":64,"url":"https:\/\/judepereira.com\/blog\/faunos-shadow\/","url_meta":{"origin":593,"position":3},"title":"FaunOS Shadow","author":"Jude Pereira","date":"January 20, 2009","format":false,"excerpt":"It's a distribution based totally on Arch Linux... specialized for USB Portable installs and can also be used as primary OS has over 600 packages pre-installed (I know... it reminds you of Fedora and me too!). So that's to say that it comes with definitely all the packages you would\u2026","rel":"","context":"In &quot;gnu linux&quot;","block_context":{"text":"gnu linux","link":"https:\/\/judepereira.com\/blog\/category\/linux\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1675,"url":"https:\/\/judepereira.com\/blog\/sending-notifications-via-apples-new-http2-api-using-jetty-9-3-6\/","url_meta":{"origin":593,"position":4},"title":"Sending notifications via Apple&#8217;s new HTTP\/2 API (using Jetty 9.3.6)","author":"Jude Pereira","date":"January 9, 2016","format":false,"excerpt":"HTTP\/2 is still very much new to Java, and as such, there are just two libraries who support it - Jetty (from 9.3), and Netty (in alpha). If you're going the Jetty way (as I have), you'll need to add their ALPN library to your boot classpath. Note: Jetty 9.3.x\u2026","rel":"","context":"In &quot;another snippet | code&quot;","block_context":{"text":"another snippet | code","link":"https:\/\/judepereira.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1648,"url":"https:\/\/judepereira.com\/blog\/openwrt-wont-bring-my-wifi-interface-up-unless-the-other-is-up\/","url_meta":{"origin":593,"position":5},"title":"OpenWRT won&#8217;t bring my WiFi interface up, unless the other is up","author":"Jude Pereira","date":"September 25, 2015","format":false,"excerpt":"I recently bought a D-Link DIR 505 router. So far, I've got a DLNA server running on it, along with Transmission, a bit torrent client. Life is awesome so far. I set it up to repeat another WiFi router in my house, the one connected to the internet - using\u2026","rel":"","context":"In &quot;another snippet | code&quot;","block_context":{"text":"another snippet | code","link":"https:\/\/judepereira.com\/blog\/category\/code\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/posts\/593","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/comments?post=593"}],"version-history":[{"count":24,"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/posts\/593\/revisions"}],"predecessor-version":[{"id":1245,"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/posts\/593\/revisions\/1245"}],"wp:attachment":[{"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/media?parent=593"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/categories?post=593"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/judepereira.com\/blog\/wp-json\/wp\/v2\/tags?post=593"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}