Struggling with permissions

What is the capacity of the microSD card?
When formating the microSD card, what format did you use?

I'm missing something here.
I got into the Grub screen easily enough, but there is no menu there. It says "Tab shows possible commands", I press tab and a list of commands comes up but I don't see anything that includes "menu" or "advanced options".
So I typed reboot to reboot, not sure how to navigate that screen other than that!

It's a 64gb card.
I formatted it on my old macbook to Mac os Journaled.
Before that when I tried to format it using Disks on Zorin it didn't actually complete the formatting, although Disks appeared to go through the motions...

~$ lshw
WARNING: you should run this program as super-user.
laptop
description: Computer
width: 64 bits
capabilities: smp vsyscall32
*-core
description: Motherboard
physical id: 0
*-memory
description: System memory
physical id: 0
size: 16GiB
*-cpu
product: Intel(R) Core(TM) i7-5600U CPU @ 2.60GHz
vendor: Intel Corp.
physical id: 1
bus info: cpu@0
size: 2905MHz
capacity: 3200MHz
width: 64 bits
capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp x86-64 constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm rdseed adx smap intel_pt xsaveopt dtherm ida arat pln pts md_clear flush_l1d cpufreq
*-pci
description: Host bridge
product: Broadwell-U Host Bridge -OPI
vendor: Intel Corporation
physical id: 100
bus info: pci@0000:00:00.0
version: 09
width: 32 bits
clock: 33MHz
configuration: driver=bdw_uncore
resources: irq:0
*-display
description: VGA compatible controller
product: HD Graphics 5500
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 09
width: 64 bits
clock: 33MHz
capabilities: vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:49 memory:f6000000-f6ffffff memory:e0000000-efffffff ioport:f000(size=64) memory:c0000-dffff
*-multimedia:0
description: Audio device
product: Broadwell-U Audio Controller
vendor: Intel Corporation
physical id: 3
bus info: pci@0000:00:03.0
version: 09
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list
configuration: driver=snd_hda_intel latency=0
resources: irq:52 memory:f723c000-f723ffff
*-generic
description: Signal processing controller
product: Broadwell-U Processor Thermal Subsystem
vendor: Intel Corporation
physical id: 4
bus info: pci@0000:00:04.0
version: 09
width: 64 bits
clock: 33MHz
capabilities: cap_list
configuration: driver=proc_thermal latency=0
resources: irq:16 memory:f7230000-f7237fff
*-usb:0
description: USB controller
product: Wildcat Point-LP USB xHCI Controller
vendor: Intel Corporation
physical id: 14
bus info: pci@0000:00:14.0
version: 03
width: 64 bits
clock: 33MHz
capabilities: xhci bus_master cap_list
configuration: driver=xhci_hcd latency=0
resources: irq:46 memory:f7220000-f722ffff
*-communication
description: Communication controller
product: Wildcat Point-LP MEI Controller #1
vendor: Intel Corporation
physical id: 16
bus info: pci@0000:00:16.0
version: 03
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list
configuration: driver=mei_me latency=0
resources: irq:50 memory:f7246000-f724601f
*-network
description: Ethernet interface
product: Ethernet Connection (3) I218-LM
vendor: Intel Corporation
physical id: 19
bus info: pci@0000:00:19.0
logical name: eno1
version: 03
serial: 34:e6:d7:7d:e3:c2
size: 1Gbit/s
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=5.15.0-87-generic duplex=full firmware=0.2-3 ip=192.168.1.4 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
resources: irq:45 memory:f7200000-f721ffff memory:f7243000-f7243fff ioport:f080(size=32)
*-multimedia:1
description: Audio device
product: Wildcat Point-LP High Definition Audio Controller
vendor: Intel Corporation
physical id: 1b
bus info: pci@0000:00:1b.0
version: 03
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list
configuration: driver=snd_hda_intel latency=32
resources: irq:53 memory:f7238000-f723bfff
*-pci:0
description: PCI bridge
product: Wildcat Point-LP PCI Express Root Port #1
vendor: Intel Corporation
physical id: 1c
bus info: pci@0000:00:1c.0
version: e3
width: 32 bits
clock: 33MHz
capabilities: pci normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:42 memory:f7100000-f71fffff
*-generic
description: SD Host controller
product: SD/MMC Card Reader Controller
vendor: O2 Micro, Inc.
physical id: 0
bus info: pci@0000:01:00.0
version: 01
width: 32 bits
clock: 33MHz
capabilities: bus_master cap_list
configuration: driver=sdhci-pci latency=0
resources: irq:48 memory:f7101000-f7101fff memory:f7100000-f71007ff
*-pci:1
description: PCI bridge
product: Wildcat Point-LP PCI Express Root Port #4
vendor: Intel Corporation
physical id: 1c.3
bus info: pci@0000:00:1c.3
version: e3
width: 32 bits
clock: 33MHz
capabilities: pci normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:43 memory:f7000000-f70fffff
*-network DISABLED
description: Wireless interface
product: Wireless 7265
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:02:00.0
logical name: wlp2s0
version: 59
serial: 5c:e0:c5:37:17:f7
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=iwlwifi driverversion=5.15.0-87-generic firmware=29.1654887522.0 7265D-29.ucode latency=0 link=no multicast=yes wireless=IEEE 802.11
resources: irq:51 memory:f7000000-f7001fff
*-pci:2
description: PCI bridge
product: Wildcat Point-LP PCI Express Root Port #5
vendor: Intel Corporation
physical id: 1c.4
bus info: pci@0000:00:1c.4
version: e3
width: 32 bits
clock: 33MHz
capabilities: pci normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:44
*-usb:1
description: USB controller
product: Wildcat Point-LP USB EHCI Controller
vendor: Intel Corporation
physical id: 1d
bus info: pci@0000:00:1d.0
version: 03
width: 32 bits
clock: 33MHz
capabilities: ehci bus_master cap_list
configuration: driver=ehci-pci latency=0
resources: irq:21 memory:f7242000-f72423ff
*-isa
description: ISA bridge
product: Wildcat Point-LP LPC Controller
vendor: Intel Corporation
physical id: 1f
bus info: pci@0000:00:1f.0
version: 03
width: 32 bits
clock: 33MHz
capabilities: isa bus_master cap_list
configuration: driver=lpc_ich latency=0
resources: irq:0
*-raid
description: RAID bus controller
product: 82801 Mobile SATA Controller [RAID mode]
vendor: Intel Corporation
physical id: 1f.2
bus info: pci@0000:00:1f.2
version: 03
width: 32 bits
clock: 66MHz
capabilities: raid bus_master cap_list
configuration: driver=ahci latency=0
resources: irq:47 ioport:f0d0(size=8) ioport:f0c0(size=4) ioport:f0b0(size=8) ioport:f0a0(size=4) ioport:f060(size=32) memory:f7241000-f72417ff
*-serial UNCLAIMED
description: SMBus
product: Wildcat Point-LP SMBus Controller
vendor: Intel Corporation
physical id: 1f.3
bus info: pci@0000:00:1f.3
version: 03
width: 64 bits
clock: 33MHz
configuration: latency=0
resources: memory:f7240000-f72400ff ioport:f040(size=32)
*-pnp00:00
product: PnP device PNP0c02
physical id: 2
capabilities: pnp
configuration: driver=system
*-pnp00:01
product: PnP device PNP0b00
physical id: 3
capabilities: pnp
configuration: driver=rtc_cmos
*-pnp00:02
product: PnP device INT3f0d
physical id: 4
capabilities: pnp
configuration: driver=system
*-pnp00:03
product: PnP device PNP0303
physical id: 5
capabilities: pnp
configuration: driver=i8042 kbd
*-pnp00:04
product: PnP device DLL062b
physical id: 6
capabilities: pnp
configuration: driver=i8042 aux
*-pnp00:05
product: PnP device PNP0401
physical id: 7
capabilities: pnp
*-pnp00:06
product: PnP device PNP0c02
physical id: 8
capabilities: pnp
configuration: driver=system
*-pnp00:07
product: PnP device PNP0c02
physical id: 9
capabilities: pnp
configuration: driver=system
*-scsi
physical id: 1
bus info: scsi@2
logical name: scsi2
capabilities: scsi-host
configuration: driver=usb-storage
WARNING: output may be incomplete or inaccurate, you should run this program as super-user.

