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.16 | jsmith | Good morning plarsen |
14:41.15 | plarsen | good morning jsmith |
14:41.21 | plarsen | Enjoying a nice day off ? |
14:41.34 | jsmith | Day off? |
14:41.43 | jsmith | I don't get the day off... I'm working today :-( |
14:42.07 | plarsen | hehe - I will be soon too; but on a tux project |
14:42.12 | plarsen | Nice with a day off without SOA |
14:43.06 | jsmith | Cool beans... |
14:45.43 | plarsen | are you in town this week? |
14:56.29 | jsmith | I am |
16:00.08 | plarsen | Cool |
16:01.23 | plarsen | Ok - 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.44 | plarsen | Anyone have any ideas?? jsmith/stickster/quiqleymd ?? |
16:02.00 | stickster | plarsen: http://fedorahosted.org/liveusb-creator |
16:03.11 | stickster | plarsen: 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.59 | stickster | I believe you could write that image out to a different block device |
16:04.08 | stickster | So for instance, a partitioned loop device, or something like that. |
16:05.08 | plarsen | stickster: 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.23 | stickster | plarsen: Right, that won't work. |
16:05.31 | stickster | The livecd-tools are built to work from a Live image. |
16:05.53 | stickster | But... |
16:06.04 | plarsen | stickster: 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.15 | stickster | plarsen: Why not make your own custom Live bootable image then? |
16:08.21 | plarsen | well - 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.33 | stickster | plarsen: Ah, that part's easy enough |
16:08.48 | stickster | plarsen: You want the 'livecd-creator' tool, also in the 'livecd-tools' package |
16:08.49 | plarsen | Btw; 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.03 | stickster | plarsen: 'livecd-creator' takes a kickstart file as an input and builds a Live image from it |
16:09.05 | plarsen | ok - let me check ;) |
16:09.22 | plarsen | Does the live image have a recovery image too? |
16:10.41 | stickster | plarsen: Well, in a sense, the Live image *is* your recovery image |
16:10.55 | stickster | You can use it to transfer a copy of itself to the hard disk |
16:11.11 | plarsen | stickster: hmmm; so I need to think about what file system tools to include ? |
16:11.13 | stickster | The Live image based installation doesn't offer the opportunity for package selection |
16:11.29 | stickster | So you just build those into your kickstart file, and build the image with those packages included. |
16:12.00 | stickster | If 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.20 | plarsen | That 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.26 | stickster | plarsen: I haven't found any 1 GB USB keys under $5 |
16:13.39 | stickster | Which doesn't mean they don't exist... I don't look that often |
16:13.48 | plarsen | stickster: I found 2GB at Microcenter for $5 yesterday - but they only had 4 |
16:14.04 | plarsen | I found some online - but they all have "stock" problems |
16:14.17 | stickster | plarsen: 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.18 | plarsen | I was thinking to maybe use a promotional site and have "Fedora" or something printed on them |
16:14.34 | stickster | plarsen: Bzzzt, trademark infringement |
16:14.38 | plarsen | lol |
16:14.48 | plarsen | It would be a fedora live image that would be on the USB key |
16:14.50 | stickster | But, providing Live keys is fine :-) |
16:15.13 | plarsen | Maybe "Linux Rocks" then :D |
16:15.36 | stickster | Ah, if you're providing the Fedora Live images from the site on USB, that's no problem with trademarks then |
16:16.12 | plarsen | Nope - 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.19 | plarsen | But I'm not paying $10 per key |
16:16.21 | stickster | They simply have to be the stock version of the distro |
16:16.32 | stickster | Yeah, $10 is simply exorbitant |
16:16.56 | plarsen | I downloaded the images a few months back (via torrent). It doesn't talk about secondary version |
16:17.02 | plarsen | Should I redo that? |
16:17.10 | stickster | secondary version? |
16:17.49 | plarsen | "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.31 | stickster | The one that comes off get.fedoraproject.org is the one you wan |
16:18.33 | stickster | *want |
16:18.51 | plarsen | that's what I got- but it's a few months old |
16:18.54 | plarsen | But it is F10 |
16:19.14 | stickster | Right, end of November 2008 hopefully, right? |
16:19.19 | stickster | http://ftp.linux.ncsu.edu/pub/fedora/linux/releases/10/Live/i686/SHA1SUM |
16:19.36 | stickster | If I were you, I'd look at 2 GB USB keys: |
16:19.39 | stickster | http://www.newegg.com/Product/Product.aspx?Item=N82E16820134817 |
16:19.41 | stickster | $5.49 |
16:20.11 | stickster | I 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.31 | stickster | 2 GB also gives you the ability to install a persistent overlay, and a reasonable /home |
16:21.06 | stickster | s@reasonable /home@reasonable, persistent /home@ |
16:21.21 | plarsen | I thought I would have about 300-400MB for an overlay on a 1GB key? |
16:21.33 | plarsen | But if they're available I may have to go with those - just get fewer of them. |
16:22.06 | stickster | Well, 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.22 | stickster | The price tends to be almost no difference from 1 GB <-> 2 GB |
16:22.53 | stickster | So I tend to buy 2 GB as a minimum, and use ~768 MB overlay and 384 MB /home |
16:23.03 | stickster | But there's some flexibility there |
16:23.11 | plarsen | Image is dated at my download time - dec 28th |
16:23.19 | plarsen | but I'm pretty sure it's the november one |
16:23.23 | stickster | Yeah, that link above has the SHA-1's. |
16:24.01 | plarsen | sha match |
16:24.24 | stickster | awesome |
16:25.02 | plarsen | hmm - excuse my ignorance. But I thought "overlay" = /home ? |
16:25.21 | jsmith | I *used* to think that too... |
16:25.41 | stickster | The overlay is basically the difference between / on the original image, and its current state |
16:26.19 | stickster | Whereas /home is a separate partition you can use, which can also survive a new LiveOS install |
16:26.49 | stickster | So 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.57 | plarsen | hmmm - iso-to-livecd that I've run doesn't ask for a /home ? |
16:28.01 | plarsen | How do you specify that? |
16:28.12 | plarsen | ehhh liveusb |
16:28.39 | stickster | plarsen: livecd-creator turns a KS file into an ISO. |
16:28.58 | stickster | livecd-iso-to-disk is where you transfer that ISO to USB and provide options for /home, overlay, etc. |
16:29.23 | plarsen | stickster: I have liveusb-creator ... that's not it? |
16:29.31 | plarsen | Becuase that only asks for persistent storage |
16:29.35 | plarsen | and the ISO |
16:29.44 | stickster | liveusb-creator is a GUI that may not be quite up to date with the livecd-iso-to-disk binary |
16:29.52 | stickster | I'll have to get on Luke about that :-) |
16:30.00 | plarsen | hehe |
16:30.01 | stickster | Of course it *is* Python, maybe I can fix it :-) |
16:31.06 | plarsen | ok - last time I did kickstart was 1.5 years ago |
16:31.17 | plarsen | I thought there was a way you could record the CURRENT setup? |
16:31.29 | stickster | plarsen: I think there's a system-config-kickstart that might help |
16:31.46 | stickster | When you did your initial installation, the result was recorded in /root/anaconda.ks I believe |
16:31.51 | plarsen | Ok - I actualy downloaded that - but didn't look at it. |
16:32.03 | stickster | But you may have changed quite a bit since the initial installation, of course |
16:32.25 | plarsen | $ system-config-kickstart |
16:32.26 | plarsen | /usr/share/system-config-kickstart/kickstartGui.py:74: GtkWarning: GtkSpinButton: setting an adjustment with non-zero page size is deprecated |
16:32.28 | plarsen | <PROTECTED> |
16:32.29 | plarsen | dammit |
16:32.33 | plarsen | it's dead |
16:33.11 | plarsen | Ohh - that's right. What method of installation should I choose? |
16:33.31 | plarsen | I 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.28 | jsmith | plarsen: The USB stick shows up as a hard drive |
16:35.21 | plarsen | jsmith: 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.35 | jsmith | Weird... |
16:37.17 | plarsen | So when I create the ks - should I keep things at "cdrom" and hope that liveiso-to-disk will change things? |
19:03.06 | stickster | plarsen: 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.08 | stickster | *right |
19:03.25 | stickster | You may want to consult http://fedoraproject.org/wiki/Anaconda for more kickstart information |
19:03.59 | plarsen | Uhmmm - thanks. I created an image with just the base package. Kernel panics on boot though |
19:04.06 | stickster | I don't see the "mirrorlist" or "mirror" methods listed there. |
19:05.16 | plarsen | lunch time |
19:05.43 | stickster | plarsen: You might want to look at the contents of http://git.fedorahosted.org/git/spin-kickstarts.git (F10 branch) |
19:05.57 | stickster | There are some KS files there, the same ones we use for the distro, and for some other specialized spins |
19:06.03 | stickster | Might give you some hints. |
19:36.51 | plarsen | uhmm - 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) |