IRC log for #fredlug on 20090216

02:23.57*** join/#fredlug marwalk (n=marwalk@c-24-125-18-107.hsd1.va.comcast.net)
11:56.42*** join/#fredlug stickster (n=pfrields@ip72-205-14-2.dc.dc.cox.net)
12:54.08*** join/#fredlug plarsen (n=plarsen@c-67-166-188-224.hsd1.va.comcast.net)
14:14.16jsmithGood morning plarsen
14:41.15plarsengood morning jsmith
14:41.21plarsenEnjoying a nice day off ?
14:41.34jsmithDay off?
14:41.43jsmithI don't get the day off... I'm working today :-(
14:42.07plarsenhehe - I will be soon too; but on a tux project
14:42.12plarsenNice with a day off without SOA
14:43.06jsmithCool beans...
14:45.43plarsenare you in town this week?
14:56.29jsmithI am
16:00.08plarsenCool
16:01.23plarsenOk - I need some resources on how to make USBs bootable - or rather convert an ISO image to a bootable USB image. Even better, if anyone know how to get qemu to boot on the USB to test the boot image
16:01.44plarsenAnyone have any ideas??  jsmith/stickster/quiqleymd ??
16:02.00sticksterplarsen: http://fedorahosted.org/liveusb-creator
16:03.11sticksterplarsen: If you're using qemu, you could boot from the ISO directly, but you can also use 'livecd-iso-to-disk' in the 'livecd-tools' package to write an ISO to a USB disk
16:03.59sticksterI believe you could write that image out to a different block device
16:04.08sticksterSo for instance, a partitioned loop device, or something like that.
16:05.08plarsenstickster: I'm not looking for a live image. I'm trying with a full install image (the fedora DVD image) - and when I tried the liveusb-creator it refused because it wasn't a LIVE ISO
16:05.23sticksterplarsen: Right, that won't work.
16:05.31sticksterThe livecd-tools are built to work from a Live image.
16:05.53sticksterBut...
16:06.04plarsenstickster: I have a TUX box which only have USB as external devices. I want to have recovery boot/install images on a USB key with the server.
16:07.15sticksterplarsen: Why not make your own custom Live bootable image then?
16:08.21plarsenwell - good idea. If I knew the attributes of a live cd vs. a normal cd, I think I could. But beyond being able to use them, I'm not sure how they're constructed so they work. In other words, I don't know how to create one myself.
16:08.33sticksterplarsen: Ah, that part's easy enough
16:08.48sticksterplarsen: You want the 'livecd-creator' tool, also in the 'livecd-tools' package
16:08.49plarsenBtw; that reminds me - for FOSE I'm looking for cheap 1GB usb keys - anyknow know where I can buy them in bulk for no more than $2 a piece?
16:09.03sticksterplarsen: 'livecd-creator' takes a kickstart file as an input and builds a Live image from it
16:09.05plarsenok - let me check ;)
16:09.22plarsenDoes the live image have a recovery image too?
16:10.41sticksterplarsen: Well, in a sense, the Live image *is* your recovery image
16:10.55sticksterYou can use it to transfer a copy of itself to the hard disk
16:11.11plarsenstickster: hmmm; so I need to think about what file system tools to include ?
16:11.13sticksterThe Live image based installation doesn't offer the opportunity for package selection
16:11.29sticksterSo you just build those into your kickstart file, and build the image with those packages included.
16:12.00sticksterIf you need something that's not packaged, you can include that using the %post and it will be present on the Live image and anything to which you install from the Live image.
16:13.20plarsenThat shouldn't be necessary. This is for emergency boot only. Although I may want to have it boot up with a fixed IP
16:13.26sticksterplarsen: I haven't found any 1 GB USB keys under $5
16:13.39sticksterWhich doesn't mean they don't exist... I don't look that often
16:13.48plarsenstickster: I found 2GB at Microcenter for $5 yesterday - but they only had 4
16:14.04plarsenI found some online - but they all have "stock" problems
16:14.17sticksterplarsen: The network configuration stuff shouldn't be an issue either.  You can set the kickstart file to write the appropriate configs in %post.
16:14.18plarsenI was thinking to maybe use a promotional site and have "Fedora" or something printed on them
16:14.34sticksterplarsen: Bzzzt, trademark infringement
16:14.38plarsenlol
16:14.48plarsenIt would be a fedora live image that would be on the USB key
16:14.50sticksterBut, providing Live keys is fine :-)
16:15.13plarsenMaybe "Linux Rocks" then :D
16:15.36sticksterAh, if you're providing the Fedora Live images from the site on USB, that's no problem with trademarks then
16:16.12plarsenNope - I didn't think so. I wanted to be able to hand out some USB live images; they're much handier (and faster) than the CD version
16:16.19plarsenBut I'm not paying $10 per key
16:16.21sticksterThey simply have to be the stock version of the distro
16:16.32sticksterYeah, $10 is simply exorbitant
16:16.56plarsenI downloaded the images a few months back (via torrent). It doesn't talk about secondary version
16:17.02plarsenShould I redo that?
16:17.10stickstersecondary version?
16:17.49plarsen"stock version" - I thought a new/updated package of F10 had been made a little while ago? I just can't see which build the live image is that I downloaded
16:18.31sticksterThe one that comes off get.fedoraproject.org is the one you wan
16:18.33stickster*want
16:18.51plarsenthat's what I got- but it's a few months old
16:18.54plarsenBut it is F10
16:19.14sticksterRight, end of November 2008 hopefully, right?
16:19.19sticksterhttp://ftp.linux.ncsu.edu/pub/fedora/linux/releases/10/Live/i686/SHA1SUM
16:19.36sticksterIf I were you, I'd look at 2 GB USB keys:
16:19.39sticksterhttp://www.newegg.com/Product/Product.aspx?Item=N82E16820134817
16:19.41stickster$5.49
16:20.11sticksterI use those, from Kingston, to provide Live images for the press to pimp our releases when they come out. Haven't had problems with them -- USB 2.0, acceptable performance
16:20.31stickster2 GB also gives you the ability to install a persistent overlay, and a reasonable /home
16:21.06sticksters@reasonable /home@reasonable, persistent /home@
16:21.21plarsenI thought I would have about 300-400MB for an overlay on a 1GB key?
16:21.33plarsenBut if they're available I may have to go with those - just get fewer of them.
16:22.06sticksterWell, the live image is about 700 MB, so with a "1 GB" key you have about 200 MB left after the other LiveOS stuff
16:22.22sticksterThe price tends to be almost no difference from 1 GB <-> 2 GB
16:22.53sticksterSo I tend to buy 2 GB as a minimum, and use ~768 MB overlay and 384 MB /home
16:23.03sticksterBut there's some flexibility there
16:23.11plarsenImage is dated at my download time - dec 28th
16:23.19plarsenbut I'm pretty sure it's the november one
16:23.23sticksterYeah, that link above has the SHA-1's.
16:24.01plarsensha match
16:24.24sticksterawesome
16:25.02plarsenhmm - excuse my ignorance. But I thought "overlay" = /home ?
16:25.21jsmithI *used* to think that too...
16:25.41sticksterThe overlay is basically the difference between / on the original image, and its current state
16:26.19sticksterWhereas /home is a separate partition you can use, which can also survive a new LiveOS install
16:26.49sticksterSo when you turn that key into a F11 Live image later, you can keep your /home (which, by the way, is encrypted by default unless you opt for it not to be at creation time)
16:27.57plarsenhmmm - iso-to-livecd that I've run doesn't ask for a /home ?
16:28.01plarsenHow do you specify that?
16:28.12plarsenehhh liveusb
16:28.39sticksterplarsen: livecd-creator turns a KS file into an ISO.
16:28.58sticksterlivecd-iso-to-disk is where you transfer that ISO to USB and provide options for /home, overlay, etc.
16:29.23plarsenstickster: I have liveusb-creator ... that's not it?
16:29.31plarsenBecuase that only asks for persistent storage
16:29.35plarsenand the ISO
16:29.44sticksterliveusb-creator is a GUI that may not be quite up to date with the livecd-iso-to-disk binary
16:29.52sticksterI'll have to get on Luke about that :-)
16:30.00plarsenhehe
16:30.01sticksterOf course it *is* Python, maybe I can fix it :-)
16:31.06plarsenok - last time I did kickstart was 1.5 years ago
16:31.17plarsenI thought there was a way you could record the CURRENT setup?
16:31.29sticksterplarsen: I think there's a system-config-kickstart that might help
16:31.46sticksterWhen you did your initial installation, the result was recorded in /root/anaconda.ks I believe
16:31.51plarsenOk - I actualy downloaded that - but didn't look at it.
16:32.03sticksterBut you may have changed quite a bit since the initial installation, of course
16:32.25plarsen$ system-config-kickstart
16:32.26plarsen/usr/share/system-config-kickstart/kickstartGui.py:74: GtkWarning: GtkSpinButton: setting an adjustment with non-zero page size is deprecated
16:32.28plarsen<PROTECTED>
16:32.29plarsendammit
16:32.33plarsenit's dead
16:33.11plarsenOhh - that's right. What method of installation should I choose?
16:33.31plarsenI did get a USB to boot up, but anaconda would not read the RPMS from the USB stick. It only gave me CDROM and harddrive
16:34.28jsmithplarsen: The USB stick shows up as a hard drive
16:35.21plarsenjsmith: it didn't on mine ... :(  I'll give it another try but it was unable to find anything; which is why I wanted to test the usb boot from a virtual machine
16:35.35jsmithWeird...
16:37.17plarsenSo when I create the ks - should I keep things at "cdrom" and hope that liveiso-to-disk will change things?
19:03.06sticksterplarsen: The installation method is the method that will be used to create the Live ISO image. So use something that would work in the situation of a real installation rigth now
19:03.08stickster*right
19:03.25sticksterYou may want to consult http://fedoraproject.org/wiki/Anaconda for more kickstart information
19:03.59plarsenUhmmm - thanks. I created an image with just the base package. Kernel panics on boot though
19:04.06sticksterI don't see the "mirrorlist" or "mirror" methods listed there.
19:05.16plarsenlunch time
19:05.43sticksterplarsen: You might want to look at the contents of http://git.fedorahosted.org/git/spin-kickstarts.git (F10 branch)
19:05.57sticksterThere are some KS files there, the same ones we use for the distro, and for some other specialized spins
19:06.03sticksterMight give you some hints.
19:36.51plarsenuhmm - well, the original Centos image fails/panics too ... me thinks this is a qemu problem
21:42.15*** join/#fredlug bit2man (n=plarsen@c-67-166-188-224.hsd1.va.comcast.net)

Generated by irclog2html.pl Modified by Tim Riker to work with infobot.