Jump to content

Can't auto mount in fstab at Orange Pi PC


prime_jp

Recommended Posts

Hi, am trying Lubuntu desktop on Orange Pi Zero, that I downloaded from:
http://www.orangepi.org/downloadresources/

I tried to set the ram disk mounting in the /etc/fstab to existing directory /home/orangepi/ramdisk.

/etc/fstab:

tmpfs       /home/orangepi/ramdisk tmpfs   nodev,nosuid,exec,nodiratime,size=50M   0 0

 

 

and system doesn't boot:
[    2.607697] cmdline,disp=
[    2.611103] [DISP] disp_init_tv,line:540:screen 0 do not support TV TYPE!
[    2.611126] [DISP] bsp_disp_tv_register,line:946:'ptv is null
[    2.625218] sunxi-rtc sunxi-rtc: setting system clock to 1970-01-01 00:00:08 UTC (8)
[    2.633968] ths_fetch_sysconfig_para: type err  device_used = 1.
[    2.642459] CPU Budget:Register notifier
[    2.646832] CPU Budget:register Success
[    2.651145] sunxi-budget-cooling sunxi-budget-cooling: Cooling device registered: thermal-budget-0
[    2.666021] ALSA device list:
[    2.669332]   #0: audiocodec
[    2.672605]   #1: sndhdmi
[    2.675791] Waiting for root device /dev/mmcblk0p2...
[    3.200072] [DISP] disp_hdmi_set_detect,line:405:hdmi0's mgr is NULL
[    3.837287] *******************Try sdio*******************
[    3.844283] mmc0: req failed (CMD5): -110, retrying...
[    3.850869] mmc0: req failed (CMD5): -110, retrying...
[    3.857440] mmc0: req failed (CMD5): -110, retrying...
[    3.864031] *******************Try sd *******************
[    3.939048] mmc0: new high speed SDHC card at address aaaa
[    3.945778] mmcblk0: mmc0:aaaa SL16G 14.8 GiB
[    3.955734]  mmcblk0: p1 p2
[    3.959683] *******************sd init ok*******************
[    4.045197] EXT4-fs (mmcblk0p2): recovery complete
[    4.054438] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    4.063518] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    4.074755] devtmpfs: mounted
[    4.078433] Freeing init memory: 324K
[    4.552821] init: plymouth-upstart-bridge main process (96) terminated with status 1
[    4.561673] init: plymouth-upstart-bridge main process ended, respawning
[    4.601867] init: plymouth-upstart-bridge main process (106) terminated with status 1
[    4.610880] init: plymouth-upstart-bridge main process ended, respawning
[    4.639058] init: plymouth-upstart-bridge main process (109) terminated with status 1
[    4.648032] init: plymouth-upstart-bridge main process ended, respawning
[    4.687652] init: plymouth-upstart-bridge main process (111) terminated with status 1
[    4.696556] init: plymouth-upstart-bridge main process ended, respawning
[    4.705364] init: ureadahead main process (99) terminated with status 5
 

Thank you in advance.

Edited by tarbal
Link to comment
Share on other sites

The format of your command in /etc/fstab looks fine. Did you make sure that the /home/orangepi/ramdisk directory exists for mounting?

 

You could have done a 'sudo mount /home/orangepi/ramdisk' after making the changes to /etc/fstab,  and hopefully got a reaonsable error message then, instead of at boot time. And just a quick FYI, this isn't the OrangePi support forum! :-P

 

Link to comment
Share on other sites

Oh sorry!
I found the Orange Pi forum. I believe so :)
The directory exists, I succeed mounting it manually.

 

The same setting /etc/fstab of Nano Pi NEO Ubuntu operates fine.
Thank you for help.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines