/srv/irclogs.ubuntu.com/2009/06/02/#ubuntu-installer.txt

=== cody-somerville_ is now known as cody-somerville
=== mcasadevall is now known as NCommander
CIA-9hw-detect: cjwatson * r114 ubuntu/ (29 files in 5 dirs): merge from Debian 1.7211:11
__algol__Hi! can anyone here help me with the casper's live CD boot process?14:35
cjwatsonperhaps, what's the question?14:35
__algol__well, I would like to make a live USB with the filesystem.squashfs on some other directory, but I can't figure out how14:36
cjwatsonyou mean some directory other than /casper? why?14:38
__algol__yep, cause I want to have more then one live system in that USB pen14:39
cjwatsonhmm, you'll have difficulty with the installer there too I expect14:40
cjwatsonyou could use multiple containing filesystems rather than changing the directory name14:40
cjwatsoncasper supports a UUID to (effectively) specify the filesystem to use14:40
__algol__well, I don't care about the installer, I just want the live system...14:40
cjwatsonright now there's no way to specify a different directory short of hacking the code; I think using multiple containing filesystems (i.e. multiple partitions on the stick) and using UUIDs to control which gets used might be easier14:42
__algol__hmmm... maybe but I would like to have it this way so that I can easly change the live systems I carry on my USB pen14:43
__algol__I know that on gentoo has a "subdir" boot param and on debian I has "live-media-path", but what about ubuntu?14:44
cjwatsonlike I say, it doesn't right now, although I can probably suck in the change from Debian14:45
cjwatsonbut that won't help you for existing releases14:45
__algol__I did something near it by using "iso-scan/filename" param, but it makes it a very slow boot process, as it has to read the whole iso14:46
__algol__the thing is that debian uses other boot script...14:47
__algol__do you know about the "iso-scan/filename" param?14:48
cjwatsonI do, but it isn't relevant to you14:52
cjwatsonit's for use by the alternate/server installer, not the live CD boot process14:52
cjwatsonDebian's live CD boot script is a derivative of Ubuntu's, so changes are portable14:53
__algol__well, it did the trick for me14:53
__algol__the live system booted with no problem when I used it14:53
__algol__iso-scan/filename=/linux/ubuntu/ubuntu-9.04-desktop-i386.iso14:53
__algol__but I had to copy the iso file to that path, of corse14:54
cjwatsonoh, well lupin does support it14:54
cjwatsonbut in that case it's only intended for use by wubi14:54
__algol__yep, thats in that script14:54
__algol__I didn't use wubi... I started it with gurb14:55
__algol__*grub14:55
cjwatsonI realise that, I just said it's only *intended* for use by wubi14:56
__algol__:)14:56
cjwatsonyou can use it if you like, it's just not really a great approach14:56
cjwatson(for this case)14:56
__algol__I think you are right, that's why I'm still asking of other method :)14:57
cjwatsonthere is no method built into casper right now14:57
CIA-9casper: cjwatson * r630 trunk/ (debian/changelog debian/manpage/casper.7 scripts/casper):14:57
CIA-9casper: * Port from Debian (thanks, Daniel Baumann):14:57
CIA-9casper:  - Added live-media-path as suggested by Jordi Pujol.14:57
cjwatson^- that commit to karmic adds one14:57
__algol__??14:58
cjwatsonbut you'll still have to use something else for older releases; iso-scan/filename will probably do OK14:58
__algol__you are saying that you asked for future realeses to support "live-media-path" param?14:59
__algol__so, for oldler realeses there is only two ways... iso-scan/filename, and change the script myself...15:00
__algol__think I will choose the first :)15:01
__algol__*releases15:01
__algol__does "iso-scan/filename" param make the system load entierly from the iso?15:03
cjwatsonno, I'm saying that I *made* future releases support that parameter15:03
cjwatsonyes, it does15:03
__algol__so, I don't need any other file to boot?15:03
cjwatsonyou probably need the initramfs in place15:04
__algol__like vmlinuz, initrd.gz?15:04
__algol__initramfs ? , initrd.gz?15:05
__algol__of corse I need  initrd.gz, the boot script is there....15:06
__algol__that way I will need just two files, ubuntu-9.04-desktop-i386.iso, vmlinuz and initrd.gz, right?15:07
__algol__wrong! that't three files LOL15:08
__algol__is the "preseed" file needed for the live system or just in the instalation process?15:10
cjwatsonjust the installation process15:17
cjwatsoninitrd.gz is an initramfs these days, but you're unlikely to care about the distinction (which is why we never bothered renaming the file)15:17
__algol__ok, thanks alot for the help15:19
__algol__I'm impressed for the quickness of the acceptance of kind of a suggestion like the "live-media-path" param...15:20
__algol__have you actually coded it already?15:22
cjwatson__algol__: the message you saw from CIA-9 was a commit message, i.e. code15:27
__algol__great! you'r realy quick then :)15:28
__algol__so, I could download the new CVS version and make a new intrd.gz, for my USB pen ;)15:30
cjwatsonwell, it's not cvs, but sure, I guess so; but only if you know your way around very well15:30
__algol__...in witch script is it?15:31
__algol__casper, ok15:32
__algol__sorry15:32
__algol__I just can't find the source code, but I guess it would be just following some steps from https://help.ubuntu.com/community/LiveCDCustomization15:35
cjwatsonsuppose so15:35
__algol__:( went to https://launchpad.net/ubuntu/karmic/+source/casper/+changelog, but can't find it... but now I know that you use bazaar ;)15:46
evandit hasn't been uploaded yet15:47
cjwatsonyou can find the code from http://bazaar.launchpad.net/~ubuntu-core-dev/casper/trunk if you're desperate15:47
evandyou'll have to branch casper (bzr checkout lp:casper casper.ubuntu)15:49
evandah15:49
CarlFKI am trying to run the net installer in xen, but I get: Error: (2, 'Invalid kernel', 'elf_xen_note_check: ERROR: Will only load images built for the generic loader or Linux images')15:51
__algol__well, not desperate... I was just couriose to see the changes you have made :) I think I would die if I didn't :)15:52
__algol__Thank a lot again!15:53
__algol__bye, hve to go back to work...15:53
__algol__nice talking to you!15:56
CIA-9hw-detect: cjwatson * r115 ubuntu/debian/changelog: releasing version 1.72ubuntu120:48

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