DebianDog - Wheezy

A home for all kinds of Puppy related projects
Post Reply
Message
Author
mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

Synaptic, GUI for downloading applications

#16 Post by mcewanw »

sheldonisaac wrote:I don't know how to find and install Debian software; are they called "packages".

In Puppy, I look for .pet packages of, for example, claws e-mail, or Opera browser.

I'm certainly aware that Debian uses apt-get, but am almost totally unfamiliar with how to.
sheldonisaac,

There is a GUI called Synaptic for downloading debian apts from their big repository. You reach it via the JWM menu:

JWM -> Settings -> Synaptic

You can often alternatively use sfs files made in puppy.
github mcewanw

dancytron
Posts: 1519
Joined: Wed 18 Jul 2012, 19:20

bugs in this thread???

#17 Post by dancytron »

I've got it installed. Using the xfce version. Looks great.

One minor thing so far,

When updating synaptic, I got this error:

W: GPG error: ftp://ftp.deb-multimedia.org wheezy Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 07DC563D1F41B907

gcmartin

Persistence on Live disc media

#18 Post by gcmartin »

This look appealing and I would like to test.

I did read 1st several posts. In reading this post, and seeing "Make Save File", here. I have a question.

Question
I am a LiveDVD user for all of my PUPs. I run persistence via save-sessions to my LiveDVD via the builtin subsystem for such. Is that ability present in this distro?
Last edited by gcmartin on Wed 16 Apr 2014, 21:39, edited 1 time in total.

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

Using apt commands

#19 Post by mcewanw »

sheldonisaac,

If you also/alternatively want to install packages from the commandline rather than use JWM -> Settings -> Synaptic GUI, then the following commands are useful. You can find more from the site this list of commands is basically quoted/extracted from: http://www.tecmint.com/useful-basic-com ... anagement/

If you are running as a non-root user then use sudo with the following apt commands:

The ‘update‘ command is used to resynchronize the package index files from the their sources specified in /etc/apt/sources.list file:

Code: Select all

apt-get update
The ‘upgrade‘ command is used to upgrade all the currently installed software packages on the system:

Code: Select all

apt-get upgrade
Use 'install' to install a package whose name you know:

Code: Select all

apt-get install iceweasel
If you don't know the exact name, you can use “search
Last edited by mcewanw on Wed 16 Apr 2014, 23:16, edited 2 times in total.
github mcewanw

nancy reagan
Posts: 544
Joined: Thu 22 Jan 2009, 14:20

Re: Using apt commands

#20 Post by nancy reagan »

[quote="mcewanw"]sheldonisaac,

If you also/alternatively want to install packages from the commandline rather than use JWM -> Settings -> Synaptic GUI, then the following commands are useful. You can find more from the site this list of commands is basically quoted/extracted from: http://www.tecmint.com/useful-basic-com ... anagement/

If you are running as a non-root user then use sudo with the following apt commands:

The ‘update‘ command is used to resynchronize the package index files from the their sources specified in /etc/apt/sources.list file:

Code: Select all

apt-get update
The ‘upgrade‘ command is used to upgrade all the currently installed software packages on the system:

Code: Select all

apt-get upgrade
Use 'install' to install a package whose name you know:

Code: Select all

apt-get install iceweasel
If you don't know the exact name, you can use “search

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

Re: Using apt commands

#21 Post by mcewanw »

nancy reagan wrote: WOULD BE VERY USEFUL IF THESE INSTRUCTIONS WERE COPIED TO THE FIRST POST ????????
Or maybe post five, which is reserved for extra info? The earlier posts are already detailed and quite full of installation and debiandog description/explanation.

I've added links to the main Debian Reference guide, and to Debian Wiki, the latter providing good newcomers to Debian information.
Last edited by mcewanw on Thu 17 Apr 2014, 00:26, edited 1 time in total.
github mcewanw

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

Booting usb debiandog install on my 10 yr old computer

#22 Post by mcewanw »

Note that the following suggestion is really only concerned with really old computers (ten years old or so). It will not be necessary for most computers and may not work for you anyway (just did for me). I was having trouble booting from a usb flash stick after originally formatting it with a single ext4 format partition with Gparted (and disabling the ext4 journal to save flash from wear). My machine detects the single usb stick partition as /dev/sdb1:

If you have an older machine (ten year old or so) and are having trouble to get DebianDog to boot from grub4dos when the debiandog live folder is on usb, as a last resort you can try the following method of formatting a usb to ext4 first. If I instead use Gparted to format my usb stick, and install debiandog onto that, I find that the result boots fine on my newer computer, but can't find files on my older one.

By formatting the usb stick in the following manner instead, and then installing debiandog on that, I have no problem booting on either my older machine or my newer one. I don't guarantee this will work on any particular machine, but it is maybe worth a try if all else seems correct but you still can't boot from the usb. If that doesn't work, you might also like to try changing 16384 (which results on partition starting on 1MiB boundary) below to 2048 (which results on partition starting on 1MiB boundary instead) but 16384 worked fine on my old machine:

