Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 29 Jul 2014, 07:16
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Derivatives
Fluppy 013
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 133 [1983 Posts]   Goto page: Previous 1, 2, 3, 4, ..., 131, 132, 133 Next
Author Message
jemimah


Joined: 26 Aug 2009
Posts: 4309
Location: Tampa, FL

PostPosted: Tue 01 Jun 2010, 00:43    Post subject:  

I've posted Fluppy 002. Hopefully the Chrome crashing problem is fixed. Ramboot should work now too.
Back to top
View user's profile Send private message Visit poster's website 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Tue 01 Jun 2010, 03:06    Post subject:  

Worlds most hopeless tester here . . .
I was in the process of making a video on installing fluppy
but the bootinst.sh did not seem to work (worked OK in 001)

I ran it from the command line and output is below
I am a great believer in positivity Very Happy
but has the text editor added more than you intended? Embarassed

No - not the text editor - something in the code, could be this?
+ being actually added, rather than functions . . .

I'll add the complete code at the end of this post

TARGET=$(egrep "[^[:space:]]+[[:space:]]+$MYMNT[[:space:]]+" /proc/mounts | cut -d " " -f 1)
- this is a job for a chihuahua in pink goggles Cool

Code:
# ./bootinst.sh
+ set -e
+ export TARGET=
+ TARGET=
+ export MBR=
+ MBR=
+++ dirname ./bootinst.sh
++ cd -P .
++ pwd
+ export MYMNT=/initrd/mnt/dev_save/iso/fluppy/NewDir/boot
+ MYMNT=/initrd/mnt/dev_save/iso/fluppy/NewDir/boot
+ '[' /initrd/mnt/dev_save/iso/fluppy/NewDir/boot '!=' '' -a /initrd/mnt/dev_save/iso/fluppy/NewDir/boot '!=' . -a /initrd/mnt/dev_save/iso/fluppy/NewDir/boot '!=' / ']'
++ egrep '[^[:space:]]+[[:space:]]+/initrd/mnt/dev_save/iso/fluppy/NewDir/boot[[:space:]]+' /proc/mounts
++ cut -d ' ' -f 1
+ TARGET=
+ '[' '' '!=' '' ']'
++ dirname /initrd/mnt/dev_save/iso/fluppy/NewDir/boot
+ MYMNT=/initrd/mnt/dev_save/iso/fluppy/NewDir
+ '[' /initrd/mnt/dev_save/iso/fluppy/NewDir '!=' '' -a /initrd/mnt/dev_save/iso/fluppy/NewDir '!=' . -a /initrd/mnt/dev_save/iso/fluppy/NewDir '!=' / ']'
++ egrep '[^[:space:]]+[[:space:]]+/initrd/mnt/dev_save/iso/fluppy/NewDir[[:space:]]+' /proc/mounts
++ cut -d ' ' -f 1
+ TARGET=
+ '[' '' '!=' '' ']'
++ dirname /initrd/mnt/dev_save/iso/fluppy/NewDir
+ MYMNT=/initrd/mnt/dev_save/iso/fluppy
+ '[' /initrd/mnt/dev_save/iso/fluppy '!=' '' -a /initrd/mnt/dev_save/iso/fluppy '!=' . -a /initrd/mnt/dev_save/iso/fluppy '!=' / ']'
++ egrep '[^[:space:]]+[[:space:]]+/initrd/mnt/dev_save/iso/fluppy[[:space:]]+' /proc/mounts
++ cut -d ' ' -f 1
+ TARGET=
+ '[' '' '!=' '' ']'
++ dirname /initrd/mnt/dev_save/iso/fluppy
+ MYMNT=/initrd/mnt/dev_save/iso
+ '[' /initrd/mnt/dev_save/iso '!=' '' -a /initrd/mnt/dev_save/iso '!=' . -a /initrd/mnt/dev_save/iso '!=' / ']'
++ egrep '[^[:space:]]+[[:space:]]+/initrd/mnt/dev_save/iso[[:space:]]+' /proc/mounts
++ cut -d ' ' -f 1
+ TARGET=
+ '[' '' '!=' '' ']'
++ dirname /initrd/mnt/dev_save/iso
+ MYMNT=/initrd/mnt/dev_save
+ '[' /initrd/mnt/dev_save '!=' '' -a /initrd/mnt/dev_save '!=' . -a /initrd/mnt/dev_save '!=' / ']'
++ egrep '[^[:space:]]+[[:space:]]+/initrd/mnt/dev_save[[:space:]]+' /proc/mounts
++ cut -d ' ' -f 1
+ TARGET=/dev/sda5
+ '[' /dev/sda5 '!=' '' ']'
+ break
+ '[' /dev/sda5 = '' ']'
++ cat /proc/mounts
++ grep noexec
++ grep '^/dev/sda5'
+ '[' '' ']'
++ echo /dev/sda5
++ sed -r 's/[0-9]+$//g'
+ export MBR=/dev/sda
+ MBR=/dev/sda
+ export NUM=5
+ NUM=5
+ cd /initrd/mnt/dev_save
+ which xterm
/usr/bin/xterm
+ [[ 0 != 0 ]]
+ which xterm
/usr/bin/xterm
+ [[ 0 = 0 ]]
+ xterm -e boot/syslinux/linuxinstall.sh
+ exit
#


