Go to advanced search

by epposan
Sat Oct 19, 2019 3:22 pm
Forum: Troubleshooting
Topic: How does the pi select the device to boot from?
Replies: 12
Views: 821

Re: How does the pi select the device to boot from?

I see. Thanks for the clarification. I guess you have a larger external USB drive attached.

With more than the two basic partitions on the same external drive that makes a lot of sense, even more, if one is using an external partition manager (like gparted) to manipulate the drive.
by epposan
Sat Oct 19, 2019 2:22 pm
Forum: Troubleshooting
Topic: upgrade of kernel and/or bootloader going wrong
Replies: 16
Views: 794

Re: upgrade of kernel and/or bootloader going wrong

This problem has been solved. It was caused by a USB card reader containing a 'perfect' clone of the SD card from which the pi booted, having identical UUID's for its partitions. For more information see: How does the pi select the device to boot from? ( https://www.raspberrypi.org/forums/viewtopic....
by epposan
Sat Oct 19, 2019 2:08 pm
Forum: Troubleshooting
Topic: How does the pi select the device to boot from?
Replies: 12
Views: 821

Re: How does the pi select the device to boot from?

DougieLawson wrote:
Sat Oct 19, 2019 1:10 pm
It's trivial to rewrite a UUID (/dev/whateverdevicehere needs to be umount'ed).

sudo apt install uuid-runtime
sudo tune2fs /dev/whateverdevicehere -U $(uuidgen)
Apparantly the default is to use UUID's. Would it be better to stick to UUID's in this case (with the cloned SD card in /dev/sda)
by epposan
Sat Oct 19, 2019 2:02 pm
Forum: Troubleshooting
Topic: How does the pi select the device to boot from?
Replies: 12
Views: 821

Re: How does the pi select the device to boot from?

I am happy to report that the remote update of raspberrypi-kernel and bootloader worked out as expected.

Thanks to all of you for the tips and directions. I learned a great deal today !
by epposan
Sat Oct 19, 2019 12:06 pm
Forum: Troubleshooting
Topic: How does the pi select the device to boot from?
Replies: 12
Views: 821

Re: How does the pi select the device to boot from?

After adapting /etc/fstab, lsblk --fs now reports the mount points as expected: NAME FSTYPE LABEL UUID FSAVAIL FSUSE% MOUNTPOINT sda ├─sda1 vfat boot 0C61-73F5 └─sda2 ext4 rootfs 43f2d0bb-83be-464f-94d0-9a751f376c64 mmcblk0 ├─mmcblk0p1 vfat boot 0C61-73F5 213.9M 15% /boot └─mmcblk0p2 ext4 rootfs 43f...
by epposan
Sat Oct 19, 2019 11:43 am
Forum: Troubleshooting
Topic: How does the pi select the device to boot from?
Replies: 12
Views: 821

Re: How does the pi select the device to boot from?

Thanks for all (very quick) replies !

The boot process being performed in two stages really sheds a (bright) light on my issue. It would explain my problems.

I feel confident (now) to change /etc/fstab on the remote pi to the device's names instead of the UUID's.
by epposan
Sat Oct 19, 2019 11:19 am
Forum: Troubleshooting
Topic: upgrade of kernel and/or bootloader going wrong
Replies: 16
Views: 794

Re: upgrade of kernel and/or bootloader going wrong

