DebianDog - Squeeze

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

#91 Post by saintless »

sunburnt wrote:I think the first one was Squeeze and now Wheezy.

1) Toni; Can you out line the differences for us.? New kernel I assume, so maybe USB-3.?

2) So a dir. change is possible by putting /live in a sub dir.: /mnt/(Part)/(WhatEver)/live

# There`s a revised mk-save that has a checkbox for Puppy extensions.
Otherwise there`s none added, so it`s what the user types into the /path/file textbox.

I`m thinking that finding another GUI app other than GtkDialog would be very nice...
.
Hi, Sunburnt,
The kernel is almost the same. Original Squeeze uses 2.6.32-5-686 and 2.6.32-5-486 but I upgraded them to 3.2.0-0.bpo.4-686-pae and 3.2.0-0.bpo.4-486.
Wheezy uses as default 3.2.0-4-686-pae and 3.2.0-4-486. They supposed to be stable and long term supported from what I read.
So there is almost no difference between Light-Debian-Squeeze and light-Debian-Wheezy about hardware support.
The big difference is in the repositories. Wheezy uses and will continue to use the last versions of the programs.
Squeeze uses older versions and installing newer on it can cause problems with dpkg database.

Moving /live inside other folder with different name is what I found as an option to change the top folder name and it works with Grub Legacy. I'm not sure if there is a way to simply rename live folder.

Cheers, Toni

User avatar
session
Posts: 89
Joined: Mon 07 Feb 2011, 23:11
Location: Valley of the Sun

#92 Post by session »

smokey01 wrote:Session, have you considered using Virtual Box?
No, because my primary computers lack the horsepower to adequately test the guest system's snappiness.

Thanks everyone; testing from a usb drive will have to do.
[color=green]Primary[/color] - Intel Pentium 4 2.40GHz, 571MB RAM, ATI Radeon 7000. Linux Mint 17 Qiana installed.
[color=blue]Secondary[/color] - Pentium 3 533MHz, 385MB RAM, ATI Rage 128 Pro ULTRA TF. Precise Puppy 5.7.1 Retro full install.

nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#93 Post by nooby »

Thanks Toni and thanks sunburnt.
I have also heard or read that the big diff is the updated files
in the repo Firefox a later version and so on.

then debian is unable to find a medium containing a live filesystem.

I should not ry to help I know too little but often
when I tell those who knows they tell me to make the
partition defragged. Which is not easy in linux.
Propietary defrag programs only
I use Google Search on Puppy Forum
not an ideal solution though

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

#94 Post by sunburnt »

Very good Toni; I thank you for your answers and your efforts with all of this.

# This is a great deal of effort... Tell us of any help you might need.

I just dnlded Wheezy and I`ll let you know.

I realized what you ment about PcManFM, the Python deps. I forgot about them...
Xfe only has the Fox lib. at 6 MB size. And it does lots as we say.
I`m surprised Xfe ran filemnt by clicking an image file. Rox has it`s own mime, Xfe too I think.
.

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

#95 Post by saintless »

sunburnt wrote:I`m surprised Xfe ran filemnt by clicking an image file. Rox has it`s own mime, Xfe too I think.
It really wasn't at first, but I use only small part from filemnt and it does the job in Light-Debian ;)

Code: Select all

#!/bin/bash
set -x

# mount-sfs.sh
#This script is small edited part from original script "ROX app.: Click image files to mount & unmount."   Created for Puppy linux  by: Terry Becker	aka: SunBurnt

 imgFile="$1"
 if [ -z "$imgFile" ] ;then exit 1 ;fi
 if [ "`dirname $imgFile`" = '\.' ] ;then
  imgFile="`pwd``echo $imgFile |sed 's/^\.//'`"
 fi
 MntPt='/media/'`echo "$imgFile" |sed "s#^\.##g" |sed "s#/#+#g"`
   
 Ext=`echo "$imgFile" |sed 's/^.*\.//'`	# get file type from extention
  if [ "$Ext" = '2fs' ] ;then
   Type='ext2'
  elif [ "$Ext" = '3fs' ] ;then
   Type='ext3'
  elif [ "$Ext" = '4fs' ] ;then
   Type='ext4'
  elif [ "$Ext" = 'sfs' ] ;then
   Type='squashfs'
  elif [ "$Ext" = 'squashfs' ] ;then
   Type='squashfs'
   elif [ "$Ext" = 'iso' ] ;then
   Type='iso9660'
  fi

  mkdir -p $MntPt
  mount -t $Type -o loop $imgFile $MntPt
  xfe -d $MntPt

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

