Page 1 of 1

Porteus install over Linpus Lite in Acer Aspire es1-431

Posted: 21 May 2016, 04:15
by Toponoetikos
Apologies if this has been answered elsewhere as I could not find. This query is for an educational art project and I want to use a minimal UNIX-like OS and play an MP4 or MKV video in a continuous loop at a museum exhibition. It needs to be stable and run 8 hours per day, and start up instructions will be next to the laptop.
I am new to Linux and bought an Acer Aspire es1-431 with Linpus Lite pre-installed. I would like to overwrite with Proteus or Slackware OS. I am reading manuals and looking at sites but time is short. I also have a MacBook that can be used to support any downloads or bootable USB.

I will appreciate any suggestions to get up and running so I can test ASAP.

Thanks

Mark
Bangkok

Re: Porteus install over Linpus Lite in Acer Aspire es1-431

Posted: 21 May 2016, 04:44
by brokenman
Install the xfce4 version of Porteus. Use a startup script to automatically start your video in mplayer in full screen. I am a little short of time right now but perhaps someone else can write a short tutorial for this.

Re: Porteus install over Linpus Lite in Acer Aspire es1-431

Posted: 21 May 2016, 07:07
by donald
for an infinite loop in fullscreen mode use

Code: Select all

#!/bin/bash
mplayer -fs /path/to/video.mp4 -loop 0

Re: Porteus install over Linpus Lite in Acer Aspire es1-431

Posted: 21 May 2016, 10:04
by Toponoetikos
Thanks for the quick response and help. I will try these suggestions

Re: Porteus install over Linpus Lite in Acer Aspire es1-431

Posted: 23 May 2016, 16:37
by Toponoetikos
Encountered some trouble:

Marks-MacBook-Pro:~ Mark$ diskutil unmount /dev/disk2s1
Volume PORTEUS on disk2s1 unmounted
Marks-MacBook-Pro:~ Mark$ sudo dd /Desktop/Porteus-KDE4-v3.1-x86_64.iso of=/dev/rdisk2s1 bs=1m
Password:
dd: unknown operand /Desktop/Porteus-KDE4-v3.1-x86_64.iso
Marks-MacBook-Pro:~ Mark$ sudo dd ~/Desktop/Porteus-KDE4-v3.1-x86_64.iso of=/dev/rdisk2s1 bs=1m
Password:
dd: unknown operand /Users/Mark/Desktop/Porteus-KDE4-v3.1-x86_64.iso
Marks-MacBook-Pro:~ Mark$ sudo dd ~/Desktop/Porteus-XFCE-v3.1-x86_64.iso of=/dev/rdisk2s1 bs=1m
dd: unknown operand /Users/Mark/Desktop/Porteus-XFCE-v3.1-x86_64.iso

Any suggestions or spotted syntax errors?

Re: Porteus install over Linpus Lite in Acer Aspire es1-431

Posted: 23 May 2016, 16:56
by Ed_P
Toponoetikos wrote:Any suggestions or spotted syntax errors?
See this brokenman posting for doing that. http://forum.porteus.org/viewtopic.php? ... 354#p45528

Your bs=1m might be the problem.

Re: Porteus install over Linpus Lite in Acer Aspire es1-431

Posted: 23 May 2016, 22:45
by brokenman
diskutil unmount /dev/disk2s1
This shows me that disk2s1 is a partition, correct?

dd /Desktop/Porteus-KDE4-v3.1-x86_64.iso
That should be if=/Desktop/Porteus-KDE4-v3.1-x86_64.iso (The path should exist)

of=/dev/rdisk2s1
That should be rdisk2s <--- without the partition number

WARNING: You are going to nuke EVERYTHING on this drive if you run this command correctly. Only Porteus will exist on the drive. Is there a reason why you don't simply format the partition, copy the Porteus files onto it and then run the install script from within the boot folder?

Code: Select all

umount /dev/disk2s1
mkfs.ext4 /dev/disk2s1
mkdir /mnt/iso
mkdir /mnt/usb
mount -o loop /Desktop/Porteus-KDE4-v3.1-x86_64.iso /mnt/iso
mount /dev/disk2s1 /mnt/usb
cp -a /mnt/iso/* /mnt/usb/
sync
cd /mnt/usb/boot
./Porteus-installer-for-Linux.com
cd -
umount /mnt/iso