Page 7 of 8

Posted: Wed 13 Apr 2011, 23:20
by 01micko
sc0ttman

Go in /root/.startmount (hidden folder) and delete everything except config

Hopefully that will fix things, although if the drives are probing correctly old info should be overwritten, maybe you should set the preferences back to default (all checkboxes unchecked) until you get sorted.

Posted: Thu 14 Apr 2011, 13:33
by aarf
Startmount-0.5.5 into puppeee4.4r2
drive sdb3 mounts but the desktop link to a file in the partition wont link.
even after the rox folder is opened. didnt happen before with manual mount of partition sdb3. two partitions are startmounted sdb2 and sdb3.

Posted: Thu 14 Apr 2011, 13:51
by aarf
while opera2 desktop link on sdb2 will link. perhaps to do with the name operaext3 given to sdb3 partition?

Posted: Thu 14 Apr 2011, 14:04
by aarf
manual mount mounts the sdb3 as /mnt/operaext3
while startmount mounts sdb3 as /mnt/sdb3

Posted: Thu 14 Apr 2011, 16:30
by sc0ttman
01micko wrote:sc0ttman

Go in /root/.startmount (hidden folder) and delete everything except config

Hopefully that will fix things, although if the drives are probing correctly old info should be overwritten, maybe you should set the preferences back to default (all checkboxes unchecked) until you get sorted.
Perfect! Cheers.. Saved me reading a lot of code!

Posted: Sat 11 Feb 2012, 16:28
by darkcity
added to wiki http://puppylinux.org/wikka/StartMount :twisted:

ive noticed it gives a few errors if run from terminal luci 529 puppy-

Code: Select all

sh-4.1# /usr/local/Startmount/Startmount
/usr/local/Startmount/Startmount: line 110: kill: (21239) - No such process


sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
ok
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
cat: /root/.startmount/progitem_list: No such file or directory
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe

... same problem: startmount doesn't do anything

Posted: Mon 20 Feb 2012, 20:11
by johofman
newone wrote:I just installed Startmount and when i open it, it says:
You are running a USB install. Ensure your session is saved for Startmount to work.
And then it disappears.
I DO have a save file. My puppy is 5.2.
... and I also uninstalled/reinstalled V0.5.5 (and 0.5.3) several times.
Lucid Puppy 5.2.8 - also deleted "/root/.startmount" files.

Any idea what to do? I just want all installed HDD to be mounted at boot... Even "mkdir ... " and "mount ..." in "/etc/rc.d/rc.local doesn't work.

I've got a fresh USB thumbdrive install (just 2 dasy old) and just installed virtualbox. Want the" mount" for the hdds of the virtual machines.

Thanks in advance...

JH

Posted: Tue 21 Feb 2012, 09:26
by technosaurus
modified from the drive tray chunk of jwm_menu_create - will mount everything with a mountable partition

Code: Select all

