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 Thu 30 Jul 2015, 16:34
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
DebianDog - Jessie
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 15 [214 Posts]   Goto page: 1, 2, 3, ..., 13, 14, 15 Next
Author Message
saintless


Joined: 11 Jun 2011
Posts: 3309
Location: Bulgaria

PostPosted: Wed 27 May 2015, 06:56    Post subject:  DebianDog - Jessie
Subject description: Upgrade from DebianDog - Wheezy
 

Click here for bugs and fixes information.
==========================================
DebianDog-Jessie is upgrade from DebianDog-Wheezy with some special modifications and fixes needed for Jessie.
Same boot methods options, same Utilities thread, same HowTo thread.

Both systemd and sysvinit included with choice to boot the init you prefer.
If you need to edit the boot code keep in mind adding init=/bin/systemd will boot with systemd. Removing init=/bin/systemd will boot with sysvinit.

DebianDog is a small Debian Live CD shaped to look like Puppy and act like Puppy. Debian structure and Debian behaviour are untouched and Debian documentation is 100% valid for DebianDog. You have access to all debian repositories using apt-get or synaptic.

DebianDog is set to autologin as root. If you like to use it as multiuser system it is recommended to start XDM login manager (available only in Jwm version). Just type in terminal xdm-start and reboot. xdm-stop will reverse back autologin as root.
If you like to change the default autologin as root to autologin as user read here how to do it.

Login details:
root with password root
puppy with password puppy

Two versions available for download:
1. DebianDog-Jessie-jwm_icewm.iso - 164 Mb - kernel-3.16.0-4-586 (for older PC).
DebianDog-Jessie-jwm_icewm-3.16.0-4-686-pae.iso - 166 Mb - kernel-3.16.0-4-686-pae (for modern PC).
Default WM - JWM with option to switch to IceWM.
Default File Manager - XFE with option to use Rox.
Default Internet Browser - Dillo.



2. DebianDog-Jessie-openbox_xfce.iso - 192 Mb - kernel 3.16.0-4-586 (for older PC) - (from fredx181).
DebianDog-Jessie-openbox_xfce-3.16.0-4-686-pae.iso - 194 Mb - kernel-3.16.0-4-686-pae.iso (for modern PC) - (from fredx181).
Default WM - OpenBox with XFCE.
Default File Manager - Thunar with option to use Rox or XFE.
Default Internet Browser - Firefox.



ISO md5sum


To test DebianDog for first time you need to burn it on CD and boot from it, or use DebianDog-installer ( click here to download and extract the archive - working from most linux systems) to make frugal install to HDD or USB, or to extract /live folder on top of a partition or USB and edit grub menu.lst.

DebianDog-Jessie iso is changed to iso-hybrid and you can make bootable usb from it using dd command. This option is for users with more experience and makes the usb partition with DebianDog files read-only without option to replace the included boot menu with custom menu entry.
Hybrid-iso to usb example using /dev/sdb flash drive posted here.

It is recommended to use DebianDog-installer working on most linux systems ( click here to download and extract the archive ) instead using dd command to create bootable usb.

To keep the size small as posible all /usr/share/locale files for the included packages are moved in separate squashfs module (00-locale-files-jessie-openbox_xfce.squashfs and 00-locale-files-jwm-icewm-jessie.squashfs) available for download from sfs-get or from here.
In case you like to change the localization install locales and load the module or place it inside /live/image/live to be loaded at boot time.
You can also install localepurge and copy only the language files you need from the squashfs module in /usr/share/locale directory to save space in the future.
More information about changing localization read here, here and here.

A big thanks to Kazza for providing the hosting space for all DebianDog versions, modules and packages!

Related links:
DebianDog-Wheezy
Infinality fonts packages for Debian Wheezy (thanks to Keisha)
DebianDog wireless LAN HowTo thread
DebianDog HowTo thread
DebianDog Utilities thread
DebianDog Packages section
Setting up Chinese fonts github wiki from limelime
Systemd boot information
Install Spotify on Debian/DebianDog
DebianDog + Blue Pup Quirky Tahr Dual Boot USB Stick How-To
How To Make A Network Storage NAS Appliance With DebianDog and OpenMediaVault

DebianDog-Squeeze.iso version for old computers
Use old Skype version after 01.08.2014

_________________
Farewell, Nooby, you will be missed...

Last edited by saintless on Tue 23 Jun 2015, 04:46; edited 18 times in total
Back to top
View user's profile Send private message MSN Messenger 
saintless


