[18:50] <dx43CQ> Hello everyone
[18:55] <dx43CQ> I try to install the latest lubuntu on my macbook and I get this error at the end: https://imgur.com/a/HYVC7 GRUB installation fails and then the installer crashes. How can I fix this?
[18:57] <wxl> dx43CQ: did you file the bug report?
[18:58] <dx43CQ> wxl, the installer crashes and I can't close out of it. There's no bug report dialog box that appears after the 'installer crash' dialog box.
[18:59] <wxl> dx43CQ: aw heck.
[18:59] <wxl> dx43CQ: you still have the machine on?
[18:59] <wxl> dx43CQ: like, in the installer?
[18:59] <dx43CQ> wxl, yup
[18:59] <wxl> dx43CQ: and this is on real hardware, not a virtual machine, right?
[19:00] <dx43CQ> wxl, real hardware, a MacBook for 2008
[19:00] <wxl> dx43CQ: okie dokie. let's try to look at the log files and see if we can get some more clues.
[19:00] <wxl> dx43CQ: what we need to do is to open a virtual terminal.
[19:01] <wxl> dx43CQ: traditionally on non-macs this would be as simple as, e.g. ctrl-alt-f2
[19:01] <dx43CQ> wxl, got LXterminal open
[19:01] <wxl> dx43CQ: i think on macs, you have do like ctrl-fn-option-f2 or something funky like that. i don't remember the combination
[19:02] <wxl> dx43CQ: oh heh, that works too XD
[19:02] <wxl> dx43CQ: log files are kept in /var/log
[19:02] <wxl> dx43CQ: i would examine the apt logs
[19:03] <dx43CQ> wxl, I'm not connected to the Internet, do you think that might be it? When installing, I did choose to 'install 3ed party' apps but there's no Internet connection to the laptop at the moment.
[19:03] <wxl> dx43CQ: so look at /var/log/apt/term.log
[19:04] <wxl> dx43CQ: um, that's possible, but i'd generally expect the grub package to be a normal part of the iso. which iso did you grab?
[19:04] <wxl> dx43CQ: you can `less /var/log/apt/term.log` to page through the file
[19:04] <dx43CQ> lubuntu-16.10-desktop-amd64.iso
[19:05] <wxl> dx43CQ: if term.log is 0 size, then you'll need to look at one of the gzipped old logs, which you can do with `zcat /var/log/apt/term.1.log.gz | less`
[19:05] <wxl> dx43CQ: gimme a sec and i'll double check that package is there
[19:05] <dx43CQ> I only have eipp.log.xz and history.log in the apt dir
[19:05] <wxl> huh annoying.
[19:05] <dx43CQ> :)
[19:06] <wxl> dx43CQ: try /var/log/dpkg.log and see if that gives you anything useful.
[19:06] <dx43CQ> for full disclosure, I'm installing over a SD card.. lol
[19:06] <wxl> dx43CQ: to help with these logs, you can install pastebinit with `sudo apt install pastebinit` and then do something like `cat /path/to/log | pastebinit` and it will give you a url you can put here
[19:07] <wxl> oh you would wound't you XD
[19:07] <dx43CQ> haha
[19:07] <dx43CQ> it's worked in the past with ubuntu distros though :D
[19:08] <wxl> so are you on hexchat on THAT machine? cuz i think there's an exec command in hexchat. you could do something like /exec cat /path | pastebinit and it would put the url in this channel but i'm not sure about the syntax with hexchat, so ymmv
[19:08] <wxl> it's probably still supported, but we don't usually test such things
[19:08] <wxl> i doubt even ubuntu proper does
[19:08] <wxl> i've never seen any test cases for that
[19:08] <dx43CQ> I'm on xchat on a different machine
[19:08] <wxl> you can boot an iso on the sd card???
[19:09] <wxl> btw the manifest file in the cdimage.ubuntu.com directory shows all the included packages http://cdimage.ubuntu.com/lubuntu/releases/16.10/release/lubuntu-16.10-desktop-amd64.manifest
[19:10] <wxl> !info grub-efi-amd64-signed
[19:10] <dx43CQ> wxl, I have two computers, the macbook and a PC from 2000ish. I have one ethernet connected to the PC which I will disconntect in a minute to plug into the macbook. give me a sec, im going to get off hexchat while I unplug the ethernet
[19:10] <wxl> uhhh
[19:10] <wxl> ^^ that may be the problem
[19:10] <dx43CQ> one second
[19:10] <wxl> k
[19:11] <wxl> um ubottu you're high. it totally does.
[19:15] <dx43CQ> ok back
[19:15] <dx43CQ> let me get the pastebin package installed one second
[19:16] <wxl> pastebin*IT*
[19:19] <dx43CQ> cool it works
[19:19] <wxl> dx43CQ: anyways, i think it probably tried to grab that from the internets. i don't see it in the manifest. try to reinstall it.
[19:20] <dx43CQ> wxl, ok here it goes, going to paste  dokg.log
[19:20] <dx43CQ> try to reinstall what?
[19:22] <wxl> dx43CQ: grub-efi-amd64-signed
[19:22] <dx43CQ> ok
[19:22] <dx43CQ> installing grub-efi-amd64-signed now
[19:27] <dx43CQ> wxl, got a dependency error: http://paste.ubuntu.com/23564548/
[19:30] <wxl> dx43CQ: try `sudo apt -y --reinstall grub-efi-amd64`
[19:33] <dx43CQ> E: Internal Error, No file name for grub-efi-amd64:amd64 and E: Internal Error, No file name for grub-efi-amd64-signed:amd64
[19:34] <wxl> i have never seen that in my life O_O
[19:35] <dx43CQ> maybe it was a typo
[19:35] <dx43CQ> going to try it again
[19:35] <wxl> no i mean i never seen anything CLOSE to that
[19:35] <wxl> try `sudo dpkg --reconfigure grub-efi-amd64`
[19:36] <dx43CQ> http://paste.ubuntu.com/23564584/
[19:36] <dx43CQ> it's installed
[19:36] <wxl> yeah so let's try the reconfigure
[19:37] <dx43CQ> dpkg: error: unknown option --reconfigure
[19:38] <wxl> argh sorry
[19:38] <wxl> rarely have to do this
[19:38] <wxl> `sudo dpkg-reconfigure grub-efi-amd64`
[19:39] <dx43CQ> "/var/cache/debconf/config.dat" is locked by another process
[19:39] <wxl> did you close that installer window?
[19:40] <wxl> or do you have synaptic open?
[19:40] <wxl> or another apt running in another window?
[19:40] <dx43CQ> nope
[19:40] <wxl> ugh
[19:40] <wxl> so `sudo lsof | grep config.dat`
[19:40] <wxl> does it return anything?
[19:40] <wxl> (it will take a while)
[19:41] <dx43CQ> http://paste.ubuntu.com/23564601/
[19:41] <wxl> so something is still running somewhere
[19:42] <wxl> you could kill it but
[19:42]  * wxl chews fingernails
[19:42] <wxl> try `wmctrl -lp | grep 8891`
[19:43] <wxl> you may have to install wmctrl
[19:44] <dx43CQ> nothing, blank
[19:44] <dx43CQ> just installed it
[19:44] <dx43CQ> returns nothing
[19:44] <wxl> ok so it's running in the background somewhere
[19:44]  * wxl siiighs
[19:44] <dx43CQ> Can it be the installer that crashed?
[19:44] <wxl> give me `ps aux | grep 8891`
[19:44] <wxl> might be, but it's still running somewhere, or at least some part of it is
[19:45] <dx43CQ> can we remove the lock?
[19:45] <wxl> working towards that
[19:45] <wxl> want to see the state the process is in
[19:45] <dx43CQ> ok
[19:49] <dx34CQ-PC> I accidently crashed my laptop when trying to connect an external monitor (half of the LEDS on the laptop are dead)
[19:51] <dx34CQ-PC> wxl, I am about to try to reinstall lubuntu. Do you want me to try something before I start the installation?
[19:51] <wxl> dx34CQ-PC: naw. you might want to check and be sure the hashes are right and to check the install media, though, if you haven't already
[19:53] <dx34CQ-PC> wxl, good idea
[19:56]  * dx34CQ-PC checking disk for defects
[19:57] <dx34CQ-PC> er.. can't find the hash file on lubuntu.net...
[19:57] <wxl> yeah well lubuntu.net is not the right website either :/
[19:57] <dx34CQ-PC> wxl, errors found in 2 files!
[19:57] <wxl> there you go
[19:57] <wxl> that may have been the problem to begin with
[19:58] <wxl> http://lubuntu.me/downloads/
[19:58] <dx34CQ-PC> wxl, oo
[19:59] <dx34CQ-PC> wxl, why two domains?
[19:59] <wxl> technically there's only one
[19:59] <wxl> lubuntu.me
[19:59] <wxl> the lubuntu.net is maintained entirely by one of the original co-founders of the project, who is no longer involved
[20:00] <wxl> we've been working on getting that changed
[20:00] <dx34CQ-PC> i see
[20:00] <wxl> duck duck go will tell you that lubuntu.me is the official place
[20:01] <wxl> we're also making changes to lubuntu.me's SEO to increase its ranging on google
[20:01] <wxl> all of this stuff takes time, though
[20:05] <wxl> dx46CQ-PC: were the hashes right?
[20:06] <dx46CQ-PC> PC crashed on me
[20:06] <dx46CQ-PC> im redownloading it and will check
[20:11] <dx46CQ-PC> wxl, md5sum checks out
[20:11] <wxl> dx46CQ-PC: then it may be a copying error.
[20:11] <wxl> dx46CQ-PC: HOPEFULLY it's not an error with your SD card or the reader itself
[20:12] <wxl> dx46CQ-PC: or worse yet the driver in the kernel :/
[20:12] <dx46CQ-PC> will install onto SD card using startup disk creator
[20:22] <dx46CQ-PC> wxl, Finished, going to run the 'check the disk for defects' utility again.
[20:23] <dx46CQ-PC> wxl, Again, 2 errors.
[20:23] <wxl> dx46CQ-PC: did the hashes workout, though?
[20:24] <dx46CQ-PC> wxl, yeah the hash returned OK
[20:24] <dx46CQ-PC> darn... let me see if I find another medium
[20:24] <wxl> dx46CQ-PC: so probably something related to the sd card. or your methodology. you might try using dd
[20:24] <wxl> dx46CQ-PC: there have been a plethora of problems with image writing tools lately
[20:25] <dx46CQ-PC> wxl, do I have to format the SD card before using dd?
[20:25] <wxl> it's a good idea
[20:26] <lynorian> Are you sure sd card is a bootable device
[20:26] <wxl> well he DID boot it
[20:26] <lynorian> ok
[20:26] <wxl> sorry about the assumption of gender
[20:26] <dx46CQ-PC> lynorian, I boot off it
[20:26]  * dx46CQ-PC is male
[20:26] <wxl> (and gender identity) XD
[20:26] <lynorian> I should have read the scrollup more
[20:27] <dx46CQ-PC> funny story, I'm in this mess because I was using dd on the SD card for my raspberry pi and I accidentally dd my hard drive on my laptop xD
[20:27] <wxl> oh man
[20:28]  * wxl remembers the time he `rm -rf`'d /etc
[20:28]  * lynorian uses lsblk to make sure I have the right device
[20:44] <dx46CQ-PC> wxl, would this be ok? my SD card is sdc1 dd bs=1M if="lubuntu-16.10-desktop-amd64.iso" of=/dev/sdc
[20:44] <wxl> dx46CQ-PC: as long as sdc is not your hard drive XD
[20:44] <dx46CQ-PC> :P
[20:45] <dx46CQ-PC> does /dev/sdc need to be unmounted?
[20:45] <wxl> yeppers
[20:46]  * dx46CQ-PC sees the lights on the SD card reader blinking and lets out a sigh of relief.
[20:47] <wxl> XD
[20:49]  * dx46CQ-PC ran sync and is running the disk error utility 
[20:49] <dx46CQ-PC> There were 2 boot options this time I booted from the SD card on the MacBook, weird.
[20:50] <dx46CQ-PC> NO ERROS!!! wxl
[20:58] <matt16> Hello
[20:58] <dx46CQ-PC> wxl, ok so I ran the disk error utility and I got the GRUB installation Failed warning again.
[20:59] <wxl> dx46CQ-PC: so there were no hash errors and the boot disk check worked ok?
[20:59] <dx46CQ-PC> The differeance this time is that nothing got stuck and it rand a dignostic for bug reporting.
[21:00] <wxl> dx46CQ-PC: hm. do you have some other media you can use?
[21:00] <matt16> I was wondering if lubuntu is really lighter than unbuntu because I just installer unbuntu and it is very slow
[21:00] <matt16> thanks for your help
[21:00] <wxl> matt16: it definitely is.
[21:01] <dx46CQ-PC> matt16, yes, much lighter on the resources.
[21:01] <dx46CQ-PC> wxl I have to look around.
[21:01] <dx46CQ-PC> wxl, I'm going to disconnect the PC and connect the eth to the laptop so I can send the report to the devs
[21:01] <matt16> Ok should I download the 32 or 64 version for my mid 2009 macbook unibody ?
[21:02] <wxl> matt16: amd64
[21:03] <wxl> dx46CQ-PC: ok. i'm very baffled by this frankly. i have to wonder if you'd have the same problem if you had the thing connect to the ethernet.
[21:03] <wxl> dx46CQ-PC: this time did you REMOVE the check for the 3rd party updates?
[21:03] <matt16> great ! thank you so much for your help
[21:03] <matt16> I'll download it right now
[21:03] <matt16> have a nice day
[21:06] <dx46CQ> ok
[21:06] <dx46CQ> back
[21:16] <dx46CQ> wxl, I am still getting this error when I try to install grub via command line https://pastebin.ubuntu.com/23564927/
[21:17] <wxl> dx46CQ: you should do grub-efi-amd64 before grub-efi-amd64-signed
[21:18] <dx46CQ> wxl, that also gives me an error. https://pastebin.ubuntu.com/23564933/
[21:19] <wxl> argh something about debconf
[21:19] <wxl> dx46CQ: could you give me `ps aux | grep -i [d]ebconf`
[21:20] <dx46CQ> there you go wxl
[21:20] <wxl> it's null?
[21:21] <dx46CQ> What do you mean if it's null?
[21:21] <wxl> you didn't send anything
[21:21] <wxl> null means nothing
[21:21] <dx46CQ> http://paste.ubuntu.com/23564937/
[21:21] <wxl> liike not zero, but nothing
[21:22] <dx46CQ> yeah, it has 2 processes listed, I'm looking at it now..
[21:22] <wxl> so it's in interruptable sleep (that's the S; man ps if you want to learn more)
[21:22] <wxl> is ubiquity still running?
[21:22] <wxl> (ps aux | grep -i [u]biquity or pidof ubiquity)
[21:23] <dx46CQ> grep: ubiquity: No such file or directory
[21:23] <wxl> you must have done something wrong
[21:23] <wxl> missed the pipe perhaps?
[21:24] <wxl> ps aux | grep -i [u]biquity
[21:24] <dx46CQ> let me recheck
[21:24] <wxl> ^^ type that exactly
[21:24] <dx46CQ> everything is S
[21:25] <dx46CQ> oh sorry, I thought /exec was sending the link!
[21:25] <dx46CQ> just realized it was not
[21:26] <dx46CQ> wxl,  ps aux | grep -i [d]ebconf = http://paste.ubuntu.com/23564937/ AND ps aux | grep -i [u]biquity = http://paste.ubuntu.com/23564942/
[21:26] <wxl> dx46CQ: yeah like i said, i wasn't SURE about the exec syntax on (he)xchat. i use irssi
[21:27] <wxl> ok lot of ubiquity still running
[21:27] <wxl> huh all sleeping
[21:27] <wxl> ahhh
[21:27] <wxl> all based on apport
[21:27] <wxl> do you still have the "file a bug" window open?
[21:28] <dx46CQ> wxl, no I filed the bug and submitted it. Now I have a normal running desktop.
[21:29] <dx46CQ> Ubiquity is the installation wizard?
[21:29] <wxl> dx46CQ: then i'd try killing all those processes. since 23235 is the session leader, you might start there. `kill -9 23235`
[21:29] <wxl> yep
[21:29] <wxl> and apport collects logs and stuff to help with filing bugs
[21:29] <wxl> you can see that process is using python to run apport with ubiquity as an argument
[21:30] <jous> i does anybody speak frenche ?
[21:30] <dx46CQ> ps aux | grep -i [u]biquity returns NULL
[21:31] <wxl> that's good :)
[21:31] <wxl> !fr | jous
[21:31] <wxl> NOW try the install again, dx46CQ
[21:31]  * dx46CQ double clicking on the install
[21:31] <wxl> no
[21:31] <wxl> waaaaaait
[21:31]  * dx46CQ is waiting
[21:31] <wxl> i mean try to do the reinstall of the grub-efi-amd64
[21:32] <dx46CQ> crap ok
[21:32] <dx46CQ> lol
[21:32] <wxl> XD
[21:32] <dx46CQ> i guess i have to kill the job again huh? lol let me check to make sure it isn't running again
[21:32] <dx46CQ> ps aux | grep -i [u]biquity retuns NULL
[21:33] <wxl> now you're getting the hang of it :)
[21:33]  * wxl must mention that as a result of researching things around this topic, that he just found `pstree` which with the `p PID` argument shows a very nice tree of threads
[21:33] <dx46CQ> wxl, lol It's sad that I've been using linux for so long and still need someone to hold my hand.
[21:33] <dx46CQ> ok it installed
[21:34] <dx46CQ> going to install *-signed now
[21:34] <wxl> dx46CQ: it's not so much as holding your hand as it is nudging you along, but point taken :)
[21:34] <dx46CQ> grub-efi-amd64-signed is already the newest version (1.74+2.02~beta2-36ubuntu11).
[21:34]  * dx46CQ gives the thumbs up for grub
[21:34] <wxl> do the dpkg-reconfigure on them, one at a time, to be sure
[21:34] <dx46CQ> ok
[21:38] <dx46CQ> wxl, do I leave the "linux command line" part empty? The instruction in the reconfig says I can leave it empty
[21:39] <jous> How to get the wifi pack for Lubuntu ? please
[21:39] <wxl> dx46CQ: yes
[21:39] <wxl> tsimonq2: sthut up and read your telegram.
[21:39] <wxl> oops wrong channel hahaha
[21:39] <wxl> jous: pastebin the results of lspci, please
[21:41] <dx46CQ> wxl, should I "Force extra installation to the EFI removable media path?" I don't have any other OS on this MacBook
[21:41] <jous> sylvain@sylvain-HP-Pavilion-15-Notebook-PC:~$ lspci 00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 0b) 00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b) 00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 0b) 00:14.0 USB controller: Intel Corporation 8 Series USB xHCI HC (rev 04) 00:16.0 Communication controller: Intel Corporation 8 S
[21:41] <wxl> dx46CQ: probably.
[21:41] <wxl> jous: `lspci -nnk | pastebinit`
[21:42]  * dx46CQ going to reconfigure *-signed now
[21:43] <dx46CQ> wxl,  sudo dpkg-reconfigure grub-efi-amd64-signed returns nothing
[21:43] <wxl> dx46CQ: that's not a bad sign :)
[21:43] <dx46CQ> Is this the moment of truth where I restart and hope it works?
[21:43] <wxl> seems like it
[21:43] <dx46CQ> oh boy... here we go...
[21:43] <jous> 00:00.0 Host bridge [0600]: Intel Corporation Haswell-ULT DRAM Controller [8086:0a04] (rev 0b) 	Subsystem: Hewlett-Packard Company Haswell-ULT DRAM Controller [103c:2281] 	Kernel driver in use: hsw_uncore 00:02.0 VGA compatible controller [0300]: Intel Corporation Haswell-ULT Integrated Graphics Controller [8086:0a16] (rev 0b) 	DeviceName: Intel(R) Graphics GT2 	Subsystem: Hewlett-Packard Company Haswell-ULT Integrated Graphics Controlle
[21:44] <wxl> jous: i can't see all of it, which is why i suggest using pastebinit
[21:44] <wxl> !paste | jous
[21:45] <jous> okk sorry  i gonna try
[21:46] <dx46CQ-PC> jous, Utilisez http://pastebin.ubuntu.com/ pour éviter d'inonder le chat et également pour conserver la mise en forme.
[21:49] <dx46CQ-PC> wxl, this was the result https://imgur.com/NAKE5DG
[21:49] <dx46CQ-PC> :(
[21:49] <wxl> aw bah
[21:49] <wxl> it might be an update grub issue
[21:49] <wxl> you can try this
[21:49] <wxl> https://askubuntu.com/questions/145241/how-do-i-run-update-grub-from-a-livecd
[21:51] <wxl> dx46CQ-PC: either way, it seems to need a bug report.
[21:52] <dx46CQ-PC> yea
[21:53] <wxl> unfortunately i know we didn't have this problem on several other machines
[21:57] <dx46CQ-PC> wxl, how do I determine which sda partition I should mount?
[21:57] <dx46CQ-PC> wait a minute!
[21:58] <dx46CQ-PC> wxl, I forgot to mount the laptop's file system when installing grub!!! :D
[21:58] <wxl> dx46CQ-PC: omg.
[21:58]  * wxl facepalms
[21:58] <dx46CQ-PC> apt didn't install it onto the laptop ::facepalm::
[21:58] <wxl> dx46CQ-PC: i'm the idiot who led you astray!
[21:59] <dx46CQ-PC> haha nah it's ok
[21:59] <wxl> dx46CQ-PC: so just follow these instructions but do the reinstall instead
[21:59] <dx46CQ-PC> my live CD had grub all nice and configured. :D
[21:59] <dx46CQ-PC> yea
[22:00] <dx46CQ-PC> how do I know which partition of sda I need to mount?
[22:01] <dx46CQ-PC> I have: sda, sda1 - sda3
[22:05] <dx46CQ-PC> ps aux | grep -i [d]ebconf
[22:06] <wxl> dx46CQ-PC: `sudo fdisk -l` should make it clear
[22:08] <dx46CQ> "/dev/sda2    1050624 304723967 303673344 144.8G Linux filesystem" found it
[22:10] <dx46CQ> This is my boot part ion? /dev/sda1       2048   1050623   1048576   512M EFI System that needs to be mounted to /mnt/boot ??
[22:13] <dx46CQ-PC> nevermind wxl, I just saw fstab doesn't have /boot
[22:14] <dx46CQ-PC> oh wait, just it does...
[22:33] <dx46CQ> wxl, I have everything mounted as the article says but I can not use apt to install packages am I supposed to bind something else?
[22:36] <dx46CQ> wxl,  actually, it seems that grub-common is the only grub package available...
[22:40] <dx46CQ> http://pastebin.ubuntu.com/23565160/
[22:42] <dx46CQ> so I figured that the apt source list was out of date and tried to update them. Got an error: http://pastebin.ubuntu.com/23565161/
[22:43] <dx46CQ> ping: yahoo.com: Temporary failure in name resolution
[22:43] <xangua> So light locker is not functioning again
[22:43] <xangua> Working*
[22:58] <dx46CQ> wxl, fixed the problem with the network, had to add a DNS to /etc/resolve.conf
[23:01] <dx46CQ> wxl, I installed and reconfigured grub-efi-amd64 and grub-efi-amd64-signed
[23:01] <dx46CQ> the moment of truth...
[23:02] <dx46CQ-PC> still no grub.
[23:41] <dx64CQ> I get this error when I chroot and run the reconfigure command for grub. http://pastebin.ubuntu.com/23565431/
[23:53] <dx64CQ> wxl, Just tried grub-install --efi-directory=/boot/EFI/ and it installed something there. Let's see if that makes any diff
[23:55] <dx46CQ-PC> no go :(
[23:56] <dx46CQ-PC> I'm going to try Linux Mint see if there's any difference. It's what I used to use on this laptop. Darn, I wanted to try lubuntu