| Author |
Message |
prehistoric

Joined: 23 Oct 2007 Posts: 1210
|
Posted: Sun 15 Apr 2012, 11:10 Post subject:
|
|
I've had problems with dd under Puppy before, and not just with SD cards. I'm afraid Pudd needs to be replaced for several reasons. (Don't ever try to copy a 900 GB partition. The heat death of the Universe will occur before it completes.) Some of my work-arounds have been strange. Using old SD cards is a fairly simple example. In other cases I've used USB adapters which seem to have introduced enough delay in the handshaking to make transfer possible. I'd like someone who actually knows what's going on to explain things.
|
|
Back to top
|
|
 |
aarf
Joined: 30 Aug 2007 Posts: 3620 Location: around the bend
|
Posted: Sun 15 Apr 2012, 11:49 Post subject:
|
|
pussy in its initial stages used dd and this was accomplished from the then current puppy. i remember failing a few times too but it was my fault in not doing things correctly. when i did it right it succeeded, and i did it right a number of times. have also dd other thing too, i think eg., fedora and mint all from puppy. cant remember which puppy.
very pleased to hear of your eventual success though. hope we can move forward fast from here to puppy success.
Last edited by aarf on Sun 15 Apr 2012, 11:52; edited 1 time in total
|
|
Back to top
|
|
 |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15109 Location: Paradox Realm
|
Posted: Sun 15 Apr 2012, 11:50 Post subject:
|
|
Looking forward to my well deserved fish supper. Thanks Jasper. Thanks aarf
| Quote: | | I've had problems with dd under Puppy before |
m m m . . . until we had hardware there was no way of testing
- I assumed dd was working . . .
but dd irregularities needs to be tested.
Are we using the full dd or the busybox version in Slacko?
Is this a dd eror ? Puppy? Slackware? Slacko?
Is it possible the SD card needs formatting before writing and this was not in the Rpi instructions? I thought formatting would be part of writing? Silly me . . .
The Debian Squeeze windowing will be very familiar to Puppys with programs such as Geany, Midori (not a fav - but good enough) and everything you need to get you squamulose with Python.
Everyone knows an SD card needs formatting. I should have known.
_________________ Puppy WIKI
|
|
Back to top
|
|
 |
Dave_G

Joined: 21 Jul 2011 Posts: 459
|
Posted: Sun 15 Apr 2012, 13:55 Post subject:
|
|
Lobster
Fantastic news that you have it up and running.
Did you use the original non working SD cards and reformatted them under 7
or did you go get new one/s?
|
|
Back to top
|
|
 |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15109 Location: Paradox Realm
|
Posted: Sun 15 Apr 2012, 14:34 Post subject:
|
|
New one. Verbatim. Class 4. I was told by the geek in the games shop that you can get up to class 10 - 10 is the best?
Mind you he also told me had bought a Raspberry Pi on ebay for £21 and had not opened it yet.
We believe him don't we boys and girls.
It is good news. I was really happy with LXDE in Squeeze. It will be very familiar to Puppys. To give you an example of speed; Midori took about 10 seconds to load. Next time (now Midori was loading from memory cache) was aprox. 3 seconds.
I will be formatting and seeing if the other SD cards I have work. I want them to work from dd in Puppy. The important thing is the hardware works.
It is the stupid crustacean that needs extra cod liver oil . . .
Tomorrow I will be looking at the tools in Squeeze and doing some sort of tutorial.
Frankly I think it is a great base to boot strap Puppy from.
I may look at Fedora next but I was very content with Debian Squeeze.
_________________ Puppy WIKI
|
|
Back to top
|
|
 |
Dave_G

Joined: 21 Jul 2011 Posts: 459
|
Posted: Sun 15 Apr 2012, 15:42 Post subject:
|
|
Lobster wrote:
| Quote: | | New one. Verbatim. Class 4. |
OK.
The ones that you originally tried, what were they used for in the past
and what were they formatted to?
Did they have any partitions and were any of them bootable?
It would be very interesting to format them again then use dd and see if they work.
| Quote: | | I was told by the geek in the games shop that you can get up to class 10 - 10 is the best? |
It depends on what you need/using it for.
Class 10 is certainly the fastest for general use but in your case not compatible with Pi.
As regards the possible dd problems with the version used in Puppy,
have you tried copying the dd that comes with another distro over to
Puppy and use that?
Since it's not a GUI type app, the dependencies will be much lower
and it may just work on Puppy.
I have had many CLI apps work across various distros with no problems at all.
I have also compiled many of my own apps in Puppy and successfully used
them on Gentoo.
Generally "normal" ELF (non-X) binaries will work across distros and kernel versions.
It's only .ko (kernel object files) that are very picky about kernel versions.
Do a "ldd" on both dd's to see if the dependencies are the same.
|
|
Back to top
|
|
 |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15109 Location: Paradox Realm
|
Posted: Sun 15 Apr 2012, 16:03 Post subject:
|
|
| Dave_G wrote: | .
The ones that you originally tried, what were they used for in the past
and what were they formatted to? |
One was formatted in and for a camera
the other one was originally used in an Eeepc and probably formatted to
ext 2 or 3 - maybe fat3 (can not remember to be honest)
| Quote: | | Did they have any partitions and were any of them bootable |
no partitions and one may have been bootable
| Quote: | | It would be very interesting to format them again then use dd and see if they work. |
- it would and I may do that
The thing that annoys me is this simple step of formatting is crucial
and because of senility or lack of vitamins, proper instructions or [insert cause] I have been mucking about with possibly working hardware and SD cards . . .
_________________ Puppy WIKI
|
|
Back to top
|
|
 |
Dave_G

Joined: 21 Jul 2011 Posts: 459
|
Posted: Sun 15 Apr 2012, 16:32 Post subject:
|
|
Lobster wrote:
| Quote: | One was formatted in and for a camera
the other one was originally used in an Eeepc and probably formatted to
ext 2 or 3 - maybe fat3 (can not remember to be honest) |
Very interesting.
Did you know that some cameras actually format SD cards to FAT16
and not FAT32? (it's simpler to implement and less resource hungry).
One way to check this on XP (don't know about 7) is to insert the SD card
and then right click on it and click on properties.
If it says FAT32 then it is just that but if it says only FAT then it's either
FAT12 or FAT16 (what were M$ thinking? perhaps they have fixed it in SP3).
In Puppy you can mount the drive (SD card) then from the command line type:
mount
It should give you details of all drives and filesystems currently mounted.
What I'm starting to think is perhaps between dd and the image of Debian Squeeze,
it/they get confused if the target drive is not pre-formatted to FAT32.
|
|
Back to top
|
|
 |
aarf
Joined: 30 Aug 2007 Posts: 3620 Location: around the bend
|
Posted: Sun 15 Apr 2012, 19:04 Post subject:
|
|
from pussy http://www.thepussycatforest.info/linux/README.txt maybe something of use
| Quote: | Download the .img version and use the linux dd command to image a USB stick or other removable media. Unzip the file first.
A HDD can also be imaged but any existing bootloader will be over written, not good for dual booting systems. Syslinux is used
as the bootloader. Syslinux can be edited to boot other OSes but that is not within the scope of this documentation.
Note: when you use the linux dd command to image the USB stick, you must unmount any partitions on the USB stick first.
The syntax for using dd to image a drive is:
dd if=<filename.img> of=/dev/sdX
Where <filename> is the USB image filename and the X in the /dev/sdX is the drive letter. Note you must specify the drive
NOT the partition on the drive (ie. /dev/sda not /dev/sda1) this is because the .img file contains partition info already.
The .img is an exact copy of a working Pussy USB stick in every detail and imaging a a USB stick with this file will result
in a working, booting USB stick that give the user write access and the ability to use compressed save files. Do not open
the .img file in another program and drag files accross to another partition, hoping this will work as this is not what the
.img is for. The .img file MUST be used with the dd command or an imaging program that does exactly the same thing. |
| Quote: | What I'm starting to think is perhaps between dd and the image of Debian Squeeze,
it/they get confused if the target drive is not pre-formatted to FAT32. | also recall reading something of this nature somewhere
_________________
ASUS EeePC Flare series 1025C 4x Intel Atom N2800 @ 1.86GHz RAM 2063MB 800x600p ATA 320G
_-¤-_
<º))))><.¸¸.•´¯`•.#.•´¯`•.¸¸. ><((((º>
|
|
Back to top
|
|
 |
raffy
Joined: 25 May 2005 Posts: 4636 Location: Manila
|
Posted: Sun 15 Apr 2012, 20:39 Post subject:
good news |
|
| Lobster wrote: | It is good news. I was really happy with LXDE in Squeeze. It will be very familiar to Puppys. To give you an example of speed; Midori took about 10 seconds to load. Next time (now Midori was loading from memory cache) was aprox. 3 seconds.
...
Tomorrow I will be looking at the tools in Squeeze and doing some sort of tutorial. Frankly I think it is a great base to boot strap Puppy from.
I may look at Fedora next but I was very content with Debian Squeeze |
Happy for you, Lobster, and Iguleder, Pemasu and company will be happy, too that you are getting Squeeze'd.
_________________ Puppy user since Oct 2004. Want FreeOffice? Get the sfs (English only).
|
|
Back to top
|
|
 |
rcrsn51

Joined: 05 Sep 2006 Posts: 7757 Location: Stratford, Ontario
|
Posted: Sun 15 Apr 2012, 21:03 Post subject:
|
|
| Lobster wrote: | | Is it possible the SD card needs formatting before writing |
I can't see why. The dd command would just erase any current filesystem structure on the card and over-write it with the new filesystem contained in the image file.
In any case, most (all?) SD cards are factory-formatted so they are ready to put in a device.
After using the dd command, you should have been able to mount the SD card's partitions in Puppy to verify that the copy was successful.
|
|
Back to top
|
|
 |
Aitch

Joined: 04 Apr 2007 Posts: 6825 Location: Chatham, Kent, UK
|
Posted: Sun 15 Apr 2012, 21:12 Post subject:
|
|
Rapberry Pi's are being offered on ebay starting at £100
Ready installed 8GB SD cards for Pi's are about £10 - choice of OS
add-on boards and extras increasingly advertised
Lobster, how did you sort the HDMI problem?
Aitch
|
|
Back to top
|
|
 |
rcrsn51

Joined: 05 Sep 2006 Posts: 7757 Location: Stratford, Ontario
|
Posted: Sun 15 Apr 2012, 22:14 Post subject:
|
|
Just out of curiosity, I downloaded the Debian image, unzipped it and dd'ed it to a hard drive.
| Code: | | dd if=debian6-13-04-2012.img of=/dev/sdb |
When done, the Raspi partitions were visible to Puppy.
I then tried to boot the drive. That failed (of course).
|
|
Back to top
|
|
 |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15109 Location: Paradox Realm
|
Posted: Mon 16 Apr 2012, 02:02 Post subject:
|
|
I will be doing screenshots but for now taking pics with ipad.
task1 mark territory
This was very easy, I created the wallpaper using xara sfs and existing PARM graphics last night
this morning . . .
Right click on desktop
change desktop or wallpaper (can not remember which - must have sardines) and then drag the file from USB keydrive (I added a lime coloured USB hub to the Raspberry) to the file selector
job done
Puppy boarding party arrives on the Squeeze box . . .
| Description |
|

Download |
| Filename |
desktop.JPG |
| Filesize |
238.38 KB |
| Downloaded |
101 Time(s) |
_________________ Puppy WIKI
|
|
Back to top
|
|
 |
Lobster
Official Crustacean

Joined: 04 May 2005 Posts: 15109 Location: Paradox Realm
|
Posted: Mon 16 Apr 2012, 02:09 Post subject:
|
|
| Quote: | | After using the dd command, you should have been able to mount the SD card's partitions in Puppy to verify that the copy was successful. |
dd does overwrite as I thought
I probably did something wrong on the console
this is what I put in
| Code: | | # dd bs=1M if=debian6-17-02-2012.img of=/dev/sdc1 |
_________________ Puppy WIKI
|
|
Back to top
|
|
 |
|