Light-Debian-Core-Live-CD-Wheezy + Porteus-Wheezy

For talk and support relating specifically to Puppy derivatives
Message
Author
User avatar
saintless
Posts: 3862
Joined: Sat 11 Jun 2011, 13:43
Location: Bulgaria

#2206 Post by saintless »

Hi, Terry.
sunburnt wrote:# Toni; Some of the file types are not added to Rox.? Test tar.gz-bz2-xz, iso, etc.
See the picture with created archives with arcdrop. All have icon and run-action. Iso files really does not. I will fix it.

DebianDog has many other things missing like theme changing for JWM for example and GUI for clock setup.
Debdog-installer should do all like puppy one or only simple install on usb-stic. Even extra options for different formating are not needed since Gparted is included.

Terry and All - do not expect too much for DebianDog. It does not aim to replace puppy or windows. lets keep work on it mostly for our fun and for our needs.

Toni
Attachments
2014-04-05-234012_412x253_scrot.png
(23.08 KiB) Downloaded 352 times

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

#2207 Post by sunburnt »

Fred; Rather than have a check box, just look at drive-info for fix/rem and set it automatically.

# And yes, how sad GtkDialog truely is... I was going to suggest doing it in BaCon.???
As I said above... A dir. entry box is needed to show a dir., I did not want 2 entry boxes.
So a file must be selected, not a folder. So I chose a file to click on. I`ll fix all of this...
I wanted to replace the 'vmlinuz File' button with 'select folder' which should be better I think.
# What change did you make to drive-info to fix the ext2 to ext4 ?


##### Shall we make a simple installer for iso/live to fat/ext2-4 formatted HD/USB ?

##### And has anyone found a good Win. installer.?

Toni; here`s the complete apps that I`ve made ( no debdog-install yet ).
So you can post them at Smokey`s. Each has it`s own dir.

# Also in opt_bin is new mnt-img and ls-part files. Toni; Don`t post these 2 files.

### mnt-img I made mount, and then unmounts when run again. # Is this preferred.?
Sadly Rox throws an error on startup, but it closes the Rox-Filer just fine ( odd...).

### Run: mnt-img -h to see the help, it runs Xfe by default. Rox is my choice but it errors.
Attachments
opt_bin.zip
(1.62 KiB) Downloaded 177 times
WallPapers.zip
(105.61 KiB) Downloaded 129 times

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#2208 Post by fredx181 »

Terry wrote:Fred; Rather than have a check box, just look at drive-info for fix/rem and set it automatically.
The checkbox is for disable journal on ext4 and I see nothing about that in drive-info.
# What change did you make to drive-info to fix the ext2 to ext4 ?
It's 'disktype' info that has it wrong, I changed:

Code: Select all

TYPE=`echo "$info" |egrep -iom1 '(ext[2-4]|fat|ntfs|swap)'`
to:

Code: Select all

TYPE=`blkid -o list "/dev/$PART" |egrep -iom1 '(ext[2-4]|fat|ntfs)'`
Fred

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

#2209 Post by saintless »

Uploaded here, Terry:
http://smokey01.com/saintless/source-code/
You have one older Wallpapers.GUI archive there also. If you like to delete it just say.

Toni

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

#2210 Post by sunburnt »

Fred; As I suggested, look for "rem" and if it`s in the line, then disable the journal.
I suggest it because most folks won`t know when to do it or not. Too much to explain to them.

