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 Sun 21 Oct 2018, 11:33
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
Mintpup (THREAD CLOSED)
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 11 [158 Posts]   Goto page: Previous 1, 2, 3, 4, ..., 9, 10, 11 Next
Author Message
wanderer

Joined: 20 Oct 2007
Posts: 729

PostPosted: Sun 28 Jun 2015, 11:57    Post subject:  

darry1966

thanks for the words of encouragement

saintless

thanks for all the help (as well as debiandog)

wanderer
Back to top
View user's profile Send private message 
mcewanw

Joined: 16 Aug 2007
Posts: 3199

PostPosted: Sun 28 Jun 2015, 21:39    Post subject:  

saintless wrote:
Hi, wanderer.
Maybe this will help you a little. Write if you need help with something.

Toni


Ah, good, I'm glad you also looked into this Toni. I had downloaded Linux Mint xfce version a few weeks back, with similar interest in mind, and liked it but really hoping it could be minimized like DebianDog. Then I noticed wanderer's thread and your input - nice to be able to create a Puppylike Mint/Ubuntu as well as DebianDog. Being able to add the slim DebianDog utilities into PuppyMint would be particularly great - sfs load capability, pet2deb, and PuppyMint-install (to usb stick/sd, hd partition - with gtkdialog etc to allow easy import of Puppy utilities and Yad for the many Fred has produced for DebianDog). Though, for me this will all be more of a MintDog than a PuppyMint - but I don't care much what it is called - just happy for another potential new Puppylike distribution with full apt-get (this time Mint/Ubuntu compatible) package management and the power and flexibility we already know that brings...

DebianDog has been and is an inspiring small distribution, and this could be an equally inspiring one I feel.

Good idea wanderer - there are many Linux Mint fans out there who will be delighted by a Puppified version. I will be watching developments of this with great interest and I have to say, Fred, I'd love to see a Porteus-type boot option with save to changes folder on EXIT.

William
Back to top
View user's profile Send private message Visit poster's website 
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Mon 29 Jun 2015, 05:07    Post subject:  

Hi, William Smile
I don't think porteus-boot will be easy to adapt. I'm not sure if it is because of the upstart or something in the kernel but it gives many errors and the boot fails (after adding all needed files in separate squashfs module).
What is easy to be done from quick testing is using initrd.gz + kernel from Puppy with working save file or save directory. But this means to keep two kernels included in the iso.
Wanderer is the one to decide how to build Mintpup and I think we should wait for more information and testing iso first.

Edit: Uploaded kernel-3.14.20-nopae-tharpup-experimental.tar.gz (readme.txt included inside) for testing Linux Mint boot with Puppy kernel.

Toni

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

Last edited by saintless on Wed 29 Jul 2015, 14:32; edited 1 time in total
Back to top
View user's profile Send private message MSN Messenger 
wanderer

Joined: 20 Oct 2007
Posts: 729

PostPosted: Mon 29 Jun 2015, 11:14    Post subject:  

see above
Last edited by wanderer on Thu 23 Jul 2015, 12:43; edited 2 times in total
Back to top
View user's profile Send private message 
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Mon 29 Jun 2015, 13:28    Post subject:  

Hi, wanderer.
Keep the name Mintpup. It is more suitable since you like to include Puppy kernel and busybox boot option.

Quote:
As to adding puppy pets the pets2deb route seems the most straightforward.

It is better to add this option with warning such converted pet package could break apt-get (dpkg). It takes time and some work to make or convert safe to install deb package. We already had this problem.
Quote:
I have also noticed that the cow system is like unionfs if you put another sfs file in the same folder it will be mounted and merged when mint boots off of the live usb.

Same goes for loading extra modules. If you don't rename /var/lib/dpkg files before making extra squashfs module you can easy break apt-get. Read here about universal and system related module in Debian/Ubuntu based system.

Quote:
A big question for me is how to access the boot chain in mint (init rcsysinit xinitrc etc) and for example start another window manager so far I haven't found any answers online.

My advice is do not change the official Mint boot scripts. It could lead to many problems in the future.
Changing the WM is easy. This will create ~/.xsession file to start jwm for example:
Code:
echo "exec jwm" > $HOME/.xsession


