=== cody-somerville_ is now known as cody-somerville | ||
=== mcasadevall is now known as NCommander | ||
CIA-9 | hw-detect: cjwatson * r114 ubuntu/ (29 files in 5 dirs): merge from Debian 1.72 | 11:11 |
---|---|---|
__algol__ | Hi! can anyone here help me with the casper's live CD boot process? | 14:35 |
cjwatson | perhaps, 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 how | 14:36 |
cjwatson | you mean some directory other than /casper? why? | 14:38 |
__algol__ | yep, cause I want to have more then one live system in that USB pen | 14:39 |
cjwatson | hmm, you'll have difficulty with the installer there too I expect | 14:40 |
cjwatson | you could use multiple containing filesystems rather than changing the directory name | 14:40 |
cjwatson | casper supports a UUID to (effectively) specify the filesystem to use | 14:40 |
__algol__ | well, I don't care about the installer, I just want the live system... | 14:40 |
cjwatson | right 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 easier | 14: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 pen | 14: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 |
cjwatson | like I say, it doesn't right now, although I can probably suck in the change from Debian | 14:45 |
cjwatson | but that won't help you for existing releases | 14: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 iso | 14: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 |
cjwatson | I do, but it isn't relevant to you | 14:52 |
cjwatson | it's for use by the alternate/server installer, not the live CD boot process | 14:52 |
cjwatson | Debian's live CD boot script is a derivative of Ubuntu's, so changes are portable | 14:53 |
__algol__ | well, it did the trick for me | 14:53 |
__algol__ | the live system booted with no problem when I used it | 14:53 |
__algol__ | iso-scan/filename=/linux/ubuntu/ubuntu-9.04-desktop-i386.iso | 14:53 |
__algol__ | but I had to copy the iso file to that path, of corse | 14:54 |
cjwatson | oh, well lupin does support it | 14:54 |
cjwatson | but in that case it's only intended for use by wubi | 14:54 |
__algol__ | yep, thats in that script | 14:54 |
__algol__ | I didn't use wubi... I started it with gurb | 14:55 |
__algol__ | *grub | 14:55 |
cjwatson | I realise that, I just said it's only *intended* for use by wubi | 14:56 |
__algol__ | :) | 14:56 |
cjwatson | you can use it if you like, it's just not really a great approach | 14: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 |
cjwatson | there is no method built into casper right now | 14:57 |
CIA-9 | casper: cjwatson * r630 trunk/ (debian/changelog debian/manpage/casper.7 scripts/casper): | 14:57 |
CIA-9 | casper: * Port from Debian (thanks, Daniel Baumann): | 14:57 |
CIA-9 | casper: - Added live-media-path as suggested by Jordi Pujol. | 14:57 |
cjwatson | ^- that commit to karmic adds one | 14:57 |
__algol__ | ?? | 14:58 |
cjwatson | but you'll still have to use something else for older releases; iso-scan/filename will probably do OK | 14: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__ | *releases | 15:01 |
__algol__ | does "iso-scan/filename" param make the system load entierly from the iso? | 15:03 |
cjwatson | no, I'm saying that I *made* future releases support that parameter | 15:03 |
cjwatson | yes, it does | 15:03 |
__algol__ | so, I don't need any other file to boot? | 15:03 |
cjwatson | you probably need the initramfs in place | 15: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 LOL | 15:08 |
__algol__ | is the "preseed" file needed for the live system or just in the instalation process? | 15:10 |
cjwatson | just the installation process | 15:17 |
cjwatson | initrd.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 help | 15: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. code | 15: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 |
cjwatson | well, it's not cvs, but sure, I guess so; but only if you know your way around very well | 15:30 |
__algol__ | ...in witch script is it? | 15:31 |
__algol__ | casper, ok | 15:32 |
__algol__ | sorry | 15: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/LiveCDCustomization | 15:35 |
cjwatson | suppose so | 15: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 |
evand | it hasn't been uploaded yet | 15:47 |
cjwatson | you can find the code from http://bazaar.launchpad.net/~ubuntu-core-dev/casper/trunk if you're desperate | 15:47 |
evand | you'll have to branch casper (bzr checkout lp:casper casper.ubuntu) | 15:49 |
evand | ah | 15:49 |
CarlFK | I 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-9 | hw-detect: cjwatson * r115 ubuntu/debian/changelog: releasing version 1.72ubuntu1 | 20:48 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!