Soft restart doesn't work - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111) +--- Forum: General Discussion on Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=112) +--- Thread: Soft restart doesn't work (/showthread.php?tid=11483) |
Soft restart doesn't work - dgkPBP - 09-16-2020 I updated to 20.08. I have a couple of issues: Soft reboot: If I do a reboot from the command menu, the system will shut down, then restart where I get a full screen image (looks like the manjaro logo stretched from top to bottom). The image will change a couple of times. The restart does not happen. I have to do a hard power down. If however I do a shutdown or power off the machine, and then restart (via the power key), the system boots just fine. Boot from SD: Doesn't work on Manjaro images, but does on Debian. ?? Wi-Fi: No longer worked after an update. I think the update took the system to 20.09. If I toggle Wi-Fi off and on, then reboot (can only do this with hard power down), wi-fi is not available. Nothing worked. I had to re-flash the emmc with 20.08, then after login do an update to 20.09. Now it works. Soft reboot is still broken. Now sure if it matters, but I upgraded the emmc from 64GB to 128GB. Strange. RE: Soft restart doesn't work - wdt - 09-16-2020 >Boot from SD: Doesn't work on Manjaro images, but does on Debian. ?? Could there be duplicate identical filesystem labels? (sudo blkid) If so, this is NOT a good idea. dosfslabel (11 chars max), e2label, also change fstab and extlinux RE: Soft restart doesn't work - dgkPBP - 09-17-2020 (09-16-2020, 10:29 PM)wdt Wrote: >Boot from SD: Doesn't work on Manjaro images, but does on Debian. ?? I'm not sure what this means. I download the image and flash an SD using etcher. Are you suggesting that the SD has an identical fs label to the existing image on the eMMC? I don't understand how this would matter. If I booted from an SD and then installed couldn't I got back and reinstall with the same SD? I'm relatively new to Linux. Thanks RE: Soft restart doesn't work - wdt - 09-17-2020 >Are you suggesting that the SD has an identical fs label to the existing image on the eMMC? Yes,, check with sudo blkid (and since won't boot from SD, boot from emmc, then insert SD, then blkid) >I don't understand how this would matter. less /etc/fstab If it is mounting BY LABEL, the os could well get confused (and this is not academic, someone already had a very confusing problem because of this) RE: Soft restart doesn't work - dgkPBP - 09-17-2020 You're right. Excellent. When I ran blkid with the SD inserted, It didn't list SD partitions. I moved the SD to USB/sd dongle and lo and behold, the labels are the same! Question: would changing the label on the SD make it bootable? I would think so. Question is how do I change the label on the SD? Thanks. You have solved a puzzling mystery. Code: [admin@pbp ~]$ sudo blkid RE: Soft restart doesn't work - wdt - 09-17-2020 >Question: would changing the label on the SD make it bootable? Probably boot emmc,,,,lsblk,,, line with "/" is emmc,, so you know which blk is which (mmcblkX, what is "X") when I say /dev/SD, replace with right mmcblkX (sorry, since is in carrier, SD is /dev/sda, lots simpler) all as root/sudo dosfslabel /dev/sda1 BOOT_MNJ_SD (BOOT_MNJ_SD is 11 chars, so won't be truncated,, also UPPER CASE so if case is changed behind your back, won't matter,,1st partition) e2fslabel /dev/sda2 root_fs_mnj_sd (2nd partition) edit/change /mnt/sda2/etc/fstab and /mnt/sda1/extlinux/extlinux.conf to have these names (whatever /mnt/?? is, rootfs on SD for fstab (sda2), boot for extlinx.conf (sda1)) Takes more time to type than do And BTW,, perhaps a "pro" tip,, since it is hard to put a physical label on a uSD,, too small cd / (of SD) sudo touch This-is-$DISTRO-VERSION-SD,,, replace distro-version with appropriate Then ls /,,, you don't have to dig thru etc to find out just what is this --edit-- Sorry, read too fast, since SD is in carrier, it is /dev/sda,, makes it a lot easier so dosfslabel /dev/sda1 whatever e2label /dev/sda2 whatever Perhaps use applet by clock to unmount , unplug, replug, will have new names, remount mount |grep sda to see where they are mounted for editing fstab, extlinux OR,, since I see are UUIDs are different, could mount by UUID rather than label, but still could be confusing for YOU, which is which? (when not in carrier) RE: Soft restart doesn't work - dgkPBP - 09-18-2020 (09-17-2020, 08:31 AM)wdt Wrote: >Are you suggesting that the SD has an identical fs label to the existing image on the eMMC? (09-17-2020, 04:12 PM)wdt Wrote: >Question: would changing the label on the SD make it bootable? I changed the label; no joy. Code: [admin@pbp ~]$ sudo blkid RE: Soft restart doesn't work - wdt - 09-18-2020 From your blkid paste,,, did you forget to change label for rootfs?? /dev/sda2 if booted SD,, /dev/mmcblk2p2 when emmc booted (and I would change on SD) e2label /dev/sda2 your_chosen_label You do understand??,, manjaro is on 2 partitions, "/" and boot,, / is ext4,,, boot is vfat fstab will mount both of these, with correct data the fstab on emmc is for emmc partitions, fstab on SD is for SD partitions RE: Soft restart doesn't work - dgkPBP - 09-19-2020 (09-18-2020, 02:56 PM)wdt Wrote: From your blkid paste,,, did you forget to change label for rootfs?? /dev/sda2 if booted SD,, I couldn't set the label on sda2. I get an error: "Logical sector is zero". Not sure what that means. Code: [admin@pbp ~]$ sudo blkid RE: Soft restart doesn't work - wdt - 09-19-2020 I don't know either you can try ,,, tune2fs -L your_chosen_label /dev/sda2 (man page say 16 chars max) or gparted for graphical You could do e2fsck /dev/sda2 (on unmounted partition) to see if there is any problem |