Joined: 11 Jun 2011
Posts: 3309
Location: Bulgaria

PostPosted: Wed 27 May 2015, 06:57    Post subject: Updates and fixes information post:  

Extra modules for DebianDog-Jessie
DebianDog-Jessie package repository
Hosting for all DebianDog versions (thanks to KazzaMozz)
DebianDog backup download site
DebianDog second backup download site
Final iso images will be uploaded also here (thanks to KazzaMozz)

All future updates will be provided from apt-get or Synaptic as deb packages from DebianDog-Jessie repository.
Typing apt-get upgrade will upgrade all packages from official Debian repository and from DebianDog repository.
Typing apt-get install package-name will upgrade only one package.
All fixes will be posted here. All extra packages (not included in DebianDog-Jessie) will be uploaded here and easy installable with apt-get install package-name or Synaptic.

=========================================

List of DebianDog-Jessie fixes found after 27.05.2015:

1. If you can't start X with OpenBox version remove /usr/share/X11/xorg.conf.d/20-intel.conf
You can do it easy from command line typing:
Code:
rm -f /usr/share/X11/xorg.conf.d/20-intel.conf

This file will be removed in next iso update.
The problem could appear with some Nvidia video cards, but it is recommended to remove this file if you use OpenBox-Jessie iso. More information read here.

2. DebianDog-installer included in the iso works only from DebianDog. Instead click here to download this DebianDog-installer and extract the archive - working from most linux systems to make frugal install to HDD or USB.

3. In OpenBox version the menu entry for lxrandr (Monitor settings) is missing. Read the fix here.

4. No way to turn back once entered the Help selection of the iso image boot menu. Needs reboot to exit. I will try to fix this before next iso update. Typing menu and pressing enter makes it appear but the Help menu will be removed for next iso update. The new menu will have 12 boot options. Read more here. DebianDog-installer will be changed the same way.

5. Some PC BIOS could suffer a little problem on reboot: the system freezes and you have to force shut down by pressing the PWR button. It is caused by some recent kernel versions and can be solved with reboot=bios boot parameter.
http://linux.koolsolutions.com/2009/08/04/howto-fix-linux-hangfreeze-during-reboots-and-restarts/

6. Uxterm in openbox version doesn't work without this fix.

7. initrd1.img for live-boot-2 needs adding .wh. function needed for remastercow to work with .wh. files. If you use remastercow .wh. function with live-boot-2 use this initd1.img to boot instead initrd1.img included in the iso (download with right click -> Save link as): initrd1.img-nopae, initrd1.img-pae.

8. New syslinux menu configuration will be added in next iso update. More information here.

9. Using live-boot and mounting squashfs modules located on NTFS and ext4 partition gives error message. More information here and in the next few posts. To fix this install this modded and upgradable after running apt-get upgrade command mount_2.26.2-6_i386-mod.deb
Or run in terminal:
Code:
apt-get update
apt-get install mount


10. Some scripts don't work in Jessie with full install, like filemnt and loadsfs-fuse. It's because of 'loop' is not loaded. Typing in terminal modprobe loop or adding loop in /etc/modules and reboot makes them work.

11. In OpenBox iso libegl1-mesa is version 10.4.2-2, official jessie version now is 10.3.2-1. Installing mpv (0.6.2-2) from jessie gives errors. The solution is downgrading libegl1-mesa to the official Jessie version:
Code:
apt-get install libegl1-mesa=10.3.2-1


12. Ejecting optical drive from desktop drive icon doesn't work. Install this pup-volume-monitor_0.1.15-2_i386.deb or run in terminal:
Code:
apt-get update
apt-get install pup-volume-monitor


===========================================

_________________
Farewell, Nooby, you will be missed...

Last edited by saintless on Sat 25 Jul 2015, 14:16; edited 15 times in total
Back to top
View user's profile Send private message MSN Messenger 
bark_bark_bark

Joined: 05 Jun 2012
Posts: 1303
Location: Wisconsin USA

PostPosted: Wed 27 May 2015, 13:42    Post subject:  

I'll be trying out the openbox version later today.
_________________
The DeLorean is the best car, Period!
Back to top
View user's profile Send private message 
ally


Joined: 19 May 2012
Posts: 1008
Location: lincoln

PostPosted: Wed 27 May 2015, 16:40    Post subject:  

mirrored here: http://archive.org/details/Puppy_Linux_Debian_Dog_Jessie

