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 Fri 29 Aug 2014, 12:30
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
slacko-6.0 beta 2
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 27 of 41 [613 Posts]   Goto page: Previous 1, 2, 3, ..., 25, 26, 27, 28, 29, ..., 39, 40, 41 Next
Author Message
gyro

Joined: 28 Oct 2008
Posts: 419
Location: Brisbane, Australia

PostPosted: Sat 05 Jul 2014, 00:26    Post subject:  

@01micko,
Will this new PUI, give me the opportunity to install into empty space?

Scenario:
Before trying to install Puppy on a Windows 8 box, I booted into windows and did a shrink of the C: drive of 20GB.
I now have 20GB of empty space on the hard disk.
I then boot Puppy from a CD and run the new PUI to install puppy on my hard drive.
Will my 20GB of empty space be simply ignored?

gyro
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7794
Location: qld

PostPosted: Sat 05 Jul 2014, 06:02    Post subject:  

gyro wrote:
@01micko,
Will this new PUI, give me the opportunity to install into empty space?

Scenario:
Before trying to install Puppy on a Windows 8 box, I booted into windows and did a shrink of the C: drive of 20GB.
I now have 20GB of empty space on the hard disk.
I then boot Puppy from a CD and run the new PUI to install puppy on my hard drive.
Will my 20GB of empty space be simply ignored?

gyro


Yes
Screenshot5.png
 Description   
 Filesize   15.74 KB
 Viewed   777 Time(s)

Screenshot5.png


_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
zigbert


Joined: 29 Mar 2006
Posts: 5684
Location: Valåmoen, Norway

PostPosted: Sat 05 Jul 2014, 08:40    Post subject:  

Sorry Mick, I couldn't help it Very Happy

Please do whatever you want with it - ignore it, trash it, smash it, ...
I have only replaced the Xdialog main gui with gtkdialog.
New icons are uploaded to Woof
The diff is based on your latest upload of puppyinstaller with the windows fix





