Page 58 of 212

Posted: Tue 04 Feb 2014, 19:11
by saintless
sklimkin wrote:

Code: Select all

... ... ... 
* Adding bundles to union
* 01-v3.squashfs
Live Kit done, starting live
mkdir: can't create directory 'mnt': No such file or directory
mkdir: can't create directory 'mnt/': No such file or directory
pivot_root: No such file or directory
Hi, Sergey.
in 01-v3.squashfs /mnt is link to /media
I guess this is the reason for this message. initrd lis looking for real folder /mnt

Toni

Posted: Tue 04 Feb 2014, 19:28
by sklimkin
Thank you Toni,
If I unpack the module, and how painless fix that?
If I replace the symlink to the real DIR it will not break the system?

Sergey.

Posted: Tue 04 Feb 2014, 19:33
by saintless
Hi, Sergey.

Just tested and this is the reason for the problem.
You can unpack and replace the /mnt link with real /mnt folder
You can create 02.squashfs with only empty /mnt folder inside and include it in the CD
Both ways will work.
But I think the next version 01-v4.squashfs will be with real /mnt folder. Changing /mnt with link to /media may cause other troubles in the future.

Toni

Posted: Tue 04 Feb 2014, 19:46
by sklimkin
Hi Toni !

Only for testing replaced @mnt by @mnt2 and added an empty DIR /mnt
Packed as '01-v4.squashfs' and added to the ISO-image.
Now downloading: all OK and the system works.

Sergey.

Posted: Tue 04 Feb 2014, 20:05
by fredx181
Hi Toni
I tried your new DebianDog-PorteusDog-test.iso.
Could not get porteus option to work at first and thought maybe because of symlinks.
So I just copied the squashfs files to "base" and renamed to .xzm.
Still no luck.
Then I found that adding "noauto" made it work(I forgot to add that) and it's a mystery to me how this could be.
btw, relative symlinks work also, then the user does not need to make symlinks to the squashfs files.
Open terminal standing in the "base" directory:

Code: Select all

ln -s ../../01-base-nokernel.squashfs 01-base-nokernel.xzm     
ln -s ../../011-kernel-486.squashfs 011-kernel-486.xzm    
It's great to have both boot options in one iso, clever work :)

I have unfortunally not much time this week, busy working in daytime and in the evening very tired, I will make the RemasterCow script but it will need a few days probably.
Oh, and the /etc/profile.d/auto-swapon script doesn't execute mountlink.
It's very important for other things to work properly.
There should be symlinks "home" and "saved" in /mnt (executed by mountlink script)
But we will maybe discuss this later.

Fred

Posted: Tue 04 Feb 2014, 20:33
by fredx181
Hi Sergey, Hi Toni
As I said the linux-live-kit boot method worked fine with grub4dos but not with cd/iso.
I found it needs special treatment by updating isolinux.bin if you want to change default name (like "slax" or 'live")
So got it working now with default name "live" (is also default directory)
linux-live-wheezy2.iso:
https://drive.google.com/file/d/0ByBgCD ... sp=sharing

I see this as experimental for now but maybe it can be useful in future.
The creator of alphaOS: simargl, went into this direction after using puppy method at first and made a couple of it's own cheatcodes with linux-live-scripts.
It's a shame he suddenly decided to go for 64bit only, because I liked Arch and his way of approaching and knowledge.
But shortly after that, as a miracle, I saw this thread and was happy again :D
EDIT: If you boot the iso, make sure there isn't a directory "live" with squashfs file(s) inside on your hd or usb, because it will detect that first and will probably fail then.
Needs to be worked on to prevent this (changing default extension could fix this).
Fred

Posted: Tue 04 Feb 2014, 20:49
by saintless
Thank you, Fred :)
I will follow your advices and we will talk again about DebinDog-PorteusDog.iso It is only test if it works. Much more to experiment to make it better in time.
Take your time with RemasterCow and testing. I also need to rethink some things and test more.

Toni

Posted: Tue 04 Feb 2014, 20:50
by fredx181
Hi Sergey
But I expect that also loaded '01-v3.squashfs' from 'Light-Wheezy-2'
This is not happening.
I hoped in this way to combine into a single image Debian and Porteus,
2 different ways to download Debian-live and Porteus-to-Debian.

Fred, where am I wrong?
I have difficulties to follow all you did but it's good to see you have grub4dos option now.
I hope the iso I send gives you more insight.

Fred