1. I partition and format my usb stick (on /dev/sdb) with the following two commands:

Code: Select all

echo "16384,,L,*" | sfdisk -f -H 16 -uS /dev/sdb

mkfs.ext4 -O ^has_journal /dev/sdb1


2. The above reduces the apparent heads to 16 (-H 16) (which presumably works around a BIOS limitations problem on my old machine) and formats /dev/sdb1 partition with ext4 fs. Then I simply run debdog-install, click on /dev/sdb1 partition, select debiandog install iso (or my /mnt/home/live folder), and press the install button (I avoid using gparted since that seems to muck up the heads bit; not that there is anything wrong with gparted - it is probably just using the kernel's representation of CHS values, which is fine for most modern computers).

The result boots on both my old and newer computer and the bootable (*) /dev/sdb1 Linux (L) partition starts on 8MiB boundary (16384 sectors).

I wrote more about the experiments that led up to the above here:

http://www.murga-linux.com/puppy/viewto ... 156#770156

Note that my old machine actually has no BIOS option to directly boot from usb so as a workaround I have grub4dos bootloader itself on the harddrive for that machine (with grub4dos bootloader on harddrive MBR and grldr and menu.lst on the harddrive's first partition)
github mcewanw

User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#23 Post by saintless »

Thank you, William!
Your instructions for apt-get and usb old computer install added in post five.

Toni

User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

Re: Persistence on Live disc media

#24 Post by saintless »

gcmartin wrote:Question
I am a LiveDVD user for all of my PUPs. I run persistence via save-sessions to my LiveDVD via the builtin subsystem for such. Is that ability present in this distro?
Hi, Gcmartin.

Unfortunately you can't save session on DVD with DebianDog.
What you can do is to boot from the DVD and save session on usb or hdd in save-file, save-folder or save-partition.
Maybe in time if there is interest from Puppy linux developers it will be possible to modify puppy save file options to work for DebianDog.

Toni

User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

Re: bugs in this thread???

#25 Post by saintless »

dancytron wrote:W: GPG error: ftp://ftp.deb-multimedia.org wheezy Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 07DC563D1F41B907
Thank you, Dancytron.
This error is harmless. It does not stop downloads from multimedia repository. Just ignore it or you can easy fix it this way:

Code: Select all

gpg --keyserver pgp.mit.edu --recv-keys 07DC563D1F41B907

Code: Select all

gpg --armor --export 07DC563D1F41B907 | apt-key add -
Toni

User avatar
alphadog
Posts: 109
Joined: Tue 07 Dec 2010, 11:20
Location: Deepest Wiltshire UK

#26 Post by alphadog »

Thanks for the reply Toni, will give try this in the next week or so.
I (and others I suspect) thank you and all the other devs of other breeds of Puppy and software here in the kennels. You make this community what it is, helpful,sharing and thoroughly GRRRRRReat.
Dell Optiplex760 8Gb RAM 256Gb SSD+500Gb HDD(Now running Bionicpup64)

emil
Posts: 633
Joined: Tue 10 Nov 2009, 08:36
Location: Austria
Contact:

#27 Post by emil »

Congratulation,
keep up the good work!
cheers
emil

User avatar
atv
Posts: 27
Joined: Wed 16 Nov 2011, 15:44
Location: Tambo, Ecuador

usb mouse

#28 Post by atv »

Friends; Let me first congratulate you all on the excellent work you all have done with this Distro. I simply love it :D
perhaps you might be able to help me with this problem;

>From Osamu Aoki's Debian Reference (http://www.debian.org/doc), chapter 3.3:

Make sure you have:
* "Input Core Support" and "Input Core Support/Mouse Support"
enabled in the kernel or as modules.
* "Support for USB", "Preliminary USB device filesystem", "UHCI or
OHCI", and "USB HID Support" enabled in the kernel or as modules.

For typical scroll _USB_ mice, configuration combinations should be:

| /etc/X11/X86Config-4
=========================+======================================
| Section "InputDevice"
| Identifier "Generic Mouse"
| Driver "mouse"
| Option "SendCoreEvents" "true"
| Option "Device" "/dev/input/mice"
| Option "Protocol" "IMPS/2"
| Option "Buttons" "5"
| Option "ZAxisMapping" "4 5"
| EndSection
could not find /etc/X11/X86Config-4
what did I do wrong? Thank you for any help you can give me.
regards, Andres

User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

Re: usb mouse

#29 Post by saintless »

atv wrote:could not find /etc/X11/X86Config-4
what did I do wrong? Thank you for any help you can give me.
regards, Andres
Hi, Andres :)
You can't find /etc/X11/X86Config-4 file in Debian anymore. I think it is replaced by xorg.conf but I might be wrong.
I can suggest two things for the moment:

1. Download this firmware module in /live and reboot:
http://smokey01.com/saintless/DebianDog ... s.squashfs
If the problem is still there then try;
2. Exit X from Shutdown menu:

Code: Select all

Xorg -configure

Code: Select all

mv /root/xorg.conf.new /etc/X11/xorg.conf

Code: Select all

startx
Open /etc/X11/xorg.conf and try changing this section:

Code: Select all

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "auto"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5 6 7"
EndSection
Toni
Last edited by saintless on Thu 17 Apr 2014, 17:10, edited 1 time in total.

User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#30 Post by saintless »

alphadog wrote:Thanks for the reply Toni, will give try this in the next week or so.
Hi, Alphadog.

I think thanks to Fred we will have Full install automated option in the future.
Till then here is how to make real full install manualy with DebianDog (on sda2 for example):

Extract 01-filesystem.squashfs on sda2.
Copy or move vmlinuz1 and initrd.img inside /media/sda2/boot
Add this in grub menu list:

Code: Select all

title DebianDog Full install on sda2
root (hd0,1)
 kernel /boot/vmlinuz1 root=/dev/sda2
 initrd /boot/initrd.img
initrd.img is needed for Debian full install unlike Puppy.

Toni

dancytron
Posts: 1519
Joined: Wed 18 Jul 2012, 19:20

#31 Post by dancytron »

Okay, I am using the xfce version with porteus boot with changes directory, save on exit only. When I get logged in, sda3 (the partition with my /live directory) is already mounted. When I open it, it takes me to /mnt/live/memory/images/changes-exit instead of sda3.

However, when I ran "create module from changes" (which worked great btw), it then changed and was mounted to sda3 like it should be. This is even if I cancel out of it before I let it create the squashfs file.

When I tried to unmount it, I got this error.

Code: Select all

Error umounting volume sda3: Script exited with exitcode 1
Output:
umount: /mnt/live/memory/images/changes-exit: device is busy.
        (In some cases useful info about processes that use
         the device is found by lsof(8) or fuser(1))
umount: /mnt/live/mnt/sda3: device is busy.
        (In some cases useful info about processes that use
         the device is found by lsof(8) or fuser(1))
The menu.1st entry I am using is:

Code: Select all

title PorteusDog changes=EXIT:/live/
root (hd0,2)
kernel (hd0,2)/live/vmlinuz1 noauto from=/ changes=EXIT:/live/
initrd (hd0,2)/live/initrd1.xz

User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#32 Post by saintless »

Hi, Dancytron.
dancytron wrote:When I tried to unmount it, I got this error
The error is because it is the boot partition. It can not be unmounted while using /live folder.
When I open it, it takes me to /mnt/live/memory/images/changes-exit instead of sda3.
I guess Fred will give better answer. It seems the same situation as using live-rw save file with live-boot-v2 which was solved with mnt-backing script. I think starting "create module from changes" (remastercow-porteus) restores the mount point to sda3.
I will test this situation tomorrow with both versions.

Toni

dancytron
Posts: 1519
Joined: Wed 18 Jul 2012, 19:20

#33 Post by dancytron »

okay, thanks.

Dan

User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#34 Post by saintless »

Edit: Thank you for testing. Seems there is a problem with amd64 module. No more testing needed for now. I will open this subject again when I'm ready to continue.

Hi, all.

Test on AMD64 processor needed. Unfortunately I do not have one. If someone can do the test sometime it will be great.

Make DebianDog frugal install. Download this archive and extract it in /live:
http://smokey01.com/saintless/DebianDog ... -amd64.zip
This is kernel 3.2.0-4-486-amd64 module.
Use this boot code (sda1 for example). Note vmlinuz6 and initrd6.img:

Code: Select all

title DebianDog Wheezy AMD64 live-boot-3x (sda1)
root=(hd0,0) 
kernel /live/vmlinuz6 boot=live config persistence swapon quickreboot noeject autologin showmounts
initrd /live/initrd6.img 
I need only test for now if DebianDog boots this way on AMD64 and if the installed programs start/work.
Thanks in advance!

Toni

Edit: Thank you for testing. Seems there is a problem with amd64 module. No more testing needed for now. I will open this subject again when I'm ready to continue.
Last edited by saintless on Fri 18 Apr 2014, 06:39, edited 1 time in total.

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#35 Post by sunburnt »

Toni; I`ll do a test on my Athlon 64. It may take a little time, I`ll let you know...

# Update: Bad news...

1) deb-installer does not work for me, select /live & part., click [Install] and it does nothing.
"ps -A" shows that it appears to be stalled, I don`t know why.

2) After manually installing your setup my Athlon64 won`t recognize the USB drives.
All of the installs boot on my Pentium-D PC. So the Athlon must have BIOS issues.
The Athlon failed booting installs on several USB drives. I doubt it will work. Sorry...

# I`ll see if Olga`s HP laptop is an AMD 64 cpu ( it`s dual core ), when she gets home.
.

Post Reply