Code:
#!/bin/bash
set -x
set -e
export TARGET=""
export MBR=""

# Find out which partition or disk are we using
export MYMNT=$(cd -P $(dirname $0) ; pwd)
while [ "$MYMNT" != "" -a "$MYMNT" != "." -a "$MYMNT" != "/" ]; do
   TARGET=$(egrep "[^[:space:]]+[[:space:]]+$MYMNT[[:space:]]+" /proc/mounts | cut -d " " -f 1)
   if [ "$TARGET" != "" ]; then break; fi
   MYMNT=$(dirname "$MYMNT")
done

if [ "$TARGET" = "" ]; then
   echo "Can't find device to install to."
   echo "Make sure you run this script from a mounted device."
   exit 1

fi

if [ "$(cat /proc/mounts | grep "^$TARGET" | grep noexec)" ]; then
   echo "The disk $TARGET is mounted with noexec parameter, trying to remount..."
   mount -o remount,exec "$TARGET"
fi

export MBR=$(echo "$TARGET" | sed -r "s/[0-9]+\$//g")
export NUM=${TARGET:${#MBR}}
cd "$MYMNT"

which $TERM
if [[ $? != 0 ]] ; then
   which xterm
   if [[ $? = 0 ]] ; then
      TERM=xterm
   else
      which konsole
      if [[ $? = 0 ]] ; then
         TERM=konsole
      else
         which rxvt
         if [[ $? = 0 ]] ; then
            TERM=rxvt
         fi
      fi
   fi
fi
which $TERM
if [[ $? = 0 ]] ; then
   $TERM -e boot/syslinux/linuxinstall.sh
   exit
fi

clear
echo "-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-"
echo "                        Welcome to Fluppy boot installer                         "
echo "-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-"
echo
echo "This installer will setup disk $TARGET to boot only Fluppy."
if [ "$MBR" != "$TARGET" ]; then
   echo
   echo "Warning! Master boot record (MBR) of $MBR will be overwritten."
   echo "If you use $MBR to boot any existing operating system, it will not work"
   echo "anymore. Only Fluppy will boot from this device. Be careful!"
fi
echo
echo "Press Enter to continue, or Ctrl+C to abort..."
read junk
clear

echo "Flushing filesystem buffers, this may take a while..."
sync

# setup MBR if the device is not in superfloppy format
if [ "$MBR" != "$TARGET" ]; then
   echo "Setting up MBR on $MBR..."
   ./boot/syslinux/lilo -S /dev/null -M $MBR ext # this must be here to support -A for extended partitions
   echo "Activating partition $TARGET..."
   ./boot/syslinux/lilo -S /dev/null -A $MBR $NUM
   echo "Updating MBR on $MBR..." # this must be here because LILO mbr is bad. mbr.bin is from syslinux
   cat ./boot/syslinux/mbr.bin > $MBR
fi

echo "Setting up boot record for $TARGET..."
./boot/syslinux/syslinux -d . $TARGET

echo "Disk $TARGET should be bootable now. Installation finished."

echo
echo "Read the information above and then press any key to exit..."
read junk

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
jemimah


Joined: 26 Aug 2009
Posts: 4309
Location: Tampa, FL

PostPosted: Tue 01 Jun 2010, 08:16    Post subject:  

I don't think you copied the files to the usb drive before running the installer script.
Back to top
View user's profile Send private message Visit poster's website 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Tue 01 Jun 2010, 08:23    Post subject:  

Quote:
Worlds most hopeless tester here . . .
Embarassed

Thanks Jemimah Cool

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
jemimah


Joined: 26 Aug 2009
Posts: 4309
Location: Tampa, FL

PostPosted: Tue 01 Jun 2010, 09:20    Post subject:  

You should make sure you didn't wack the bootloader on your hard drive.
Back to top
View user's profile Send private message Visit poster's website 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Tue 01 Jun 2010, 12:06    Post subject:  

After wacking my head with a halibut (a type of fish)
I almost managed to create a Youtube video of my adventures with Fluppy 002
bit messy in parts . . .
http://www.youtube.com/watch?v=WLVAdkvlJZc

Still learning how to use Openshot video editor . .
I hope to be using Openshot in Puppy, Lucid, Fatdog64 or Fluppy soon . . . Smile

_________________
Puppy WIKI

Last edited by Lobster on Tue 01 Jun 2010, 23:13; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
BHINTZ

Joined: 08 Aug 2006
Posts: 137

PostPosted: Tue 01 Jun 2010, 13:38    Post subject: acer aspire one  

I installed fluppy02 on my AA0 (acer aspire one)

Chrome seems to be working fine.

I also have booted up in ramboot and put hard drive to standby - the adapted battery time is currently at 34+ hours and so far no reduction in savefile noted, but I didn't check when I first booted.

suspend works fine on closing the lid
Back to top
View user's profile Send private message 
jemimah


Joined: 26 Aug 2009
Posts: 4309
Location: Tampa, FL

PostPosted: Tue 01 Jun 2010, 14:56    Post subject:  

Lobster, does your ethernet connection not come up automatically? You aren't supposed to need to reset it.
Back to top
View user's profile Send private message Visit poster's website 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15117
Location: Paradox Realm

PostPosted: Tue 01 Jun 2010, 15:20    Post subject:  

Embarassed Ah good news I do get connected automatically . . .

When I open the chrome browser, I get a message
Quote:
Your wireless card was not detected, please reboot and enable it in the BIOS


. . . this confused me (it does not take much)
click on OK and in fact the OS and browser is connected via Ethernet . . .

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
jemimah


Joined: 26 Aug 2009
Posts: 4309
Location: Tampa, FL

PostPosted: Tue 01 Jun 2010, 15:25    Post subject:  

I suppose I should remove that message.
Back to top
View user's profile Send private message Visit poster's website 
Gee

Joined: 10 May 2010
Posts: 9

PostPosted: Tue 01 Jun 2010, 17:07    Post subject:  

Viliv , Fujitsu U , UMID mbook are UMPCs that have touch screens. Vaio p , viliv and some other umpcs also have built in gps. Maybe you could add touch and gps support?
Back to top
View user's profile Send private message 
jemimah


Joined: 26 Aug 2009
Posts: 4309
Location: Tampa, FL

PostPosted: Tue 01 Jun 2010, 17:56    Post subject:  

Well Afgs just sort of added UMPCs to the Fluppy logo without checking. Smile

I'm not sure how well it will actually work on such a machine as I've never owned one.

Touch will possibly work if you install Tempestous' touchscreen Xorg drivers - theres a pet somewhere around here. I'll throw them in if anyone reports success with them.

TangoGPS is already installed. If the kernel supports it, you should just be able to install gpsd and it'll work.

If someone has the hardware, I can probably help troubleshoot but it's all theory without testing.
Back to top
View user's profile Send private message Visit poster's website 
smokey01


Joined: 30 Dec 2006
Posts: 1795
Location: South Australia

PostPosted: Tue 01 Jun 2010, 18:01    Post subject:  

Jemimah I will try Fluppy on the Kogan netbook later in the week and report back.

I suspect I will have problems with the wifi and mousepad.

Thanks, Smokey

_________________
Puppy Software <-> Distros <-> Puppy Linux Tips
Back to top
View user's profile Send private message Visit poster's website 
TomRhymer

Joined: 18 Sep 2009
Posts: 95

PostPosted: Tue 01 Jun 2010, 20:54    Post subject: Fluppy take 2  

Testing on Acer Aspire One D-150, booting from flash drive.

Major improvement! Chrome doesn't crash anymore. Also, while PAN0 still shows in PWireless, it isn't getting in the way anymore. I was able to connect to my router in only a few seconds. Incidentally, what is PAN0 anyway? AFAIK, the netbook only has an ethernet connector and the WLan.

Still have one major problem. When I shut down, I made a save file to the flash drive. I use Ext2 format, 128MB. When I reboot, I get a boot error and can't even get to the menu. I've duplicated this on two different 512MB flash drives.

Thanks for all the work you've been putting into this. I like your approach to a netbook OS a lot more than Moblin, Maemo, UNR, or any of the other netbook Linux distros that I've tried.
Back to top
View user's profile Send private message 
jemimah


Joined: 26 Aug 2009
Posts: 4309
Location: Tampa, FL

PostPosted: Tue 01 Jun 2010, 21:16    Post subject:  

Pan0 is "Personal Area Network". The bluetooth daemon apparently creates it. I have no idea how to use it.

If you can't even get to the menu, try rerunning bootinst.sh. I have no idea why the drive would become unbootable unless you deleted ldlinux.sys or moved the kernel, initrd, or syslinux.cfg somewhere else.
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 2 of 133 [1983 Posts]   Goto page: Previous 1, 2, 3, 4, ..., 131, 132, 133 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Derivatives
Jump to:  

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
[ Time: 0.1058s ][ Queries: 13 (0.0193s) ][ GZIP on ]