/srv/irclogs.ubuntu.com/2014/06/23/#ubuntu-motu.txt

=== emmaHupUSA is now known as em
whitepowderi'm trying to put together a recovery usb stick. It has 2 partitions (fat16 2gb and btrfs 14gb) I've got syslinux, freedos, grub4dos, and my preseed configs on it. I need to be able to install 12.04.4 from this, configured pretty much entirely automatically. I'd like to keep the preseed in the fat16 part, so it can be changed from a windows box if needed. Ideas? So far im having problems with iso being rejected by d-i,00:48
whitepowderCLosest i had this to working was using the hd-media installer from 12.04 but that gave problems since 12.04.4 uses a newer kernel and it complained modules didnt match. Is there a place to get the hd-media installer for 12.04.4?00:48
whitepowderI probably should note that im using kubuntu but that doesnt really matter i suppose00:49
whitepowderIdeally, i could put packages (a partial local mirror) on the second partition and the installer find them there. Could i then use net-install image? Sorry to be so annoying but i really need to get this recovery disk going so i can get home from visiting family00:51
melodiewhitepow1er why fat16 and not fat32?01:08
whitepow1ermelodie: its 2gb partition, easier to work with from other os if keep it fat1601:09
melodiethe main goal for btrfs in usb stick, is what?01:09
whitepow1ermelodie: the second partition could be any fs (ext[234] or btrfs), just used btrfs as the guide i was initially working off of used it. That partition is to store packages, our programs, configs etc that need to be installed01:10
melodiewhitepow1er because the first thing I understood from your demand is "recovery usb stick"01:11
melodiewhen I create usb boots, I use either the usb-creator-gtk tool to get a working usb stick with persistency, on Fat32 which allows adding files that can be accessed from other os'es (windows, mac, linux whatever)01:12
melodieor01:12
whitepow1ermelodie: my end goal is a usb stick that can be stuck in the machine and either booted from as a read-only minimal live system (no GUI and works now) or installing a system using preseed to avoid the user having to be smart01:12
whitepow1erbeen having some issues trying to get hd-media working, what i've gathered from google is that it has been broke since 11.x01:13
melodieif you got such a big usb stick why not do a simple fat32/grub2/iso multiboot thing?01:14
melodieI have done that recently with a tutorial found at the ubuntu-fr.org wiki, I have 3 isos booted from the grub2 stanza01:14
melodieI can add other iso images and do the dame01:14
melodiesame01:14
melodieit boots iso images01:14
whitepow1erI cant directly use grub2 from usb stick, i've only been able to get things to boot from syslinux, tho i supposei  could chainload grub201:14
whitepow1erim not sure how i'd provide the preseed file to the installer then, since it'd be quite a pain to have to remaster the iso every time it needs small changes01:15
melodiewhy can't you? If I could (and I just followed a simple tutorial) what is the isse you would meet with?01:15
whitepow1ermelodie: im going to assume bios bug but never have been able to get grub2 to work from usb stick on this machine (same stick worked on others), whereas syslinux just works01:16
melodieI haven't played with preceed files so far, but I suppose it could be changed directly with file-roller01:16
melodieyou might want to try01:16
melodiewhitepow1er oh yes, bios bugs happen01:16
melodiehave you also tried to boot it using a plop boot manager cd?01:17
whitepow1erI dont have an optical drive01:17
melodieso another stick maybe?01:17
melodieplop holds in a floppy, so even a very small usb stick could be used01:17
whitepow1erI've got an idea but idk if its any more useful than the hd-media stuff i've been fighting with all day01:17
whitepow1erbooting the net-install image and putting a partial local mirror on the 2nd partition of the usb stick, then point at it as the mirror01:18
melodiewhitepow1er you use 12.04, right?01:20
melodieand isolinux01:20
whitepow1ersyslinux yea01:20
melodieor syslinux01:20
melodieyou can use the initrd.lz and vmlinux instead of hd-media01:21
melodiethe ones from your iso image01:21
melodieand use the content of the txt.cfg to create your syslinux.cfg01:21
whitepow1ertried those from install/ in the iso, get 'Incorrect CD-ROM' error01:21
melodiehave you extracted them and copied them to the / of the usb stick?01:22
melodiethey usually need to be "close to the surface"01:22
melodieon a primary partition that is01:22
whitepow1erYes to /boot on part 0 of the stick. Now, If i use the hd-media install from 12.04 (couldnt find 12.04.4) i can get a little further, in that it recognizes the iso but fails because different kernel version in the 12.04.4 iso01:23
melodiewhitepow1er I have been using Ubuntu builder since months, with the ubuntu mini remix iso, and this is very fast to make an iso : the program is no longer developed but I continue using it, and hopefully, a buddy who is interested will take on to continue it01:24
melodiejust a few minutes are necessary each time, to make a new one01:24
melodieI haven't used the products on else than fat32 sticks though, so I don't know how it would go there01:25
whitepow1erim pretty sure there wouldnt be much difference from fat16 to fat32 honestly01:25
whitepow1erbesides supporting large file system and files01:25
melodieall I know about fat16 is that I have seen it on cards for numeric cameras01:25
melodieelse than that I didn't know it could support large files01:26
melodieFat32 : aren't iso files large files?01:26
whitepow1er2gb is the limit01:26
melodieok I see01:26
melodieand what is the limit for fat16?01:26
whitepow1erfat16 is 2gb file size limit, im not sure what fat32 is01:26
melodieok01:27
melodie4 GB minus one octet01:27
melodiehttp://fr.wikipedia.org/wiki/FAT32#Limitations_de_FAT3201:27
melodiehttp://en.wikipedia.org/wiki/Design_of_the_FAT_file_system#Size_limits01:28
whitepow1eri wasnt sure, never got around to adding fat32 support to my kernel, barely used fat at all besides in the boot loader01:29
melodiewhat method do you use for remastering?01:29
melodiejust curious01:30
whitepow1ertrying to avoid remastering, honestly01:31
melodietoo much work?01:31
melodieI mean you have been doing it manually, sort of From Scratch method or so?01:32
whitepow1eri was trying to get the hd-media installer stuff working, so i could just use a plain old -alternate iso and a preseed config01:32
melodiekubuntu made lighter?01:33
melodieyou also said you used kde?01:34
whitepow1erIdeally, updating the stick to a newer ubuntu then would just require replacing the iso image, editing syslinux.cfg to point to the new iso and if something big changed, editing the preseed file01:34
melodieyes, that sounds nice01:34
melodieI'll have to have a look at these preceed files more closely01:35
melodiehow do you point to your preceed file? do you change it inside the iso?01:35
whitepow1ermelodie: preseed automates the installation, from what ive gathered from irc and google, you have to use the alternate cd for fully unattended01:35
melodieI don't really know what is "unattended" as in "Checking for unattended upgrades" shutdown message. :?01:36
whitepow1ermelodie:    append initrd=boot/kubuntu32/initrd.gz preseed/file=/hd-media/preseed/ninja.seed file=/iso/kubuntu-12.04.4-alternate-i386.iso01:37
whitepow1ermelodie: Unattended means without user having to answer questions, its all in the preseed file01:37
melodieno questions... he does not have to choose from a list of packages: is that so?01:38
melodieas in the Ubuntu server, you have to choose from lists of meta packages or lists of packages: is that what it is about?01:38
whitepow1ermelodie: Language, host name, pretty much anything that the installer would ask can be put into preseed file01:39
whitepow1erAs little or as much settings as needed01:39
melodieok...01:39
whitepow1erhttps://help.ubuntu.com/12.04/installation-guide/i386/preseed-intro.html01:39
melodiethanks, I'll add this to a few pages I need to read01:39
melodiewhitepow1er what about the users you were mentioning just before? are you also doing this to hand over you usb stick to some people who will just use it?01:43
whitepow1ermelodie: Just to the owner of the computer im dealing with01:43
whitepow1ermaybe in the future other friends/family too, when they have more complicated set ups01:44
melodiewill he have to install from that stick?01:44
melodieor just use in read only mode?01:45
whitepow1erinstall from stick, just without all the questions and partitioning and stuff. It's kinda like the recovery disk come with windows computer01:45
whitepow1ererase computer (except /home) and reinstall things01:45
melodieexcept home01:46
melodieI was thinking about obi, the method provided by sudodu, but this erases the disk fully01:46
melodieand 9w whatever it is01:47
melodiehttps://help.ubuntu.com/community/OBI01:50
melodieok, good night. whitepow1er good luck!01:54
=== whitepow1er is now known as whitepowder
dholbachgood morning06:31
=== iulian_ is now known as iulian
=== TheMuso` is now known as TheMuso
=== ara is now known as Guest7746
=== shadeslayer_ is now known as shadeslayer

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!