Edit: BTW after upgrading xserver-xorg starting X crashes on some old machines. The problem is in the newer version xserver-xorg-video-intel_2.99.910-0ubuntu1.6_i386.deb. Downgrading with the included in Linux Mint 17.1 iso xserver-xorg-video-intel_2.99.910-0ubuntu1.1_i386.deb fixes the problem.

Toni

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

Last edited by saintless on Wed 29 Jul 2015, 14:50; edited 2 times in total
Back to top
View user's profile Send private message MSN Messenger 
wanderer

Joined: 20 Oct 2007
Posts: 729

PostPosted: Mon 29 Jun 2015, 13:50    Post subject:  

saintless

thanks again

wanderer
Back to top
View user's profile Send private message 
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Tue 30 Jun 2015, 03:28    Post subject:  

Hi, wanderer.
Reading your update here:
wanderer wrote:
I also have made a puppy which I call vxpup where the entire filesystem is in the save file and the sfs is mounted but empty. This allows easy modifications without bothering to compress and uncompress and I will see if I can do that with mintpup.

Very possible it will work with Mint because it works with Debian and I used the same method starting the base for DD.
http://murga-linux.com/puppy/viewtopic.php?p=741783#741783
http://murga-linux.com/puppy/viewtopic.php?p=771639#771639
It is very similar to full install but with all advantages from frugal.
But this is the hard way and any mistake you make is hard to fix. For example I broke the multiuser function and sudo working this way and it took much work to fix them later.
The easier and safer way is using main squashfs + empty save file and remastering. Any mistake you make is easy to recover or start again with new empty save file.
But do it as you feel is best. I'm just trying to save you some troubles I had in the past.

Toni

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

Joined: 20 Oct 2007
Posts: 729

PostPosted: Tue 30 Jun 2015, 10:02    Post subject:  

saintless

excellent idea

once again thanks for all the help

wanderer
Back to top
View user's profile Send private message 
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Sun 05 Jul 2015, 03:33    Post subject:  

mcewanw wrote:
...Fred, I'd love to see a Porteus-type boot option with save to changes folder on EXIT.

I have some progress with porteus-boot. Booting with the official Mint kernel and saving in directory works but encrypted save is broken for the moment. I'm not sure yet about saving changes on exit. I need to add some more dependencies to test it. If I can make it work well I will post initrd for testing.

Edit: just information for anyone interested from encrypted save file. The official Linux Mint initrd.lz also doesn't work with encrypted save. The patch from here should fix it but it needs more to work. Rebuilding initrd.lz this way first. If using the example base squashfs without Xorg you will need to install first some WM and file manager like:
Code:
apt-get install xinit xserver-xorg jwm menu xfe

Then install:
Code:
apt-get install aufs casper cryptsetup

And after that:
Code:
cp /path-to/casper/vmlinuz /boot/vmlinuz-3.13.0-37-generic #copy vmlinuz in /boot
cat /usr/share/initramfs-tools/conf-hooks.d/cryptsetup #maybe works without this line but use it just in case
export CRYPTSETUP=y
CRYPTSETUP=Y mkinitramfs -o /boot/initrd.lz-new 3.13.0-37-generic

Then extract /boot/initrd.lz-new and rebuild it after using the patch from the link above.
Porteus-boot encrypted save also will work after using /lib/modules from rebuilded initrd.lz-new. Save on Exit works from shutdown menu but not from terminal and console yet.

Toni
Back to top
View user's profile Send private message MSN Messenger 
wanderer

Joined: 20 Oct 2007
Posts: 729

PostPosted: Sun 05 Jul 2015, 13:20    Post subject:  

see above
Last edited by wanderer on Thu 23 Jul 2015, 12:44; edited 1 time in total
Back to top
View user's profile Send private message 
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Sun 05 Jul 2015, 15:22    Post subject:  

Hi, wanderer.
wanderer wrote:
I am trying to get mint to boot with the initrd on a usb and the save file and sfs file on a hard drive in the puppy manner because this is the way I want to do my version.

Correct me if I'm wrong, but having only initrd.gz and vmlinuz on flashdrive and loading main Puppy sfs module from hard drive is not what Puppy usually does. Puppy linux installer will add on the usb also main sfs file with initrd.gz and vmlinuz and will boot the main sfs from the usb.

Quote:
With puppy the initrd boots, init then searches for files on the drives, mounts them...

Same with Debian and Ubuntu (or Mint). Just the search is limited to name /live or /casper and save file named live-rw, persistence or casper-rw (usually located on different partition because the boot partition is mounted in read-only mode).

