=== cyphase_ is now known as Guest17880 === croppa_ is now known as croppa === _stowa_ is now known as _stowa === dcmorton_ is now known as dcmorton === geheimni1` is now known as geheimnis` === lordieva1er is now known as lordievader === lordievader is now known as Guest78182 === Guest78182 is now known as lordievader === Nach0z_ is now known as Nach0z [12:12] Hiyas all [14:21] greetings. I did the automatic update from realease 16.56 to releaae 16.57 and it crashed my system. Can't boot, except from Live CD )-: [14:22] of 14.04 LTS [14:22] curlyears: where do you get that number from? [14:23] are you talking about some old kernels? [14:23] k1|: it is part of the rlease # from Canonical [14:23] curlyears: no that doesnt make sense. [14:24] "the 5 is part of Cadillac" that is what it sounds like. please describe more where you get that number from and what package or program its meant for. [14:24] no. Canonical offers a subscriptio n update service. Automatically changes things up to represent the most current release of 14.04 LTS. It is currently up to release # 16.57 [14:25] as for packages, it can u[date any and all standard distro packages [14:26] never heard of such a thing. do you have paid support from canonical? [14:26] K1|: no, this was included in my 14.04 install CD, downloaded from Cannonical [14:27] ok, so canonical has nothing to do with this [14:27] you are talking about ubuntu [14:28] well, I am assuming it is from Canonical, or from ubuntu.com (org?) [14:28] OK. [14:28] scratch canonical. you are talking about ubuntu if you dont have paid support from canonical [14:29] K1|: II see. thank you [14:29] where did you get the numbers 16.56 from? what program or website did tell you that? in what context (program or package) was this number mentioned? [14:29] 16.57 is the kernel ABI numbering [14:30] TJ-: i only found a 2.6 kernel with that number [14:30] every so often a box opens on my desktop infomring my that my software is out of date, and n eeeds to be updated, and then offers me the opportunity to do so [14:30] ABI? [14:32] curlyears: so you are running ubuntu 14.04 or 16.04? [14:32] my PROBLEM is, I can only boot from my Live CD, and I can't get it to recognize the 8GB USB thumb I want to use to back up my opersobnal files [14:32] (on the install) [14:32] I suspect curlyears may mean "Ubuntu-lts-3.16.0-56.75_14.04.1" [14:32] K1|: I am running 14.04 LTS, updated to whatever the 16.57 refers to [14:33] tj- *yes* [14:33] !cookie | TJ- [14:33] TJ-: Wow! You're such a great helper, you deserve a cookie! [14:33] :) [14:33] it's the linux-lts-utopic branches, latest being "Ubuntu-lts-3.16.0-57.77_14.04.1" [14:33] tip: kernel version map tables: http://people.canonical.com/~kernel/info/kernel-version-map.html [14:33] AND IT SCREWED MY SYSTEM UP [14:34] oops, sowwy for the caps [14:34] curlyears: so when booting without the usbs, can you choose a older kernel in the grub booting menu? and try that? [14:34] boot a previous kernel? [14:35] K1| I can't even do that, because this boot-repair trick I dl-ed wiped out grub 2 [14:35] uh, it wiped grub? [14:35] I'm not quite sure why this is an ubuntu+1 issue? did you get redirected here because someone thought the 16.57 referred to 16.04 in-development? [14:36] TJ-: yes, it was reported of using 16.04 from /etc/issue [14:36] TJ-: probably. I just need to know how to backup my files toa USB thuhmb or a CD [14:36] for less confusion we could try to solve it here [14:37] k1l: agreed, I was just confirming the info [14:38] thank you guys. I can't seem to locate either EFnet or freennode networks,m which both host ubuntu support channels. The networks seem to have disappeared [14:39] curlyears: this is Freenode; these are THE support channels [14:40] oh, wait. this IS freenode, couldn't find it yesterday [14:40] there were some very active ubuntu support channels undeer EFnet [14:41] curlyears: so, let's get clear what the situation is. You have at least 2 PCs. A good one you're chatting on IRC from, and the currently broken-boot PC? [14:41] no, I have one system. Currently booted in Live CD versions of ubuntu [14:42] curlyears: OK, so we can use a chroot environment to fix it [14:42] TJ- sounds good [14:42] curlyears: does the PC have UEFI firmware? [14:43] TJ-: I don't ghonestly know. what is UEFI? [14:43] (I have been away from the computer environemtn for a few years now, and what I did know I don;'t remember well) [14:44] curlyears: Do "dmesg | grep EFI" - get any results ? [14:44] curlyears: UEFI is the sucessor to BIOS firmware, and it affects the 'mode' the PC boots in and what boot loader files may be installed [14:47] *DAMN*there are 4 lines relating to EFI, it seems to have it, and it appears to be related to my graphics capabil;ity [14:48] curlyears: that's fine, so now lets find out if the Live ISO booted in EFI mode. Do "ls /sys/firmware/efi/" and tell us if you see any entries [14:48] curlyears: with UEFI firmware, it has a Legacy BIOS emulation option so you can still have a system boot in the BIOS mode. /sys/firmware/efi/ only exists when the boot mode was pure EFI [14:51] 4 files sand 5 dirs in that directory [14:51] curlyears: OK, so the Live has booted in EFI mode. [14:52] curlyears: and as it has networking we can easily get you to collect info in a pastebin. Do "sudo apt-get install pastebinit" so the tool is installed [14:54] E: unable to locate package pastebininit [14:56] pastebinit, not pastebininit [14:58] OK. done [14:59] next:? [15:02] hello? [15:03] am I lagged? [15:04] curlyears: don't worry; I have other things to do as well [15:04] sorry [15:04] curlyears: use TAB if you wanna wake up someone [15:04] !tab | curlyears [15:04] curlyears: You can use your key for autocompletion of nicknames in IRC, as well as for completion of filenames and programs on the command line. [15:04] curlyears: "pastebinit <( sudo lsblk -f; parted -l )" [15:06] Failure to communicate with kernel device-mapper driver. [15:10] curlyears: and no pastebin URL ? [15:11] TJ: pastebin: conmmand not found [15:12] I didn't give you that as a command [15:12] not sure where Live would have stored 'psatebin' no HDDs [15:12] curlyears: type the command exactly as I gave it inside the " ... " marks [15:18] http://paste.ubuntu.com/14128364/ [15:19] TJ- sorry...physical limitations, my typing isn't always accurate [15:19] curlyears: OK, well, it looks like the installed system is currently mounted at /media/ubuntu/b91 [15:20] ahhhh [15:20] curlyears: and I'm going to guess that maybe its /boot/ file-system is /dev/sda1, so lets check with "pastebinit <( sudo blkid /dev/sda* )" [15:21] http://paste.ubuntu.com/14128396/ [15:24] curlyears: OK, now let's create a chroot environment: "for N in proc sys dev dev/pts run; do mount --bind /$N /media/ubuntu/b91/$N; done" [15:24] curlyears: hang on, typo, missed out 'sudo': "for N in proc sys dev dev/pts run; do sudo mount --bind /$N /media/ubuntu/b91/$N; done" [15:24] curlyears: once that is done, enter into the chroot with "sudo chroot /media/ubuntu/b91" [15:25] curlyears: then you should do "mount -a" and then "grub-install" and then, if no errors reported, "update-grub" [15:25] bash: syntax error near unexpected token `do' [15:26] curlyears: did you miss out the semi-colon before that ? [15:27] TJ-: negative. I copy-pasted it [15:27] had to add a 'sudo' in front of it, though [15:27] curlyears: the sudo goes after 'do' but before 'mount' [15:28] curlyears: maybe you got it on the wrong location? [15:33] I'm leaving now, I'll let someone else take over [15:33] claims mount: mount point /media/ubuntu/b91/'whatever' does not exist [15:33] claims mount: mount point /media/ubuntu/b91/'whatever' does not exist [15:36] thank you , TJ- [15:37] curlyears, entry in /etc/fstab? [15:38] hang on, BluesKaj [15:41] BluesKaj: when I try to cd into /etc on the HD it tells me "no such file or directory" [15:56] ?? [15:58] curlyears: Wut? No /etc? [16:03] curlyears, try the run command (alt+F2) /etc/fstab [16:04] well, when I do an ls of the 500GB drive, from a term window, I see it. And the file bropwser is graphicsa mode see it. but if I attempt to cd to it, it says it isn't there. [16:06] why are you using cd? [16:09] weird: when I do a cd to /etc, it says no such file or directory. when I do suco cd /etc it says sudo: cd: command nnot found [16:09] curlyears, what are you attemting to do btw ? i just joined so i didn't see your interaction with TJ- [16:11] Bluesky: when I appled the 16.57 update from ubuntu, it wiped out my systems ability to boot [16:12] s/suco/sudo/ [16:12] I've bveen fighting with this for about 116 hours, between yesterday and today. [16:13] I either need to rec over the ability to boot, or I need a way to backup my personal files offf thwe HAD, so I can re-install [16:13] 16 hours [16:14] *wah* [16:14] (-: [16:14] I'm back :) [16:15] BluesKaj: curlyears has a broken boot for a BIOS/MBR install on a UEFI-based PC, previous commands showed the root-fs of the system is mounted at /media/ubuntu/b91 [16:15] BluesKaj: curlyears lsblk, parted: http://paste.ubuntu.com/14128364/ [16:16] BluesKaj: curlyears: blkid: http://paste.ubuntu.com/14128396/ [16:17] curlyears: what does "ls -latr /media/ubuntu/" show? [16:19] TJ-, glad you're back, I'm not so great with UEFI stuff [16:19] three dirs: this b9164e05-7a4a-4f9e-913f-ba41f1b54b97 and . and .. [16:20] hi TJ- [16:21] alright! I managed to cd to the HD [16:22] \I anm assuing that b91 plus 'uuid' of the device [16:23] \? [16:23] dang it. I keep forgetting to switch windows [16:27] why does the Live CD fail to recpgnize the 8GB USB thumb I have plugged in when it boots? [16:29] hmmm...the fstab.d directory is empty [16:32] curlyears: re that "b9164e05-7a4a-4f9e-913f-ba41f1b54b97" vs the early command output with only "b91" - that tells me you're not issuing the commands I asked you to do, and are consequently truncating the command output, which makes it impossible to effectively help you [16:34] TJ: I copied and pasted them without changing them at all )-: [16:36] curlyears: do you mean you copied the output of the commands manually to the web-site pastebin.ubuntu.com ? [16:36] no. [16:37] i copied the commands off the [16:37] no, [16:37] i copied the commands from the [16:38] iRC window to the terminal window, and then pasted [16:38] because line 6 of http://paste.ubuntu.com/14128364/ is truncated; and that wouldn't happen if using a the command pipeline I provided. We should be seeing not "/edia/ubuntu/b91" there, but "/media/ubuntu/b9164e05-7a4a-4f9e-913f-ba41f1b54b97" [16:39] hmmm. I don't know what went wrong )-: [16:40] curlyears: the literal command being executed is "pastebinit" - that is actually /usr/bin/pastebinit... it collects all the output from the commands inside the <( ... ) sub-shell and sends it to the Ubuntu pastebin server. It then writes to the terminal the URL of the pastebin, which you pass on to us. [16:40] curlyears: is that what you did? [16:41] curlyears: I'm trying to the 100% precise here because it's little things like this that make diagnosing and fixing issues much more difficult if there's some miscommunication [16:41] s/to the/to be/ [16:42] OK...shall we tyr again? [16:43] let me give you an example in a pastebin, maybe that'll clear it up :) [16:43] how do I access the pastebin? [16:44] for incoming stuff [16:45] oh, I see: hjttp://pastebinubuntu/#/ [16:46] curlyears: I was about to give you an example, but the Ubuntu server has started timing out! [16:46] TJ-: do you happen to be Lithuanian [16:46] curlyears: No, British [16:49] Ah, how're thiings in Jolly Old? [16:50] curlyears: OK, take a look at this, it shows how at the shell prompt '$' I issue the entire command... I see some errors reported then the final output is a line with the URL http://paste.ubuntu.com/14129118/ - the URL that command writes to terminal is what you should pass on to us when we ask you to run the 'pastebinit' command [16:50] that figuresd. I tend to have somepretty deplorable luck [16:50] curlyears: see http://paste.ubuntu.com/14129136/ [16:51] curlyears: I'm trying to be 100% certain you're executing the command including the 'pastebinit <(' part [16:52] curlyears: when I provide you commands to execute, you use *everything* inside the double-quote " marks [16:52] curlyears: anyhow, now we know where things are, lets get on with fixing your issue. [16:52] http://paste.ubuntu.com/14129167/ [16:53] of course. [16:54] curlyears: do "sudo mkdir /target; mount /dev/mapper/ubuntu--vg-root /target" [16:54] curlyears: no, stop, I mistyped again! wait a mo [16:54] curlyears: do "sudo mkdir /target; sudo mount /dev/mapper/ubuntu--vg-root /target" [16:56] mkdir: cannot create directory ‘/target’: File exists [16:56] * genii gets TJ- a coffee [16:56] curlyears: hmmm, you've already been doing some work on this then? [16:56] genii: bring me the barrel! [16:57] * genii rolls out the barrel [16:57] * TJ- hides behind the seigfried Line [16:57] mount: /dev/mapper/ubuntu--vg-root already mounted or /target busy [16:57] mount: according to mtab, /dev/mapper/ubuntu--vg-root is already mounted on /target [16:57] ah [16:58] curlyears: OK, so you've already been doing 'stuff' in this live session then? [16:58] that's a good thing, right? [16:58] curlyears: "pastebinit <( mount )" [16:59] no, I think what happened is the command failed after the creation and mount, then i RABN IT AGAIN. [16:59] hmm pastebinit really needs to be more automatic for this type of thing [17:00] *more* automatic? [17:00] http://paste.ubuntu.com/14129257/ [17:01] TJ-: Yeh, start a pastebin shell; all output goes to it [17:01] penguin42: oh, you mean our new project. talk to daftykins in -discuss, we have a surprise waiting there [17:02] TJ-: Ah good if someone is doing that [17:03] penguin42: yeah, I'm writing it and putting a site up for it [17:03] curlyears: OK, now do "sudo umount /media/ubuntu/b9164e05-7a4a-4f9e-913f-ba41f1b54b97 " [17:03] TJ-: Perhaps it can also end the tyranny of people doing teleconference demonstrations of shell stuff where you end up with the text being rendered into their terminal, it being screen scraped, badly video encoded, transmitted at high bit rate and then messed up in your browser; when it was just text [17:05] curlyears: then do: ""for N in proc sys dev dev/pts run; do sudo mount --bind /$N /target/$N; done" [17:05] penguin42: yeah; simply 'bash -c script -f /dev/tcp/squoo.sh/112' or similar [17:05] nod [17:12] hello is it possible to install 16.04 for tests ? i have missing package when trying "cups-filters : Depends: liblouisutdml-bin but it is not installable" [17:12] OK [17:14] curlyears: right, so you've done that "for N in .." command? If so, then you can now enter into the broken system with "sudo chroot /target" [17:16] that seems to hacve worked )-: [17:17] curlyears: OK, so now inside that system you're now the superuser, so no need for 'sudo' for the commands [17:17] ok, no sudo [17:17] curlyears: ensure all the required file-systems are mounted as per its /etc/fstab: "mount -a" [17:18] w0jtas1: have you tried installing that package manually? sudo apt-get install liblouisutdml-bin [17:20] are you telling me to "mount -a"? [17:21] slidinghorn: that's during system install ( net installer ) [17:22] w0jtas1: and you're attempting to install 16.04? [17:27] TJ-: all mounted with no errors [17:28] yes 16.04 [17:28] as long as were at this, how do I cause 14.04 to recognize the new harddrive I've installed, and get it mounted? this uuid stuff is new to mwe and very puzzling\ [17:28] slidinghorn: yes 16.04 [17:35] w0jtas1: where did you get a netinstall iimage for 16.04? I'm not seeing one on the site. [17:35] curlyears: sorry, had to go do some things. Back now. [17:36] anyone using letsencrypt on xenial? [17:36] s'OK, thanks TJ- [17:36] i have a segmentation fault now, was working fine last week [17:36] http://archive.ubuntu.com/ubuntu/dists/xenial/main/installer-amd64/current/images/netboot/ [17:37] slidinghorn: http://archive.ubuntu.com/ubuntu/dists/xenial/main/installer-amd64/current/images/netboot/ [17:37] curlyears: first lets ensure the target has network connectivity: "ping -nc 5 8.8.8.8" [17:38] ubuntu packages find this package, weird :/ http://packages.ubuntu.com/xenial/liblouisutdml-bin [17:38] yep, that worked [17:39] curlyears: and now let's check it also has DNS name resolution: "ping -c 5 google-public-dns-a.google.com" [17:40] curlyears: that's the name for the 8.8.8.8 IPv4 address; so you're pinging the same host again [17:41] curlyears: ok, now install the pastebinit package in case it isn't already installed: "apt-get install pastebinit" [17:44] w0jtas1: you've verified the image, correct? (just covering bases) [17:46] slidinghorn, yes, i will try tomorrow morning using official mirror, maybe my apt-mirror is freaking as in nl mirror i can see such Package in Packages but not after doing mirror [17:54] ok, nl mirror went through, mhmm weird [17:55] must've been update and package added in last minutes [17:55] ok, nvmd [17:55] w0jtas1, any packages installed via ppa? [17:56] BluesKaj, nope i am doing fresh system install [17:56] w0jtas1, good idea..ok [17:57] ah nope, failed again :/ [18:01] ok gotta go, "Package 'liblouisutdml-bin' has no installation candidate" dunno why :/ [18:02] w0jtas1: You do get some broken packages during development, so it's not unusual [18:04] yep, dns works [18:07] hmm looks like i can't install anything from universe repository [18:09] it's not normally that broken - what are you trying to install? [18:13] now tried nginx for example few different random packages [18:13] ok really must leave now, launched installation from official mirror, maybe it's mi local mirror broken [18:13] w0jtas1: nginx ok here [18:13] https://www.youtube.com/watch?v=wyUR1_19KAM [18:13] oops [18:14] ignore that [18:14] must be apt-mirror breaking for me then, each single package was failing for me [18:14] I mean Setting up nginx (1.9.6-2ubuntu1) ... [18:14] now reinstalling from main mirror [18:14] will see in the morning, cya [18:26] E: Opening configuration file 5 - ifstream::ifstream (2: No such file or directory) [18:26] when I triesd to install pastebiin [18:27] E: Opening configuration file 5 - ifstream::ifstream (2: No such file or directory) when I tried to install pastebinit [18:27] . [18:27] . [18:28] E: Opening configuration file 5 - ifstream::ifstream (2: No such file or directory) when I try to instrall pastebinit that way [18:29] E: Opening configuration file 5 - ifstream::ifstream (2: No such file or directory) when I try to instrall pastebinit that way [18:29] . [18:29] . [18:29] . [18:29] . [18:29] . [18:29] lll [18:29] lll [18:30] !paste curlyears [18:30] !paste | curlyears [18:30] curlyears: For posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. [18:31] sorry....I am having difficulties with my client: KiwiIRC [18:31] that's better\ [18:32] TJ-: is my system ready to reboot into normal mode? [18:34] OK, while I wait for TJ-: hhow do I "install" a new HD so ubuntu (14.04 LTS) sees it and mounts it? [18:35] if its technically installed ubuntu should list them on "sudo parted -l" [18:35] with thhis new EFI stuff, I don't recognize the mass storage method [18:37] efi doesnt related to hdds [18:40] k1\; excuse me: with the newer ubuntus then. All this multi-digit "uuid" stuff is a mystery to m e\ [18:41] for example: how do I mount a USB thumb as a drive? [18:41] I knnow this is a 16-* channel, but I couldn't find any good assistanc e anywhere else [18:42] uuid is just a unique name for a partition sind the "sda5" might change when you change the partitions or some mainboards change them every boot. [18:42] this is not new. uuids are there since some years [18:42] Quite a few years [18:42] OK.. such large numbers of digits makes them somewhat inconvenient tyo handle thouogh )-: [18:43] curlyears: most times that should be done automatic by your filebrowser like nautlius. if nautilus doesnt do it there might be an issue. [18:43] curlyears: tab-complete [18:43] curlyears: see "dmesg" after you put the usb in [18:43] \genii: last time I played around with anything technicL UNDER UBUNTU WAS ABOUT 5-6 YEARS AGO [18:43] curlyears: Mounting by UUID has been since 8.04 [18:44] ...so more than 5-6 years [18:53] well, I guess I don't know what to look for in the output from dmesg [18:53] then pastebin it [18:54] genii: well, however long it's been, I don't know howto use the "uuid" approach. [18:54] I also don't understand how to moount additiional devices, since editing of fstab is prohibited by the OS [18:56] curlyears: You're still allowed to add stuff to /etc/fstab [18:56] http://paste.ubuntu.com/14130961/ <- output from my dmesg command [18:57] penquin42 when I have tried to edit fstab, the OS tells me that isn't permitted. Even when doingh it with sudo [18:57] curlyears: Your USB device is apparently unpartitioned [18:58] where the penguib: of course, it's brand new. How do I prepare it? [18:58] and where the **** is fstab? I see /etc/fstab.d, which is empty [19:00] curlyears: you are using a live-system right? [19:00] k1| yes, but TJ- got me chroot to my system HD [19:01] ok, yo you dont need to use fstab to mount usb drives. [19:01] how do ZI mount USB crives, then? [19:02] (I am also trying to get a new HDD I installed mounted permanently) [19:02] if I could mount this USB, I cou.ld back up my personal files, and just reinstall ubuntu. [19:03] i dont see anything related a new usb pendrive been put into the pc on that dmesg output [19:03] so did you do this: put usb drive in, type dmesg in terminal, pastbin the output? [19:04] k1| neither did I. I used the system check that comes on the install CD to check the system, and my hardware automatically detects USB insertions and removals, so what am I doing wrong? [19:04] the USB drive is in, and has been since I booted the system earlier [19:05] I believe the system sees the new HDD as /dev/sdb, soihow do I mount it? [19:06] curlyears: we cant know such details if you dont tell them. [19:07] curlyears: so please pastebin a "sudo parted -l" [19:07] http://paste.ubuntu.com/14131066/ [19:07] curlyears: always keep in mind that its support though a cable. we dont see or know what you do. [19:08] I removed the USB drive from the external hub, and reinstalled it into the front panel. that isd my new dmesg [19:10] pastebinit <(parted -l) results in an error [19:10] Failure to communicate with kernel device-mapper driver. [19:10] Most likely because parted has issues from inside your chroot [19:11] genii great [19:11] k1l: As I understand they are in a chroot onto the root of their previous failed installation [19:11] correct, genii [19:11] ah ok [19:11] so that dmesg is not helping either [19:12] Yes, exactly [19:12] where would the USB thumb appear in /dev? [19:14] I need to have access to some other mass storgae device than my main HDD, I don't care what it is [19:15] doggone it. [19:16] do you know I've been in here about 5 hours so far today. You guys are great] [19:17] I truly appreciate the off-topic assistance [19:18] is this chroot still needed? [19:20] \can I reboot from my HD agasin? [19:21] i dont know what that chroot was needed for and if its still needed [19:22] k1| me neither. TJ- had me do it. [19:22] You will probably need to exit the chroot, bind-mount /proc, /dev/, and /sys to the corresponding directory of your old install which I think was in /media somewhere. Also to cp /etc/resolv.conf to the mounted resolv.conf [19:23] k1l: I believe the original point of the exercise was to get grub installed properly onto the drive, which was not booting [19:24] I do not understand all that genii. Can you give it to me one command/action per line? [19:24] yes, that was it, genii. how do I check to be certain that it is? [19:29] curlyears: sorry, been on another system. The chroot /target is for fixing the boot loader failure. The missing USB device had nothing to do with that [19:29] TJ- well, let's continue with the boopt-loader than [19:30] and welcome back! [19:31] no one else seemed to understand why I was chroot-ed, and so I was trying to deal with this mounting thing in the meantime] [19:31] s/than/then [19:31] curlyears: Right, what was the last command I gave you that you executed? [19:32] curlyears: I think it was ensuring the 'pastebinit' package is installed in the chroot ? [19:32] uhm....I donm't recall...hang on [19:34] yes, that's correct, TJ-, and yes, it is [19:35] curlyears: OK, lets gather some info then: "pastebinit <( cat /etc/fstab; mount; ls -latr /boot/ )" [19:36] TJ-: From what I can tell, you had them mount proc sys dev dev/pts to /target instead of somewhere in /media [19:36] http://paste.ubuntu.com/14131329/ [19:38] curlyears: ok you're not in the chroot, so "sudo chroot /target" then "which pastebinit" - if that command doesn't return with "/usr/bin/pastebinit" do "apt-get install pastebinit" then do "pastebinit <( cat /etc/fstab; mount; ls -latr /boot/ )" [19:42] E: Unable to locate package pastebinit [19:42] From what I can make of backscroll, the hd to which ubuntu was installed was seen at /media/ubuntu/b9164e05-7a4a-4f9e-913f-ba41f1b54b97 which you had them un-mount, but no hd was ever mounted to /target, just the dev proc sys and so on [19:44] genii: well my normal filesystem is present onm the /target [19:46] genii: right, we unmounted that and mounted the file-system at /target/ [19:47] curlyears: OK, please do "cat /etc/issue" and tell us, in here, what it reports? [19:47] genii: then we bind-mounted the virtual file-systems under /target/ and chroot-ed in [19:48] Ubuntu 14.04.3 LTS \n \l [19:50] curlyears: OK, so if the pastebinit package is not available that suggests the source.list is bad. Type "exit" to leave the chroot and get back to the Live environment [19:50] curlyears: then do "pastebinit /target/etc/apt/{sources.list,sources.list.d/*} " [19:51] TJ-: Alternately, the chroot resolv.conf may not know anything [19:51] OK, back to the ubuntu2ubuntu;~$ prompt [19:52] genii: possibly, yes, but earlier we did 2 ping tests with both IP and hostnames and both worked, to ensure there is full connectivity within the chroot [19:52] You are trying to send an empty document, exiting. [19:53] curlyears: "pastebinit <( ls -latr /target/etc/apt/ )" [19:53] http://paste.ubuntu.com/14131470/ [19:54] Yes, zero legth sources.list there [19:54] *length [19:57] curlyears: and now "pastebinit <( ls -latr /target/etc/apt/sources.list.d/ )" [19:58] http://paste.ubuntu.com/14131514/ [20:01] did i read that dmesg right, that its a btrfs on a raid? [20:02] k1| on whose dmesg? [20:02] curlyears: on your [20:03] k1| my MB supports a RAID configuration, but it is not being used, no. I have DVD, 1 500GB HDD a,d 1 3TB HDD [20:04] if I had $250, I could buy another 2 3TB drives and be in storafge heaven [20:07] curlyears: OK, I've created a default APT sources.list here; you can directly download it to that system. first check you have the tool: "which wget" [20:07] and 5 8GB thumbsm which will eventully carry the differnet boot configs for my Raspberry Pi [20:09] curlyears: if the tool exists, do "wget -O /target/etc/apt/sources.list http://iam.tj/projects/ubuntu/trusty-sources.list " [20:10] curlyears: then, you can do "sudo chroot /target" and then "apt-get update && apt-get dist-upgrade" to get the packages into order [20:10] curlyears: I'm going to dinner now [20:11] the result of that was a single c vhar on a line: > [20:11] \and it's just sitting there at that prompt\ [20:11] curlyears: you mist have typed unmatched quote marks. You don't need to type the ", just what is inside them [20:11] curlyears: type another " and press Enter [20:12] OK, TJ- thanks for all the help...enjoy! [20:12] OK, TJ- thanks for all the help...enjoy! [20:17] apt-get update [20:21] I did all those things TJ- said to do, and I am still getting an "unable to locate package pastebin" error when I try to install pasatebin )-: [20:22] curlyears: the package name is pastebinit [20:22] apt-get install pastebin [20:22] apt-get install pastebinit ...rather [20:23] youo're right, of course. But I tried that, and it is still giving me the same error [20:26] *sigh* if I could just get my second HDD mounted, or my USB thumb to work, all of this could just go away [20:27] my second HDD is a 3TB SATA drive, showing up ub /dev as sdb, I beluieve. what would I have to type to mount it? [20:31] s/ub/on/ [20:34] hello? [20:34] cd ../../.. [20:35] oops.....wrong window *blush* [20:39] genii ? k1|? have you given up on me? [20:42] curlyears: use TAB to highlight users [20:42] !tab [20:42] You can use your key for autocompletion of nicknames in IRC, as well as for completion of filenames and programs on the command line. [20:43] lotuspsychje: are you really a person? [20:43] yes... [20:43] trying to help you curlyears [20:43] curlyears: I'm at work, so always going back and forth fromt he computer [20:44] do you think you could help me with my problem? TJ- had to go to dinner [20:44] genii: what sort of job do you have? [20:44] curlyears: it helps if you re-ask your issue once in a while, all in one line so others can read: ubuntu version + problem details [20:44] curlyears: Superintendent of an old office building [20:45] Also elevator operator of same building [20:46] ahhhhh [20:46] curlyears: So at this point you should be in chroot in /target with internet connectivity [20:46] I think that is correect. still cannot install pastebinit. [20:47] curlyears: If you do: ping -c5 8.8.8.8 ..do you get a result that it is reaching that Google machine? [20:49] yup, it sees 8.8.8.8 just fine. Also seems to have DNS services available [20:52] When you do the: apt-get update ...is it going through a list of things or just coming right back to command prompt? [20:54] update goes through 7 steps then says "Reading package lists... Done" [20:54] \apt-get install pastebinit [20:55] still the same error, after running update [20:55] 7 sounds too small. [20:56] that's all it's doing [20:56] * genii scrolls back to see what sources.list TJ- provided [20:57] Weird, Trusty [20:57] genii: it is a trusty install, based on the /etc/issue [20:57] curlyears: You installed Xenial, yes? [20:58] genii: the issue came to this channel due to some earlier confusion; but kept here to avoid confusion in #ubuntu [20:58] * genii checks to see they're in the #ubuntu+1 channel [20:58] genii: originally k1l_ thought it was a 16.04 issue, because of a Trusty kernel with ABI version ending 16-0.57 [20:58] genii: I don't think so...this isn't a ubuntu 16 versiopn, it's 14.04 [20:59] curlyears:Now that you're in the chroot, what says result of: cat /etc/issue [20:59] cat: /etc/isssue: No such file or directory [21:00] hello again, TJ-. Finish with dinner already? Mine is sdtill 2 or 3 hours off [21:01] curlyears: what does "pwd" report ? [21:02] ls: cannot access /target/etc/apt/sources.list.d/: No such file or directory [21:02] btw [21:02] pwd yields: / [21:03] prompt it root@ubuntu:/# [21:03] curlyears: OK, that's what we'd expect inside the chroot, but it could also be outside it! what does "mount | grep '/ ' " report (note the space after the / is important!) ? [21:04] The chroot fstab shouldn't know anything about /target [21:07] * curlyears can't seem to send messages [21:08] * curlyears /dev/mapper/ubuntu--vg-root on / type ext4 (rw,errors=remount-ro) [21:08] that seems to work [21:08] yay [21:11] weird..second time it's done that today [21:14] !info pastebinit trusty [21:14] pastebinit (source: pastebinit): command-line pastebin client. In component main, is optional. Version 1.4-3 (trusty), package size 14 kB, installed size 164 kB [21:16] curlyears: so what does "ls -l /etc/fstab" show you? [21:18] I'm thinking something like mkdir tmp && cd tmp ..then: wget http://archive.ubuntu.com/ubuntu/pool/main/p/pastebinit/pastebinit_1.4-3_all.deb ..then: dpkg -i pastebinit_1.4-3_all.deb ...to get pastebinit manually installed. But it depends on python3 which not sure if installed by default [21:19] ..also the lists of whats installed is likely screwy also [21:22] *YAY* that worked!! ---> http://paste.ubuntu.com/14132375/ [21:22] so bnow what do I need to pastebin for you? [21:23] /etc/fstab :) [21:24] For this you can just do: pastebinit /etc/fstab [21:25] http://paste.ubuntu.com/14132426/ [21:26] There are two / specified in there [21:26] I have no idea why... [21:27] mount | pastebinit [21:28] http://paste.ubuntu.com/14132449/ ls -l /et/fstab [21:29] That one isn't helpful :) [21:30] the UUIDs we have in a very old pastebin http://paste.ubuntu.com/14128396/ [21:30] so /boot/ is sda1 as I expected [21:31] yes, and my 3T driveis sdb [21:31] curlyears: line 10 of that fstab is going to break things. Please do "umount /dev/mapper/ubuntu--vg-home" [21:31] curlyears: you have that mounting over the root file-system; no wonder we couldn't see any files in /etc/ [21:32] That explains some things [21:32] curlyears: after that 'umount' command you should be able to do "ls -l /etc/apt/" and see something more! [21:35] why would it have that? when I cd into it, it has the name /home/tkeller/3Dprinter when I pwd, not / [21:36] umountumount: /dev/mapper/ubuntu--vg-home: not found [21:37] oopds, ignore the first "umount" in that line, it is r4eally: umount: /dev/mapper/ubuntu--vg-home: not found [21:37] cd ../.. [21:38] yes, I see a dir with numerous files in it [21:41] man, entering the mkfs command was tricky, I had to convert from TB to MB in my head [21:42] s/MB/KB/ [21:42] ...and you're using mkfs ...why..? [21:43] to make a filesystem on that 3T drive, so I can backup my personal files off the sda11 drive, to save them while I reinstall [21:44] that thing has 3,000,000,000 KBs on it [21:53] do, TJ-, is my system ready to reboot in normal mode yet? [21:54] curlyears: It seems to be so broken as to be next to impossible to fix; every time we try something straigntforward the results make it look worse. Not sure what's been done to it but I don't think its recoverable at this rate [21:56] I still don't think there's been a grub-install/update-grub done [21:56] So it's likely it still won't boot [21:56] TJ- than I'll remount that 3TB drive, copy all my files to it, unmount it, and reinstall from scratch. maybe i should get a new install CD, so I don't have to wait forever for it to update. This CD is well over a year old [21:58] there has'nt been, genii [21:59] hmm...won't be able to get a new install CD until I can reboot from the HD, the system is running off the Live CD, if I remove it from the CDRW drive, the system won't bve able to fiond any of it's commands [22:01] curlyears: If you run: update-grub ...what does it do? [22:01] I wish I knew what went wrong with that automatic update 0-; [22:02] UP/usr/sbin/grub-mkconfig: 250: /usr/sbin/grub-mkconfig: cannot create /boot/grub/grub.cfg.new: Directory nonexistent [22:03] I did that from my chroot [22:03] ignore the UP there...bad typing again [22:04] no /root dir )-: [22:05] could I copy what's in the CD /root to there and expect it to work? [22:05] No [22:06] sda1 shyould be mounted as the /root drive [22:06] ls -al [22:07] curlyears: Currently, I would exit the chroot with:exit ...then sudo nano /target/etc/fstab and comment out or remove the problemmatic line we saw previously, save the file. Then chroot /target once more [22:08] ( the line which was line 10 in the pastebin ) [22:10] which problematic line is that? I just created /boot/grup, then ran update-grub. It made a grub.cfg file with 3900 bytes in it. [22:10] what is nano? [22:11] is it an editor? I am an old vi fan [22:12] I am old, period. Will soon be 64 [22:14] old fart <--- [22:14] Use the editor of your choice. [22:15] The line which mounts /dev/mapper/ubuntu--vg-home to / needs to be commented out [22:20] doggonwe it, I was afraid of that! I deleted the wrong frickin line form /target/etc/fstab and now I don't now how to get it back [22:20] *grrrrrr* [22:20] You can always exit without saving and try again [22:21] mount /dev/sda0 /target [22:21] already excited [22:21] \exxited [22:22] curlyears: For comparison, this was the fstab you posted earlier: http://paste.ubuntu.com/14132426/ [22:23] *.YAY* i WAS ABLE TO CHROOT BACK INTO IT./ oops [22:25] curlyears: Did you make the correct change to /target/etc/fstab first? [22:26] wait. when I cd into /target, and do a pwd, it says I am in ubuntu@ubuntu:/target, not root@ubuntu/ [22:27] curlyears: cd .. && sudo chroot /target [22:27] geniI I thihkn I deleted the wrong line. If I can bring that file up again, I can retrieve the line I deleted from that old pastebin [22:28] that's what I did genii [22:28] So in that case just the cd .. part and then edit the /target/etc/fstab file as admin in the CLI editor of your choice, save it, THEN do the sudo chroot /target [22:29] ahhh, now it's working. [22:30] curlyears: So now you are chrooted into /target? [22:32] exitOK, that's corrected that stupid mistake. [22:32] I am now, with the fstab corrected [22:33] curlyears: So at this point, do you get a list of files when you do: ls /etc ...? [22:33] ls /etc [22:34] * genii makes more coffee and grabs a couple of aspirins [22:35] yes, a huge list...and fstab and fstab.d are both there [22:35] Good. [22:36] curlyears: So at this point, try the: apt-get update && apt-get dist-upgrade [22:36] and update-grub has been run and created a file named grub.cfg [22:38] Calculating upgrade... Done [22:38] 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. [22:38] Hm [22:39] I think I'lll just take the hit, back my files off to the 3TB drive, and reinstall. [22:39] curlyears: When you ran update-grub did it find kernels to boot? [22:40] it didn't say anything about kernels [22:40] Generating grub configuration file ... [22:40] Warning: Setting GRUB_TIMEOUT to a non-zero value when GRUB_HIDDEN_TIMEOUT is set is no longer supported. [22:40] done [22:41] can you show a "ls -al /boot" in a pastebin? [22:43] http://paste.ubuntu.com/14133024/ [22:44] there are no kernels. [22:44] how do I fix that? [22:44] is it the right /boot? was it a different partition? is that partition mounted? [22:44] I think the /boot dir got trashed byb the upgrade [22:45] i dont think so. [22:45] apt-get install linux-image-generic [22:45] ..should populate it [22:45] if its a lvm, does it need a seperate /boot partition? [22:46] k1l: Not sure, I don't use lvm :-/ [22:46] aBuilding dependency tree [22:46] Reading state information... Done [22:46] E: Unable to locate package linux-image-generic [22:46] i think so, genii [22:47] curlyears: please pastebin a "mount" and a "sudo parted -l" [22:47] shiould I mount the /boot partition? [22:47] No [22:47] curlyears: theoretically yes. but lets just get the facts collected [22:48] ( at least, not yet! ) [22:48] http://paste.ubuntu.com/14133047/ < from mount [22:49] Looks like it's mounted already on sda1 [22:49] http://paste.ubuntu.com/14133057/ <- from parted -l [22:49] hmmmm [22:50] yeah, then somehow magically the kernels dissapeared. [22:50] meaning: you removed the kernels. [22:50] sudo apt-get install linux-generic [22:51] Reading state information... Done [22:51] E: Unable to locate package linux-gneeric [22:52] *I* didn't remove anything, the automatic update from Ubuntu did [22:53] It doesn't seem to be finding any packages. Lets make sure /etc/issue and version in sources.list match [22:53] hmmmmE: Unable to locate package linux-generic [22:53] cd .. [22:53] curlyears: cat /etc/issue [22:54] Just paste it here, 1 line [22:54] more /etc/issue [22:54] Ubuntu 14.04.3 LTS \n \l [22:55] curlyears: Now: pastebinit /etc/apt/sources.list [22:55] ..and give us the link [22:55] work, afk a few minutes [22:56] You are trying to send an empty document, exiting. [22:57] what the *!?\ [23:00] Thats why then [23:00] Need to repopulate it [23:01] curlyears: cd /etc/apt && wget http://iam.tj/projects/ubuntu/trusty-sources.list && cd [23:02] oops, need to rename that to just sources.list also [23:02] yep [23:02] * genii gives TJ- a dirty look [23:02] ;) [23:02] cd .. [23:03] does it even save the file when no sudo permissions? [23:03] k1l: He's in chroot, everything is root [23:03] alrighty. [23:04] then just "mv /etc/apt/trusty-sources.list /etc/apt/sources.list [23:04] " [23:04] yep [23:04] HTTP request sent, awaiting response... 404 Not Found [23:04] 2015-12-21 17:04:21 ERROR 404: Not Found. [23:05] works here [23:05] curlyears: Check for typos [23:05] ls - [23:07] That wget command works here as well, so it must be a typo [23:09] curlyears: Still with us? [23:10] * genii sips his coffee [23:10] having fun :p ? [23:11] TJ-: We just need to get him a sources.list, install grub and populate /boot and I think we're good.... [23:12] yes, that's where I started 10 hours ago :) [23:12] well, it seems like 10 hours :p [23:12] Might as well be, yes [23:13] almost, TJ- been at least 8 hours [23:13] Too bad you can't ask for ssh. >_> [23:13] a reinstall after a backup would probably workl [23:14] curlyears: Did you manage to wget the sources.list file into /etc/apt directory yet? [23:14] * curlyears has dinner on the stove === jayne_ is now known as jayne [23:16] still getting this message: E: Unable to locate package linux-generic [23:17] apt-get update [23:17] curlyears: Thats because we need to get a valid sources.list file into your /etc/apt directory [23:18] curlyears: would be actually helping a lot if you stop doing other things or doing things different then we ask you to. :/ [23:19] well, I copied trusty-sources.list to sources.list [23:19] curlyears: Just to confirm, do: pastebinit /etc/apt/sources.list [23:19] ..so we can see it [23:20] sources.list now copntains 704 bytes [23:21] http://paste.ubuntu.com/14133246/ <--- more sources.list [23:22] apt-get update [23:22] then: apt-get install linux-generic [23:24] Yes. [23:24] got the kernelS [23:24] !! [23:24] FINAlly [23:24] now "update-grub" [23:24] CD /BOOT [23:25] (should be triggered by the kernel install anyway but just to be sure) [23:25] curlyears: Just to make sure grub is actually installed: grub-install /dev/sda ...and THEN the update-grub [23:25] http://paste.ubuntu.com/14133294/ <--- /boot [23:26] Yep, now that /boot is populated grub should work properly [23:26] OK...it says it up[date that time [23:27] updatee [23:27] d [23:27] \NOW am I ready to reboot from HDD? [23:27] issue: sync [23:28] then exit from the chroot with: exit [23:28] Then you should be able to shutdown from the livecd and boot normally to hdd [23:28] OK [23:29] hopefully you'll see me back in m y FULL splendor soon [23:29] ..don't forget to remove the CD or usb stick, whatever you used to boot the install [23:29] curlyears: See you soon. If there's an issue, boot again to the cd/usb and return [23:33] I have a feeling he will have to chroot in again, and mount the /dev/mapper/ubuntu--vg-home to his /home directory [23:35] I have no idea what the user was doing previously but it was going backwards very fast [23:36] what should have been 10 commands and 5 minutes ended up taking over 3 days [23:36] yeh, very messy [23:36] * genii slides TJ- a fresh coffee [23:36] * TJ- slurps noisely [23:36] I'm getting stressed by stupid bugs in the letsencrypt scripts, grrr [23:37] So I saw in -server [23:43] curlyears: Welcome back [23:43] well, it still won't boot. )-: The boot keeps fal;ling through to the CD [23:43] curlyears: remove all removable media - USB, DVD [23:44] tghanks\TJ- then try booting again? [23:44] Did you do the grub-install /dev/sda ...before running the update-grub? [23:45] uh, no one said anything about grub-install /dev/sda just grub-install, which populaed by boot dir, along with the apt-get kenrels thing [23:47] s/by/my/ [23:48] I was using copy-paste for all of that stuff [23:49] can I do that now? [23:51] What says result of: mount | grep target [23:53] nada [23:53] genii: are you in either of France or Germany? [23:54] Both of me are in Canada [23:54] ahhhh [23:55] there are no Freenode servers in the USA? I seem to be on one in Sweden [23:57] back...had to check my BG [23:58] genii mount | grep target yielded null rsults