Udisks -- install issues from other linux distros

Non release banter
Post Reply
User avatar
Ahau
King of Docs
King of Docs
Posts: 1331
Joined: 28 Dec 2010, 15:18
Distribution: LXDE & Xfce 32/64-bit
Location: USA

Udisks -- install issues from other linux distros

Post#1 by Ahau » 07 Jul 2011, 15:10

Hi all,

I believe I need to issue a huge apology to the community--

Back in April, I wrote a note for the install guide, in this thread: viewtopic.php?f=53&t=415&start=30#p2638

That note was in regards to an issue where automounting USB devices in other linux distros causes FAT and NTFS flash drives to be mounted with all files marked as unexecutable.

That note DID_NOT make it into the final draft of the installation guide, and I believe this was an oversight on my part. This has likely caused many potential new users to fail at installing Porteus. As an example, see this review from DarkDuck: http://linuxblog.darkduck.com/2011/07/porteus-10.html You can see my comments on that post.

I would like to update the install guide on the web and issue a patch for V1.1, so I'd like help from the community in making sure this issue is solved and the information presented is clear. Here is my note, which will go in section 3 of the install guide's instructions for installing Porteus from within Linux:
3) Open a console and change directories to the boot folder that you just copied into the flash drive, e.g.

cd /mnt/sdb1/boot

Execute the lin_start_here.sh script:

./lin_start_here.sh

*NOTE* If you are not running as root already, you must use the su or sudo command and enter your root password before starting this script, or it will not be able to configure your device properly.

*NOTE* Some modern linux distributions, such as Ubuntu, Fedora, Mandriva, etc, use 'udisk' to automount usb drives from within KDE/Gnome/LXDE, etc. In versions higher than 1.0.2, udisk will not automount these drives with executable permissions (attempting to run the script will result in an error stating that permissions have been denied), and you must mount your device manually as root in order to execute the script. For example:

mkdir /tmp/media
mount /dev/sdXY /tmp/media
/tmp/media/boot/lin_start_here.sh

(where sdXY is the device and partition to which you are installing Porteus)

This script will bring up a menu.
First -- would it be necessary to unmount the flash drive if it was already automounted by udisks (I believe this would be the case) prior to mounting manually as root?

Second -- is /tmp/media a good place to do this, or would /mnt/sdXY/ be a better place for this, as it would match up better with the rest of the install doc?

Thanks, all, for your help. I'm very sorry for messing this up!

If you ran into this issue while installing Porteus, please speak up here on this thread to let us know.
Please take a look at our online documentation, here. Suggestions are welcome!

User avatar
brokenman
Site Admin
Site Admin
Posts: 5652
Joined: 27 Dec 2010, 03:50
Distribution: Porteus v3.2rcX all desktops
Location: Brazil
Contact:

Re: Udisks -- install issues from other linux distros

Post#2 by brokenman » 08 Jul 2011, 02:31

Brokenman presses the red button on his desk ..... "Release the hounds"

Seriously, no need for you to apologize. Bugs get found, and we fix em.

/tmp is as good a place as any for the manual mount. Perhaps fanthom can write something into the boot scripts to circumvent this problem. mount -a
How do i become super user?
Wear your underpants on the outside and put on a cape.

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

Re: Udisks -- install issues from other linux distros

Post#3 by fanthom » 10 Jul 2011, 11:35

@brokenman
"Perhaps fanthom can write something into the boot scripts to circumvent this problem."
booting script must be executed to display info/apply workaround. It's useless in this case as user wont be able to execute anything on FAT/NTFS.
Additional info must be added to the installation doc - that's all what we can do about it.

once again: if users encounter any problems with USB installation from other linuxes (non executable files on FAT/NFTS, 32/64 bit shared libs problem, missing md5sum utility, etc..) they should use Windows or burn Porteus to CD and perform USB installation from it.
in last 2 cases it should work out of the box.
Please add [Solved] to your thread title if the solution was found.

User avatar
Ahau
King of Docs
King of Docs
Posts: 1331
Joined: 28 Dec 2010, 15:18
Distribution: LXDE & Xfce 32/64-bit
Location: USA

Re: Udisks -- install issues from other linux distros

Post#4 by Ahau » 10 Jul 2011, 16:50

Debian's version of echo apparently doesn't support the -e switch (I received confirmation of this from DarkDuck). I'll come up with some more language for the install guide that basicallys says what fanthom wrote above--if you have issues with the installer, burn Porteus to a CD and install from there.
Please take a look at our online documentation, here. Suggestions are welcome!

Post Reply