And it`s odd, because blkid shows ext2 for me on my ext4 USB drive. I must look at this...


Toni; Delete it...
.

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

#2211 Post by saintless »

sunburnt wrote:### mnt-img I made mount, and then unmounts when run again. # Is this preferred.?
Sadly Rox throws an error on startup, but it closes the Rox-Filer just fine ( odd...).
Yes, but the new version does not unmount on second click. It just opens again new window.
### Run: mnt-img -h to see the help, it runs Xfe by default. Rox is my choice but it errors.
It errors in terminal in this command which is missing in the previous mnt-img. I think commnting line 29 fixes this.

Code: Select all

loop=`losetup-FULL -j "$PF" |cut -d: -f1`         

Code: Select all

/opt/bin/mnt-img: line 29: losetup-FULL: command not found
iso9660
Terry, the previous mnt-img works so do not waste time to work on this.

Toni

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

#2212 Post by mcewanw »

fredx181 wrote: It's not possible to get a file selection browsing for only directories, am I right?
I wanted to replace the 'vmlinuz File' button with 'select folder' which should be better I think.
No problem in gtkdialog to browse only for a directory if I understand you correctly Fred. This is from /opt/apps/xhippo/usr/bin/xrecord:

Code: Select all

     <entry editable="true" accept="directory" tooltip-text="$(gettext 'Browse, drag and drop, copy and paste, or type the target directory for the file to record')">
As far as I remember it is the accept="directory" part that does it. You won't need the backslashes above if you are using single quotes round your gtkdialog code of course.

I was going to suggest tune2fs for the turn off journal issue, but I see you have done that. Would be good if a user didn't have to think about it, so if that could be done automatically, as Terry suggests; I agree with Terry that that would be good. Otherwise, for now, I suggest that Toni just uses your modded version of Terry's debiandog installer script (once tested), if Terry is okay with that, and just prioritize getting the beta iso ready. No need for either a simpler or more complicated installer at the moment - these can be created/added to the iso later, if they prove wanted.

Whilst helping to create DebianDog is fun, I don't think it is just for fun. I'm planning to use DebianDog as my main os. Puppy Linux is a great wee system, but for some of my needs I need a multiuser os, and debiandog is shaping up nicely for that. Of course it will take a long time before it has as many nice utilities as Puppy Linux, and no hurry for that, but it has other advantages with few disadvantages.

The debiandog installer is an important facility to have, so despite it being a bit frustrating that it is delaying the beta iso being published, it won't take long to finish something suitable I think, and a small delay is IMO worth it.

Terry has been working on many utilities and over time I'm sure they will all be enhanced, but they are all pretty much ready for the beta release as things stand and best we do that soon. So I agree that most new ideas/enhancements or whatever should be left for later (after beta release), when they will naturally occur anyway. Aside from (and including) debiandog install, bug fixing only is in order I think. Utilities for adding extra JWM themes and so on are not very important.

I just put out the idea of using hybrid-iso (which is not the same thing as a hybrid-cd Terry) because I noted that many live distributions, including arch and debian seemed to provide that mechanism. But whether we ever provide (or even want to provide) such a utility is not of concern - what Terry/Fred have put together just now is looking great and good enough without putting more time into it apart from any bug fixing.

So, like Toni, my wish would be to lets call a halt to further developments per se and just fix any identified bugs and get the beta iso out as quick as possible. Then, once the beta is released (and along with it to some extent) we should concentrate a bit on the documentation so it is easy to install, understand the system, and use it. Documentation is, I think, what new users will need most and there is much contained in this huge thread now.
github mcewanw

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

#2213 Post by sunburnt »

# Here`s new drive-info and mnt-img
Changed drive-info to blkid from disktype for file system type.
disktype is still needed to get drive sizes.
Better parsing method for file system type and for drive label.

# mnt-img only pops up Xfe or Rox with a cli switch [-rox,-xfe]
I don`t know what Rox`s error problem is, best not to use it...
Attachments
NEW_2-Items_7102.zip
(1.67 KiB) Downloaded 172 times

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

#2214 Post by sunburnt »

Fred; As William and I were saying. The file/dir. buttons work in pairs with file/dir. entry boxes.
# If you wish to continue work on the installer, that`s fine. We need to merge our efforts.
I wondered if the installer was "holding up the show". Should have started on it earlier.
# Here`s the relevant dir. button/entry pair:

Code: Select all

  <frame Directory>
    <hbox>
      <entry accept="directory">
        <label>Select a Directory</label>
        <variable>FILE_DIRECTORY</variable>
      </entry>
      <button>
        <input file stock="gtk-open"></input>
        <variable>FILE_BROWSE_DIRECTORY</variable>
        <action type="fileselect">FILE_DIRECTORY</action>
      </button>
    </hbox>
  </frame>

catsezmoo
Posts: 26
Joined: Sun 09 Feb 2014, 04:59

#2215 Post by catsezmoo »

