/srv/irclogs.ubuntu.com/2019/05/29/#ubuntu-server.txt

=== gnomethrower is now known as wings
wholesumhow do i rebuild grub? I can access the system partition (and the LVM) using the liveCD. it's 18.04.1.03:11
wholesumi've been struggling for the past 24 hrs, i'm afraid i'm going to lose my job...03:11
wholesumi already tried to use refind, reinstalling grub, and a lot of other things.03:12
sarnoldwholesum: if you mean, how to ask grub to rebuild the menu, configuration, etc, then try 'update-grub' -- the /etc/default/grub file points there03:27
wholesumi'm in grub rescue now03:27
wholesumsarnold: you can see the grub info here (menuentry ubuntu, ignore above) https://pastebin.com/AuiAvrjY03:28
sarnoldwholesum: you might have better success in #ubuntu -- many of the folks here haven't seen grub in years, but the #ubuntu folks help debug install problems a lot more often03:30
wholesumsarnold: what are you using? refind? i had better luck with that, but not enough to boot my system03:31
wholesumi can do away with grub, there is only one OS in the system03:31
wholesumBTW not a install problem. server has been running fine for almost 1 year. last night I rebooted and it told me no OS found03:32
sarnoldwholesum: I've never needed to do anything like this, ever03:33
sarnoldwholesum: refind is in universe, so it wouldn't be the preferred choice; efibootmgr is in main, it's probably the ubuntu preferred tool03:34
wholesumhow would i go about configuring it from a live CD? set the boot order to use the partition where ubuntu is installed?03:35
sarnoldyou could chroot to the mounted path..03:39
sarnoldit'd be something like: (untested) (pretend the instal;led system is mounted on /mnt/root) mount -obind /proc/ /mnt/root/proc ; mount -obind /sys/ /mnt/root/sys/ ; chroot /mnt/root /bin/bash03:40
wholesumwill try!03:50
wholesumso once i have a shell inside the installed system i play with efibootmgr?03:53
wholesumsarnold: I'm in the shell for the installed system04:06
wholesumI cleaned up efibootmgr to have only a single entry: ubuntu04:09
lotuspsychjewholesum: why is your server not up to date to .2?04:29
wholesumlotuspsychje: didn't want an upgrade to bork it up and can't afford downtime on it...04:30
lotuspsychjewholesum: there are like tons of security updates out, and now your system is also borked04:30
wholesumit was fully up to date, on a daily basis04:31
lotuspsychjewholesum: is that an intel cpu?04:31
wholesumbut on 18.04.104:32
wholesumyes, i504:32
wholesumdisk is NVME SSD with secure boot04:32
lotuspsychjewholesum: we had several users reporting unable to boot on the new !mds04:32
wholesumwhats the new !mds? i'm not using raid04:33
lotuspsychjewholesum: did you change uefi settings recently?04:33
lotuspsychje!mds04:33
ubottuMicroarchitectural Data Sampling is a security issue with Intel processors. Update your system to receive the kernel and microcode patches. Visit https://wiki.ubuntu.com/SecurityTeam/KnowledgeBase/MDS for more info and recommendations.04:33
wholesumah yes, the new vuln04:33
wholesumuefi settings have not been changed in months...04:33
lotuspsychjewholesum: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/182962004:34
ubottuLaunchpad bug 1829620 in linux-hwe-edge (Ubuntu) "intel-microcode on ASUS makes kernel stuck during loading initramfs on bionic-updates, bionic-security" [Undecided,Confirmed]04:34
wholesumi am the single user on this machine, running only trusted apps. i am going to disable all mitigations later04:34
lotuspsychjemaybe worth testing?04:34
lotuspsychjeill be out for breakfast first04:35
wholesumi doubt that's it, but i will look at it04:35
wholesumit's a lenovo box04:35
wholesumno cryptsetup04:36
lotuspsychjewholesum: you might also wanna browse https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bugs?orderby=importance&start=005:06
wholesumthx and good morning05:06
wholesum:)05:06
lotuspsychjethere's tons of grub installer bugs noticed recently05:06
wholesumi reinstalled from 18.04.2 server (not live)05:06
wholesumi have an image of the previous install system partition05:07
lotuspsychjeah05:07
wholesumi'm thinking about booting into the desktop live usb again, and copying this image over the (same size) current  system partition. do you think it would work?05:08
wholesumsetting up everything again will take weeks...05:08
lotuspsychjewholesum: dont you have a backup of your configs, or can preserve your /home on a new installer?05:13
wholesumlotuspsychje: too many applications installed and configured, and 4 users. but i do have a backup of /home inside the img of the entire system partition05:14
raddyHello Everybody07:57
raddyI am using ubuntu 16.04.5 in AWS07:59
raddytmpfs has 377M free space07:59
raddyBut it still says there is no free space08:00
tomreynwhich tmpfs?08:00
raddyYou mean ?08:01
raddytmpfs           377M     0  377M   0% /run/user/100008:01
tomreynraddy: so you're trying to write to somewhere below /run/user/1000/ ?08:02
raddyI am trying write in /tmp/08:02
tomreynthen the above output is not relevant, try this:  df -h /tmp08:03
raddyFilesystem      Size  Used Avail Use% Mounted on08:05
tomreynraddy: now repeat the line which wasn't transferred since it started with a slash. add a blank space as the first character08:07
raddytomreyn: I don't get you, but I don't have separate /tmp file system08:09
tomreynraddy: so how much free unallocated space do you have in / ?08:11
tomreynraddy: alternatively, run this and post the url:  df -h /tmp 2>&1 | nc termbin.com 999908:12
raddy2.4Gb free space is available08:13
=== gislaved73 is now known as gislaved
tomreynraddy: that's not a lot. if it's an ext{2,3,4} file system, then 5% are reserved for the root user by default08:21
tomreyn5% of the total file system08:22
tomreynanother explanation could be that all inodes are in use: df -hi /tmp08:22
raddytomreyn: You nailed it. that is the issue08:30
raddytomreyn: find . -type f | wc -l shows the /tmp/ has only 80 files08:34
RoyKtomreyn: df reports the available space after the 5% is subtracted. also, tmpfs doesn't have that. the reserved space can be tuned with tune2fs -m<something> /dev/sd<something>08:35
raddyBut 512k inodes being shown as used08:35
raddyPlease help08:37
raddyI got it08:38
tomreynyou'll need to create a new file system, specifying a higher amount of inodes (-I)08:39
tomreynactually i didn'T explain this properly, read the man page, please08:40
tomreynactually -N is what you'd need,-I just changes the inode size.08:41
=== mIk3_09 is now known as mIk3_08
jamespagecoreycb, sahid: train milestone 1 is next week so we should make a plan to upload snapshots to eoan14:04
coreycbjamespage: sounds good14:05
=== lotuspsychje_ is now known as lotuspsychje
=== smoser1 is now known as smoser
jiffeso I'm trying to install ubuntu 18.04 on a desktop, it installs find but doesn't boot, no grub menu or anything I just get a flashing cursor in the top right19:44
jiffeboot order is correct, its booting from hd19:44
lordcirthjiffe, you are installing Ubuntu desktop or server ISO? EFI or BIOS?19:45
jiffeubuntu server, not sure about the later let me check19:46
jiffeyeha looks like bios, nothing about uefi in here19:53
jiffeor efi19:53
jiffethis is an old P4 machine19:53
lordcirthjiffe, pentium 4? 32 or 64bit?20:02
jiffe64 bit20:03
jiffeI see people having success with something similar running boot-repair from a live cd20:06
tomreynjiffe: which installer did you use (.iso filename)? and which version of the installer? were there any warnings or errors while installing?22:03
tomreynalso, with hardware this old (with known unfixed security bugs), you'll want the latest firmware available to be installed, i'd say. did you check you have that?22:05

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