#96 Post by sunburnt »

Hi again Toni; I tested Wheezy, I`ll post that in it`s thread.

Where is your modded script.? I`m trying to get Deb Live`s layout.

Try out these code improvements if you have time:

Code: Select all

#!/bin/bash
########### mount-sfs.sh ### From filemnt by Terry B. & Barry K.
set -x

[ "$1" ]|| exit 1
imgFile=$1
[ "${imgFile##/*}" = '\.' ]&& imgFile="`pwd`${imgFile#.}"

Mnt=/media/`echo $imgFile |sed 's#^\.##g;s#/#+#g'`

Ext=${imgFile##*.}		# get file type from extension

case $Ext in
	2fs) Type=ext2
	3fs) Type=ext3
	4fs) Type=ext4
	ext2) Type=ext2
	ext3) Type=ext3
	ext4) Type=ext4
	sfs) Type=squashfs
	squashfs) Type=squashfs
	sq) Type=squashfs
	iso) Type=iso9660
	img) Type=ext2
esac

mkdir -p $Mnt
mount -t $Type -o loop $imgFile $Mnt
xfe -d $Mnt

User avatar
mikeslr
Posts: 3890
Joined: Mon 16 Jun 2008, 21:20
Location: 500 seconds from Sol

UUID problem using Grub4dos

#97 Post by mikeslr »

i All,

Interesting project. Thought I'd see what it could do. My apologies if this problem was discussed before, but I can't get off page one of this thread and so posted without reading the following pages.

I downloaded and unpacked the ISO (non-pae) to my previously blank sdb4 partition. Opened a terminal and typed the following:

blkid > /root/my-documents/UUID.txt

which produced a text file showing, bolding added for clarity:

/dev/sda3: LABEL="LData" UUID="d3b27ca1-950c-4833-b8ef-d51a2792497d" TYPE="ext4"
/dev/loop5: TYPE="squashfs"
/dev/sdb4: LABEL="AData3L" UUID="ca0a3cca-2ead-42b6-a630-0a0047841eb7" TYPE="ext4"
/dev/sdb1: LABEL="AData1F" UUID="F1AB-D178" TYPE="vfat"
/dev/loop7: TYPE="squashfs"
/dev/sda4: LABEL="MData" UUID="3D52-D47B" TYPE="vfat"
/dev/sdb3: LABEL="AData2L" UUID="1f431a25-ca26-40fa-aa8e-c05af958ecd7" TYPE="ext4"
/dev/sda1: UUID="3A4CDDD24CDD8951" TYPE="ntfs"
/dev/loop6: TYPE="squashfs"
/dev/sda2: LABEL="Linux1" UUID="bf2b0f37-69b6-4c47-be62-ffb16dad149f" TYPE="ext4"
/dev/sdb2: LABEL="AData1L" UUID="1f531665-1026-449f-b413-dd9654a3e145" TYPE="ext4"
/dev/loop1: UUID="241699fa-e5ce-438d-8c21-a2ef3cbaaf76" TYPE="ext4"
/dev/loop0: TYPE="squashfs"
/dev/loop4: TYPE="squashfs"

Then I added the following to my Grub4Dos' menu.lst

title Light Debian Core
uuid ca0a3cca-2ead-42b6-a630-0a0047841eb7
kernel /live/vmlinuz boot=live
initrd /live/initrd.img

Attempting to boot into it produces something like "Partition not found".

Running blkid after the files were copied, adding a boot flag to sdb1 or sbd4, even copying a folder with a Pup, installing Grub4dos, and checking what UUID was generated for the PUP file produces the same uuid.

Ran into the same problem when trying to boot from a USB-Key which, of course, had a different UUID that was reflected in its Grub4dos menu.lst.

