/srv/irclogs.ubuntu.com/2008/05/09/#ubuntu-installer.txt

Zelutcjwatson: does my latest firewall.sh make any more sense than the first?00:12
=== foka_ is now known as foka
xivulonquite a few people have been asking me about creating bootable usb key/hd via wubi11:42
xivulonI would think that wubi is not the best approach because of hardware profiles11:42
xivulonbut it would be quite easy to use grub4dos + ISO and use the hooks to superimpose a r/w filesystem via unionfs11:42
xivulon(grub4dos can be added to the MBR of the removable device)11:43
xivulon_hmm not sure if you got the last msg11:47
xivulon_basicly I was wondering if that was already the subject of a discussion at last UDS with cjwatson (I attended half of it).11:48
=== xivulon_ is now known as xivulon
evandwe did talk about USB images at UDS (in the hallway) but it was never implemented.  It's scheduled again this time.14:45
xivulonevand can you remaind me what was it about exactly? I missed half of the discussion14:45
xivulonIs this to have a bootable USB with LiveCD ISO?14:45
evandPre made installer images on a USB drive.14:46
xivulonI talked to ogra on #devel, I think he worked on something like that too14:46
evandIt's already possible and there's a guide on the wiki for it, this is more for fixing the necessary bugs and getting a tool created to do the heavy lifting.14:46
evand(For Windows and Ubuntu)14:47
xivulonIt would also be possible to use standard squashfs and unionfs to override some of the files using existing hooks14:47
xivulondo you have a link to the guide?14:47
evandhttps://help.ubuntu.com/community/Installation/FromUSBStick14:47
xivulonthe advantage of the above being that you do not need to create a full squashfs/iso every time14:47
cjwatsonxivulon: I want this to be simple autogeneration from the CD images14:48
cjwatsonno fancy tech14:48
cjwatsonthat way we don't have to ship even more 700MB blobs around14:49
cjwatsonwubi doesn't need to be involved14:49
evandhrm, that's the second time I've seen the use case of using Wubi at work because you're only allowed to install Windows applications (#ubuntu).14:49
xivuloncjwatson, I was suggesting 2 different things14:49
xivulon1) is similar to evand link above, with the addition of hooks + unionfs as an alternative to customized ISOs14:50
xivulonof course if all you need is a standard installation then there is no need for hooks/unionfs14:50
xivulon2) having a universally bootable OS, based on grub4dos/syslinux + squashfs + imagefile + unionfs14:51
xivulonWubi role is only to create said USB devices from within windows as opposed than from within Ubuntu14:52
xivulonI had a few requests for #2 more than #114:53
xivulonevand what are the bugs/heavy lifting you refer to?14:58
evandthere are a few bugs wrt the installer when you're working with a disk drive rather than a CD, like the USB disk itself being an available target to install to.  As far as heavy lifting, the tool will need to do roughly what is done in the above wiki page.14:59
xivulonis this in terms of bootloader? grub4dos can be used in such cases, and can be installed from within Linux as well15:01
cjwatsonnot in terms of boot loader15:02
cjwatsongrub4dos not necessary15:02
evandI don't think grub4dos is necessary here.  syslinux works.15:02
xivulondid not understand the sentence "when you're working with a disk drive rather than a CD", what in particular is the issue?15:03
cjwatsonwe have all the necessary technology for this in place already.15:03
cjwatsonwe're just talking about glitches here, nothing that justifies introducing vast piles of extra stuff.15:03
cjwatsonthe partitioner needs to be told not to use the USB stick as an installation target, for example.15:04
cjwatsonnot rocket science to fix, just needs to be done15:04
xivulonah I see, well that might turn useful for wubi too then15:04
xivulonin case we want to allow installation to existing dedicated partition (different from  the one where the ISO is sitting)15:05
xivulonfor #2 I guess I still have to look at grub4dos since I do not think syslinux supports ntfs15:08
xivulonfor #1 I agree there is no reason to have any wubi involvement15:08
xivulonwith the exception of lupin-casper hooks that might be handy in some cases15:09
xivuloncjwatson, would you say that making squashfs rw by overlaying an image file via unionfs can create issues?15:15
xivulonI do remember that the livecd as write-to-file capabilities but must admit I haven't looked at that code in a while.15:16
xivulonah https://help.ubuntu.com/community/LiveCDPersistence15:18
xivulonwell that is perfect, only nice to have is to be able to specify a loopback path as kernel arg15:25
xivuloncjwatson any reason why loopfile persistance is limited to vfat hosts?15:42
xivulonin casper find_cow_device15:42
xivulonI assume it is for historic reason (no ntfs-3g at the time)15:42
cjwatsonsorry, I don't recall at the moment and can't get into this now15:45
xivulonWell I can easily go around that with existing hooks, and provide a special wubi build that allows people to boot off LiveCD with persistent file15:46
xivulonwould something like that be desirable?15:46
xivulonAnd in the longer term we can of course fix casper code15:46
xivulonA couple of uses that come to my mind are: wubi-like installation with limited HD resources (1GB< free space <4GB)  and hw independent bootable USB disk15:48
tmmoyerif I am customizing the server install CD is there an automated way to ensure that all package dependencies are satisfied by packages on the CD such that I would not need an internet connection to install any packages from the CD?21:03
ebeltmmoyer: I had a similar problem and wrote a programme to get the dependencies.21:14
ebelHowever I'm in a mad rush.21:14
tmmoyeri'm surprised that there is not a way to do it already21:15

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