/srv/irclogs.ubuntu.com/2014/03/14/#ubuntu-us-or.txt

blkperlslangasek: install-grub is failing for me on trusty network installs :(16:40
blkperlit was working last month....16:40
slangasekblkperl: do you mean 'grub-install'?16:47
blkperlslangasek: yep16:49
blkperlslangasek: running 'grub-install --force "(hd0)"'  failed16:55
blkperlwhy does it think '(hd0)' is a valid device :)16:59
slangasekbecause grub device names are not unix device names17:14
slangasekyou should file a bug report17:15
blkperlok17:16
blkperlslangasek: against which package?17:17
slangasekit does look like the argument to grub-install is supposed to be an actual device file though, which makes sense; so the (hd0) is buggy, but no idea where it came from17:17
slangasekblkperl: grub217:17
blkperlok17:17
blkperlbug 129262817:22
lubotu1bug 1292628 in grub2 (Ubuntu) "'grub-install --force "(hd0)"' fails on trusty during installation" [Undecided,New] https://launchpad.net/bugs/129262817:22
blkperlwhat kind of information would be useful to include slangasek ?17:23
slangasekblkperl: more context from syslog, for starters17:23
blkperlok, there wasn't much in syslog beside the grub-install failing17:25
bkeroblkperl: what happens when you run the command manually?17:32
blkperlbkero: its failz :P17:33
bkerosilently? strace?17:34
bkeroYou might need to supply a device map17:34
blkperlbkero: its fails with return 117:35
bkerostrace?17:36
blkperlim doing another install, i can do that it when it gets to the grub part17:36
blkperlalthough i might not have strace in the chroot17:36
bkeroSo compile a statically linked version and copy it on :P17:36
bkeroactually just copy a dynamically linked copy over. It's only linked against libc and vdso.17:37
blkperllame Trusty still can't detect 4 monitors17:50
blkperlbkero: what am i looking for in the strace output?18:06
blkperlslangasek: syslog context added18:06
bkeroblkperl: a pastebin to dump it in18:06
blkperlbkero: http://pastebin.com/t0v0y6SM18:16
bkeroblkperl: what does your partition table look like? I see 2 partitions18:18
blkperlbkero: boot, swap, lvm18:19
bkeroblkperl: interesting18:20
bkeroopen("/dev/sda3", O_RDONLY)             = -1 ENOENT (No such file or directory)18:20
bkeroopen("/dev/sda4", O_RDONLY)             = -1 ENOENT (No such file or directory)18:20
bkeroopen("/dev/sda5", O_RDONLY)             = 518:20
bkerosda1, sda2, and sda5?18:20
blkperlyeah...18:20
bkeroblkperl: grub-probe --target=drive --device /dev/sda18:22
bkeroblkperl: grub-probe --target=bios_hints --device /dev/sda18:23
blkperlfirst one says sda, second one says hd018:24
bkeroYeah, that sounds correct18:24
bkeroMust be a legit bug. The error is happening in grub-bios-setup18:26
bkerowhich has a note at the end of the help output that says 'DEVICE must be an OS device (e.g. /dev/sda).'18:26
bkeroblkperl: echo "(hd0) /dev/sda" > /boot/device.map18:27
bkerothat makes it work18:27
bkeroerr /boot/grub/device.map18:27
blkperlhuh18:29
blkperlwell thats unfortunate, i hope they fix it18:29
blkperlbkero: yep that totally fixes it :)18:31
bkeroblkperl: added a comment18:31
blkperlbkero++18:33
blkperlslangasek: ^ So need anymore information now? :)18:34
slangasekblkperl: *I* don't; you'll need cjwatson to look at it18:42
blkperl:)18:43

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