Having found something that could shed some light on this issue, I have opened a new topic: How does the pi select the device to boot from?
(https://www.raspberrypi.org/forums/view ... 8&t=254754)
by epposan
Sat Oct 19, 2019 11:13 am
Forum: Troubleshooting
Topic: How does the pi select the device to boot from?
Replies: 12
Views: 821

How does the pi select the device to boot from?

This post is a continuation of my search to find out why the upgrade of the raspberrypi-kernel and bootloader packages on one of my remotely running Pi's is failing regularly. The search was initially started under a different topic: upgrade of kernel and/or bootloader going wrong ( https://www.rasp...
by epposan
Wed Aug 28, 2019 10:26 am
Forum: Troubleshooting
Topic: upgrade of kernel and/or bootloader going wrong
Replies: 16
Views: 794

Re: upgrade of kernel and/or bootloader going wrong

Yes, I have changed the sd card.
by epposan
Wed Aug 28, 2019 7:45 am
Forum: Troubleshooting
Topic: upgrade of kernel and/or bootloader going wrong
Replies: 16
Views: 794

Re: upgrade of kernel and/or bootloader going wrong

I fully agree with you ! I maintain several local and remote Pi2 and Pi3 installations and have performed many kernel upgrades over time without any hick-ups However one particular remote Pi2 has been giving kernel upgrade problems several times lately, and after each failing upgrade I try to come u...
by epposan
Wed Aug 28, 2019 5:54 am
Forum: Troubleshooting
Topic: upgrade of kernel and/or bootloader going wrong
Replies: 16
Views: 794

Re: upgrade of kernel and/or bootloader going wrong

For the record:
I have posted the (adapted) question at Raspberrypi StackExchange
https://raspberrypi.stackexchange.com/q ... nal-reboot
by epposan
Tue Aug 27, 2019 8:05 pm
Forum: Troubleshooting
Topic: upgrade of kernel and/or bootloader going wrong
Replies: 16
Views: 794

Re: upgrade of kernel and/or bootloader going wrong

Well, neither could I, that's why I ended up here to ask the community.

Next time, I will try your suggestion to install twice before rebooting.
by epposan
Tue Aug 27, 2019 7:48 pm
Forum: Troubleshooting
Topic: upgrade of kernel and/or bootloader going wrong
Replies: 16
Views: 794

Re: upgrade of kernel and/or bootloader going wrong

I have performed a re-install of raspberrypi-(kernel bootloader) and this time it worked. I keep hoping that someone has a bright idea on: how to verify that after an apt-get upgrade of kernel and/or bootloader, but before the next reboot, that the system is setup properly to run the expected versio...
by epposan
Tue Aug 27, 2019 6:58 pm
Forum: Troubleshooting
Topic: upgrade of kernel and/or bootloader going wrong
Replies: 16
Views: 794

Re: upgrade of kernel and/or bootloader going wrong

As far as the /boot partition is concerned: I did not make any changes to the system. but I will explicitly check before and after the next install. All the Pi's that I manage are setup as similar as possible, but only one is showing this issue. My problem is, that up to now, I have not found a way ...
by epposan
Tue Aug 27, 2019 6:08 pm
Forum: Troubleshooting
Topic: upgrade of kernel and/or bootloader going wrong
Replies: 16
Views: 794

Re: upgrade of kernel and/or bootloader going wrong

Ok. I must admit that the checksum statement is incorrect at this point in time. I am sure that I checked the md5sums before the reboot (otherwise I would not have dared to reboot, as I cannot easily access it due to distance), but after the reboot I lost contact with the pi (because openvpn did not...
by epposan
Tue Aug 27, 2019 4:51 pm
Forum: Troubleshooting
Topic: upgrade of kernel and/or bootloader going wrong
Replies: 16
Views: 794

Re: upgrade of kernel and/or bootloader going wrong

The remote pi's all have their own small UPS that would shutdown the system gracefully if there would be PS or Mains issues. This particular pi is located somehwere in France, more than 800 km from my place, so I took some extra measures to prevent issues caused by power glitches. Nevertheless, I wi...
by epposan
Tue Aug 27, 2019 12:23 pm
Forum: Troubleshooting
Topic: upgrade of kernel and/or bootloader going wrong
Replies: 16
Views: 794

upgrade of kernel and/or bootloader going wrong

I am trying to troubleshoot a problem with upgrading the kernel and/or bootloader on a Raspberry Pi 2 Model B I remotely manage several of these older (headless) raspberry-pi's as OpenVPN servers for several years now. They still are up to their task. However, the upgrade on ONE of these pi's is rep...

Go to advanced search