USB pendrive. Trouble.

Post here if you are a new Porteus member and you're looking for some help.
Post Reply
frananc
Ronin
Ronin
Posts: 2
Joined: 15 Jul 2011, 17:28
Location: Italy

USB pendrive. Trouble.

Post#1 by frananc » 21 Jul 2011, 15:29

Hello. I'm an Italian newbie user.
I have been impressed by Porteus and I am trying to install it from Linux (Ubuntu) on a USB pendrive formatted to ext4, following the Porteus Official Installation Guide (v 1.0). I'm posting here hoping the topic title is consistent with my trouble.
I came up to <Execute lin_start_here.sh script> but when choosing to install Porteus on a linux partition I got as a result <. / Lin_start_here.sh: line 81:. / Syslinux / bootextlinux.sh: Permission denied>.

Any suggestions? Thanks in advance!

User avatar
Hamza
Warlord
Warlord
Posts: 1847
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: USB pendrive. Trouble.

Post#2 by Hamza » 21 Jul 2011, 15:38

Welcome to Porteus Community

That is an error of file permission
1)
Go to /boot with this command
cd /mnt/sdXX/boot

2)
Use this command
chmod +x ./syslinux/bootextlinux.sh

3)
Try Again and Enjoy !


Cheers!
NjVFQzY2Rg==

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

Re: USB pendrive. Trouble.

Post#3 by fanthom » 21 Jul 2011, 17:11

welcome on board frananc,

i believe that you are hit by a 'showexec' bug which is causing a troubles for porteus Installer. in short words 'udisk' package in your distro (Ubuntu in this case) is mounting FAT/NTFS formatted media with all files marked as non-executable. Luckily solution is very simple:
a) plug your stick
b) do not mount it automatically (if you have that choice) or umount it manually - do not remove the stick.
c) mount the stick manually with root privileges:
Ubuntu case

Code: Select all

sudo su
mkdir /tmp/usb_stick
mount /dev/sdXY /tmp/usb_stick
now you can launch lin_start_here.sh script from /tmp/usb_stick. after installation you can umount your pendrive by 'umount /tmp/usb_stick' command.

let us know in case of other troubles :wink:
Please add [Solved] to your thread title if the solution was found.

User avatar
Hamza
Warlord
Warlord
Posts: 1847
Joined: 28 Dec 2010, 07:41
Distribution: Porteus
Location: France

Re: USB pendrive. Trouble.

Post#4 by Hamza » 21 Jul 2011, 17:22

Sorry, I did not knew this bug. Please ignore my answer.
NjVFQzY2Rg==

frananc
Ronin
Ronin
Posts: 2
Joined: 15 Jul 2011, 17:28
Location: Italy

Re: USB pendrive. Trouble.

Post#5 by frananc » 24 Jul 2011, 16:41

Thanks Hamza.
@ Fanthom: unfortunately I am not so expert in Linux. Nevertheless, I followed your instructions, and after creating the directory usb_stick this is the result (I traslated it in English)
root @ fran-TECRA S2-: / home / fran # mount / dev/sdc2 / tmp / usb_stick
mount: the special device / dev/sdc2 does not exist
root @ fran-TECRA S2-: / home / fran # mount / dev / sdc / tmp / usb_stick
umount: / dev / sdc: unknown device
How can you see I tried mounting as SdC2 (this is the indication that I had by "Disk Manager") or simply as sdc, without result.
Where is my mistake? :(
Thank you for your patience!

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

Re: USB pendrive. Trouble.

Post#6 by fanthom » 24 Jul 2011, 17:21

@frananc
you need to find a pendrive letter assigned to your stick. pls plug the pendrive in and then run 'sudo dmesg' command in terminal. you should see something like here:

Code: Select all

[   24.516880] sd 8:0:0:0: Attached scsi generic sg2 type 0
[   24.518810] sd 8:0:0:0: [sdb] 7856127 512-byte logical blocks: (4.02 GB/3.74 GiB)
[   24.519313] sd 8:0:0:0: [sdb] Write Protect is off
[   24.519319] sd 8:0:0:0: [sdb] Mode Sense: 45 00 00 08
[   24.519808] sd 8:0:0:0: [sdb] No Caching mode page present
[   24.519813] sd 8:0:0:0: [sdb] Assuming drive cache: write through
[   24.521951] sd 8:0:0:0: [sdb] No Caching mode page present
[   24.521953] sd 8:0:0:0: [sdb] Assuming drive cache: write through
[   24.523863]  sdb: sdb1
and you will know that your stick is named 'sdb1'.
to confirm this run 'ls /dev/sd*' command and you should see it as well:

Code: Select all

/dev/sda  /dev/sda1  /dev/sda2  /dev/sda3  /dev/sda4  /dev/sdb  /dev/sdb1
once you know the letter you can follow procedure from my first post in this thread.
good luck!
Please add [Solved] to your thread title if the solution was found.

Post Reply