Skip Navigation

Posts
0
Comments
496
Joined
2 yr. ago

  • @Attacker94 The boot block pointing to grub is what gets overwritten, grub itself in /boot/efi doesn't. You can fix either though with either boot repair or boot from a usb thumb drive, mount the partitions on /mnt and subdirectories,mount --bind /dev /mnt/dev, /dev/pts /mnt/dev/pts, and then mount --rbind /proc /mnt/proc and /sys /mnt/sys, cp /etc/resolv.conf to /mnt/etc/resolv.conf, chroot to /mnt, and then grub-install /dev/sda or whatever the drive is. Not a big deal. And this only happens if you install Windows AFTER you have installed Linux.

  • @FlembleFabber Do you have LED lights in your house? Can you see 60Hz flicker?

  • @Rubanski if you have mdraid partitions, you also should add bootdegraded=true to the grub command line so the system will still boot even if a disk fails and an array is in the degraded mode.

  • @HiddenLayer555 This is a messed up era. When I was a kid from kindergarten and up I walked to school alone. It wasn't a super long distance, about six blocks each way but it was unsupervised, and that was the norm back then. What has happened that it has become so dangerous that kids need to be bussed to school even if they're three blocks from the school?

  • @VinesNFluff Most people can't honestly perceive any change in their visual field in less than 1/60th of a second except perhaps at the very periphery (for some reason rods are faster than cones and there are more rods in your peripheral vision) and even then not in much detail. So honestly, frame rates above 60 fps don't really buy you anything except bragging rights.

  • @overclox You are most welcome. This is one aspect I love about Linux, damned near everything is adjustable. Those adjustments aren't necessarily well organized, but they are usually there, somewhere...

  • @overclox You can adjust this with hdparm:

    hdparm -B 254 /dev/sda (or whatever the drive name)
    Will prevent spin down altogether.

    hdparm -B 1-127 /dev/sda
    Will allow spin down with '1' being the most aggressive power management and 127 the
    least.

    I put these in /etc/rc.local so that it gets run by systemd at boot-up.

  • @justanotherperson @Rubanski On most modern systems neither Windows nor Linux is going to hurt each other's boot record because usually on a dual boot system you're going to launch grub out of the boot block which is going to them find and mount the UEFI partition which is a fat-32 partition usually mounted on /boot/efi by Linux, and then grub is going to continue from a directory within /boot/efi, windows similarly will have a directory there, and grub if it finds both will present a menu at boot. Since both use separate directories on this UEFI System partition, one should not interfere with the other unless the partition is too small and you run out of disk space. I usually size my EFI partition at 512MB and that's always been more than sufficient for multiple operating systems. If you re-install WIndows, it will overwrite the boot block with it's own boot loader, but restoring it with grub will you back to where you were. If you are a real glutton for punishment, you can setup the Windows boot loader to chain load grub, this works as I have actually done it, more as a matter of curiosity than anything else. But I prefer to use Grub as the first boot loader as it's faster and less prone to exploding.

  • @Rubanski If it's booting into emergency mode, there are usually one of three issues, kernel is corrupt, a file system can not be mounted read/write, and this can be because of file system corruption or in the case of mdraid, because a raid device failed to self-assemble, or initramfs is broken. The easy way to fix most of these is to use an automated utility called boot repair, you download the ISO then burn to a thumb drive, then when you run into this kind of problem boot off the thumb drive. I'd start by trying to determine which of these it is, if you get into emergency mode then you at least have a shell prompt, try typing dmesg to see if there are any errors relating to the kernel, then check if all of the partitions are mounted and if they are all mounted read/write. If one or more is mounted read only this usually means that the automatic fsck found errors it can not fix and needs a manual run, in which case try fsck -f -y /dev/sdxx or /dev/nvmexnxpx, which ever the case may be (hard drive verses SSD). If this was the issue after the fsck successfully repairs the file system you should be able to boot successfully. If not, and nothing kernel related shows up in dmesg, then probably your initramfs has gotten hurt. In this case since you are new to Linux, boot repair is the easiest way to fix it. You can also fix manually but that is more complex, however if you need instructions on how to do this let me know and I will elaborate. Even doing so manually though requires another bootable Linux media, does not have to be boot repair, a popos install USB will also do.

  • @carzian I paid about $60 for a used unlocked Galaxy Android phone, whatever the dollar equivalent of 890 euros is, it's out of my budget.

  • @potentiallynotfelix Well flash to an older and see how it goes. I've seen some wired bios issues. I've got an i7=6850k machine on an Asus motherboard, and after I flashed to the latest bios, the USB power strobed on and off every few seconds so keyboard and mouse would work then not work then work then not work. I thought something was broken with hardware but then found others had the same issue with the most current BIOS, flashed to one release earlier and all good.

  • @potentiallynotfelix Ok bet of luck. I've had all sorts of weird issues with systemd as of late, but not sure how many of those are inherent to systemd itself and how many are Ubuntu's config of same.

  • @weird Same here, and although Linux is my daily driver, I do have a Windows VM and a dual boot that I use for gaming, but on those I create my accounts without a Microsoft account by removing the network connectivity first, and then if they get one drive installed anyway, I de-install it.

  • @potentiallynotfelix As a diagnostic, I would suggest trying shutting them down by ssh in and then using systemctl to shut them down, if that works then you know the issue is with cockpit. If it hangs even when systemd is asked to halt then I would consider reverting to the previous bios and see if the problem persists.

  • @ThePicardManeuver @FrostyTrichs I think this is a common attribute of the fediverse in general. Once a post has propagated to other sites, the non-existence of the originating site is not going to remove that post, but in some cases posts may contain references to images on the original site and the site that it propagated to may elect to reference images from the original site rather than store them locally. In that case, the new site will have the post but not images that it contained.

  • Permanently Deleted

    Jump
  • @Sparrowette As long as it continues to offer so much hatred for people offering to help, I don't see how it can survive let alone thrive.

  • @tkw8 I thought brew was a MacIntosh thing?

  • @Ledericas Unfortunately, this is often how it goes. The fact that I got some 30 or so dislikes and two SYN flood DoS attacks for simply offering my services I guess illustrates the make up of the crowd. Ah well, they will all relocate somewhere and life will go on.

  • @WatDabney @FrostyTrichs I started my friendica instance after facebook banned me for pointing out issues with the Covid-19 vax, then I started my mastodon instance after twatter did the same prior to Elon's ownership. I've had some hardware issues along the way but we've got those straightened out. There seems to be the this false assumption on many peoples part that fediverse instances should be echo chambers like the old facebook and twitter were. I think it's healthy for opposing viewpoints to be expressed, but I believe it is unhealthy to allow to degrade to ad hominem attacks, I run my sites accordingly, others don't feel this way they prefer an echo chamber and there are instances that accommodate those folks well, and to me this is the beauty of the fediverse. I personally prefer long format posting because I don't believe short format provides the opportunity for the depth of discussion needed to explore opposing view, historical perspective, cause and effect elaboration, etc, which is, of my nodes I spend most of my time on friendica. Friendica is however not efficient, it takes a lot of hardware resources to run it efficiently.

  • @FrostyTrichs Not sure why you don't like it but just offering an alternative that is not going away at the end of the month.