Smile
Back to top
View user's profile Send private message Visit poster's website 
davids45


Joined: 26 Nov 2006
Posts: 730
Location: Chatswood, NSW

PostPosted: Wed 27 May 2015, 23:25    Post subject: First look at DebianDog Jessie
Subject description: Some questions
 

G'day saintless,

I had not tried this OS before (just normal Puppies) so I may not understand how this DDog works.

Live CD loaded and ran.

On this desktop computer, I have two hard-drives each with 14 partitions, but with DDJessie, the drive icons did not display in rows across the bottom of the screen - just one row when I probably need three rows to see all my partitions at the size of icon being displayed.

When I looked with the Mounter wizard (because I could not click on an off-screen partition icon to mount that partition), my second hard drive sdb was showing its partitions with USB icons - sda showed with normal hard drive icons.

Will a Frugal DebianDog Jessie co-exist with many Pup Frugals in the one partition? Or with a Full DebianDog Jessie as I have a spare partition on sdb to try these together if possible.

Is there an example of a menu.lst entry for a DebianDog Jessie Frugal (and Full as well) as I do not want to install Grub or Grub4Dos with DebianDog but use the Grub I have already and just edit the .lst files.

Thanks,

David S.
Back to top
View user's profile Send private message 
saintless


Joined: 11 Jun 2011
Posts: 3309
Location: Bulgaria

PostPosted: Thu 28 May 2015, 05:54    Post subject: Re: First look at DebianDog Jessie
Subject description: Some questions
 

Hi, David S.
davids45 wrote:
When I looked with the Mounter wizard (because I could not click on an off-screen partition icon to mount that partition), my second hard drive sdb was showing its partitions with USB icons - sda showed with normal hard drive icons.

This is because mount-wizard script is set to use one icon for sda and different icon for sd*. You can change this part in /opt/bin/mount-wizard with text editor from:
Code:
      case "$partition" in
         *fd*)
            type="floppy24"
            ;;
         *mmc*)
            type="card24"
            ;;
         *sda*)
            type="drive24"
            ;;
         *sr*)
            type="optical24"
            ;;
         *sd*)
            type="card24"
            ;;
         *)
            type="drive24"
            ;;
      esac

to:
Code:
      case "$partition" in
         *fd*)
            type="floppy24"
            ;;
         *mmc*)
            type="card24"
            ;;
         *sda*)
            type="drive24"
            ;;
         *sdb*)
            type="drive24"
            ;;
         *sr*)
            type="optical24"
            ;;
         *sd*)
            type="card24"
            ;;
         *)
            type="drive24"
            ;;
      esac

Then sdb will have the same icon as sda.
Quote:
Will a Frugal DebianDog Jessie co-exist with many Pup Frugals in the one partition? Or with a Full DebianDog Jessie as I have a spare partition on sdb to try these together if possible.

Yes for both. Open DebianDog iso and copy /live directory at top of the partition with Pup Frugals or at top of DD-Jessie full install and change the menu list (the example is for existing KDPup frugal and DD on sda1 porteus-boot saving changes in /live/changes directory. You need ext2,3,4 partition for saving in directory):
Code:
title Puppy Linux 484 frugal in sda1 dir puppy484
rootnoverify (hd0,0)
kernel /puppy484/vmlinuz pmedia=atahd psubdir=puppy484 nosmp
initrd /puppy484/initrd.gz

title DebianDog-Porteus changes=/live/
root (hd0,0)
kernel /live/vmlinuz1 noauto from=/ changes=/live/
initrd /live/initrd1.xz

Boot code examples for each boot method you will find here and in the links for each boot method posted here.
Quote:
On this desktop computer, I have two hard-drives each with 14 partitions, but with DDJessie, the drive icons did not display in rows across the bottom of the screen - just one row when I probably need three rows to see all my partitions at the size of icon being displayed.

Never tested so many partitions but try chaging the X and Y from settings right click on any desktop drive icon (if you are running Jwm version). See the screenshot.

Edit: Try changing Y: -100 to move up the desktop drive icons.
Attached archive mount-wizard.tar.gz with the mod above to replace it in /opt/bin.

Toni
mount-wizard-icon-mod.tar.gz
Description 
gz

 Download 
Filename  mount-wizard-icon-mod.tar.gz 
Filesize  2.21 KB 
Downloaded  47 Time(s) 
desktop-drive-icons.png
 Description   
 Filesize   189.06 KB
 Viewed   3364 Time(s)

