Boot issues: What todo when you muck up your FSTAB file
#1
Greetings:

New Piner and forum member. Was adding an external previously formatted NTFS 1TB drive, and had issues getting read/write access. Managed to get the system into a non boot state. In the end, I managed to resolve the boot issue, but chose to switch to a new drive formatted with EXT3. No probs since.

In the interest of helping others, with a similar issue, here’s what I ended up doing. Will leave out what didn’t work, to keep the post shorter.

Didn’t have an actual spare Linux system, so I used a Vmware desktop system running Kali, running on my Win 10 laptop. The VM recognized USB devices, but didn’t recognize the larger micro USB caddy the memory card came with. Had to run out and by a new memory card that shipped with both a USB and larger memory card reader.

The Pine64 micro SD card mounted automatically on the Kali VM, and provided full access to the system folders. Ending the /etc/fstab file took seconds and Pine booted afterwards.

Thanks to some folks on the IRC channel for offering suggestions, everything came together in the end.

For those who have read this far, in the interest of sharing what my Pine is doing …

1.) Security system with Zoneminder
Running 3 cameras for now. External drive setup with symbolic links to hold the video.

2.) Local cloud with Owncloud
External drive setup as the main repository.

So far very positive things to say about the community and the product.

W.
  Reply
#2
(04-16-2017, 09:08 AM)Dagremote Wrote: New Piner and forum member. Was adding an external previously formatted NTFS 1TB drive, and had issues getting read/write access. Managed to get the system into a non boot state. In the end, I managed to resolve the boot issue, but chose to switch to a new drive formatted with EXT3. No probs since.

...

2.) Local cloud with Owncloud
External drive setup as the main repository.

Welcome! Glad the guys on the IRC were able to get your issues fixed Wink Yes, playing with with /etc/fstab is always fraught with danger... doubly so on these SBCs unless you have a plan B for when it all goes wrong Wink Thanks for giving some pointers for others for when they inevitably find out the hard way not the fiddle in /etc/fstab unless you know exactly what you're doing ! :-O Another plan B could be to load linux onto another microSD card, and then plug your misconfigured one into the pine64 via the USB reader. That is basically what I can do with my Cubietruck... if I ever stuff up the microSD card, I just pull it out, and boot from the backup OS installed on the onboard eMMC, and then mount and fix the SD card configuration. 

I'm doing the same with another SBC... but running Nextcloud instead of Owncloud. Pretty handy having my own private version of dropbox keeping all my boxes in sync Wink
  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Pine Board using linux stuck during boot sequence ktaragorn 4 239 03-30-2019, 06:48 AM
Last Post: ktaragorn
  Issues with both Deb and Ubuntu germanshep 0 357 08-28-2018, 05:47 PM
Last Post: germanshep
  Secure boot & OTP efuse program devangpanchal90 0 347 05-25-2018, 01:59 AM
Last Post: devangpanchal90
  boot process for pine a64 awaysu 1 881 01-24-2018, 05:09 AM
Last Post: xalius
  Can't boot headless after running update_uboot.sh Borglesnorgle Williams 2 365 08-17-2017, 04:08 AM
Last Post: Borglesnorgle Williams
Exclamation Pine A64 Plus Fails to Boot grobbs 35 4,100 06-28-2017, 08:53 AM
Last Post: sarav_sara
Question Pine64 cannot boot jamiechang917 6 1,733 04-16-2017, 10:21 PM
Last Post: pfeerick
  U-Boot for A64 git longsleep 38 18,238 03-21-2017, 01:59 PM
Last Post: longsleep
  OpenWRT supports ARMv8 - arm64, u-boot problem? rgdonato 4 1,528 03-20-2017, 03:59 PM
Last Post: rgdonato
  USB OTG Boot devilsclaw 25 8,940 03-01-2017, 03:22 PM
Last Post: CaptainZalo

Forum Jump:


Users browsing this thread: 1 Guest(s)