Soft restart doesn't work
#7
(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?
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)

(09-17-2020, 04:12 PM)wdt Wrote: >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)

I changed the label; no joy.

Code:
[admin@pbp ~]$ sudo blkid
[sudo] password for admin:
/dev/zram0: LABEL="zram0" UUID="48a82b7c-b22c-484a-8439-fa6a695e00d1" TYPE="swap"
/dev/mmcblk2p1: SEC_TYPE="msdos" LABEL_FATBOOT="BOOT_MNJRO" LABEL="BOOT_MNJRO" UUID="70C6-B789" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="4d0c1911-01"
/dev/mmcblk2p2: LABEL="ROOT_MNJRO" UUID="06302dbe-5c26-4e88-8501-caf1fe26b3e5" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="4d0c1911-02"
/dev/sda1: SEC_TYPE="msdos" LABEL_FATBOOT="BOOT_XXXXX" LABEL="BOOT_XXXXX" UUID="6056-A6D8" BLOCK_SIZE="512" TYPE="vfat" PARTUUID="8bdbf46c-01"
/dev/sda2: LABEL="ROOT_MNJRO" UUID="781e8202-6c77-4bd4-b602-9601f48a9136" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="8bdbf46c-02"
[admin@pbp ~]$


Messages In This Thread
Soft restart doesn't work - by dgkPBP - 09-16-2020, 03:01 PM
RE: Soft restart doesn't work - by wdt - 09-16-2020, 10:29 PM
RE: Soft restart doesn't work - by dgkPBP - 09-17-2020, 05:11 AM
RE: Soft restart doesn't work - by wdt - 09-17-2020, 08:31 AM
RE: Soft restart doesn't work - by dgkPBP - 09-17-2020, 01:38 PM
RE: Soft restart doesn't work - by wdt - 09-17-2020, 04:12 PM
RE: Soft restart doesn't work - by dgkPBP - 09-18-2020, 06:32 AM
RE: Soft restart doesn't work - by wdt - 09-18-2020, 02:56 PM
RE: Soft restart doesn't work - by dgkPBP - 09-19-2020, 06:56 AM
RE: Soft restart doesn't work - by wdt - 09-19-2020, 09:40 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Brand new Pinebook Pro doesn't boot after Manjaro update johnboiles 8 3,723 12-15-2023, 02:11 PM
Last Post: wdt
  Does latest Tow-Boot install/work correctly for everyone? tophneal 4 2,947 08-03-2023, 03:30 PM
Last Post: tophneal
  Doesn’t power on after flashing emmc badguru 3 1,802 02-25-2023, 09:00 PM
Last Post: badguru
  eMMC for Odroid C4 work in PBP? dieselnutjob 6 4,266 04-05-2022, 10:10 AM
Last Post: jiyong
  Forgot my Pinebook password. Booting from MIcroSD doesn't work. ksfoodforest 0 2,001 01-30-2021, 11:08 AM
Last Post: ksfoodforest
  NVMe doesn't show up Seferi 19 19,944 10-30-2020, 07:08 AM
Last Post: ReddestDream
  Pinebook Pro doesn't boot most of the time unless connected via USB-serial! nib0 16 15,753 09-29-2020, 10:24 PM
Last Post: wdt
  Trackpad doesn't pick up small movements dieselnutjob 3 4,939 07-15-2020, 06:18 AM
Last Post: dieselnutjob
  Does Fastboot Devices tools work on Pinebook Pro? pinejolla 6 8,476 06-16-2020, 03:14 AM
Last Post: FeMike
  How do the kill switches work? Stevie-O 7 10,685 06-01-2020, 11:34 AM
Last Post: Phillip Bell

Forum Jump:


Users browsing this thread: 1 Guest(s)