Gparted - does anyone know how to ensure no ext4 journal created under Gparted - have I just missed some checkbox?
gParted and Parted have no ability to custom format a partition.
It assumes if you`re using ext3 and ext4, then you must want them for the journal.
journaling is supported (or not) by a given filesystem. Whether or not journaling is performed depends on args passed (or not) in the mount command line.
Gparted does not, and should not, know/care whether we intend to mount using custom args.
Having the installer(s) posted along with the DebianDog release is very good.
If we want an installer fast, let`s make a simple installer, and an expert one later.
And finding one for Windows would be good also. Post a link to it in downloads.
http://unetbootin.sourceforge.net/ (both windows and linux versions are available)
Unetbootin has performed flawlessly for me across several years, creating bootable pendrive from dozens of various distros.
Its online docs seem "too thorough" IMO. The workflow within a Windows session is simple:

1) Download *.iso for whatever live linux distro you want to try
2) connect a FAT32-formatted pendrive
3) launch Unetbootin, select pendrive as destination, click "browse" and select the *.iso, and click OK
4) Upon completion, Unetbootin prompts exit/Reboot.
Exit, and shutdown windows now/later whenever ya like.
If bios boot order is set to give preference to USB boot drive, boot with the pendrive plugged in whenever ya want to boot to the new O/S.
Note that I don't think you need the isolinux folder if you are using grub4dos.

Personally, I think it is good to include several menu.lst entries, including those with persistent item in them, though I understand the problem with that, which Toni is pointing out. Perhaps you could generate an active menu.lst that didn't include the persistence item and a fuller menu.lst which included the persistent and various other options, but renamed slightly so it won't be used by default. Then the user could quickly activate that simply be replacing the default menu.lst provided on the usb installation.
unetbootin ships with an internal copy of syslinux(exelinux+isolinux), so that it can apply a "make it bootable" wrapper (creating menu.lst, menu.cfg).
If the iso already contains a newer syslinux, unetbootin will extract and use the provided menu.cfg etc.

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

#2216 Post by saintless »

sunburnt wrote:I wondered if the installer was "holding up the show". Should have started on it earlier.
Take your time, Terry. It is not the installer problem.
Proper testing of the system is what stopping the beta iso.
I do not plan to make beta iso in the next 4-5 days with sure.

Toni

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

#2217 Post by saintless »

catsezmoo wrote:Unetbootin has performed flawlessly for me across several years, creating bootable pendrive from dozens of various distros.
Yes, it is great program and works fine. I agree.
The problem to use it in DebianDog is the size:
saintless wrote:Unetbootin works fine for me and it has also options for download and install different linux systems on flash drive.
The only problem it has many dependencies. I can make 14Mb squashfs separate module. I can try to slim it down but it is too big to be included in DebianDog. On the other hand it can be downloaded from the site after first boot and used to create bootable flashdrive from the iso.
Some instructions for Unetbootin:
http://foxyroxylinux.com/viewtopic.php?f=6&t=133
Toni

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

#2218 Post by saintless »

Hi, William.
mcewanw wrote:Documentation is, I think, what new users will need most and there is much contained in this huge thread now.
Debian documentation is DebianDog documentation also.
I see only boot process and codes for debian and porteus as needed to be available from DebianDog site + some documentation about changing different kernel modules and initrd files.

DebianDog can be easy remastered for any need and I see the next versions changes only by adding more user friendly desktop and system setup options. We can upload separate deb packages, NoInstallApps and SFS modules to be available for further remaster by the user.

About DebianDog project - the most important thing to keep it alive is not to loose our desire to work on it. Pushing yourself too much is not the right way to do it.
I suggest everyone work when he feels like and on what he feels like best and ask for help when it is needed. It worked to the moment and rushing for new beta iso should not change this. Beta will come out in a month or more if it is needed.
The important thing is we feel comfortable and working without pressure on DebianDog.

Toni

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

#2219 Post by mcewanw »