#!/bin/sh
for UEVENT in /sys/dev/block/*/uevent ; do
	. $UEVENT
	case ${DEVNAME:0:2} in
		sd|hd)	REMOVABLE="0" NOTSWAP="1" LOGICAL=1
			[ -e ${UEVENT//uevent/"../removable"} ] && read REMOVABLE <${UEVENT//uevent/"../removable"} 
			[ $REMOVABLE = 1 ] && ICON=usbdrv48.png || ICON=drive48.png #possibly have something here for devicehandler?
			#logical partitions have a size of 2
			read LOGICAL <${UEVENT//uevent/size} 
			LINE=""
			while read LINE || [ "$LINE" ]; do
				case $LINE in 
					"/dev/"$DEVNAME*)NOTSWAP=""
				esac
			done < /proc/swaps
			
			[ ${DEVTYPE} = "partition" ] && [ $NOTSWAP ] && [ ! $LOGICAL = 2 ] && mkdir -p /mnt/$DEVNAME && busybox mount /dev/$DEVNAME /mnt/$DEVNAME;;
		mm) [ ${DEVTYPE} = "partition" ] && mkdir -p /mnt/$DEVNAME && busybox mount /dev/$DEVNAME /mnt/$DEVNAME;;
		sr|fd)mkdir -p /mnt/$DEVNAME && busybox mount /dev/$DEVNAME /mnt/$DEVNAME;;
	esac
done

Posted: Sat 10 Mar 2012, 13:35
by darkcity
Thanks for writing this brilliant program ; -)

Shame it doesn't seem to be included in Slacko or in its repository.

it would be handy if a link in usr/local/bin was included to
/usr/local/Startmount/Startmount

:twisted:

Re: ... same problem: startmount doesn't do anything

Posted: Sat 10 Mar 2012, 13:38
by darkcity
johofman wrote:
newone wrote:I just installed Startmount and when i open it, it says:
You are running a USB install. Ensure your session is saved for Startmount to work.
And then it disappears.
I DO have a save file. My puppy is 5.2.
... and I also uninstalled/reinstalled V0.5.5 (and 0.5.3) several times.
Lucid Puppy 5.2.8 - also deleted "/root/.startmount" files.

Any idea what to do? I just want all installed HDD to be mounted at boot... Even "mkdir ... " and "mount ..." in "/etc/rc.d/rc.local doesn't work.

I've got a fresh USB thumbdrive install (just 2 dasy old) and just installed virtualbox. Want the" mount" for the hdds of the virtual machines.

Thanks in advance...

JH

hi johofman - have you created a pup save file for your installation?

mounting linux file systems on lupu-528.005

Posted: Mon 25 Jun 2012, 23:46
by shinobar
Smartmount 0.5.5 on lupu-528.005 mounts ntfs but linux partitions doesn't..
Seems this issue occurs only on lupu.

Tested on a flash install of lupu-528.005.
I made a test program on the /etc/rc.local.

Code: Select all

mkdir -p /mnt/sdd1
echo "First try: mount /dev/sdd1 /mnt/sdd1"
mount /dev/sdd1 /mnt/sdd1 && echo "Success." || echo "Fail."
echo "Second try: mount -t ext3 /dev/sdd1 /mnt/sdd1"
mount -t ext3 /dev/sdd1 /mnt/sdd1 && echo "Success." || echo "Fail."
Rebooted.
/tmp/bootstsinit.log wrote:First try: mount /dev/sdd1 /mnt/sdd1
mount: you must specify the filesystem type
Fail.
Second try: mount -t ext3 /dev/sdd1 /mnt/sdd1
Success.

Re: mounting linux file systems on lupu-528.005

Posted: Mon 25 Jun 2012, 23:56
by shinobar
shinobar wrote:Tested on a flash install of lupu-528.005.
Same test on Slacko-5.3.3-pae. It mounts at the first try.
/tmp/bootstsinit.log wrote:First try: mount /dev/sdd1 /mnt/sdd1
Success.
Second try: mount -t ext3 /dev/sdd1 /mnt/sdd1
mount: /dev/sdd1 already mounted or /mnt/sdd1 busy
mount: according to mtab, /dev/sdd1 is already mounted on /mnt/sdd1
Fail.

startmount on lupu-528.00

Posted: Tue 26 Jun 2012, 00:37
by shinobar
BTW, the lupu-528.005 has /usr/bin/startmount which is a copy of /usr/local/Startmount/Startmount, but it doesn't work.
It should be:

Code: Select all

#!/bin/sh
exec /usr/local/Startmount/Startmount

Posted: Tue 21 Aug 2012, 14:32
by darkcity
using startmount 0.5.5

I swapped the harddrive into another computer. To get startmount to open up I had to delete-

/root/.startmount/drive.config

Is there anyway startmount could still load up, but tell you the error that the drive config is different to what it expect?

---

really useful prog btw 8)

Posted: Sun 23 Sep 2012, 17:39
by Argolance
Hello,
Here are startfunc, Startmount files (0.5.5 release) localized with gettext and modified to run with gtkdialog4 (icons menus and buttons were not displayed properly), to be copied inside /usr/local/Starmount in replacement of the original ones. pot file to create po and mo files and French po and mo files (this one has to be copied inside /usr/share/locale/fr/LC_MESSAGES/).

Cordialement.

Posted: Sat 29 Sep 2012, 11:24
by greengeek
Is there a way to graft Startmount into a live CD? I got a message saying something like "startmount can not be used in a live environment, you must install Puppy to use it"
(Sorry, that is not verbatim, it was a couple of days ago)

I would like to remaster a live CD so that it will autodetect and automount all available HDDs and usb drives, and startmount looks promising if it can be built in.

Re: mounting linux file systems on lupu-528.005

Posted: Thu 18 Oct 2012, 17:37
by glene77is
shinobar wrote:
shinobar wrote:Tested on a flash install of lupu-528.005.
Same test on Slacko-5.3.3-pae. It mounts at the first try.
/tmp/bootstsinit.log wrote:First try: mount /dev/sdd1 /mnt/sdd1
Success.
Second try: mount -t ext3 /dev/sdd1 /mnt/sdd1
mount: /dev/sdd1 already mounted or /mnt/sdd1 busy
mount: according to mtab, /dev/sdd1 is already mounted on /mnt/sdd1
Fail.
Shinobar,
Great program.
Thank you for the effort.
Enjoy reading your coding.
Good sense of organization


Works under Slacko 5.3.3 on USB Pen_Drive.
Had to manually 'find' the script, and 'permission' it, then 'exec' it. OK!

Have re-written bootstsinit.log as a sand-box script
to be a wrapper for my own dev code:

Code: Select all


# sand-box.sh
# idea from shinobar 

echo "***  `date`  ***  my_bootstsinit.log " >> /var/log/my_bootstsinit.log

mkdir -p /mnt/sdd1 

echo "First try: mount /dev/sdd1 /mnt/sdd1" >> /var/log/my_bootstsinit.log

mount /dev/sdd1 /mnt/sdd1 && echo "Success."  >> /var/log/my_bootstsinit.log || echo "Fail."  >> /var/log/my_bootstsinit.log

echo "Second try: mount -t ext3 /dev/sdd1 /mnt/sdd1"  >> /var/log/my_bootstsinit.log

mount -t ext3 /dev/sdd1 /mnt/sdd1 && echo "Success."  >> /var/log/my_bootstsinit.log || echo "Fail."  >> /var/log/my_bootstsinit.log

geany  /var/log/my_bootstsinit.log
8)

Posted: Sun 28 Dec 2014, 17:30
by Amaponian
I've got this message (same problem of johofman):

You are running a USB install. Ensure your session is saved for Startmount

I DO have a save file. Save Interval: 180. My puppy is 5.2.8

*************************
I'm starting from a USB flash drive.

Any help?

Posted: Mon 05 Jan 2015, 17:42
by Argolance
Hello,
darkcity wrote:I've noticed it gives a few errors if run from terminal luci 529 puppy-
I didn't see any answer about this issue? :roll:
I get the same running Puppy precise 5.7.1... :?

Code: Select all

sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
ok
sh: line 5: echo: write error: Broken pipe
sh: line 5: echo: write error: Broken pipe
cat: /root/.startmount/progitem_list: No such file or directory
sh: line 5: echo: write error: Broken pipe
How to get rid of these "Broken pipe" error lines which continue and continue to be written to xerrs.log as long as the program is running?
Thank you!

Cordialement.

Startmount sda 3 : pet installed, does the job

Posted: Sat 28 Feb 2015, 18:54
by Pelo
Startmount sda 3 : pet installed, does the job
i symlinked a lot of Qt libraries available in my linux partition sda3 to usr/lib . Previously i handly mounted sda3 when arrived to my desktop. Startmount does it during install.
Que demande le peuple ? That is fine :)
I store the pet in my suitcase. i did'nt take time to read the eleven pages, but i am doing it.