Nope, but I was repeatedly pressing Esc as it booted as described earlier, is there another way I should do it?

Apologies! I forgot to have the card reader inserted when I ran the command....

WARNING: you should run this program as super-user.
laptop
description: Computer
width: 64 bits
capabilities: smp vsyscall32
*-core
description: Motherboard
physical id: 0
*-memory
description: System memory
physical id: 0
size: 16GiB
*-cpu
product: Intel(R) Core(TM) i7-5600U CPU @ 2.60GHz
vendor: Intel Corp.
physical id: 1
bus info: cpu@0
size: 2047MHz
capacity: 3200MHz
width: 64 bits
capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp x86-64 constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb invpcid_single pti ssbd ibrs ibpb stibp tpr_shadow vnmi flexpriority ept vpid ept_ad fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm rdseed adx smap intel_pt xsaveopt dtherm ida arat pln pts md_clear flush_l1d cpufreq
*-pci
description: Host bridge
product: Broadwell-U Host Bridge -OPI
vendor: Intel Corporation
physical id: 100
bus info: pci@0000:00:00.0
version: 09
width: 32 bits
clock: 33MHz
configuration: driver=bdw_uncore
resources: irq:0
*-display
description: VGA compatible controller
product: HD Graphics 5500
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 09
width: 64 bits
clock: 33MHz
capabilities: vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:49 memory:f6000000-f6ffffff memory:e0000000-efffffff ioport:f000(size=64) memory:c0000-dffff
*-multimedia:0
description: Audio device
product: Broadwell-U Audio Controller
vendor: Intel Corporation
physical id: 3
bus info: pci@0000:00:03.0
version: 09
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list
configuration: driver=snd_hda_intel latency=0
resources: irq:52 memory:f723c000-f723ffff
*-generic
description: Signal processing controller
product: Broadwell-U Processor Thermal Subsystem
vendor: Intel Corporation
physical id: 4
bus info: pci@0000:00:04.0
version: 09
width: 64 bits
clock: 33MHz
capabilities: cap_list
configuration: driver=proc_thermal latency=0
resources: irq:16 memory:f7230000-f7237fff
*-usb:0
description: USB controller
product: Wildcat Point-LP USB xHCI Controller
vendor: Intel Corporation
physical id: 14
bus info: pci@0000:00:14.0
version: 03
width: 64 bits
clock: 33MHz
capabilities: xhci bus_master cap_list
configuration: driver=xhci_hcd latency=0
resources: irq:46 memory:f7220000-f722ffff
*-communication
description: Communication controller
product: Wildcat Point-LP MEI Controller #1
vendor: Intel Corporation
physical id: 16
bus info: pci@0000:00:16.0
version: 03
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list
configuration: driver=mei_me latency=0
resources: irq:50 memory:f7246000-f724601f
*-network
description: Ethernet interface
product: Ethernet Connection (3) I218-LM
vendor: Intel Corporation
physical id: 19
bus info: pci@0000:00:19.0
logical name: eno1
version: 03
serial: 34:e6:d7:7d:e3:c2
size: 1Gbit/s
capacity: 1Gbit/s
width: 32 bits
clock: 33MHz
capabilities: bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=e1000e driverversion=5.15.0-87-generic duplex=full firmware=0.2-3 ip=192.168.1.4 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
resources: irq:45 memory:f7200000-f721ffff memory:f7243000-f7243fff ioport:f080(size=32)
*-multimedia:1
description: Audio device
product: Wildcat Point-LP High Definition Audio Controller
vendor: Intel Corporation
physical id: 1b
bus info: pci@0000:00:1b.0
version: 03
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list
configuration: driver=snd_hda_intel latency=32
resources: irq:53 memory:f7238000-f723bfff
*-pci:0
description: PCI bridge
product: Wildcat Point-LP PCI Express Root Port #1
vendor: Intel Corporation
physical id: 1c
bus info: pci@0000:00:1c.0
version: e3
width: 32 bits
clock: 33MHz
capabilities: pci normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:42 memory:f7100000-f71fffff
*-generic
description: SD Host controller
product: SD/MMC Card Reader Controller
vendor: O2 Micro, Inc.
physical id: 0
bus info: pci@0000:01:00.0
version: 01
width: 32 bits
clock: 33MHz
capabilities: bus_master cap_list
configuration: driver=sdhci-pci latency=0
resources: irq:48 memory:f7101000-f7101fff memory:f7100000-f71007ff
*-pci:1
description: PCI bridge
product: Wildcat Point-LP PCI Express Root Port #4
vendor: Intel Corporation
physical id: 1c.3
bus info: pci@0000:00:1c.3
version: e3
width: 32 bits
clock: 33MHz
capabilities: pci normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:43 memory:f7000000-f70fffff
*-network DISABLED
description: Wireless interface
product: Wireless 7265
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:02:00.0
logical name: wlp2s0
version: 59
serial: 5c:e0:c5:37:17:f7
width: 64 bits
clock: 33MHz
capabilities: bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=iwlwifi driverversion=5.15.0-87-generic firmware=29.1654887522.0 7265D-29.ucode latency=0 link=no multicast=yes wireless=IEEE 802.11
resources: irq:51 memory:f7000000-f7001fff
*-pci:2
description: PCI bridge
product: Wildcat Point-LP PCI Express Root Port #5
vendor: Intel Corporation
physical id: 1c.4
bus info: pci@0000:00:1c.4
version: e3
width: 32 bits
clock: 33MHz
capabilities: pci normal_decode bus_master cap_list
configuration: driver=pcieport
resources: irq:44
*-usb:1
description: USB controller
product: Wildcat Point-LP USB EHCI Controller
vendor: Intel Corporation
physical id: 1d
bus info: pci@0000:00:1d.0
version: 03
width: 32 bits
clock: 33MHz
capabilities: ehci bus_master cap_list
configuration: driver=ehci-pci latency=0
resources: irq:21 memory:f7242000-f72423ff
*-isa
description: ISA bridge
product: Wildcat Point-LP LPC Controller
vendor: Intel Corporation
physical id: 1f
bus info: pci@0000:00:1f.0
version: 03
width: 32 bits
clock: 33MHz
capabilities: isa bus_master cap_list
configuration: driver=lpc_ich latency=0
resources: irq:0
*-raid
description: RAID bus controller
product: 82801 Mobile SATA Controller [RAID mode]
vendor: Intel Corporation
physical id: 1f.2
bus info: pci@0000:00:1f.2
version: 03
width: 32 bits
clock: 66MHz
capabilities: raid bus_master cap_list
configuration: driver=ahci latency=0
resources: irq:47 ioport:f0d0(size=8) ioport:f0c0(size=4) ioport:f0b0(size=8) ioport:f0a0(size=4) ioport:f060(size=32) memory:f7241000-f72417ff
*-serial UNCLAIMED
description: SMBus
product: Wildcat Point-LP SMBus Controller
vendor: Intel Corporation
physical id: 1f.3
bus info: pci@0000:00:1f.3
version: 03
width: 64 bits
clock: 33MHz
configuration: latency=0
resources: memory:f7240000-f72400ff ioport:f040(size=32)
*-pnp00:00
product: PnP device PNP0c02
physical id: 2
capabilities: pnp
configuration: driver=system
*-pnp00:01
product: PnP device PNP0b00
physical id: 3
capabilities: pnp
configuration: driver=rtc_cmos
*-pnp00:02
product: PnP device INT3f0d
physical id: 4
capabilities: pnp
configuration: driver=system
*-pnp00:03
product: PnP device PNP0303
physical id: 5
capabilities: pnp
configuration: driver=i8042 kbd
*-pnp00:04
product: PnP device DLL062b
physical id: 6
capabilities: pnp
configuration: driver=i8042 aux
*-pnp00:05
product: PnP device PNP0401
physical id: 7
capabilities: pnp
*-pnp00:06
product: PnP device PNP0c02
physical id: 8
capabilities: pnp
configuration: driver=system
*-pnp00:07
product: PnP device PNP0c02
physical id: 9
capabilities: pnp
configuration: driver=system
*-scsi
physical id: 1
bus info: scsi@2
logical name: scsi2
capabilities: scsi-host
configuration: driver=usb-storage
WARNING: output may be incomplete or inaccurate, you should run this program as super-user.

