Startmount-0.5.5 Drive automount and program starter

Filemanagers, partitioning tools, etc.
Message
Author
User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#136 Post 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.
Puppy Linux Blog - contact me for access

aarf

#137 Post 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.
Attachments
startmount.jpg
(41.36 KiB) Downloaded 2159 times

aarf

#138 Post by aarf »

while opera2 desktop link on sdb2 will link. perhaps to do with the name operaext3 given to sdb3 partition?
Attachments
start2.jpg
(9.56 KiB) Downloaded 2064 times

aarf

#139 Post by aarf »

manual mount mounts the sdb3 as /mnt/operaext3
while startmount mounts sdb3 as /mnt/sdb3
Attachments
start3.jpg
(65.55 KiB) Downloaded 2103 times

User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

#140 Post 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!
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

User avatar
darkcity
Posts: 2534
Joined: Sun 23 May 2010, 19:16
Location: near here
Contact:

#141 Post 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

johofman
Posts: 1
Joined: Mon 20 Feb 2012, 20:00

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

#142 Post 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

User avatar
technosaurus
Posts: 4853
Joined: Mon 19 May 2008, 01:24
Location: Blue Springs, MO
Contact:

#143 Post 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
Check out my [url=https://github.com/technosaurus]github repositories[/url]. I may eventually get around to updating my [url=http://bashismal.blogspot.com]blogspot[/url].

User avatar
darkcity
Posts: 2534
Joined: Sun 23 May 2010, 19:16
Location: near here
Contact:

#144 Post 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:

User avatar
darkcity
Posts: 2534
Joined: Sun 23 May 2010, 19:16
Location: near here
Contact:

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

#145 Post 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?

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

mounting linux file systems on lupu-528.005

#146 Post 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.
Last edited by shinobar on Tue 26 Jun 2012, 00:30, edited 1 time in total.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

Re: mounting linux file systems on lupu-528.005

#147 Post 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.
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
shinobar
Posts: 2672
Joined: Thu 28 May 2009, 09:26
Location: Japan
Contact:

startmount on lupu-528.00

#148 Post 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
Downloads for Puppy Linux [url]http://shino.pos.to/linux/downloads.html[/url]

User avatar
darkcity
Posts: 2534
Joined: Sun 23 May 2010, 19:16
Location: near here
Contact:

#149 Post 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)

User avatar
Argolance
Posts: 3767
Joined: Sun 06 Jan 2008, 22:57
Location: PORT-BRILLET (Mayenne - France)
Contact:

#150 Post 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.
Attachments
Startmount.tar.gz
(10.22 KiB) Downloaded 685 times

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#151 Post 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.

User avatar
glene77is
Posts: 196
Joined: Tue 17 Aug 2010, 22:09
Location: Memphis, TN, USA
Contact:

Re: mounting linux file systems on lupu-528.005

#152 Post 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)
Puppy Linux is more fun than a barrel of M$ monkeys :P
www.geocities.WS/glene77is
glene77is --- {^,^} --- electricity is shocking, Memphis, TN, USA.

User avatar
Amaponian
Posts: 63
Joined: Wed 01 May 2013, 03:53
Location: Venezuela
Contact:

#153 Post 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?

User avatar
Argolance
Posts: 3767
Joined: Sun 06 Jan 2008, 22:57
Location: PORT-BRILLET (Mayenne - France)
Contact:

#154 Post 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.

Pelo

Startmount sda 3 : pet installed, does the job

#155 Post 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.
Attachments
startmount.jpg
Starmount disponible dans panneau ToOpPy Puppy Linux from France
(14.37 KiB) Downloaded 256 times
Last edited by Pelo on Fri 18 Sep 2015, 15:32, edited 1 time in total.

Post Reply