desktop-drive-icons.png


_________________
Farewell, Nooby, you will be missed...

Last edited by saintless on Thu 28 May 2015, 08:39; edited 2 times in total
Back to top
View user's profile Send private message MSN Messenger 
saintless


Joined: 11 Jun 2011
Posts: 3309
Location: Bulgaria

PostPosted: Thu 28 May 2015, 05:57    Post subject:  

ally wrote:
mirrored here: http://archive.org/details/Puppy_Linux_Debian_Dog_Jessie

Thanks, Ally Smile
Can you, please, add fredx181 to the description because we work together on this project. Thanks again!

Toni

_________________
Farewell, Nooby, you will be missed...
Back to top
View user's profile Send private message MSN Messenger 
ally


Joined: 19 May 2012
Posts: 1008
Location: lincoln

PostPosted: Thu 28 May 2015, 06:40    Post subject:  

sorry fredx181, my bad, done!

Smile
Back to top
View user's profile Send private message Visit poster's website 
fredx181

Joined: 11 Dec 2013
Posts: 1232
Location: holland

PostPosted: Thu 28 May 2015, 12:37    Post subject:  

ally wrote:
sorry fredx181, my bad, done!

Smile


Thanks, ally, for your great work of archiving all valuable puppy distributions!
Smile

Fred
Back to top
View user's profile Send private message 
Terry H

Joined: 29 Mar 2009
Posts: 121
Location: Pickering, ON Canada

PostPosted: Thu 28 May 2015, 13:04    Post subject:  

I'm a first time user of DebianDog. I have just done a frugal install of the openbox-xfce version. So far it is looking really nice. It's looking like a keeper.

The only issues I am having is running Menu items which have scripts involved, which use sudo, are failing. When sudo is called from a terminal I receive the following error:

Code:

root@jessie:~# sudo
sudo: unable to stat /etc/sudoers: No such file or directory
sudo: no valid sudoers sources found, quitting
sudo: unable to initialize policy plugin


The file /etc/sudoers does exist:
Code:
ls -l /etc/sudoers
-r--r----- 1 root root 805 Dec 20 22:13 /etc/sudoers


I have no idea how to rectify this issue. any assistance would be greatly appreciated.
Back to top
View user's profile Send private message 
fredx181

Joined: 11 Dec 2013
Posts: 1232
Location: holland

PostPosted: Thu 28 May 2015, 13:47    Post subject:  

Hi Terry H,

Quote:
The only issues I am having is running Menu items which have scripts involved, which use sudo, are failing.


Thanks for reporting , but, sorry, I cannot reproduce the errors you get.
Can you give more information about how you run DebianDog e.g. from cd or usb, using systemd or not and which menu entry doesn't work.
Also, please, your boot parameters, we need to know which boot method you use.
Also from your terminal output I see you are logged in as 'root', this way you don't need sudo at all, it's only for unprivileged users.
Output of sudo running from 'root' terminal for me:
Code:
root@jessie:~# sudo
usage: sudo -h | -K | -k | -V
usage: sudo -v [-AknS] [-g group] [-h host] [-p prompt] [-u user]
usage: sudo -l [-AknS] [-g group] [-h host] [-p prompt] [-U user] [-u user]
            [command]
usage: sudo [-AbEHknPS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p
            prompt] [-u user] [VAR=value] [-i|-s] [<command>]
usage: sudo -e [-AknS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p
            prompt] [-u user] file ...


Fred
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 5676
Location: Gatineau (Qc), Canada

PostPosted: Thu 28 May 2015, 13:48    Post subject:  

Nice little distro! Thanks, saintless!
_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send private message Visit poster's website 
Terry H

Joined: 29 Mar 2009
Posts: 121
Location: Pickering, ON Canada

PostPosted: Thu 28 May 2015, 14:52    Post subject:  

fredx181 wrote:
Hi Terry H,

Quote:
The only issues I am having is running Menu items which have scripts involved, which use sudo, are failing.


Thanks for reporting , but, sorry, I cannot reproduce the errors you get.
Can you give more information about how you run DebianDog e.g. from cd or usb, using systemd or not and which menu entry doesn't work.
Also, please, your boot parameters, we need to know which boot method you use.
Also from your terminal output I see you are logged in as 'root', this way you don't need sudo at all, it's only for unprivileged users.
Output of sudo running from 'root' terminal for me:
Code:
root@jessie:~# sudo
usage: sudo -h | -K | -k | -V
usage: sudo -v [-AknS] [-g group] [-h host] [-p prompt] [-u user]
usage: sudo -l [-AknS] [-g group] [-h host] [-p prompt] [-U user] [-u user]
            [command]