Posted: Tue 04 Feb 2014, 20:52
by saintless
AbiWord.sfs - 2,6Mb:
http://smokey01.com/saintless/Fredx181/022-abiword.sfs
Load with SFS-loader and use taskbar icon or type abiword in terminal.
taskbar icon need to use Logout->Restart IceWM to appear.

Posted: Tue 04 Feb 2014, 21:21
by sklimkin
Thanks Fred, this version 'linux-live-wheezy2.iso' works and the method clear.

Thanks Tony, a new 'DebianDog-PorteusDog-test.iso' made ​​me very happy.

Sergey.

Posted: Tue 04 Feb 2014, 22:43
by mcewanw
saintless wrote:This is only testing version mostly for development suggestions.
Download DebianDog-PorteusDog-test.iso -103Mb with separate kernel module here:
http://www.smokey01.com/saintless/Light ... g-test.iso
Downloading now. I have never tried the Porteus version, but will keep and eye out on Fred's postings and test that sometime.

Cheers, William

Posted: Wed 05 Feb 2014, 06:42
by saintless
Hi, William.
In a few days I will upload another version with Fred's suggestions about relative symlinks and mountlink fix.

BTW this is the same DebianDog CD version with the latest fixes.
The difference is it has two initrd and only one vmlinuz file.
You can boot standard DebianDog as we do now or PorteusDog using the same squashfs modules symlinked to /live/debian/base folder.

This is the form I see DebianDog continue further - to be combined with porteus boot option using the same squashfs modules.

Toni

Posted: Wed 05 Feb 2014, 15:23
by sklimkin
Hi All!

1.
How to add a button "keyboard switcher" on the panel (preferably with the country-flag icons): Eng--<other_language>
For example the Germans need umlauts, the Spanish have the letter N with tilde above.
In my case it Eng--Rus
Cyrillic (and not Latin) exists not only in Russian.
But there are many languages ​​where no Latin or Cyrillic.
And then there is the Middle East, Southeast Asia and India.
In all these cases need the keyboard switcher.
Of course need more fonts setting - but this is a concern of every individual user.

I did switch keyboard with country flags in LXDE, but in JWM and XFCE that does not work.

2.
Need a hint:
I know how to make sfs(xzm)-module with programs to after connecting this module in system, a new menu item appears to start the program. But this only applies to XFCE (LXDE).
I make file <program-name>.desktop and place it in /usr/local/share/applications/ (or in usr/share/applications/).
I do not know how to do it in JWM. Now I can run the connected program only through the terminal.

3.
AbiWord.sfs works in 'Light-Wheezy' - thanks Toni !
In 'Porteus-Wheezy' message about missing lib.

Sergey.

Posted: Wed 05 Feb 2014, 15:28
by fredx181
Hi Toni, Sergey, all

Important update for the porteus initrd-3.2.0-4-486.xz and Porteus-Wheezy2-deb-kernel.iso.!!
(and also for Toni's new DebianDog-PorteusDog-test.iso:
Replace initrd1.xz with the downloaded initrd-3.2.0-4-486.xz)

I recentlly found that the first parameter in boot options does not work e.g.:

Code: Select all

kernel /live/vmlinuz1 noauto from=/live
noauto parameter doesn't work, or e.g. :

Code: Select all

kernel /live/vmlinuz1 from=/live copy2ram
from= doesn't work, resulting in failure to find data.
After investigating I found that the original porteus kernel (appearantly) append "quiet" followed by a space at the start of /proc/cmdline.
Well, that missing space results in failure of the first parameter.
So I edited linuxrc to create that space and put the outcome of "cat /proc/cmdline" + added space in /mnt/live/etc/cmdline.
Further replaced every "/proc/cmdline" with "/etc/cmdline" in linuxrc.
So now it works fine!

new initrd-3.2.0-4-486.xz:

https://drive.google.com/file/d/0ByBgCD ... sp=sharing

new Porteus-Wheezy2-deb-kernel.iso:
https://drive.google.com/file/d/0ByBgCD ... sp=sharing

Regards
Fred

Posted: Wed 05 Feb 2014, 15:33
by fredx181
new Porteus-Wheezy2-deb-kernel.iso:
https://drive.google.com/file/d/0ByBgCD ... sp=sharing
Sorry, forgot to upload, starting now, may take some time.

EDIT: 14 minutes later:
New revision of Porteus-Wheezy2-deb-kernel.iso uploaded:
https://drive.google.com/file/d/0ByBgCD ... sp=sharing

