UPDATED (June 2021): 17-distro multi-boot image for Pinephone (incl. 3GiB variant)
#95
(11-28-2020, 07:42 PM)K_Research Wrote: Hello I made it to this step in the instructions

sudo echo ", +" | sfdisk -n -N 2 /dev/sdb2
sfdisk: cannot open /dev/sdb2: Permission denied


And when I try the next command I get

sudo echo ", +" | sfdisk -N 2 /dev/sdb2
sfdisk: cannot open /dev/sdb2: Permission denied



Suggestions?

Thanks
Where did that command come from? The elevated permissions from sudo only apply as far as the pipe '|' so sfdisk runs as the normal user, hence the permission denied. If you remove the first sudo, and insert one between the pipe and sfdisk, you'll probably get what was intended. As always when using sudo, make sure you know exactly what it's doing before running it!

UPDATE: It looks like you were trying to follow https://xnux.eu/log/#toc-resizing-the-pa...-the-image but using sudo, and changing the block device. I think you should be using /dev/sdb not /dev/sdb2 - the whole device not the second partition on that device.
  Reply


Messages In This Thread
RE: UPDATED: 17-distro multi-boot image for Pinephone (incl. 3GiB variant) - by wibble - 11-29-2020, 06:30 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  eSIM on PinePhone just_a_q 3 2,684 05-11-2024, 03:41 PM
Last Post: bam
  Pinephone boot. Richy_T 4 180 05-06-2024, 08:32 AM
Last Post: Richy_T
  PinePhone - boot from microSD laserpyramid 9 932 05-03-2024, 10:09 AM
Last Post: laserpyramid
  pinephone virtual keyboard aular 4 463 04-10-2024, 03:45 PM
Last Post: aular
  PinePhone Doesn't Boot LED Doesn't Show Any Signs When Charging dorkydev 1 313 04-02-2024, 11:50 AM
Last Post: Kevin Kofler
  Are you using the Pinephone as your daily driver? jro 157 111,483 02-18-2024, 11:33 PM
Last Post: aular
  2020 PinePhone Manjaro CE EU for sale, name your price astrojuanlu 7 1,972 02-14-2024, 04:51 PM
Last Post: astrojuanlu
  pinephone is not bootble for the box. ijij 1 698 01-19-2024, 01:29 PM
Last Post: fxc
  Multiple issues with the Pinephone MTXP 12 2,631 12-28-2023, 07:55 AM
Last Post: MTXP
  pinephone repair shop shengchieh 0 567 12-26-2023, 02:42 PM
Last Post: shengchieh

Forum Jump:


Users browsing this thread: 2 Guest(s)