/srv/irclogs.ubuntu.com/2008/07/29/#ubuntu-installer.txt

Sp0tterWhy does a guided LVM put all the available space in the / partition?  You can't shrink that while its up, so then whats the pointin the LVM?01:14
Sp0tterhow do i keep my fully auto install from never ending?  install, reboot, install, reboot ?02:22
xivulonnable to make backup link of `./boot/vmlinuz-2.6.24-19-generic' before installing new version"10:31
xivulonhad a few reports of broken kernel update: unable to make backup link of `./boot/vmlinuz-2.6.24-19-generic' before installing new version"10:31
xivulonwe had this issue in the past whereby the kernel update tried to create a hardlink and failed on vfat10:32
xivulonI have no other info at the moment, will post if I find out more10:33
cjwatsonmm, dpkg does seem to require that10:36
cjwatson(that code is not in the kernel package, it's in dpkg itself)10:37
cjwatsonfrankly if I were you I'd say "you need NTFS. sorry"10:37
xivuloncjwatson: is that a new requirement? I didn't run into that before10:39
cjwatsonno, it's old as the hills.10:39
cjwatsonwe just didn't think of it before.10:39
cjwatsondpkg requires POSIX semantics from any filesystem on which it installs files.10:40
cjwatsonwe should have just gone for copying files onto the Windows filesystem after the fact, rather than trying these clever tricks with bind-mounting /boot10:40
xivulonbut I am sure we had kernel installations on vfat in the past, particularly when we tested the copy-on-hardling-failure bit10:41
xivulonwell for the future do you suggest rsyncing /boot in rc6.d?10:42
cjwatsonyou might have had kernel installations, but did you have upgrades?10:46
cjwatsonrc6.d? goodness no, why would you want to do it there10:46
cjwatsonpostinst where it belongs :)10:47
cjwatsonand copy the individual files rather than rsyncing the whole directory10:47
cjwatsonyou can't rely on rc6.d ever being called10:47
xivulonthe reason I was thinking about reboot scripts is because I wouldn't be able to catch menu.lst manual edits otherwise.10:48
xivulonI would have thought we should have run into it earlier, since there were quite a few kernel upgrades since the beta stage, and there are several vfat users.10:50
cjwatsonputting /boot/grub on vfat directly would probably be OK; there are no dpkg-managed files there10:59
xivulonwe could also take care of the copying in update-grub and avoid bindmounts11:02
Sp0tterGreetings installers,  my question is how would you stop an auto-installation from cycling forever.  Shutdown after install you might say!  But i have that comptuer set to auto power on whenever it has power, I need some type of loop that can run til it gets manually reset, but if i reset it at the part where it says its about to reboot, grub dies.17:06
cjwatsonhow are you booting it? PXE?17:10
Sp0tterNo, my friend will put in my auto cd and hit reset, then walk away while it installs.17:12
Sp0tterIts an auto installation cd with a presseed and kickstart on the iso17:13
Sp0tteri had planned to just not use auto reboot, but those last coupl steps it does after it ejects the cd adn you hit continue are crucial17:17
cjwatsonyou could try preseeding debian-installer/exit/halt=true17:18
cjwatson('d-i debian-installer/exit/halt boolean true')17:18
Sp0tterwont that shut it downa fter?17:18
cjwatsonthat will cause the last step of the installation to be halt rather than reboot17:18
Sp0tterah17:18
Sp0ttercool i'll try that right now17:18
cjwatsonin a Kickstart file, it would be 'preseed debian-installer/exit/halt boolean true'17:19
crispinwhich reminds me, it might be nice to have a way of powering off a box at the end of the install (I hack it :-) )17:20
cjwatsonisn't that the above?17:20
crispinno, that halts the box without powering it off17:20
crispinor maybe that is a bug ...17:20
cjwatsonthat depends on ACPI implementation surely17:20
crispinwell, if I run the "poweroff" command instead of halt it powers off ...17:21
crispinalmost like it isn't poking acpi at all17:21
cjwatsonoh, ok17:21
cjwatsoncrispin: committed upstream (debian-installer/exit/poweroff=true)17:25
Sp0tterok, so i still need to have the reboot option in ks17:33
cjwatsonwhich reboot option?17:34
Sp0tterjust  'reboot'   in ks.cfg17:34
Sp0ttermakes it so you dont have to click that last continue17:34
Sp0tteror should i preseed that instead , if the reboot in ks overrides the halt17:35
cjwatsonno, they are complementary; do both that and what I suggested17:36
cjwatson'reboot' in ks.cfg is precisely equivalent to preseeding finish-install/reboot_in_progress so that it doesn't get shown17:36
cjwatsonaccording to the Anaconda docs, its purpose is not so much to reboot as opposed to halt, but to avoid the press-a-key message before rebooting17:37
Sp0tterexcellent17:38
Sp0tterrunning a final test in vm now, then testing  on a real machine, then  uploading my solution to my server place  :)17:38
crispincjwatson: excellent, that will help me in about 2 years when we change to your next LTS version :-)17:50
cjwatsoncrispin: if you're modifying the image, you could always import that change - it's only a few lines of shell17:51
cjwatsonhttp://paste.ubuntu.com/31788/17:51
crispincjwatson: I'm not modifying any udeb - I'm in fact trying to modify as little as possible17:57
crispinI hack it by running a sed in my preseed/late_command program :-)17:57
cjwatsonah, well, I can't offer anything less hacky if you aren't modifying anything, then18:00
Sp0tterawesome, it works perfectly18:00
crispincjwatson: thats cool, I managed to remove a huge number of hacks going from sarge -> hardy :-)18:00
mdfhi folks, question about raid support in kickstart19:08
mdfI see kickseed/handlers/raid.sh states it not supported19:09
mdfyet packages/partman/partman-md is there and looks functional19:10
mdfso is it the handler functions that need coding or is there more to it?19:13
hachimorning, this may be a bit offtopic, but in the last week nobody on #ubuntu has had a clue... I'm trying to find how you can specify the filename of the filesystem for casper. I've been reading the startup scripts in the initramfs and just can't make heads or tails of it. Do any of you know options for this?20:59
tormodhachi: what name are talking about?20:59
tormodthe filesystem.squashfs?21:00
hachifilesystem.squashfs on the CD, located at /casper/filesystem.squashfs21:00
hachiI can't figure out how it knows filesystem.squashfs is the right file21:00
tormodit's in scripts/casper IIRC21:00
hachimore importantly, I want to tell it to search someplace else21:00
hachiyeah, it's not hard coded into those files21:01
hachieverything is passed around as arguments to functions21:02
tormodinside is_casper_path() ?21:02
hachiit looks like it should be using kernel options for base filenames to check, that sort of thing, but I can't find it loading the kernel option... among other things21:02
tormodit is hardcoded to be inside a casper directory on the root of a filesystem, I think21:03
tormodthen see is_casper_path()21:04
tormodit pretty generously accepts all names ending in "ext2" "squashfs" "dir"21:05
cjwatsonmdf: somebody needs to figure out how to transform Kickstart RAID syntax into partman-auto-raid preseeding21:12
cjwatsonmdf: I tried recently and it didn't seem exactly obvious - some of the basic assumptions about how things worked were different21:13
cjwatsonright, tormod's right, though it's mostly setup_unionfs that actually does the work21:14
cjwatson    for image_type in "ext2" "squashfs" "dir" ; do21:14
cjwatson        for image in "${image_directory}"/*."${image_type}"; do21:14
cjwatson...21:14
tormodcjwatson: btw, I have some patches (rotting?) in bazaar21:15
tormodfor casper21:15
cjwatsonoh, yeah, I do need to do something about that. IIRC I merged some of yours recently21:15
tormodbut not in bzr I guess :)21:16
cjwatsonhmm, no, that was a while back21:16
cjwatsonsend mail to cjwatson@ubuntu.com and I'll have a look21:16
tormodmail? will https://code.edge.launchpad.net/~ubuntu-core-dev/casper/trunk/+merges do?21:17
tormodif you're working on casper, can you make a new branch, until lp:casper gets fixed?21:18
cjwatsonno. it won't help because any (mergeable) new branch would have the same ghosts.21:21
cjwatsonand I'm certainly not going to create an unmergeable branch.21:21
* tormod hoped that advanced launchpad features would take away the need for mailing patches around and bug people on IRC :)21:21
cjwatsonit's not really a Launchpad bug, it's bzr itself having serious trouble dealing with ghosts directly on the mainline21:22
cjwatsonI have copies of the old arch branches and have been trying to convert them and fetch them in, but it's very fiddly, you have to get the conversion exactly right or the whole thing blows up21:22
cjwatsonand so far all I've succeeded in doing is making things blow up21:23
cjwatsontormod: that +merges URL will be fine, it's just to have something in my to-do mailbox otherwise I *will* forget21:24
tormodghosts is what you get for naming a branch casper (hint the movie...) :)21:25
tormodok, I will send you a reminder21:25
cjwatsoncasper> yes, the name is explicitly intended to evoke the Friendly Ghost21:26
cjwatsonsince casper's job is to flit around the edges of your distro making little magic tweaks to cause it to boot as a live CD21:26
tormodI think bzr didn't the point :)21:27
tormod*get21:27
Sp0tterthere is a lot of symbolism in ubuntu21:37
tormodSp0tter: it's all the woodoo that makes it work21:40
cjwatsonmore that coming up with silly names is light relief from serious work :)21:50
CIA-1ubiquity: evand * r2759 ubiquity/ (debian/changelog ubiquity/components/language.py):21:54
CIA-1ubiquity: Also remove the langlevel file if it exists before we start21:54
CIA-1ubiquity: localechooser.21:54
hachiis there a way to put both 64bit and 32bit x86 casper on a single media?22:12
CIA-1oem-config: evand * r504 oem-config/ (debian/changelog lib/components/language.py):22:29
CIA-1oem-config: Also remove the langlevel file if it exists before we start22:29
CIA-1oem-config: localechooser.22:29

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