Code:
431,447c431,575
< # Barry crippled the ZIP disk functionality but only removed some code.
< PMEDIA="`Xdialog --wmclass "gtkdialog2" --left \
< --title "$(gettext 'Puppy Universal Installer')" \
< --no-tags --stdout --menubox "$(gettext 'Welcome to the Puppy Universal \
< Installer!\nIf you wish to install Puppy to a removable media, such as a \
< USB Flash\nor hard drive or CD/DVD disc, please insert \
< it\nright now, before proceeding.\n\nINSERT MEDIA NOW\nThen, choose the media \
< that you want to install Puppy to:')" 0 0 10 usbflash \
< "$(gettext 'USB Flash drive')" usbhd "$(gettext 'USB hard drive')" \
< usb2ataflash "$(gettext 'USB CF Flash drive, later move CF card to IDE/SATA \
< internal adaptor')" iusbflash "$(gettext 'Internal USB Flash drive \
< (ex: uDiskOnChip)')" ataflash "$(gettext 'Internal IDE/SATA Flash drive \
< (exs: CF card, SD memory card)')" atahd "$(gettext 'Internal \
< (IDE or SATA) hard drive')" scsihd "$(gettext 'Ancient true-SCSI hard drive')" \
< cd "$(gettext 'CD drive')"`"
< [ ! $? -eq 0 ] && exit
< [ "$PMEDIA" = "" ] && exit
---
> [ -s $HOME/.config/ptheme/gtkdialog_active ] && . $HOME/.config/ptheme/gtkdialog_active
> [ ! "$SVG_BAR_COLOR_TOTAL" ] && SVG_BAR_COLOR_TOTAL='#eee'
> [ ! "$SVG_BAR_COLOR_TEXT" ] && SVG_BAR_COLOR_TEXT='#111' #background color
>
> export PUI='
> <window title="'$(gettext 'Puppy Universal Installer')'" icon-name="gtk-preferences">
> <vbox>
>   <frame '$(gettext 'Puppy Universal Installer')'>
>     '"`/usr/lib/gtkdialog/xml_info 0 puppy_install.svg 60 "$(gettext "If you wish to install Puppy to a removable media, such as a USB Flash or hard drive or CD/DVD disc, <b>please insert it right now</b>, before proceeding. Then, choose the media that you want to install Puppy to.")"`"'
>
>     <hbox space-expand="true" space-fill="true">
>       <eventbox name="bg" above-child="false" visible-window="true" space-expand="false" space-fill="false">
>         <hbox space-expand="false" space-fill="false">
>           <vbox margin="5">
>             <text angle="90" wrap="false" use-markup="true" yalign="0.5" space-expand="true" space-fill="true"><label>"<big><big><span fgcolor='"'$SVG_BAR_COLOR_TEXT'"'><b>USB</b></span></big></big>"</label></text>
>           </vbox>
>         </hbox>
>       </eventbox>
>       <vbox>
>         <hbox space-expand="true" space-fill="true">
>           <text xalign="0" use-markup="true" space-expand="true" space-fill="true"><label>"<b>USB</b> '$(gettext 'Flash drive')'"</label></text>
>           <vbox space-expand="false" space-fill="false">
>             <button>
>               '"`/usr/lib/gtkdialog/xml_button-icon flashcard_usb.svg big`"'
>               <action type="exit">usbflash</action>
>             </button>
>           </vbox>
>         </hbox>
>         <hbox space-expand="true" space-fill="true">
>           <text xalign="0" use-markup="true" space-expand="true" space-fill="true"><label>"<b>USB</b> '$(gettext 'hard drive')'"</label></text>
>           <vbox space-expand="false" space-fill="false">
>             <button>
>               '"`/usr/lib/gtkdialog/xml_button-icon harddisk_usb.svg big`"'
>               <action type="exit">usbhd</action>
>             </button>
>           </vbox>
>         </hbox>
>         <hbox space-expand="true" space-fill="true">
>           <text xalign="0" use-markup="true" space-expand="true" space-fill="true"><label>"<b>USB</b> '$(gettext "CF Flash drive, later move CF card to IDE/SATA \
> internal adaptor")'"</label></text>
>           <vbox space-expand="false" space-fill="false">
>             <button>
>               '"`/usr/lib/gtkdialog/xml_button-icon flashcard_usb_2.svg big`"'
>               <action type="exit">usb2ataflash</action>
>             </button>
>           </vbox>
>         </hbox>
>       </vbox>
>     </hbox>
>
>     <hseparator></hseparator>
>
>     <hbox space-expand="true" space-fill="true">
>       <eventbox name="bg" above-child="false" visible-window="true" space-expand="false" space-fill="false">
>         <hbox space-expand="false" space-fill="false">
>           <vbox margin="5">
>             <text angle="90" wrap="false" use-markup="true" yalign="0.5" space-expand="true" space-fill="true"><label>"<big><big><span fgcolor='"'$SVG_BAR_COLOR_TEXT'"'><b>'$(gettext 'Internal')'</b></span></big></big>"</label></text>
>           </vbox>
>         </hbox>
>       </eventbox>
>       <vbox>
>         <hbox space-expand="true" space-fill="true">
>           <text xalign="0" use-markup="true" space-expand="true" space-fill="true"><label>"'$(gettext '<b>Internal</b> (IDE or SATA) hard drive')'"</label></text>
>           <vbox space-expand="false" space-fill="false">
>             <button>
>               '"`/usr/lib/gtkdialog/xml_button-icon harddisk.svg big`"'
>               <action type="exit">atahd</action>
>             </button>
>           </vbox>
>         </hbox>
>         <hbox space-expand="true" space-fill="true">
>           <text xalign="0" use-markup="true" space-expand="true" space-fill="true"><label>"'$(gettext '<b>Internal</b> IDE/SATA Flash drive
> (ex: CF card, SD memory card)')'"</label></text>
>           <vbox space-expand="false" space-fill="false">
>             <button>
>               '"`/usr/lib/gtkdialog/xml_button-icon flashcard.svg big`"'
>               <action type="exit">ataflash</action>
>             </button>
>           </vbox>
>         </hbox>
>         <hbox space-expand="true" space-fill="true">
>           <text xalign="0" use-markup="true" space-expand="true" space-fill="true"><label>"'$(gettext '<b>Internal</b> USB Flash drive (ex: uDiskOnChip)')'"</label></text>
>           <vbox space-expand="false" space-fill="false">
>             <button>
>               '"`/usr/lib/gtkdialog/xml_button-icon card_usb.svg big`"'
>               <action type="exit">iusbflash</action>
>             </button>
>           </vbox>
>         </hbox>
>         <hbox space-expand="true" space-fill="true">
>           <text xalign="0" use-markup="true" space-expand="true" space-fill="true"><label>"'$(gettext 'Ancient true-SCSI hard drive')'"</label></text>
>           <vbox space-expand="false" space-fill="false">
>             <button>
>               '"`/usr/lib/gtkdialog/xml_button-icon harddisk_scsi.svg big`"'
>               <action type="exit">scsihd</action>
>             </button>
>           </vbox>
>         </hbox>
>       </vbox>
>     </hbox>
>
>     <hseparator></hseparator>
>
>     <hbox space-expand="true" space-fill="true">
>       <eventbox name="bg" above-child="false" visible-window="true" space-expand="false" space-fill="false">
>         <hbox space-expand="false" space-fill="false">
>           <vbox margin="5">
>             <text angle="90" wrap="false" use-markup="true" yalign="0.5" space-expand="true" space-fill="true"><label>"<big><big><span fgcolor='"'$SVG_BAR_COLOR_TEXT'"'><b>CD</b></span></big></big>"</label></text>
>           </vbox>
>         </hbox>
>       </eventbox>
>       <vbox>
>         <hbox space-expand="true" space-fill="true">
>           <text xalign="0" use-markup="true" space-expand="true" space-fill="true"><label>"'$(gettext '<b>Optical</b> drive (CD/DVD/BD)')'"</label></text>
>           <vbox space-expand="false" space-fill="false">
>             <button>
>               '"`/usr/lib/gtkdialog/xml_button-icon cdrom.svg big`"'
>               <action type="exit">cd</action>
>             </button>
>           </vbox>
>         </hbox>
>       </vbox>
>     </hbox>
>   </frame>
>   <hbox space-expand="false" space-fill="false">
>     <button>
>       '"`/usr/lib/gtkdialog/xml_button-icon quit`"'
>       <label>'$(gettext 'Quit')'</label>
>       <action type="exit">EXIT</action>
>     </button>
>     '"`/usr/lib/gtkdialog/xml_scalegrip`"'
>   </hbox>
> </vbox>
> </window>'
>
> echo '
> style "bg" { bg [NORMAL] = "'$SVG_BAR_COLOR_TOTAL'" }
> widget "*bg*" style "bg"' > /tmp/gtkrc_pui
> export GTK2_RC_FILES=/tmp/gtkrc_pui:/root/.gtkrc-2.0
>
> . /usr/lib/gtkdialog/xml_info gtk #build bg_pixmap for gtk-theme
> RETVAL="`gtkdialog -p PUI 2>/dev/null`"
> eval "$RETVAL"
> [ ! "`grep -E "usbflash|usbhd|usb2ataflash|iusbflash|ataflash|atahd|scsihd|cd" <<< "$EXIT"`" ] && exit
> PMEDIA=$EXIT