Fred

Posted: Wed 05 Feb 2014, 16:02
by sklimkin
Thank you Fred!
1.
As one character in the Indian tale "The Golden Antelope":
"Now we see them, we now compare them."
2.
I forgot to say earlier, but now remembered:
relogin (Menu-->logout-->restartX) in 'Porteus-Wheezy' does not fulfill until the end - startx directive is not satisfied, it has to be entered from the keyboard.
3.
I'm joined on one CD-ISO-image of the 'Debian-Wheezy' and 'Porteus-Wheezy' as well as the boot-manager took grub4dos.
This option certainly has a larger size, but you can switch not only between different methods of loading (debian-live & porteus), but also between different WM (ICEWM & XFCE). I like this opportunity.

Sergey.

Posted: Wed 05 Feb 2014, 16:18
by saintless
fredx181 wrote:
new Porteus-Wheezy2-deb-kernel.iso:
https://drive.google.com/file/d/0ByBgCD ... sp=sharing
Sorry, forgot to upload, starting now, may take some time.

EDIT: 14 minutes later:
New revision of Porteus-Wheezy2-deb-kernel.iso uploaded:
https://drive.google.com/file/d/0ByBgCD ... sp=sharing

Fred
Thank you, Fred.
I will upload this one on the site.
Thank you for the fixed initrd also.

Toni

Posted: Wed 05 Feb 2014, 16:30
by saintless
Hi, Sergey.
sklimkin wrote:1.
How to add a button "keyboard switcher" on the panel (preferably with the country-flag icons): Eng--<other_language>
For example the Germans need umlauts, the Spanish have the letter N with tilde above.
I don't know how you can do this in iceWm or JWM. The taskbur program icons are in /etc/x11/icewm/toolbar You can experiment with this file.
I use Alt+Shift to change the keyboard layout. after running:

Code: Select all

dpkg-reconfigure keyboard-configuration
2.
Need a hint:
I know how to make sfs(xzm)-module with programs to after connecting this module in system, a new menu item appears to start the program. But this only applies to XFCE (LXDE).
I make file <program-name>.desktop and place it in /usr/local/share/applications/ (or in usr/share/applications/).
I do not know how to do it in JWM. Now I can run the connected program only through the terminal.
You need a file for the program in /usr/share/menu Open one of the files there and you will see what is needed.
Then after loading the sfs module run update-menus in terminal and it will appear in the start menu.
You can also add start icon in taskbar from /etc/x11/icewm/toolbar
3.
AbiWord.sfs works in 'Light-Wheezy' - thanks Toni !
In 'Porteus-Wheezy' message about missing lib.
I will check out in the next days what is needed for porteus-wheezy.

Toni

Posted: Wed 05 Feb 2014, 16:39
by saintless
fredx181 wrote: EDIT: 14 minutes later:
New revision of Porteus-Wheezy2-deb-kernel.iso uploaded:
https://drive.google.com/file/d/0ByBgCD ... sp=sharing
Uploaded here:
http://smokey01.com/saintless/Porteus-W ... kernel.iso

Toni

Posted: Wed 05 Feb 2014, 18:06
by fredx181
saintless wrote:
fredx181 wrote: EDIT: 14 minutes later:
New revision of Porteus-Wheezy2-deb-kernel.iso uploaded:
https://drive.google.com/file/d/0ByBgCD ... sp=sharing
Uploaded here:
http://smokey01.com/saintless/Porteus-W ... kernel.iso

Toni
Thanks, Toni :)

I've made first concept of remastercow.
As you said it would be a matter of modifying RemasterDog.
Same concept by copying to drive of choice (working directory)
Tell me if you want something added or left out.
Wouldn't it be good to give some info (using yad) in the script on how to handle:
I mean, to inform the user about sequence (01. 02, 03) of modules otherwise it gets messed up with dpkg.

Also added new remasterdog script to the archive with small fix:
yad info text at the end now shows correct path for where module is created (it showed before: inside working dir)

remaster.tar.gz:

https://drive.google.com/file/d/0ByBgCD ... sp=sharing

Another thing, about your latest:
System-tray is showing in upper-left corner (see picture), or sometimes something simular but empty shows there and systray is correct.

Also what I would like in porteus-boot version is in icewm-menu an entry for special porteus-savefile-create instead of live-rw create, now there's only the prompt for it at shutdown.
Of course tell me if you have reason to have it the way it is now or if you need help to change it.

Regards

Fred