I also have a usb keyboard and usb mouse connected full time...

This is what I get;

modprobe --remove sdhci-pci
modprobe: ERROR: ../libkmod/libkmod-module.c:799 kmod_module_remove_module() could not remove 'sdhci_pci': Operation not permitted

Ok so I ran the two commands with reboots in between.
There was no response in terminal other than requesting my password.
There is no change with the SD card, still read only...

1 Like

As it worked previously, and stopped working on the Current Supplied Kernel Drivers, have you yet accessed Advanced Options for Zorin and tried the earlier kernel?

2 Likes

Being a USB card reader, is your user in the dialout group? You could try sudo chmod 600 /dev/ttyUSBx before formatting to see if it is group related; x being the device number for the card reader since keyboard / mouse are also USB (ttyUSB0-1-2-3- etc.).

Are you able to format the SD card in the MP3 player device? I'm wondering what would happen if you did, and if so - what format :thinking: .. had to add exFAT support for some of my weirder devices..

I'm still not sure how to access that menu as when I press Esc during boot it doesn't take me to that menu, I got into the Grub screen easily enough, but there is no menu there. It says "Tab shows possible commands", I press tab and a list of commands comes up but I don't see anything that includes "menu" or "advanced options".

Please post the output of

cat /etc/default/grub

You only need to post these parts:

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=menu
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash loglevel=3"
GRUB_CMDLINE_LINUX=""

I would need a little help here, how do I identify the USB number?

This was what I had originally done and it uses msdos FAT32.
So I've done this now and the SD card is now writeable, but I know over time this won't stick as it's the same scenario that I was in when the permissions started to act up previously...

GRUB_DEFAULT=0
GRUB_TIMEOUT_STYLE=hidden
GRUB_TIMEOUT=0
GRUB_DISTRIBUTOR=lsb_release -i -s 2> /dev/null || echo Debian
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"
GRUB_CMDLINE_LINUX=""

Do I need to change "hidden" to "menu"?

No worries - might not be ttyUSBx after all, since it's an SD - I hooked my USB reader up to see something. Use blkid - should spit out something around /dev/sda and replace with sudo chmod 600 /dev/sda or however it's listing your SD card with blkid - that may not be the case after all since it is in fact working / writable for now. May need to do some device health checks with something like testdisk or GParted though.

For all my fresh installs (OS) I always install libusb-dev - drastically improves USB support for devices.. my weird no-name devices that is lol

You set your timeout to 0, which means that there are Zero Seconds for Grub menu to appear. The Zorin OS Default is 10. I do not recommend less than 5.
You can set the timeout to 5 or 10, then tap ctl+o to overwrite. Tap enter to save current configuration. Tap ctrl+x to exit the editor.
Now you must run