_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
gcmartin

Joined: 14 Oct 2005
Posts: 4236
Location: Earth

PostPosted: Sat 05 Jul 2014, 13:07    Post subject: PUI and Hibernation on a particular partition  

Sorry,I'm late to the table on the NTFS issue of PUI and Windows Hibernation.

But, I must ask,
  • ISn't there a simple method to detect an active hibernation and "advise/not-allow" use of that in PUI? If so, would that simple test be enough to address that concern?
  • Or, is there some other partition detection technology that Microsoft employs that would be hampered when the Windows system restarts (other than hibernation)?
Just wondering how to remove the concerns about NTFS use. (NTFS is just a filesystem that one OS is dominant in its use. And, should not pose much of any concern in effort, if hibernation is the only issue. Has to be a flag present somewhere on partition...if hibernation is presently active.)

Hope this helps

_________________
Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engine or use DogPile
Back to top
View user's profile Send private message 
SFR


Joined: 26 Oct 2011
Posts: 1063

PostPosted: Sun 06 Jul 2014, 09:07    Post subject:  

Quote:
ISn't there a simple method to detect an active hibernation and "advise/not-allow" use of that in PUI? If so, would that simple test be enough to address that concern?

From /bin/mount, regarding ntfs-3g's exit codes:
Quote:
#v4.00 ntfs-3g v1.2412 does not have 4,10, has 15 for dirty f.s., 14 hiberneted...

More: http://linux.die.net/man/8/ntfs-3g.probe
___________

tas-1.7, slight update.
I have also seen new mtPaint and JWM is quite far ahead s933.

Greetings!

_________________
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7794
Location: qld

PostPosted: Sun 06 Jul 2014, 09:33    Post subject:  