Any ideas?

mikesLr

sheldonisaac
Posts: 902
Joined: Mon 22 Jun 2009, 01:36
Location: Philadelphia, PA

Re: UUID problem using Grub4dos

#98 Post by sheldonisaac »

(I snipped some)
mikeslr wrote: Then I added the following to my Grub4Dos' menu.lst

title Light Debian Core
uuid ca0a3cca-2ead-42b6-a630-0a0047841eb7
kernel /live/vmlinuz boot=live
initrd /live/initrd.img
I don't understand Debian, but this seems to work:

Code: Select all

title Light-Debian-Core 
  root (hd0,0) 
  kernel /live/vmlinuz boot=live config persistent quickreboot noprompt autologin 
  initrd /live/initrd.img 
  boot
So maybe you could use sdb4 ?
Dell E6410: BusterPup, BionicPup64, Xenial, etc
Intel DQ35JOE, Dell Vostro 430
Dell Inspiron, Acer Aspire One, EeePC 1018P

nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#99 Post by nooby »

Hi Toni and all of you.

Haha finally I did test your Wheezy version too.
I renamed the Squeezy live file to something else
and it booted with the code just above my post

I did not have to do anything to get out through
my Router and Modem I did not test to see if it
does wifiI have forgotten where I have my password
for the router so may need to reset it and choose a new PSW

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

Re: UUID problem using Grub4dos

#100 Post by saintless »

Hi, Mikeslr,
I never use uuid to boot but Keef reported with similar boot code that it works.
Sheldonisaac posted this code in the post above mine. Would you mind to try the pae version the same way.
I don't think I made something wrong to the nonpae but who knows.
If I'm not wrong sdb is your second hdd. See what is your partition in Gparted. If it is hdd 1 and part 4 try this code:

Code: Select all

title Light-Debian-Core 
  root (hd1,3) 
  kernel /live/vmlinuz boot=live config persistent quickreboot noprompt autologin 
  initrd /live/initrd.img 
  boot
Cheers, Toni

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

#101 Post by saintless »

sunburnt wrote:Hi again Toni; I tested Wheezy, I`ll post that in it`s thread.

Where is your modded script.? I`m trying to get Deb Live`s layout.

Try out these code improvements if you have time:

Code: Select all

#!/bin/bash
########### mount-sfs.sh ### From filemnt by Terry B. & Barry K.
set -x

[ "$1" ]|| exit 1
imgFile=$1
[ "${imgFile##/*}" = '\.' ]&& imgFile="`pwd`${imgFile#.}"

Mnt=/media/`echo $imgFile |sed 's#^\.##g;s#/#+#g'`

Ext=${imgFile##*.}		# get file type from extension

case $Ext in
	2fs) Type=ext2
	3fs) Type=ext3
	4fs) Type=ext4
	ext2) Type=ext2
	ext3) Type=ext3
	ext4) Type=ext4
	sfs) Type=squashfs
	squashfs) Type=squashfs
	sq) Type=squashfs
	iso) Type=iso9660
	img) Type=ext2
esac

mkdir -p $Mnt
mount -t $Type -o loop $imgFile $Mnt
xfe -d $Mnt
Thanks, Sunburnt,
I will test it today.
Path to the script is /scripts/mount-sfs
When you open XFE right click on sfs or squashfs and choose properties. From there you can add program or script for open, edit etc this type of file.

Cheers, Toni

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

Firefox brand

#102 Post by mcewanw »

@saintless: Posting this on your Light-Debian-Core-Live-CD-Squeeze non-pae version.

If you want to install latest genuine Firefox (or Seamonkey or Thunderbird) instead of iceweasel you could of course download directly from mozilla and run from /opt or wherever, but here is an alternative using apt that worked for me.

Please note that, I am not used to Debian, so I don't know if any of the following is advisable but it seems to work. The Firefox it brought me is current version 25.0.1 and I am posting from that now.

I installed firefox ('en-US' version) using the following commands:

Code: Select all

