*** xy2_ has joined #maemo | 00:00 | |
*** dafox has quit IRC | 00:06 | |
*** BitEvil is now known as SpeedEvil | 00:47 | |
*** florian has quit IRC | 01:20 | |
*** Pali has joined #maemo | 01:29 | |
*** xy2_ has quit IRC | 01:48 | |
*** Pali has quit IRC | 01:52 | |
*** troulouliou_div2 has quit IRC | 02:08 | |
timeless | hi DocScrutinizer05 | 02:14 |
---|---|---|
DocScrutinizer05 | hi! | 02:14 |
* timeless is continuing adventures in remote server hell | 02:14 | |
timeless | so, i had a mail server, and a backup, the main server was dying, so i switched us to the backup | 02:14 |
timeless | the backup was dying, so i rebuilt the main server and switched over | 02:14 |
timeless | the main server now runs ubuntu artful | 02:14 |
timeless | i asked the hosts of the backup to rebuild w/ ubuntu lts, but they couldn't, heck, they couldn't even install their preferred thing, they swapped the chassis and left me w/ centos6.9 | 02:15 |
DocScrutinizer05 | is ubuntu "artful" what came after "zoomin zebra"? | 02:15 |
timeless | so, now i have 2 drives, /sda1 = /boot, /sda2 = swap, /sda3 = / (10GB) | 02:15 |
timeless | i used debootstrap to set up /sdb3 = /mnt (10GB, debian karmic) | 02:16 |
timeless | and used dd + tunefs to clone + re-uuid /sda1 as /sdb1 | 02:16 |
timeless | so, now i have a centos (grub097) which is running, and a karmic which i can use in a chroot | 02:17 |
timeless | i installed grub-pc (which is apparently grub2) in the karmic chroot | 02:17 |
timeless | unfortunately, the grub ui / instructions are confusing beyond belief | 02:17 |
timeless | my goal is to try to get sdb1's grub to try to boot sdb3's karmic, and if it fails, to boot sda3's centos69 | 02:18 |
timeless | Does that seem like a reasonable goal? | 02:18 |
DocScrutinizer05 | I think I shouldn't answer that since I don't really know, what I can say is I believe grub has no "when it fails, fallback to..." option | 02:20 |
* timeless keeps grumbling about not having `lsblk` in karmic | 02:20 | |
timeless | grub2 has a fallback option :) | 02:20 |
DocScrutinizer05 | lots of people frowned at grub2. I never really looked into it | 02:21 |
timeless | yeah, i've played w/ lilo, grub, and grub2 | 02:22 |
timeless | they all suck in various ways, and none of them have great documentation | 02:23 |
DocScrutinizer05 | from own experience I can tell that systemd cost me more time for debugging and "learning" (compensating any supposed saving in boottime and effort to write startup files aka unit files aka initscripts) than the previous 20 years of sysv-init | 02:24 |
DocScrutinizer05 | don't bitch about Lilo!! ;-P Werner Almesberger made it | 02:25 |
DocScrutinizer05 | ;-D | 02:25 |
* timeless shrugs | 02:25 | |
DocScrutinizer05 | hehehe | 02:25 |
timeless | they all have flaws | 02:25 |
DocScrutinizer05 | Werner would agree I guess | 02:25 |
*** infobot has quit IRC | 03:22 | |
*** infobot has joined #maemo | 03:24 | |
*** ChanServ sets mode: +v infobot | 03:24 | |
timeless | doc: here's my efforts at integrating my centos thing into my ubuntu grub https://www.irccloud.com/pastebin/LriGK6iP/%2Fetc%2Fgrub.d%2F41_linux_centos | 03:52 |
*** MartiniMoe has quit IRC | 03:52 | |
timeless | And here's what it generated https://www.irccloud.com/pastebin/ZR5MdDWK/%2Fboot%2Fgrub%2Fgrub.cfg | 03:53 |
*** MartiniMoe has joined #maemo | 03:54 | |
*** tm has quit IRC | 04:36 | |
*** tm has joined #maemo | 04:39 | |
Juesto | timeless: try using a compatible grub version and use the same /boot ? | 04:43 |
timeless | Juesto: i'm not trying to share a /boot per se | 04:43 |
Juesto | i mean, what's the thing | 04:43 |
timeless | i have a system (centos), and i want to boot into an untested ubuntu | 04:44 |
Juesto | you should if not already. unless you plan to keep in separate disks in which case just switch boots | 04:44 |
timeless | if it works, i'm happy, if it fails, i want it to fall back to the other one | 04:44 |
Juesto | then boot into ubuntu without modifying your centos grub | 04:44 |
Juesto | then put a if | 04:44 |
Juesto | and do it manually | 04:44 |
timeless | manually? this is a server i have no physical access to | 04:45 |
timeless | if it doesn't boot, and reboots to the same doesn't boot, i'm screwed | 04:45 |
Juesto | then set the default to the centos one | 04:45 |
Juesto | or viceversa | 04:45 |
Juesto | you want to change defaults instead | 04:45 |
*** Natch has joined #maemo | 04:45 | |
timeless | all i want is something that explains how to get this system to boot once to ubuntu, and if it fails, to boot to centos | 04:46 |
Juesto | which grub it is? | 04:46 |
timeless | this is 2 (1.97 karmic) | 04:46 |
Juesto | but then if it boots but then has problems afterwards it's no use to do grub fallbacks | 04:47 |
Juesto | timeless: see https://serverfault.com/questions/614186/is-there-a-way-to-create-a-one-time-boot-entry-in-grub https://www.centos.org/forums/viewtopic.php?t=60220 https://askubuntu.com/questions/731830/grub2-fallback-with-14-04-need-how-to | 04:48 |
Juesto | the former is legacy related but well, its what i looked | 04:48 |
timeless | Yeah, i've read all three of those today (w/in the last couple of hours) | 04:49 |
Juesto | this too https://help.ubuntu.com/community/Grub2/Troubleshooting ? | 04:49 |
Juesto | regardless, if you're just testing imo its better to not place a grub entry | 04:51 |
timeless | that last one seems useless, i don't have a console | 04:51 |
Juesto | is it not a vps vm? | 04:52 |
timeless | no, it's a baremetal hosted box | 04:52 |
timeless | from a vendor who doesn't want to host baremetal | 04:53 |
Juesto | any kind of remote management? | 04:53 |
Juesto | and this is why you dont test on production servers and such | 04:53 |
* timeless nods | 04:54 | |
timeless | right now this is a "nascent" box that was just "barely rebuilt" to have a basic os | 04:54 |
Juesto | either have physical access or some form of system remote management | 04:54 |
timeless | In the medium term, i'd like to move the box to some other host (probably EC2) | 04:55 |
Juesto | then do that before attempting any further tests | 04:55 |
Juesto | note: ##linux is a better place for this. just saying | 04:56 |
timeless | the server management options i have are: "reboot", "power on", and "os reload" | 04:57 |
Juesto | sucks | 04:57 |
timeless | i didn't choose this vendor / solution | 04:58 |
timeless | they're pretty awful | 04:58 |
timeless | and they don't want to support it, they'd rather we use VMs too | 04:58 |
Juesto | anyways, #centos, #ubuntu | 04:59 |
*** pkill9 has joined #maemo | 05:00 | |
*** _CN_ has quit IRC | 05:03 | |
*** ceene has quit IRC | 05:03 | |
*** Wizzup has quit IRC | 05:31 | |
*** pkill9 has quit IRC | 06:55 | |
*** Kilroo has joined #maemo | 06:56 | |
*** spiiroin has quit IRC | 07:27 | |
brolin_empey | timeless: I thought that karmic is Ubuntu 9.10 Karmic Koala (not LTS), not Debian. | 07:39 |
timeless | brolin_empey: oops, yes, ubuntu | 07:40 |
timeless | i was using it to mean "dpkg/apt based" | 07:40 |
timeless | and the reason for 9.10 is to have a kernel that's roughly equivalent to centos so that it would bootstrap safely | 07:41 |
timeless | once i successfully boot to it, i'm going to distupgrade to the present | 07:41 |
timeless | specifically, i'll take it to ubuntu artful, and then when bionic comes along, i'll move over to that and switch to LTS | 07:42 |
timeless | (assuming this computer lasts that long) | 07:42 |
timeless | my only concern is safely booting into it | 07:42 |
timeless | the only remote button i have is "reboot" | 07:42 |
timeless | so, i need grub to be able to: (1) safely boot centos. (2) failing to boot ubuntu, boot centos. (3) boot ubuntu | 07:43 |
brolin_empey | timeless: OK. I used Ubuntu 9.10 when it was current. | 07:43 |
brolin_empey | The concept of change requires time but you are timeless, heh. | 07:45 |
timeless | I think I used warty hoary breezy dapper edgy feisty gutsy hardy. I don't think I used things from there until perhaps precise | 07:45 |
* timeless nods | 07:46 | |
timeless | (and I don't think I used precise much) | 07:46 |
timeless | yeah, that's about right, because I played w/ ubuntu when I was in California, and a bit @nokia, but mostly I was using OSol / Nexenta, when I went to BB, I justed used macOS/Windows | 07:48 |
* timeless is quite comfortable using a time machine | 07:49 | |
Juesto | :) | 07:49 |
brolin_empey | If the universe will eventually die from heat, will anything about which a mortal can possibly care matter in the end? | 07:49 |
brolin_empey | A time machine is used to produce Time magazine? ;-) | 07:52 |
brolin_empey | DocScrutinizer05: I cannot access http://wiki.openmoko.org/ : the connection times out. Has the Openmoko infrastructure finally gone offline? | 07:54 |
DocScrutinizer05 | server seems to have intermittent issues | 07:56 |
DocScrutinizer05 | brolin_empey: xouls you /join #openmoko-cdevel please? | 07:56 |
DocScrutinizer05 | could* | 07:56 |
brolin_empey | DocScrutinizer05: I could but I only wanted to see if that page said if a Nokia BL-4J or BL-5J battery can be used for the Openmoko GTA02. | 07:59 |
DocScrutinizer05 | I can't manage administrative requests in a OT channel | 08:03 |
*** Mek has quit IRC | 08:06 | |
*** valerius has quit IRC | 08:06 | |
timeless | brolin_empey: http://web.archive.org/web/20171207075008/http://wiki.openmoko.org/ ? | 08:08 |
timeless | (time machines are my specialty) | 08:08 |
*** Mek has joined #maemo | 08:19 | |
*** valerius has joined #maemo | 08:20 | |
brolin_empey | timeless: No, https://web.archive.org/web/20170810141023/http://wiki.openmoko.org/wiki/Battery_Questions_and_Answers . It does not mention BL-xJ , only BL-xC. | 08:20 |
*** valerius has joined #maemo | 08:21 | |
timeless | > Do other BL-5/6C compatible batteries fit? | 08:22 |
timeless | > If the battery is thicker than BL-6C, you won't be able to close the back cover. Nokia's BL-4C is a bit thinner than the BL-5C so it also fits, but has noticeably shorter battery life. | 08:22 |
*** valerius has joined #maemo | 08:24 | |
*** valerius has joined #maemo | 08:25 | |
timeless | http://www.cpkb.org/wiki/Nokia_BL-4J_battery / http://www.cpkb.org/wiki/Nokia_BL-6C_battery ? | 08:25 |
*** valerius has joined #maemo | 08:27 | |
DocScrutinizer05 | nfc what's wrong with this server | 08:29 |
*** spiiroin has joined #maemo | 08:29 | |
*** ceene has joined #maemo | 08:29 | |
*** valerius has joined #maemo | 08:30 | |
*** valerius has joined #maemo | 08:30 | |
DocScrutinizer05 | takes aaaaages to load pages, though the load is negligible. Must be HDD | 08:31 |
DocScrutinizer05 | I got no root access, so sorry | 08:31 |
*** valerius has joined #maemo | 08:31 | |
*** _CN_ has joined #maemo | 08:33 | |
DocScrutinizer05 | me glares at >> 4840 www-data 20 0 235M 58184 8096 S 0.0 0.4 1:09.34 /usr/bin/python /space/www/admin-trac/cgi-bin/trac.fcgi << | 08:33 |
*** valerius has joined #maemo | 08:33 | |
DocScrutinizer05 | and mysql, and some "planet" shit | 08:34 |
*** valerius has joined #maemo | 08:37 | |
*** valerius has joined #maemo | 08:38 | |
*** valerius has joined #maemo | 08:40 | |
*** arcean has joined #maemo | 08:41 | |
*** valerius has joined #maemo | 08:42 | |
*** Kilroo has quit IRC | 08:43 | |
*** Wizzup has joined #maemo | 09:20 | |
*** dafox has joined #maemo | 09:24 | |
*** jon_y has quit IRC | 09:25 | |
*** dafox has quit IRC | 09:36 | |
*** jon_y has joined #maemo | 09:37 | |
*** dafox has joined #maemo | 09:38 | |
*** nslu2-log has quit IRC | 09:39 | |
*** nslu2-log has joined #maemo | 09:39 | |
*** freemangordon_ has joined #maemo | 09:45 | |
DocScrutinizer05 | gosh http://paste.opensuse.org/27677433 | 09:45 |
timeless | not bad | 09:46 |
* timeless did a resync w/in the last couple of months | 09:46 | |
DocScrutinizer05 | but brings the system to a grinding halt | 09:46 |
timeless | well, yeah, welcome to mdstat | 09:46 |
timeless | from memory, zfs resilvers are less terrible | 09:46 |
DocScrutinizer05 | wait, dafaq, what??? md2 not mounted?! :-o | 09:49 |
DocScrutinizer05 | is that normal | 09:50 |
DocScrutinizer05 | ? | 09:50 |
*** dafox has quit IRC | 09:50 | |
DocScrutinizer05 | timeless: http://paste.opensuse.org/71235395 | 09:50 |
DocScrutinizer05 | md0 missing as well | 09:51 |
timeless | maybe | 09:51 |
timeless | can you check fstab to see what it would be? | 09:51 |
timeless | some things won't mount until they're happy | 09:51 |
DocScrutinizer05 | md0 = swap | 09:52 |
timeless | what is 9fd9385d-b2f8-4a6e-b675-75ddf654ea9b ? | 09:52 |
DocScrutinizer05 | already did check fstab :-) | 09:52 |
timeless | lsblk --whatevermagic | 09:52 |
timeless | no, i mean, is it md2? | 09:52 |
timeless | lsblk --whatevermagic | 09:53 |
timeless | lsblk -f | 09:53 |
timeless | fwiw, this is the system i'm using tonight https://www.irccloud.com/pastebin/MKstUbNS/ | 09:54 |
* timeless hasn't seen reall mpath's before | 09:54 | |
DocScrutinizer05 | lol, -f is like --terse here | 09:55 |
timeless | the lsblk arguments really vary from version to version | 09:55 |
DocScrutinizer05 | http://paste.opensuse.org/76028129 | 09:55 |
timeless | try again, findn the flag to get uuids | 09:55 |
timeless | oh, nevermind | 09:56 |
timeless | i'm right, md2 = the uuid = / | 09:56 |
timeless | these days, it's common to mount / by uuid | 09:56 |
timeless | so even if it's raid, you wouldn't see it by dev | 09:56 |
timeless | some of my office computers have that behavior | 09:57 |
DocScrutinizer05 | and mdfsckme umounts the raid and mounts one sd* instead? | 09:57 |
timeless | eventually i'm going to rebuild those systems w/ zfs-root and move on w/ life | 09:57 |
timeless | no | 09:57 |
timeless | `/` is mounted | 09:57 |
timeless | it's just mounted by uuid | 09:57 |
timeless | for example https://www.irccloud.com/pastebin/WaR8Chl8/fstab | 09:58 |
DocScrutinizer05 | aaah boot mounts a device, no md | 09:59 |
DocScrutinizer05 | of course | 09:59 |
DocScrutinizer05 | well, at least that would be plausible | 10:00 |
timeless | fwiw, this system here is using lvm, not mdstat, but the same general idea | 10:00 |
*** jskarvad has joined #maemo | 10:00 | |
*** jskarvad has quit IRC | 10:00 | |
*** jskarvad has joined #maemo | 10:00 | |
* timeless is too lazy to ssh to an office computer which actually has mdstat for root or boot or whatever | 10:00 | |
DocScrutinizer05 | OHMY! [=================>...] check = 88.1% (946055296/1073740664) finish=100.8min speed=21101K/sec | 10:01 |
DocScrutinizer05 | meh! [=================>...] check = 88.3% (948535936/1073740664) finish=34.5min speed=60333K/sec | 10:02 |
timeless | yeah, the numbers were pretty random for my rebuild | 10:04 |
timeless | https://ci.blueocean.io/blue/organizations/jenkins/blueocean/detail/PR-1664/9/pipeline/48/ | 10:04 |
timeless | my current adventure is typing random bits of java and trying to convince a random builder to build it | 10:05 |
timeless | (and i do mean that, this computer doesn't have javac, and i'm not going to waste my time setting it up) | 10:05 |
timeless | It's a nice computer though! https://www.irccloud.com/pastebin/VOX8scww/ | 10:06 |
*** zGrr has joined #maemo | 10:06 | |
zGrr | 'bry :) | 10:11 |
DocScrutinizer05 | http://paste.opensuse.org/35609304 :-/ | 10:21 |
DocScrutinizer05 | swap | 10:21 |
*** herekun has joined #maemo | 10:22 | |
*** geaaru has joined #maemo | 10:54 | |
*** jon_y_ has joined #maemo | 11:16 | |
*** jon_y has quit IRC | 11:17 | |
*** jon_y_ is now known as jon_y | 11:17 | |
*** Juesto has quit IRC | 11:22 | |
*** TheKit has joined #maemo | 11:33 | |
*** NotKit has quit IRC | 11:36 | |
*** xy2_ has joined #maemo | 11:52 | |
*** Kabouik_ has quit IRC | 11:57 | |
*** eMHa has quit IRC | 12:24 | |
*** eMHa has joined #maemo | 12:48 | |
*** SmilyOrg has joined #maemo | 12:49 | |
*** sunshavi has quit IRC | 12:52 | |
*** sunshavi has joined #maemo | 12:52 | |
*** Smily has quit IRC | 12:56 | |
*** KotCzarny_ has joined #maemo | 12:57 | |
*** till_ has joined #maemo | 12:57 | |
*** brolin_empey_ has joined #maemo | 12:59 | |
*** KotCzarny has quit IRC | 12:59 | |
*** till has quit IRC | 12:59 | |
*** Linkandzelda has quit IRC | 12:59 | |
*** esaym153 has quit IRC | 12:59 | |
*** brolin_empey has quit IRC | 12:59 | |
*** esaym153 has joined #maemo | 13:00 | |
*** Linkandzelda has joined #maemo | 13:00 | |
*** Linkandzelda has joined #maemo | 13:00 | |
*** esaym has joined #maemo | 13:25 | |
*** lawl_ has joined #maemo | 13:27 | |
*** florian has joined #maemo | 13:27 | |
*** Pali has joined #maemo | 13:28 | |
*** esaym153 has quit IRC | 13:34 | |
*** lawl has quit IRC | 13:34 | |
*** APic has quit IRC | 13:34 | |
*** APic has joined #maemo | 13:35 | |
*** pkill9 has joined #maemo | 14:00 | |
*** pkill9_ has joined #maemo | 14:02 | |
*** pkill9 has quit IRC | 14:04 | |
*** LauRoman has quit IRC | 14:30 | |
*** LauRoman has joined #maemo | 14:30 | |
*** Juesto has joined #maemo | 14:31 | |
*** Juesto has joined #maemo | 14:32 | |
*** pkill9 has joined #maemo | 15:02 | |
*** pkill9_ has quit IRC | 15:03 | |
*** xy2_ has quit IRC | 15:13 | |
*** timeless has quit IRC | 15:16 | |
*** ecc3g has quit IRC | 15:16 | |
*** timeless has joined #maemo | 15:18 | |
*** ecc3g has joined #maemo | 15:19 | |
*** KotCzarny_ is now known as KotCzarny | 15:22 | |
*** xy2_ has joined #maemo | 15:27 | |
*** jskarvad has quit IRC | 15:40 | |
*** jskarvad has joined #maemo | 15:56 | |
*** jskarvad has quit IRC | 15:56 | |
*** jskarvad has joined #maemo | 15:56 | |
*** lawl_ has quit IRC | 16:28 | |
*** lawl has joined #maemo | 16:29 | |
*** arcean has quit IRC | 16:35 | |
*** brolin_empey_ is now known as brolin_empey | 16:43 | |
*** spiiroin has quit IRC | 16:45 | |
*** jskarvad has quit IRC | 16:47 | |
*** herekun has quit IRC | 17:07 | |
*** spiiroin has joined #maemo | 17:09 | |
*** xy2_ has quit IRC | 17:12 | |
*** jskarvad has joined #maemo | 17:34 | |
*** freemangordon_ has quit IRC | 17:41 | |
*** eMHa has quit IRC | 17:41 | |
*** pkill9 has quit IRC | 17:47 | |
*** pkill9 has joined #maemo | 17:52 | |
*** eMHa has joined #maemo | 18:26 | |
*** florian has quit IRC | 19:16 | |
*** sunshavi has quit IRC | 19:25 | |
*** zGrr has quit IRC | 19:33 | |
*** sunshavi has joined #maemo | 19:38 | |
*** sunshavi has quit IRC | 19:48 | |
*** xy2_ has joined #maemo | 19:48 | |
*** TheKit has quit IRC | 19:53 | |
*** TheKit has joined #maemo | 19:55 | |
*** sunshavi has joined #maemo | 19:55 | |
*** geaaru has quit IRC | 20:19 | |
*** sunshavi has quit IRC | 20:22 | |
*** sunshavi has joined #maemo | 20:30 | |
*** florian has joined #maemo | 20:52 | |
*** jskarvad has quit IRC | 21:06 | |
*** herekun has joined #maemo | 21:09 | |
*** xy2_ has quit IRC | 21:21 | |
*** xy2_ has joined #maemo | 21:38 | |
*** Wizzup has quit IRC | 21:43 | |
*** Wizzup has joined #maemo | 21:44 | |
*** Wizzup has quit IRC | 21:53 | |
*** Wizzup has joined #maemo | 21:54 | |
*** NotKit has joined #maemo | 22:25 | |
*** TheKit has quit IRC | 22:29 | |
*** Wizzup has quit IRC | 22:34 | |
*** pkill9 has quit IRC | 22:39 | |
*** Wizzup has joined #maemo | 22:40 | |
*** pkill9 has joined #maemo | 22:43 | |
*** Kabouik has joined #maemo | 22:58 | |
*** florian has quit IRC | 23:19 | |
*** florian has joined #maemo | 23:32 | |
*** florian has quit IRC | 23:36 | |
*** herekun has quit IRC | 23:40 | |
*** florian has joined #maemo | 23:51 | |
freemangordon | ~ping | 23:57 |
infobot | ~pong | 23:57 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!