Quote:
If I remove the sfs and save files from the usb the unmodified mint initrd drops to a busybox shell but does not search for drives or files and try to mount them. I am going to add a script and some binaries to the usb to look for the drives and files and mount them. Do you have any words of wisdom on this? Is this the best way?

I don't think it will be easy to combine official Mint boot process with extra scripts for searching files and directories. Even if you can do it it could create many problems after boot.
What you are looking for is already there with official unmodified initrd.lz from Linux Mint. For example:

1. Use some bootable usb (sdb1) with Puppy or different linux and grub4dos. Create there directory /casper and copy inside only initrd.lz and vmlinuz from Linux Mint iso. Add menu entry in menu.lst on the usb for Mint (change the UUID part with the correct uuid number):
Code:
title Linux Mint Persistent
 uuid 11463fbb-48cd-47c6-a398-07c73e8a2e2b
 kernel /casper/vmlinuz boot=casper ignore_uuid persistent cdrom-detect/try-usb=true
 initrd=/casper/initrd.lz

2. Create same named directory /casper on some HDD partition (sda1) and copy inside only filesystem.squashfs from Linux Mint iso.

3. Create on second HDD partition (sda2) save file with name casper-rw.

Then boot from the usb with Linux Mint Persistent menu entry.

The system will use only initrd.lz and vmlinuz from the usb, searching inside any directory with name casper for module with .squashfs extension, and searching on any partition (except the boot one mounted read-only) for save file with name casper-rw.
Or it will use initrd.lz and vmlinuz from sdb1, loading main squashfs module from sda1 and casper-rw save file from sda2.

Toni

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

Joined: 20 Oct 2007
Posts: 729

PostPosted: Sun 05 Jul 2015, 16:52    Post subject:  

saintless

great

thanks again for all your hard work and patience

wanderer
Back to top
View user's profile Send private message 
wanderer

Joined: 20 Oct 2007
Posts: 729

PostPosted: Wed 08 Jul 2015, 10:33    Post subject:  

see above
Last edited by wanderer on Thu 23 Jul 2015, 12:45; edited 1 time in total
Back to top
View user's profile Send private message 
saintless


Joined: 11 Jun 2011
Posts: 3882
Location: Bulgaria

PostPosted: Thu 09 Jul 2015, 06:08    Post subject:  

Hi, wanderer.

As I wrote I have some progress with porteus-boot and for the tests I had to install xserver-xorg, jwm, rox, gtkdialog, yad and some programs from DD. As a result I have working sfs load/unload, sfs mount/unmount, edit-sfs, freememapplet-tray and similar look to DD-Jwm version (screenshot attached).
Smaller initrd.lz for official mint (ubuntu) boot working with encrypted casper-rw save file.
And initrd for porteus-boot working with the official mint kernel and with encrypted save file, saving changes in file, directory and option for saving changes on EXIT only.
Autologin and autostartx as root and optional user account puppy (as in DD).
Most programs from DD could be converted to work with this base. Changing /live to /casper will be needed for some to work properly. I changed the initrd from Fred for porteus boot to use /casper as directory name and also in sfs load scripts.
Nothing left from special Linux Mint utilities inside but if you like to use it as a base I can shape it a little and build iso version booting with both (mint boot and porteus boot).
You will have a lot of work to shape and configure this base better. I have some troubles to download the wallpapers from mediafire on my lowram machine and I use different wallpapers for each desktop, but you can change them easy later.

Toni
mintpup-base.jpg
 Description   
 Filesize   53.56 KB
 Viewed   598 Time(s)

mintpup-base.jpg


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

Joined: 16 Aug 2007
Posts: 3199

PostPosted: Thu 09 Jul 2015, 07:07    Post subject:  

Where is this newer version with porteus boot Toni, or is it still that previous link you gave on this thread to Linux Mint stuff at KazzasCorner?

Hoping it was a pae smp build since my old machine is retired as intermittently faulty... and newer machines, albeit still old are all dual core pae capable.

I'm certainly planning to try this MintPup, but was just waiting till its development had moved on a bit.

William
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 2 of 11 [158 Posts]   Goto page: Previous 1, 2, 3, 4, ..., 9, 10, 11 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.0781s ][ Queries: 12 (0.0099s) ][ GZIP on ]