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 Sat 23 Aug 2014, 05:29
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Derivatives
Grafpup-2.xx fourth (and final) alpha
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 18 of 21 [311 Posts]   Goto page: Previous 1, 2, 3, ..., 16, 17, 18, 19, 20, 21 Next
Author Message
SimonW

Joined: 28 Mar 2007
Posts: 60
Location: UK

PostPosted: Thu 03 May 2007, 04:12    Post subject:  

I have had some success with bootable CF card creation so I'm writing the notes up here for others to follow. I'm now using the 2.0 beta iso.

As I have mentioned above, I had been trying to use the Superfloppy mode as I thought I had initial success with that on my hardware. With the recent isos I didn't have success with that mode (probably not due to anything in the iso itself, but human error.....).
I went back to using the standard partition-based arrangement (ie. not Superfloppy)and that works.

Below follows a set of instructions to make a FAT16 based bootable CF card:

* Begin with a CF card formatted with one FAT16 partition (I used my digital camera to format the card).
* Start the Puppy Installer.
* Select 'CF card which will be later moved to IDE adapter'
* Select the device that the card is present at (mine is sdc). Note that the 2.0 beta iso 'probedisk' still has an issue, it reports multiple devices as /dev/sd2. I recommend probedisk3 as posted above.
* The dialog regarding normal or Superfloppy mode now comes up. Select the Second button down (ie. to partition the card). The top button (Superfloppy) now does not work for me at all, even though 'I believe' it used to.
* Select '_vfat'. Again, I have tried the ext3 button but with no success.
* A dialog box now appears with "You have chosen to install Grafpup to /dev/sdc1 which has a vfat format and the size is M. Files will be written to /dev/sdc1 and Syslinux will be used to make it bootable." Note there is no free disk space reported, just 'M'.
* Press OK and tell Grafpup where the files are (I'm normally on CD).
* Press Enter as required in the orange window.

This should result in a bootable CF card (vfat mode). I guess the printing of just 'M' where a free space figure should be, needs attention.

In the past I think I had success with an ext3 format card, but I don't remember what I did! I was also using a 200703xx vintage iso.
Back to top
View user's profile Send private message 
msumner

Joined: 04 Jan 2007
Posts: 205
Location: Lincolnshire, England.

PostPosted: Thu 03 May 2007, 05:16    Post subject:  

Hi Guys, I was thinking of trying to boot from a new 2gh SD card.
( only about £8 from Dabs!)
I would like to use the built in card reader on my dell laptop, which is more convenient as I would not have to have an adapter plugged in. Can I do that or do I have to use an ide adapter? What is the procedure to install the latest probedisk3, and is it likely to pick up the cardreader?

Nathan, re. blender,I installed the xorg_opengl package:
sh-3.00# blender
Compiled with Python version 2.4.
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
'import site' failed; use -v for traceback
Checking for installed Python... No installed Python found.
Only built-in modules are available. Some scripts may not run.
Continuing happily.
Xlib: extension "GLX" missing on display ":0.0".
ERROR: Unable to open Blender window

EDIT wondered if you had seen this:
http://www.pythoncad.org/
Cheers, Mike
Back to top
View user's profile Send private message 
SimonW

Joined: 28 Mar 2007
Posts: 60
Location: UK

PostPosted: Thu 03 May 2007, 08:10    Post subject:  

Hi Mike,

Quote:
I was thinking of trying to boot from a new 2gh SD card.


I don't know if your bios will support booting from card slots, so check that first. If the bios only supports usb-boot, you will have to get a usb sd card reader anyway. Sorry!

On a laptop I doubt that you will be able to install an ide card reader either.

Anyway here are instructions if you can proceed with it:

Firstly, you will need to being up an rxvt terminal.
Insert an SD card and type 'probedisk' then Enter at the prompt to list the storage devices on your mahcine. You should see a line in the list which says " ... SD Card Adapter .... " or something similar. The /dev/xxx on that line will be the device name for the slot.

For example, my CF card slot is /dev/sdc

Older versions of probedisk can give strange device id's, which also affect the Puppy Installer script. So, it's worthwhile downloading the updated probedisk, which is here:

http://www.murga-linux.com/puppy/viewtopic.php?mode=attach&id=3852

You'll need to save it into a temporary location (/home for example), then gunzip <filename>
Then you can type "/home/probedisk3" and observe the list of device names for your storage devices. You can find examples of mine in previous posts.

If that all works well, do "cp /home/probedisk3 /sbin/probedisk" You will need to be 'root' for that. That will update the system's copy.

Then you can run the Puppy Installer and specify that device to install to. (The installer misses off the /dev/ at the start for good readability). You can then follow my instructions in my previous post to make a FAT16 bootable card. I don't think too much will be different in the SD card case.

Hope this helps
.
Back to top
View user's profile Send private message 
Dougal


Joined: 19 Oct 2005
Posts: 2505
Location: Hell more grotesque than any medieval woodcut

PostPosted: Thu 03 May 2007, 10:48    Post subject:  

SimonW wrote:
I think it said /dev/sdc but since I couldn't read it, I didn't want to post it. sdc is the correct address for the CF card that I was using.


I think the problem might have been the ext3/vfat problem.

Could you try checking that drive for it's fs? Try different utils and see what they give:
Code:
disktype /dev/hdc

Code:
/usr/lib/mut/bin/guess_fstype /dev/hdc

also what probedisk/probepart might show.

BTW, here's another update of probepart, might be a little faster.
probepart3.gz
Description 
gz

 Download 
Filename  probepart3.gz 
Filesize  1.13 KB 
Downloaded  471 Time(s) 

_________________
What's the ugliest part of your body?
Some say your nose
Some say your toes
But I think it's your mind
Back to top
View user's profile Send private message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Thu 03 May 2007, 11:38    Post subject:  

Okay, here's pawdioconverter-0.8 for grafpup:

http://www.murga-linux.com/puppy/viewtopic.php?mode=attach&id=3861
Back to top
View user's profile Send private message 
Nathan F


Joined: 08 Jun 2005
Posts: 1760
Location: Wadsworth, OH (occasionally home)

PostPosted: Thu 03 May 2007, 12:08    Post subject:  

OK, I've updated probedisk and probepart to the newest versions. I also grabbed Pawdio convertor to add to the tree. I'll see what I can do with the installer sometime soon.

Mike - about the glx problem, open up /etc/X11/xorg.conf and make sure there is a line like this:
Code:
Load       "glx"

Also make sure it isn't commented out. It's possible it might not even run in Xvesa, too.

Nathan

_________________
Bring on the locusts ...
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger 
SimonW

Joined: 28 Mar 2007
Posts: 60
Location: UK

PostPosted: Thu 03 May 2007, 15:37    Post subject:  

Hi Dougal,

Here is the output of disktype on /dev/sdc (my CF card slot, definitely with a FAT16 car d inserted). As you can see I can mount the card, and a Grafpup installation is there.

sh-3.00# disktype /dev/sdc
--- /dev/sdc
Block device, size 488.7 MiB (512483328 bytes)
DOS partition map
Partition 1: 488.2 MiB (511934976 bytes, 999873 sectors from 63, bootable)
Type 0x06 (FAT16)
FAT16 file system (hints score 5 of 5)
Volume size 488.0 MiB (511664128 bytes, 62459 clusters of 8 KiB)
Volume name ""
Ext3 file system
UUID 775A90AB-A419-40E3-BBDD-0F2C3B17AEDF (DCE, v4)
Volume size 488.7 MiB (512483328 bytes, 500472 blocks of 1 KiB)

sh-3.00# sh-3.00# fdisk /dev/sdc
Command (m for help): p
Disk /dev/sdc: 512 MB, 512483328 bytes
16 heads, 63 sectors/track, 993 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Device Boot Start End Blocks Id System
/dev/sdc1 * 1 992 499936+ 6 FAT16
Command (m for help): q
sh-3.00# mount -t vfat /dev/sdc1 /mnt/flash
sh-3.00# ls -l /mnt/flash
-rwxr-xr-x 1 root root 87732224 May 2 22:53 graf_005.sfs
-rwxr-xr-x 1 root root 0 May 2 22:52 ideflash
-rwxr-xr-x 1 root root 1298241 May 2 22:52 initrd.gz
-r-xr-xr-x 1 root root 9776 May 3 06:52 ldlinux.sys
-rwxr-xr-x 1 root root 74 May 2 22:52 syslinux.cfg
-rwxr-xr-x 1 root root 1833032 May 2 22:52 vmlinuz
-rwxr-xr-x 1 root root 18878464 May 2 22:53 zdrv_005.sfs
sh-3.00#


I can't swear that this card didn't ever have an ext3 fs on it, as I reprogrammed/formatted a lot of cards in a lot of ways. Perhaps there's a 'deleted partition' in the table which is being picked up on, or it's 'falling through' some logic.

And:

sh-3.00# probepart /dev/sdc
libcfdisk: unable to open /dev/sda
libcfdisk: unable to open /dev/sdb
libcfdisk: unable to open /dev/sdd
/dev/hdd1|ntfs|131074272|OS/2 HPFS or NTFS
/dev/hdd2|ntfs|143364060|OS/2 HPFS or NTFS
/dev/hdd3|ntfs|174080340|OS/2 HPFS or NTFS
/dev/hdd4|ntfs|39873330|OS/2 HPFS or NTFS
/dev/hdc1|vfat|28675962|Win95 FAT32 (LBA)
/dev/hdc2|ntfs|131395635|OS/2 HPFS or NTFS
/dev/hda|iso9660|0|PIONEER DVD-RW DVR-110
/dev/sdc1|msdos|999873|DOS 16-bit FAT >=32M
sh-3.00#

sh-3.00# /usr/lib/mut/bin/guess_fstype /dev/sdc
ext3
sh-3.00#

.... but .....

sh-3.00# /usr/lib/mut/bin/guess_fstype /dev/sdc1
vfat
sh-3.00#

So, if guess_fstype is used to look at /dev/sdc it says ext3, which is wrong since the card is partitioned, with the only partition being a vfat. Perhaps it can't cope with being called incorrectly (with sdc instead of sdc1)? guess_fstype is a binary so I can't have a look.

And your new probepart3:

sh-3.00# ./probepart3
/dev/hdc1|vfat|28675962
/dev/hdc2|ntfs|131395634
/dev/hdd1|ntfs|131074272
/dev/hdd2|ntfs|143364060
/dev/hdd3|ntfs|174080340
/dev/hdd4|ntfs|39873330
/dev/sdc1|vfat|999872
/dev/sdd|none|0
/dev/sdb|none|0
/dev/sda|none|0
/dev/hda|iso9660|0
sh-3.00#

I hope this helps you. I may try installing the probepart3 in /sbin and running the Installer.
Cheers,
Simon.
Back to top
View user's profile Send private message 
SimonW

Joined: 28 Mar 2007
Posts: 60
Location: UK

PostPosted: Thu 03 May 2007, 17:24    Post subject:  

Dougal,

Installing probedisk3 and probepart3 in the /sbin directory, and running the Puppy Installer doesn't produce any improvements since I reported last. The dialog box showing 'what Puppy has found out about the drive' still shows sdc1 as having ext3 format.
It still completes ok as long as I follow the vfat instructions I posted before.
Back to top
View user's profile Send private message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Thu 03 May 2007, 18:17    Post subject:  

You'll need to remove the 3 from the end and replace the existing files in /sbin
Back to top
View user's profile Send private message 
msumner

Joined: 04 Jan 2007
Posts: 205
Location: Lincolnshire, England.

PostPosted: Thu 03 May 2007, 18:20    Post subject:  

Nathan,
Nathan F wrote:


Mike - about the glx problem, open up /etc/X11/xorg.conf and make sure there is a line like this:
Code:
Load       "glx"


Nathan

Hmmmm, that was interesting Confused There were 2 files called xorg.conf. One had the required line of code, and the other did not. I renamed the one without to xorgwrong.conf and tried blender from the terminal. It started and seemed to run ok, but put this message up:

sh-3.00# blender
Compiled with Python version 2.4.
Could not find platform independent libraries <prefix>
Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
'import site' failed; use -v for traceback
Checking for installed Python... No installed Python found.
Only built-in modules are available. Some scripts may not run.
Continuing happily.
Saved session recovery to /tmp/quit.blend

Blender quit
sh-3.00#

Mike
Back to top
View user's profile Send private message 
Nathan F


Joined: 08 Jun 2005
Posts: 1760
Location: Wadsworth, OH (occasionally home)

PostPosted: Thu 03 May 2007, 18:40    Post subject:  

Mike -

Blender currently doesn't support Python-2.5, which happens to be the version which is in the repo. What it is telling you is that it cannot find a python-2.4 installation, so some of the extra scripting capabilities will not work. Blender actually contains an internal Python interpreter already, so most of the functionality will be there even without installing Python.

I have considered offering a Python-2.4 package for compatibility. However, it would be largely a waste as just about everything else can use the newer version.

Nathan

_________________
Bring on the locusts ...
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger 
msumner

Joined: 04 Jan 2007
Posts: 205
Location: Lincolnshire, England.

PostPosted: Thu 03 May 2007, 19:02    Post subject:  

Thanks Nathan, I see what you mean.

Simon, thanks for the advice on the SD card.

You were right about the lack of facility in the bios to boot from flash cards. It would still be very handy to be able to use the built in cardreader for my sony camera card and for backing up, transferring files etc. with the sd card. Probedisk3 did not see it. Sad Maybe it is a lack of driver?
Mike
Back to top
View user's profile Send private message 
SimonW

Joined: 28 Mar 2007
Posts: 60
Location: UK

PostPosted: Fri 04 May 2007, 04:29    Post subject:  

Quote:
You'll need to remove the 3 from the end and replace the existing files in /sbin


Yep, did that, thanks for the hint. I think the problem with the Installer identifying vfat/ext3 may not be dependent on probedisk/probepart.

Does the Installer use guess_fstype? If it does, and it uses 'guess_fstype /dev/sdc' then the FAT16 partition in /dev/sdc1 is not identified, and guess_fstype reports ext3. This is shown above in my post yesterday.


Mike,

Quote:
It would still be very handy to be able to use the built in cardreader for my sony camera card and for backing up, transferring files etc. with the sd card. Probedisk3 did not see it. Sad Maybe it is a lack of driver?


Hmm. If they have put the cardreader hardware somewhere unconventional, ie. not on USB, then maybe a custom driver is required. You may not find one for Linux. I know nothing of laptops other than their hardware designs are often non-standard......
Back to top
View user's profile Send private message 
SimonW

Joined: 28 Mar 2007
Posts: 60
Location: UK

PostPosted: Fri 04 May 2007, 06:43    Post subject:  

Last night I preserved a Static IP address over a reboot using a graf_save.2fs file on a HDD Smile

I shall test it on a CF card next. I believe the only way to go, to avoid the 'graf_ro2 is overlapped' error mentioned in a previous post, is to use a Save File rather than writing to the Partition.

Cheers,
Simon.
Back to top
View user's profile Send private message 
plinej

Joined: 13 Aug 2006
Posts: 1522

PostPosted: Fri 04 May 2007, 10:41    Post subject:  

Nathan, a small bug I found was running pbdict as a regular user. You need to make /usr/local/PBdict world writable becasue the program makes a temp file inside that directory.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 18 of 21 [311 Posts]   Goto page: Previous 1, 2, 3, ..., 16, 17, 18, 19, 20, 21 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.1059s ][ Queries: 13 (0.0099s) ][ GZIP on ]