Go to advanced search

by karvalho
Sun Jun 25, 2017 11:35 am
Forum: Troubleshooting
Topic: Rasp2 running on USB Stick, kernel upgrade problem
Replies: 9
Views: 2056

Re: Rasp2 running on USB Stick, kernel upgrade problem

Sounds as if you upgraded the copy of Raspbian on the SD card and then failed to copy the upgraded Raspbian to the USB drive? That's correct. Is it required to keep both upgraded? Alternatively if you had run step 2 while running with root on the USB stick then it would have upgraded the Boot relat...
by karvalho
Sat Jun 24, 2017 5:09 pm
Forum: Troubleshooting
Topic: Rasp2 running on USB Stick, kernel upgrade problem
Replies: 9
Views: 2056

Re: Rasp2 running on USB Stick, kernel upgrade problem

Start from point 0. I just did, and got some interesting results. I managed to get the exact opposite result: uname -r reports a newer kernel, and /lib/modules contains older kernel files. uname -r 4.9.28-v7+ ls /lib/modules 4.4.50+ 4.4.50-v7+ depmod depmod: ERROR: could not open directory /lib/mod...
by karvalho
Sat Jun 24, 2017 12:14 pm
Forum: Troubleshooting
Topic: Rasp2 running on USB Stick, kernel upgrade problem
Replies: 9
Views: 2056

Re: Rasp2 running on USB Stick, kernel upgrade problem

BTW, after upgrading, /lib/modules has these:

Code: Select all

ls /lib/modules
4.9.28+  4.9.28-v7+
But the sd card's /lib/modules still have the files from the original kernel:

Code: Select all

ls /media/pi/b105f9a8-f450-4976-8ac8-69053f57bab4/lib/modules
4.4.50+  4.4.50-v7+
And

Code: Select all

uname -r
4.4.50-v7+
by karvalho
Sat Jun 24, 2017 12:05 pm
Forum: Troubleshooting
Topic: Rasp2 running on USB Stick, kernel upgrade problem
Replies: 9
Views: 2056

Re: Rasp2 running on USB Stick, kernel upgrade problem

Where's the root filesystem? If I run "mount", the first line is this: /dev/sda2 on / type ext4 (rw,noatime,data=ordered) It means the root is mounted on my usb stick, right? What's in /boot/cmdline.txt? dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=PARTUUID=402e4a57-02 rootfstype=e...
by karvalho
Sat Jun 24, 2017 2:11 am
Forum: Troubleshooting
Topic: Rasp2 running on USB Stick, kernel upgrade problem
Replies: 9
Views: 2056

Re: Rasp2 running on USB Stick, kernel upgrade problem

What device was mounted as /boot when you ran the upgrade? Before the upgrade, it seems /dev/sda1 is properly mounted. mount | grep boot /dev/sda1 on /boot type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro) /dev/mmcblk0p1 on /media/pi/boot t...
by karvalho
Wed Jun 21, 2017 1:02 pm
Forum: Troubleshooting
Topic: Rasp2 running on USB Stick, kernel upgrade problem
Replies: 9
Views: 2056

Rasp2 running on USB Stick, kernel upgrade problem

I managed to boot a raspberry pi 2 from a usb stick, using the root parameter on /boot/cmdline.txt in my sd card, and having raspbian copied to my usb drive. Everything's fine, till I apt-get update && apt-get upgrade Before upgrade, uname -r returns: 4.4.50-v7+ In the upgrade it's included the pack...

Go to advanced search