The time now is Mon 09 Dec 2019, 00:45
All times are UTC - 4 |
Author |
Message |
greengeek

Joined: 20 Jul 2010 Posts: 5624 Location: Republic of Novo Zelande
|
Posted: Sat 29 Sep 2012, 07:24 Post subject:
|
|
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.
|
Back to top
|
|
 |
glene77is

Joined: 17 Aug 2010 Posts: 151 Location: Memphis, TN, USA
|
Posted: Thu 18 Oct 2012, 13:37 Post subject:
Re: mounting linux file systems on lupu-528.005 |
|
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: |
# 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
|
_________________ Puppy Linux is more fun than a barrel of M$ monkeys
www.geocities.WS/glene77is
glene77is --- {^,^} --- electricity is shocking, Memphis, TN, USA.
|
Back to top
|
|
 |
Amaponian

Joined: 30 Apr 2013 Posts: 52 Location: Venezuela
|
Posted: Sun 28 Dec 2014, 13:30 Post subject:
|
|
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?
|
Back to top
|
|
 |
Argolance

Joined: 06 Jan 2008 Posts: 3719 Location: PORT-BRILLET (Mayenne - France)
|
Posted: Mon 05 Jan 2015, 13:42 Post subject:
|
|
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?
I get the same running Puppy precise 5.7.1...
Code: | 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.
_________________
A second life for your PCs...
|
Back to top
|
|
 |
Pelo
Joined: 10 Sep 2011 Posts: 12591 Location: Mer méditerrannée (1 kms°)
|
Posted: Sat 28 Feb 2015, 14:54 Post subject:
Startmount sda 3 : pet installed, does the job |
|
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.
Description |
Starmount disponible dans panneau ToOpPy Puppy Linux from France |
Filesize |
14.37 KB |
Viewed |
243 Time(s) |

|
_________________ Passenger Pelo ! don't ask him to repair the aircraft. Don't use him as a demining dog .... pleeease.
Last edited by Pelo on Fri 18 Sep 2015, 11:32; edited 1 time in total
|
Back to top
|
|
 |
LazY Puppy

Joined: 21 Nov 2014 Posts: 2007 Location: Germany
|
Posted: Sat 28 Feb 2015, 21:30 Post subject:
|
|
Here is my Script to mount any drive I want to mount:
Code: | #!/bin/bash -a
#------------------------------------------------------------------------------
# Mount a submitted drive
# 2013-08-06 RSH for LazY Puppy
#------------------------------------------------------------------------------
drive2mnt="$1"
if [ "$drive2mnt" = "" ]; then
echo "Need a drive to work!"
echo "No drive (sda1, sdc3 etc.) to mount submitted!"
exit 0
fi
# Sort out swap and mounted partitions
blkid | egrep '(hd|sd)' | egrep -v "/dev/loop*" | egrep -v "swap" | cut -f 1 -d ':' | sed 's/\/dev\///'>/tmp/list_of_drives
sort -u /tmp/list_of_drives > /tmp/sorted_list_of_drives
mv /tmp/sorted_list_of_drives /tmp/list_of_drives
for drive in `cat /tmp/list_of_drives`;
do
if [ "/mnt/$drive" = "/mnt/$drive2mnt" ]; then
mkdir -p /mnt/$drive2mnt
if [ "`blkid /dev/$drive2mnt | grep -o "TYPE=.*" | cut -f2 -d '"'`" = "ntfs" ]; then
mount -t ntfs /dev/$drive2mnt /mnt/$drive2mnt
else
mount /dev/$drive2mnt /mnt/$drive2mnt
fi
fi
done
exit 0 |
Call:
to mount drive sda1.
Use this line to mount cd drives also:
Code: | blkid | egrep '(hd|sd|sr)' | egrep -v "/dev/loop*" | egrep -v "swap" | cut -f 1 -d ':' | sed 's/\/dev\///'>/tmp/list_of_drives |
_________________ RSH
"you only wanted to work your Puppies in German", "you are a separatist in that you want Germany to secede from Europe" (musher0)
No, but I gave my old drum kit away for free to a music store collecting instruments for refugees! 
|
Back to top
|
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|