saintless wrote: Debian documentation is DebianDog documentation also.
I see only boot process and codes for debian and porteus as needed to be available from DebianDog site + some documentation about changing different kernel modules and initrd files.
I was only meaning documentation for utilities added specially for DebianDog, such as the Remastering tool, which sounds fantastic, but I've never tried it yet. Maybe next to no documentation is required and all the DebianDog specific addons are self-explanatory. Just a list maybe to tell users these addons are there - though I guess they can find them from the menu.
saintless wrote:I suggest everyone work when he feels like and on what he feels like best and ask for help when it is needed.
Well, its an opensource effort and everyone is just volunteers. Anything I've ever developed is done from the point of view that I don't mind if no one else likes it or wants to use it. I certainly listen to the ideas of others and appreciate criticisms and ideas for improvements, but at the end of the day I only implement what I want or feel time and energy to do.

DebianDog is already very good and pretty much at beta stage, I feel, and I'm sure other people would enjoy trying it out. A beta is basically just a signal that its ready for testing for bugs rather than major development still going on. But it is your project Toni and it doesn't matter at all when you choose to release a beta and start a thread about it. We are only here working on this because we enjoy doing so and hope that our efforts and help are useful to someone else other than ourselves in some way (but it doesn't really matter if they are not)! It is fun and a learning experience regardless. Off to bed now for me anyway!

William
github mcewanw

sklimkin
Posts: 157
Joined: Wed 11 Jul 2012, 21:21
Location: Russia Moscow

Debian on ARM-platform

#2220 Post by sklimkin »

Hi All !

I will allow myself a bit offtopic in this thread.
Because the question of transferring Debian-Dog on ARM-platform came here a few pages earlier.

In recent (~15) years, there are many mobile devices in which the main processor is not Itel-32, but ARM.
Such devices are running OS Windows-CE (Mobile) (previously), Android and MacOS (later).
And very few devices running OS Linux (eg Nokia - OpenMoko).
On the Internet you can find interest to be installed on various mobile devices OS Linux (especially Debian GNU/Linux).
For this there are several reasons, the most important are:
a) an open system
b) free access to a huge repository
Here's what we can say about installing OS Debian on devices with no-Intel32 architecture, with ARM-architecture in particular.

