Page 13 of 23

Posted: Fri 20 Apr 2012, 10:06
by Lobster
Being a bit of a CLI junkie I think I will take ArchLinux for a spin when I get my Pi.
Sounds good.
Woof2 does have support for Arch as far as I know
No one has compiled an Arch Pup. Doing it for ARM will be more of a challenge.

It would make sense to try the Arch download - yes it goes to cli but I am almost a beginner on cli - how hard can it be :?

. . . I may just have to download and try it . . . :lol:

Puppy Linux
Play time for Penguins

Posted: Fri 20 Apr 2012, 15:27
by Dave_G
Lobster

You mentioned you needed gtkdialog, have you tried the following:

http://packages.debian.org/lenny/arm/gtkdialog/download

More info here:

http://packages.debian.org/lenny/gtkdialog

http://packages.debian.org/lenny/arm/gtkdialog/filelist

Dunno what diffs there are between lenny and the PI distro, but may work.

Posted: Fri 20 Apr 2012, 15:47
by Lobster
I am in Arch Linux at the moment.
:)
Trying to run the setup program.
Does not seem to be there, in the Raspberry Pi version of arch Linux.
Just to remind everyone, there is now a Raspberry
PupPy post under projects in the forum.

Posted: Fri 20 Apr 2012, 17:40
by sickgut
Lobster wrote:
Hope that helps.
It does. It makes a lot of sense.

I will look again at the ARM depositories.
It is possible not much is compiled for them.
I am loath to start compiling. For example I need gtkdialog
but was unable to find it in either apt-get or aptitude.

The rpm distros, Arch and Fedora, have their own difficulties. For me it is better to focus on a recommended release.
hi lobster

a program that works the same as apt-get but is GUI based is synaptic, just apt-get install synaptic

it uses apt-get as a backend, its good because you can browse apps etc before you install them, so you dont have to guess what things are called when you type apt-get install etc....

Posted: Sat 21 Apr 2012, 10:49
by Lobster
just apt-get install synaptic
I installed it
Rpi HQ brought out a new Squeeze
Synaptic and all my settings got synapticated [uninstalled or overwritten] during the install of new image
I did look at synaptic and have used it many moons ago . . .
Could not find gtkdialog.
May reinstall . . . I looked at aptitude due to frustration over finding packages. Getting to grips with apt-get now . . .

Many thanks . . .

Posted: Sat 21 Apr 2012, 14:40
by Aitch

Posted: Sat 21 Apr 2012, 16:43
by don570
http://www.raspberrypi.org/archives/1097
Liam has just uploaded new versions of the Debian and Arch Linux ARM distributions to our mirror system. Head on over to the downloads page. The Debian image contains the following updates to the prior 13-04-2012 release:

Dom’s overscan adjustments
Dom’s ALSA driver
Alsa driver is included :lol:

Posted: Sat 21 Apr 2012, 23:39
by Lobster
Alsa driver is included
Alsa Alpha
Tried it
Did not hear a growl from it. :shock:

Look forward to updates. :)

Posted: Sun 22 Apr 2012, 01:03
by aarf
don570 wrote:http://www.raspberrypi.org/archives/1097
Liam has just uploaded new versions of the Debian and Arch Linux ARM distributions to our mirror system. Head on over to the downloads page. The Debian image contains the following updates to the prior 13-04-2012 release:

Dom’s overscan adjustments
Dom’s ALSA driver
Alsa driver is included :lol:
get it while its HOT!

edit: all down. 2hrs6minutes. best transmission yet.

Posted: Sun 22 Apr 2012, 09:40
by sickgut
glad there is sound working now, from both a personal and a professional standpoint.

i personally am wanting to use the rasp pi for older music kind of stuff (mod, midi, chip tunes etc.) and possibly installing the rasp pi in my car for music etc, altho i have no idea of what interface for triggering songs i want to listen to and if i will need a screen or not, ill have to figure that out when i get to it

professionally i was completely shocked that the rasp pi was actually shipped with no sound support working, a definate wtf moment

it also seems like there has been alot of work and customization gone into the debian OS that is shipping with or is recommended for installation onto the rasp pi, meaning that it may not be within the reach of even seasoned debian people to start from scratch and install debain ARM to the device and expect everything to work. I think in order to not spend the next hundred years reinventing the wheel, its best to start with the debian base that is provided, even if it must be stripped to basicly nothing and built on to accomplish our goals.

Posted: Sun 22 Apr 2012, 13:42
by sickgut
Another teething problem that puppy people may experience when moving from puppy to the pre done debian that is the default OS for the Rasp Pi is the fact that it isnt a live OS.

Puppy is a live OS, can but run from cdrom or usb stick or whatever and all your changes can be saved in one save file. (ofcause you already know this)

The prob with normal debian is the fact that it isnt a live OS and therefore there is no save file system or frugal option. This means that like in windows, any installed program is actually installed in real time and makes permanent changes to the actual filesystem on the sdcard, not a ram disk or save file, and there is no way of previewing the OS in a way that any mistakes or modifications you make do not permanently impact the installed operating system. Even simply booting the OS makes permanent changes even if you dont save anything or execute a program. New log files are created and or updated with every boot.

You can however mount the .img file in a program that can open these and make changes to it (like adding files to a folder or copying an entire folder to the .img file that contains a statically installed program, or some personal data you may find useful.)

Also you can backup the SD card using byte for byte accuracy with the dd command, and save the information to a file or another sdcard or usb stick. However the rasp pi wont boot directly from a usb stick, so usb sticks could hold the image (same with usb hdds) of the sd card for backup purposes, and you can image the usb stick back to the sdcard if you like. Note this doesnt have to be done with a cleanish OS, you can do it after you have all your programs and personal data installed.