TAS, jwm, ntfs (I don't want or need to encourage it.. what is is good enough -re ntfs) is all duly noted.

More importantly - changes to initrd;rc.sysinit;sfs_load - sorry but my time frame is reducing Rolling Eyes

Anyway.. PUI has progressed somewhat with ziggy's input. On that note I'd like some improvements: shinobar's dotpup - notebook method preferred; but code to include the extras, especially the 'frugal installer' and the 'f2fs-usb-installer' - which may or may not be included.

And below is latest PUI at my end. (install script is there because icons are brand new at woof level)

Test please. Twisted Evil

NEWER one in lower post

_________________
Woof Mailing List | keep the faith Cool |

Last edited by 01micko on Sun 06 Jul 2014, 21:04; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
SFR


Joined: 26 Oct 2011
Posts: 1063

PostPosted: Sun 06 Jul 2014, 10:57    Post subject:  

01micko wrote:
And below is latest PUI at my end.
Test please. Twisted Evil

The checkbox does nothing, if Win is on second partition:
Quote:
sda1_button=true
sda2_button=false
sda3_button=true

so the while loop breaks on the first iteration and $action is null.

Some real tests (in unreal enviroment - VBox):
- frugal install to SD card (seen as USB) - ok
- frugal install to internal HDD (sda2) - ok.
- full install to internal HDD (sda2) - ok.

Greetings!

_________________
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
Back to top
View user's profile Send private message 
Billtoo


Joined: 07 Apr 2009
Posts: 2081
Location: Ontario Canada

PostPosted: Sun 06 Jul 2014, 11:06    Post subject: slacko-6.0 beta 2
Subject description: 5935
 

I downloaded the pui-experimental.tar.gz file and unpacked it in a
hold directory, entered the hold/pui directory and did sh install, then
sh puppyinstaller-z
It installed to a 32gb usb 3.0 flash drive that I had prepared in gparted
(formatted to ext4 and boot flag set)
Installed from cd (read files from cd)

Shutdown,turned on laptop, it booted from the flash drive.

video-info-glx 1.5.1 Sun 6 Jul 2014 on Slacko Puppy 5.9.3 Linux 3.4.94 i686
2.0 VGA compatible controller: Intel Corporation Device 0166 (rev 09)
oem: Intel(R) Sandybridge/Ivybridge Graphics Chipset Accelerated VGA BIOS
product: Intel(R) Sandybridge/Ivybridge Graphics Controller Hardware Version 0.0

X Server: Xorg Driver: intel
X.Org version: 1.14.3
dimensions: 1366x768 pixels (361x203 millimeters)
depth of root window: 24 planes

direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Ivybridge Mobile x86/MMX/SSE2
OpenGL core profile version string: 3.1 (Core Profile) Mesa 9.1.7

Intel(R) Core(TM) i3-3227U CPU @ 1.90GHz
Core 0: @779 1: @779 2: @779 3: @779 MHz

EDIT:
Added FbBox-1.0 + PupMates, works well.
screenshot2.jpg
 Description   
 Filesize   85.99 KB
 Viewed   293 Time(s)

screenshot2.jpg

screenshot.jpg
 Description   
 Filesize   39.1 KB
 Viewed   467 Time(s)

screenshot.jpg


Last edited by Billtoo on Sun 06 Jul 2014, 19:04; edited 2 times in total
Back to top
View user's profile Send private message 
zigbert


Joined: 29 Mar 2006
Posts: 5684
Location: Valåmoen, Norway

PostPosted: Sun 06 Jul 2014, 11:15    Post subject:  

This is maybe a start? Based on shinobars work.
Code is found at https://github.com/puppylinux-woof-CE/woof-CE/blob/testing/woof-code/rootfs-skeleton/usr/sbin/dotpup
I think there should have been an explanation somewhere what frugal and full install is...


_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
vicmz


Joined: 15 Jan 2012
Posts: 1105

PostPosted: Sun 06 Jul 2014, 16:53    Post subject:  

zigbert wrote:
I think there should have been an explanation somewhere what frugal and full install is...


How about including Frugal Installer or a similar utility? I mean, there's a wizard for full install, why not a wizard for frugal as well?

_________________
OB Precise 14.07.26 Woof-CE|Puppy Linux en español
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7794
Location: qld

PostPosted: Sun 06 Jul 2014, 18:01    Post subject:  

SFR wrote:

Some real tests (in unreal enviroment - VBox):
- frugal install to SD card (seen as USB) - ok
- frugal install to internal HDD (sda2) - ok.
- full install to internal HDD (sda2) - ok.

Greetings!


Did the grub4dos_func() work as expected?

vicmz wrote:
frugal installer


Covered Wink

Can you check translations when we are finished please? Won't be long and it would be nice to have at least a couple of translations ready to roll.

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
SFR


Joined: 26 Oct 2011
Posts: 1063

PostPosted: Sun 06 Jul 2014, 18:51    Post subject:  

01micko wrote:
Did the grub4dos_func() work as expected?

Yes, it got invoked, from what I recall, but only in test No. 2 (frugal -> sda2), not 3 (full -> sda2).

Greetings!

_________________
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
Back to top
View user's profile Send private message 
01micko


Joined: 11 Oct 2008
Posts: 7794
Location: qld

PostPosted: Sun 06 Jul 2014, 21:02    Post subject:  

SFR wrote:
01micko wrote:
Did the grub4dos_func() work as expected?

Yes, it got invoked, from what I recall, but only in test No. 2 (frugal -> sda2), not 3 (full -> sda2).

Greetings!

Thanks! Yeah I didn't get to invoking it for full yet. Also, now I have removed the break so if 'doze is not on (0,0) it still works.

Made a manual of sorts, well more of an 'info' page for puppy installation. I think I'll commit it to woof.

PUI now seems a bit nicer, mainly needs testing. I desecrated ziggy's gui by adding a 'help' button leading to my new page which hopefully answer some noobish questions.

Same format, an install script as it's not meant to be a pet but a part of woof.
pui-experimental2.tar.gz
Description 
gz

 Download 
Filename  pui-experimental2.tar.gz 
Filesize  36.45 KB 
Downloaded  42 Time(s) 

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
01micko


Joined: 11 Oct 2008
Posts: 7794
Location: qld

PostPosted: Sun 06 Jul 2014, 21:45    Post subject:  

..and here is the latest f2fs installer.
f2fs-usb-installer-0.21-noarch.pet
Description 
pet

 Download 
Filename  f2fs-usb-installer-0.21-noarch.pet 
Filesize  115.26 KB 
Downloaded  34 Time(s) 

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send private message Visit poster's website 
Billtoo


Joined: 07 Apr 2009
Posts: 2081
Location: Ontario Canada

PostPosted: Mon 07 Jul 2014, 00:49    Post subject: slacko-6.0 beta 2
Subject description: 5935
 

I took another stab at pui-experimental2.tar.gz and got it right this
time,the puppy universal installer from the menu had all the icons
etc after running the install file inside pui-experimental2.tar.gz.

I ran the pui from my last install on the 32gb flash drive, I chose
a 16gb flash drive and a screen with gparted info came up from which I
prepared the target drive, then back to continue the
installation.

-------------------------------------------------------------------------------

New installation running from a hp desktop:

I installed the newest proprietary nvidia driver and it gave errors about not knowing the
architechure of several files but it is working fine:

video-info-glx 1.5.1 Mon 7 Jul 2014 on Slacko Puppy 5.9.3 Linux 3.4.94 i686
0.0 VGA compatible controller: nVidia Corporation GF108 [GeForce GT 430] (rev a1)
oem: NVIDIA
product: GF108 Board - 1071v0p1 Chip Rev

X Server: Xorg Driver: nvidia
X.Org version: 1.14.3
dimensions: 1920x1080 pixels (513x292 millimeters)
depth of root window: 24 planes

direct rendering: Yes
server glx vendor string: NVIDIA Corporation
server glx version string: 1.4
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GT 430/PCIe/SSE2/3DNOW!
OpenGL core profile version string: 4.3.0 NVIDIA 331.89

I added FbBox-1.0_32Bit.pet + PupMates_01-Apr-2014.pet

Working well.
screenshot.jpg
 Description   
 Filesize   26.7 KB
 Viewed   220 Time(s)

screenshot.jpg

screenshot2.jpg
 Description   
 Filesize   46.92 KB
 Viewed   221 Time(s)

screenshot2.jpg

Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 27 of 41 [613 Posts]   Goto page: Previous 1, 2, 3, ..., 25, 26, 27, 28, 29, ..., 39, 40, 41 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.1474s ][ Queries: 13 (0.0098s) ][ GZIP on ]