sudo update-grub

for the change to take effect.
Then reboot, and tap the esc key as before and see if you can access Grub Menu.
You really want to be able to access it in case you need the Recovery Menu someday.

I wish there was a way to persuade users that it is a really bad idea to set Grub timeout to zero just to save a few seconds on boot. The resulting consequences appear here time and again.

2 Likes

I haven't set my timeout to 0. I didn't even know that the Grub menu existed before starting this thread!
I have no idea how to set the timeout....

Funny that you guys are assuming that I (or any other user) has done this deliberately....

Again, I never modified this....

There are plenty of apps or scripts that can and will modify Grub on your behalf. For example, grub customizer is an application that can do so.
Most often, a user looks up a guide on how to do something and follows the commands given by the guide. They copy/pasted commands, so do not remember the commands. They may not associate what that guide told them to do (Guide labeled "Speed up Ubuntu") with a later mention of (talk of "Grub Timeout").

The above is not intended as shaming. Or a direct accusation.
And I hope it is very clear to us all that such changes can be made without the users knowledge - as with the example of Grub Customizer.
Other things that can also change that value include

  • Dual Booting with other distros: A different distro may have a different timeout and may be set as the default grub to boot with.
  • Boot repair attempts using automated boot repair.
  • BIOS / EUFI Firmware updates

Your grub file is located in /etc/default/grub and you can restore it to default with this post.

1 Like