/media not mounted on startup?

Share your opinion about Porteus Kiosk Edition.
Post Reply
Posts: 1
Joined: 10 Sep 2017, 09:30
Distribution: Porteus Kios 3.7.0 (32 bit)

/media not mounted on startup?

Post#1 by datomtom » 10 Sep 2017, 09:53

Thank you makers and community for developing Porteus Kiosk Edition – it's really great.

On an older 32 bit machine I am trying to create a kiosk browser with a locally served website and Google Chrome fullscreen to display it. I would like to run Porteus Kiosk from an USB stick (the one I burnt the ISO to with the wizard) and have the website data on another USB stick that should be mounted on /media as far as I understand. I would prefer this solution since I wouldn't have to recompile the Porteus Kiosk ISO everytime I change something on the website. In it's final installation site the computer has no network access though, so I can't really host it somewhere else - that's why I would like to go for a locally hosted website.

Now, with both USB sticks the "system" and the "media" attached to the computer I am getting Porteus Kiosk to boot properly directly into the fullscreen browser, but apparently the "media" stick is not mounted at startup. Plugging it out and in again on the computer gives me the pop-up messages on top of the screen that the device has been mounted and pressing F5 (reload) on the keyboard shows the locally served website accordingly. Since this should be a headless system, I am wondering whether there's a way to let the system detect and mount the "media" USB stick during the boot process accordingly.

Any ideas?

User avatar
Site Admin
Site Admin
Posts: 4565
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland, currently - Cork, IE

/media not mounted on startup?

Post#2 by fanthom » 10 Sep 2017, 11:39

Maybe you could use 'run_command=' parameter to download zip archive from Dropbox and unpack it to /var/www/localhost/htdocs during every kiosk boot?

Sorry - realized this is for installation with no network.
You may use this:

Code: Select all

run_command=mount /dev/sdb1 /mnt && cp -a /mnt/www/localhost /var/www; umount /mnt
OFC you nee to change this command to match your device and folders.

Please add [Solved] to your thread title if the solution was found.

Post Reply