echo -e "\ndeb http://downloads.sourceforge.net/project/ubuntuzilla/mozilla/apt all main" | tee -a /etc/apt/sources.list > /dev/null
apt-key adv --recv-keys --keyserver keyserver.ubuntu.com C1289A29
apt-get update
apt-get install firefox-mozilla-build
However, lots of gtk stuff was missing, but the dependencies for that problem were resolved when I also installed geany text editor using:

Code: Select all

apt-get install geany
I had earlier also installed the following, but I'm not sure if this is needed or not:

Code: Select all

apt-get install libdbus-glib-1-2
If you already have iceweasel installed, you should uninstall it before doing the above (i.e. use: apt-get remove iceweasel)

I found the information for doing this here:

http://sourceforge.net/apps/mediawiki/u ... =Main_Page

http://superuser.com/questions/322376/h ... -on-debian

EDIT 11 Dec 2013: I think I may have also have had to install libxul.so, (apt-get install libxul), but I can't remember. I have a feeling libxul.so was in the firefox installation directory (/opt/firefox), so I maybe just made a symlink to that from /usr/lib. Problem I have had since is that I can't get adobe flash to work, with firefox or with iceweasel (any versions I've tried), even after I put libflashplayer.so into /usr/lib/mozilla/plugins.[/b]
Last edited by mcewanw on Wed 11 Dec 2013, 00:55, edited 1 time in total.
github mcewanw

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

#103 Post by saintless »

Thank you, Mcewanw,
I didn't know how to install firefox this way.

Fixing dependencies is much easier this way.
Just after installing firefox use:

Code: Select all

apt-get -f install
This will do the job.

Cheers, Toni

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

#104 Post by saintless »

sunburnt wrote:Try out these code improvements if you have time:

Code: Select all

#!/bin/bash
########### mount-sfs.sh ### From filemnt by Terry B. & Barry K.
set -x

[ "$1" ]|| exit 1
imgFile=$1
[ "${imgFile##/*}" = '\.' ]&& imgFile="`pwd`${imgFile#.}"

Mnt=/media/`echo $imgFile |sed 's#^\.##g;s#/#+#g'`

Ext=${imgFile##*.}              # get file type from extension

case $Ext in
        2fs) Type=ext2
        3fs) Type=ext3
        4fs) Type=ext4
        ext2) Type=ext2
        ext3) Type=ext3
        ext4) Type=ext4
        sfs) Type=squashfs
        squashfs) Type=squashfs
        sq) Type=squashfs
        iso) Type=iso9660
        img) Type=ext2
esac

mkdir -p $Mnt
mount -t $Type -o loop $imgFile $Mnt
xfe -d $Mnt
Hi, Sunburnt,
replacing the content with this new one doesn't work from quick test. I think I see how to modify it with the improvements to make it work. Will try after finishing wheezy core.

Cheers, Toni

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

#105 Post by sunburnt »

My apologies Saintless, I did a quick edit of code I saw as needing it, and didn`t look at the rest.
I wrote filemnt over 5 years ago while I was just starting to learn Bash scripting.
So it wasn`t the best choice for grafting onto a project...

I completely rewrote it, now it mounts and unmounts, and does more file extension types too.

# A thought: It really shouldn`t run a file manager, it should just work quietly.
A wrapper script that calls mount-img.sh should run a filer if one is wanted.
# OR... If you like I can make mount-img.sh use an option "-x" to run Xfe. What do you think.?

A separate script for you to do this: xfe-img.sh ( would need to comment 2 Xfe lines in mount-img.sh )

Code: Select all

#!/bin/bash
############	xfe-img.sh		Run mount-img.sh and then Xfe.


mount-img.sh $1

xfe -d $1 &			# Should use the O.S.`s default filer setup.

It does more than SFS, so changed the name to: mount-img.sh ( feel free to rename it if you want )

Code: Select all

#!/bin/bash
############	mount-img.sh		Terence Becker		SunBurnt	Dec. 9  2013

#####	Usage:  mount-img.sh /(Path)/(ImageFile)

#####	Run to mount image files, and run again to unmount them.


FM='xfe -d'				# set file manager		( Should be O.S.`s default.)


[ "$1" ]|| exit 1
[ -f $1 ]|| exit 3