0. foreword
Debian-embedded has a large repository and adapted the usual program.
qemu is probably the only available emulator for ARM- architecture.
Online information on this issue and scattered mainly in the English language.
Remembered that author's description of the process after "extensive training"
often unconvincing when viewed from the side (when viewed from a beginner).
Try to describe the process intelligibly (as 'll be able to).
Here, the operation for HP iPAQ hx4700 because did for him.
But I think a lot will be true for other devices (architectures).

Virtual machine (emulator) qemu must be installed on your system:

Code: Select all

sudo apt-get install qemu
- In Ubuntu it was some old version,
so download the source qemu-1.7.0 and installed qemu again.

Especially noteworthy - from the following description it will be seen that:
System Debian-wheezy-armel created from scratch, without any finished modules.
Used only qemu-debootstrap, chroot and compile the kernel from source.
After compilation of the kernel source are zImage and /lib/modules
It is a working system that can also convert to qcow2-image for qemu.
But there are two conditions:
1. the file '.config' to compile the kernel must be CORRECT,
2. kernel must contain the patches you everything you need.
Otherwise there will be outside of /lib/modules
So file '.config' becomes more critical to the success of the work.

Detailed guidance for ARM- HP iPAQ hx4700 PDA in English:
http://fds-team.de/cms/articles/2012-12 ... image.html
with illustrations and the necessary references (5 pages on the site, plus archive modules).
And unlike the official Debian-armel uses a "light" modules.

Further description of the process and the practical results see:
Debian-wheezy-ARM - shared DIR
http://yadi.sk/d/Xod-pYvRLZypG

make-your-own-not-Intel32-debian-system_ENG.txt Size: 16 KB
http://yadi.sk/d/KGtr4-LrLsvmJ

Sergey.
Attachments
1-htop-&-menu.png
(74.44 KiB) Downloaded 199 times

sklimkin
Posts: 157
Joined: Wed 11 Jul 2012, 21:21
Location: Russia Moscow

JWM and Tray

#2221 Post by sklimkin »

I need to add the icon to start the program 'xxkb' indicator of the current keyboard layout.
The icon should appear at the bottom right in 'Tray' somewhere around Frisbee.
I used to do this easily in Xfce4 (Porteus-Debian), a bit more complicated in IceWM (Debian-Wheezy), and now in JWM I can not do.

In short: how to add anything to the system 'Tray' in the running Sisem Debian-Dog, if running JWM?
If this has been discussed before and I missed a message, please give a link.

Sergey.

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

Re: JWM and Tray

#2222 Post by saintless »

sklimkin wrote:In short: how to add anything to the system 'Tray' in the running Sisem Debian-Dog, if running JWM?
If this has been discussed before and I missed a message, please give a link
Hi, Sergey.
Try this: edit /root/.jwm/jwm.tail and add this for experiment:

Code: Select all

      <Swallow name="xeyes" width="64">
         xeyes
      </Swallow>
just before:

Code: Select all

 <!-- Additional Swallow attribute: height -->
      <Swallow name="xload" width="64">
         xload -nolabel -bg black -fg red -hl white
      </Swallow>
<Clock format="%H:%M">xclock</Clock>
Then type in terminal menu-puppy (or click Refresh-menus button) and jwm -restart

Toni
Last edited by saintless on Sun 06 Apr 2014, 15:50, edited 1 time in total.

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

#2223 Post by saintless »

Hi, Fred.
Your last moded version works for me.
I will add remove lost+found dir line and maybe some more menu.list options I will test it more.

Terry,
The section for chosing directory does not work with simple replacing in debdog-installer last posted from Fred. It errors in line 10 (if i do not mistake).
We have 3 different version of drive-info and mnt-img.
I keep them all as backup and replacing options in /opt/bin but I will use for testing drive-info from Fred since it is the working one with last posted debdog-install.
I will use also the first mnt-img which opens new xfe window for SFS, Squashfs and ISO and auto-unmounts when the window is closed. It works well and the code is very simple and clear.

Toni

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

#2224 Post by sunburnt »

Toni; The only differences in old and new mnt-img is:
New one checks if image file is already mounted and if it is, it uses existing mount.
And it should unmount the image file when run a second time ( same as old one ).
The main difference here is the new one uses existing mount and unmounts that.
But none of them have code to unmount the image file when file manager is closed.
All mnt-img files mount the image file if it`s not mounted, and unmount if it is.
# I can make Xfe be the default file manager and add a new option to it "-nofm".

### I`ll rework the installer and post it, then Fred can edit it and then re-post it.
.

User avatar
fredx181
Posts: 4448
Joined: Wed 11 Dec 2013, 12:37
Location: holland

#2225 Post by fredx181 »

Hi All
Ok, I picked up working on the installer, thanks Terry and William for the advice about "directory only"
Almost got a nervous breakdown but Toni's wise words prevented that:
About DebianDog project - the most important thing to keep it alive is not to loose our desire to work on it. Pushing yourself too much is not the right way to do it.
I suggest everyone work when he feels like and on what he feels like best and ask for help when it is needed. It worked to the moment and rushing for new beta iso should not change this. Beta will come out in a month or more if it is needed.
The important thing is we feel comfortable and working without pressure on DebianDog.
Thanks Toni :D

Now more seriously, Toni is right, let's keep the fun alive!

Back to the installer:
I kept the checkbox for disable journal for ext4.
IMHO, why force it as default for removable drives and not give the choice (btw, the box is checked by default) .
Added more to it:
- Instead of choosing 'vmlinuz' you can choose a directory with the DebianDog files inside (checks if it's containing a vmlinuz file)
- Progress bar for the copying.
- Warning + little help message text when installing to FAT filesystem (because of the symlink in 'base' folder)
- maybe more that I can't remember right now :)

I've tried Terry's latest drive-info but I don't like the entries it gives like sdb, sdc only (It should be only partitions like sdb1, sdb2... IMO) so kept the previous one included in the zip.

Feel free to edit as you like (e.g. add menu.lst items) and maybe Terry or William have more advice about gtkdialog setup or any other.

Attached debdog-inst-mod3.zip

Fred
Attachments
debdog-inst-mod3.zip
DebianDog Installer mod v3
(140.11 KiB) Downloaded 164 times

Post Reply