usage: sudo [-AbEHknPS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p
            prompt] [-u user] [VAR=value] [-i|-s] [<command>]
usage: sudo -e [-AknS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p
            prompt] [-u user] file ...


Fred


Fred,

Thanks for the response. Yes I know I am logged in as root and don't need sudo, however there are Menu entries which initiate scripts, which have 'sudo' or 'gsu' embedded in the script, which all fail when I attempt to run them. I can manually work around this by running the commands from a terminal without sudo, but I woiuld like to be able to just run from the menu entry.

I believe I am using sysvinit. I did a manual frugal by extracting the 'live' folder from the iso and creating a new entry in menu.lst.
Menu.lst entry:
Code:
title PorteusDog Jessie (sda6)
root (hd0,5)
kernel (hd0,5)/live/vmlinuz1 noauto from=/ changes=EXIT:/live/
initrd (hd0,5)/live/initrd1.xz


Edit: Some of the Program launchers that fail:
Menu>Settings>Flashplayer Choice
Menu>Settings | System > Synaptic Package Manager
Note:The desktop launcher for Package Manager works as it executes synaptic directly.

Last edited by Terry H on Thu 28 May 2015, 16:02; edited 1 time in total
Back to top
View user's profile Send private message 
fredx181

Joined: 11 Dec 2013
Posts: 1232
Location: holland

PostPosted: Thu 28 May 2015, 15:48    Post subject:  

Hi Terry H,

Thanks for the info, it seems to me you did nothing wrong and indeed you are booting with sysvinit.
Still I couldn't reproduce with a very similar setup as you have (well in fact almost exactly the same, except sda6 for you is sda3 for me).

Quote:
Yes I know I am logged in as root and don't need sudo, however there are Menu entries which initiate scripts, which have 'sudo' embedded in the script, which all fail when I attempt to run them. I can manually work around this by running the commands from a terminal without sudo, but I woiuld like to be able to just run from the menu entry.

I assume some examples are: apt2sfs or edit-sfs?
As example apt2sfs:
The menu entry executes the command 'apt2sfs' without sudo, so it should be the same as when you run in terminal 'apt2sfs'
What the script apt2sfs does is to check if you are root, if not, it will execute gsu (graphical sudo)
Can you type this in terminal:
Code:
whoami

It should display 'root' then.

It's mysterious to me how it can be as you describe.
Can you try something for me?
Boot without changes, "fresh" and see how it goes, menu.lst entry then without the changes= parameter:
Code:
title PorteusDog Jessie (sda6)
root (hd0,5)
kernel (hd0,5)/live/vmlinuz1 noauto from=/
initrd (hd0,5)/live/initrd1.xz

If it's ok then you better remove /live/changes from your sda6 partition, something might have gone wrong with it.
And: can you check if you have another 'live' folder with DebianDog files on another partition maybe? It could conflict in that case.

Edit: Noticed your edit about flashplayerchoice and synaptic:
These I also cannot reproduce, works fine for me.
Any other examples?

Fred
Back to top
View user's profile Send private message 
Terry H

Joined: 29 Mar 2009
Posts: 121
Location: Pickering, ON Canada

PostPosted: Thu 28 May 2015, 16:48    Post subject:  

This is the script that is executed when Menu > System > Setup Timezone is clicked. The script is located /opt/bin/timezone-setup.


Code:
#!/bin/bash

xterm -T "Set Timezone" -si -sb -fg white -bg SkyBlue4 -geometry 80x20 -e sudo dpkg-reconfigure tzdata
#xterm -T "Set Timezone" -si -sb -fg white -bg SkyBlue4 -geometry 80x20 -e sudo tzselect


I have edited the script to remove both occurrences of sudo.

I also noticed that there are 2 instances of 'Synaptic Package Manager' contained in /usr/share/applications. One has gsu synaptic when viewing the Launcher properties, The other only has synaptic.

Thanks for you assistance for this. It is a minor issue, which I can work around until some one can advise me how to fix the issue with sudo.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 15 [214 Posts]   Goto page: 1, 2, 3, ..., 13, 14, 15 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Projects
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.1758s ][ Queries: 12 (0.0139s) ][ GZIP on ]