if [ "${1:0:1}" = '/' ];then							# if is full path
	imgPF=$1
else													# get full path
	cd ${1%/*} ; imgPF=`pwd`$1
fi

Mnt=/media/`echo $imgPF |sed 's#^\.##g;s#/#+#g'`		# get mount point path


if [ "`mount |grep $Mnt`" ];then						# if mounted, unmount
	umount -d $Mnt
	[ $? -gt 0 ]&&
		echo -e "\n###  ERROR:  Failed to Unmount Image File.\n" && exit
	rmdir $Mnt ; exit
fi

Ext=${imgPF##*.}										# get file extension

										# get file type & r/w from extension
case $Ext in
	2fs) Type=ext2 ; rw=rw ;;			# read write
	3fs) Type=ext3 ; rw=rw ;;
	4fs) Type=ext4 ; rw=rw ;;
	ext2) Type=ext2 ; rw=rw ;;
	ext3) Type=ext3 ; rw=rw ;;
	ext4) Type=ext4 ; rw=rw ;;
	img) Type=ext2 ; rw=rw ;;
	iso) Type=iso9660 ; rw=r ;;			# read only
	sfs) Type=squashfs ; rw=r ;;
	squashfs) Type=squashfs ; rw=r ;;
	sq) Type=squashfs ; rw=r ;;
	*) echo -e "\n###  ERROR:  Unrecognized Image File Type.\n" ; exit ;;
esac

mkdir -p $Mnt
mount -$rw -t $Type -o loop $imgPF $Mnt

[ $? -gt 0 ]&& echo -e "\n###  ERROR:  Failed to Mount Image File.\n" && exit

$FM $Mnt &

Last edited by sunburnt on Tue 10 Dec 2013, 22:38, edited 5 times in total.

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

#106 Post by saintless »

Thank you, Sunburnt,

I will try the scripts tomorrow and I'll write back.

Cheers, Toni

User avatar
session
Posts: 89
Joined: Mon 07 Feb 2011, 23:11
Location: Valley of the Sun

#107 Post by session »

It turns out you can easily load this release from an ext hard drive with grub4dos.
I wrote:grub4dos loads vmlinuz and initrd.img just fine, and then debian is unable to find a medium containing a live filesystem.
I kept renaming the "live" folder for the sake of organization (other variants of debian allow this), which led to the errors. Solved.
Last edited by session on Wed 11 Dec 2013, 00:54, edited 5 times in total.
[color=green]Primary[/color] - Intel Pentium 4 2.40GHz, 571MB RAM, ATI Radeon 7000. Linux Mint 17 Qiana installed.
[color=blue]Secondary[/color] - Pentium 3 533MHz, 385MB RAM, ATI Rage 128 Pro ULTRA TF. Precise Puppy 5.7.1 Retro full install.

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

#108 Post by sunburnt »

Toni; Made a few mods to the scripts, so be sure to scrape the page for them again.

session; Saintless posted a work-around for that. Put /live in a sub dir.

Use: /(Deb-Live_Sq)/live
.

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

#109 Post by mcewanw »

saintless wrote:Thank you, Mcewanw,
I didn't know how to install firefox this way.

Fixing dependencies is much easier this way.
Just after installing firefox use:

Code: Select all

apt-get -f install
This will do the job.

Cheers, Toni
I think I earlier tried apt-get -f install and it for some reason didn't find the dependencies, but maybe I forgot the -f.

Problem I have had since is that I can't get adobe flash to work, with firefox or with iceweasel (any versions I've tried), even after I put libflashplayer.so into /usr/lib/mozilla/plugins. Anyone managed to get flash working with this distribution and how?
github mcewanw

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

#110 Post by saintless »

mcewanw wrote:Problem I have had since is that I can't get adobe flash to work, with firefox or with iceweasel (any versions I've tried), even after I put libflashplayer.so into /usr/lib/mozilla/plugins. Anyone managed to get flash working with this distribution and how?
Have you tried this one?
http://packages.debian.org/squeeze/flashplugin-nonfree
According to debian it works with iceweasel:
https://wiki.debian.org/FlashPlayer
I'm sure it can be solved. I will focus on this in a few days.

Post Reply