The command to backup your current OS with all your changes is:

dd if=/dev/sda of=/path/to/a/mounted/filesystem/filename.img

where filename is whatever you like to name it, and the /path/to/a/mounted/filesystem/filename.img is the full pathname of the file you are saving that contains the complete image of the OS with all its changes, note you will need to mount another filesystem (usb hdd or usb stick etc) to do this, so you will have to enter the complete path. (eg. /media/sdb1/filename.img)

when imaging your filename.img back to the sdcard you want to run in your rasp pi (restoring from backup if something goes wrong etc, the whole point of backing up, so you can use your backup)... its probably easier to use a normal pc and boot into puppy and use a usb card reader (or the built in sd card reader in the pc you use) and insert the sdcard but DO NOT MOUNT IT. It will show up in puppy on the desktop, but dont click on it to mount it.

the command to image filename.img to the sdcard is:

dd if=/path/to/filename.img of=/dev/sdb

where sdb is the actual drive of the sdcard you wanna use in your rasp pi.
This is the same command as installing the debian image that the rasp pi ppl supply onto the sdard to begin with.

Im posting this info because backing up your sdcard into a single .img file is the best way of distributing the rasp pi OS with whatever modifications you would like to share with people, they would download your .img file and image their cards with it and they will be running exactly the same setup as you created. This is the only reliable way to distribute to the community and share with them the improved Rasp Pi operating system that most people here have sworn to help create.

Note that debian ARM is not available in a Live format, as the debian live team dont currently support arm devices. Also debian ARM do not supply a simple .iso you can boot from an attached usb cdrom drive. Using dd and .img files is the only effective way of distribution at the moment. Unless you want to mail sd cards to everyone to show them your changes.

Posted: Sun 22 Apr 2012, 14:21
by Lobster
The command to backup your current OS with all your changes is:

dd if=/dev/sda of=/path/to/a/mounted/filesystem/filename.img
That will be very useful later - many thanks 8)

Posted: Sun 22 Apr 2012, 19:05
by rokytnji
Hope you don't mind me showing another trick I learned using dd also to insert into this thread. This is compressing your image backup included so as to save space on drive.

1. Boot up your rasberrypi debian install.
2. Open a terminal window on the GUI desktop.
3. Plug in the external drive.
4. Not owning a rasperrypi or using Debian Arm. I don't know if you will need to mount it manually or if it will show up as mounted in /media or /dev.. One you find it

Code: Select all

fdisk -l
is a good way to find the path after usb is plugged in. Then you can look in rox or whatever file manager to get the exact name of folder.

However> Whatever you do,Do Not try to access the system disc at this time.

5. Assuming that the external drive was mounted as /media/disk, execute the following command in the command-line window:

Code: Select all

dd if=/dev/sda | gzip -c >/media/disk/system-image.gz
That will copy and compress the system disc image, including the partition table, boot loader, and all of the partitions. Later if you need to restore it, then bootup your other computer with whateverOS and insert the sd card you want to restore.

Code: Select all

gunzip -c /media/disk/system-image.gz | dd of=/dev/sd?
I put a ? after sd because fdisk -l will show what to put for the path is for the external sd card. You will need to make sure external sd card is mounted also before running the above command also as root user in terminal.

@ Sickgut. Feel free to explain what I said better if you so wish. I am just a Linux using biker trying to show what works for me. But I have a poor way of explaining things that work for me in my head. Kinda like giving map directions. You know how to get there. But explaining to a total stranger can get them lost.

I can't take credit for this. I stole this from a good buddy of mine who is a known scientist and musician and knows his stuff. I have some really good knowledgeable online bros.

http://www.linuxforums.org/forum/applic ... post809640

If you go a few posts down in that thread. You will see me mentioning PUDD and Puppy Linux and me mentioning how I am going to steal the code. :)

Posted: Tue 24 Apr 2012, 14:13
by sickgut
i suspect this thread would pretty much die until the new batch of rasp pi's arrive at peoples houses and are booted up :(

Posted: Tue 24 Apr 2012, 15:58
by antiloquax
I'm expecting mine at the end of next month :)
I am finding this thread and the one on Raspberry "PupPi" very useful as I am working on my Arch Arm qemu Pi!

Posted: Tue 24 Apr 2012, 16:52
by sickgut
I am very interested in learning about clustering, and the rasp pi is simply the cheapest available stable linux platform. Its alot cheaper than multiple intel based systems.

However the rasp pi performance is nowhere near a modern intel based platform and maybe ten rasp pi's is still nothing like a new intel based system.
I am not wanting to create some kind of super performing computer with a lot of rasp pi's, just actually learn how to do it, and learn how to do it with a budget of only a few hundred dollars.

Posted: Wed 25 Apr 2012, 08:23
by Lobster
Image
Puppi pre-alpha running on ARM Raspberry Pi Motherboard

When you get your pannet of raspberries
this will get you started:
http://puppylinux.org/wikka/Puppi

Posted: Wed 25 Apr 2012, 08:48
by Dave_G
Nice one Lobster.

Although this is a start, I will wait for a complete Puppy for the Pi where one can run root.
This whole sudo su story every time I want to do something will drive me (even more) mad.

Posted: Wed 25 Apr 2012, 09:05
by aarf
Pussy has solved the root thing for debian. Perhaps you can get ideas from there.

Posted: Wed 25 Apr 2012, 10:22
by antiloquax
That looks great, Lobster. I'm still unable to put icons on my desktop :(
Do you know how to get rox and jwm to co-operate?
mark
(and you can run as root in Arch!)