Puppy Linux Windows Installer - LICK v1.3.3 released

A home for all kinds of Puppy related projects
Message
Author
emil
Posts: 633
Joined: Tue 10 Nov 2009, 08:36
Location: Austria
Contact:

Problem with Windows 7 64 bit

#31 Post by emil »

Hi all, thank you for the info!

I tried to advocate the exe installer I made from my Sage Puplet to the Sage community. I met with some support, but overall response was very sceptical. They fear to break something on users windows machines, and risk reputation.

Well, may it be so. One problem I found was really with Windows 7 on 64 bit.
The installer hangs at the bcdedit command for backup :-( ...

I had one negative report from the sage-windows group. Bill tried really hard to get it working, but couldn't. I then walked to friend who has a 64 bit windows 7. It was exactly the same problem there.

The script couldnt get bcdedit to make a backup (there the installer stops), also there was no menu entry created in the bootloader.

I typed the commands manually in the command shell, It worked fine. Do you have an idea what can be wrong here? Can it by some sort of weird permission problem? (I ran the install script, as well as the command shell "as administrator")

All 32-bit installs were fine until now!

kind regards
emil

noryb009
Posts: 634
Joined: Sat 20 Mar 2010, 22:28

#32 Post by noryb009 »

emil: That's not good.

Are you sure it says "bcdedit /export "C:\Backups\BCD Backup"" in the execute area? (see attached "installer" which is running cmd). Also, does the folder "C:\Backups\BCD Backup" exist?

I may see the problem, if that's the case.
Attachments
installer.JPG
(11.63 KiB) Downloaded 4354 times

emil
Posts: 633
Joined: Tue 10 Nov 2009, 08:36
Location: Austria
Contact:

not sure about the directory

#33 Post by emil »

At my 32 bit windows the directory Backup exists (where it worked smoothly). I am not sure on the 2 64 bit systems (where it failed). I will maybe check tomorrow.

Yes the progress bar was there. I am pretty sure that it stopped at the backup (no backup was created). (althoug the graphics of the windows 7 progress bar has pretty improved compared to your picture ;-) )

Wen I quit the installer and rerun it it skips the extraction of the lupq-511.sfs, it then creates the grldr.mbr and grldr files, but no menu.lst.

I added menu.lst manually and also the boot entry manually using bcdedit, then it booted without problem.

Hm, one thing I noticed is that I had no sound on the 2 windows machines (no woof woof), but that is probably completly unrelated.

noryb009
Posts: 634
Joined: Sat 20 Mar 2010, 22:28

#34 Post by noryb009 »

Hm, one thing I noticed is that I had no sound on the 2 windows machines (no woof woof), but that is probably completly unrelated.
Yes, this was a problem in 511, but it's fixed in 520 beta.

teasiu
Posts: 13
Joined: Wed 19 Jan 2011, 12:05

#35 Post by teasiu »

noryb009,

Thanks for your installer.

I had made it succesful in puppy511 and puppy520.

and I had plused a message in grub4dos.

It's very beautiful.

Code: Select all

#menu.lst
    SetOutPath "C:\"
    file "C:\Puppy Linux Installer Creator\menu.lst"
    FileOpen $0 "C:\menu.lst" w ;Opens a Empty File and fills it
    FileWrite $0 'timeout=10$\r$\n'
    FileWrite $0 'default=0$\r$\n'
    FileWrite $0 'gfxmenu /${INSTALL_DIR}/message$\r$\n'  ;plus in here
    FileWrite $0 'title ${PRODUCT_NAME} ${PRODUCT_VERSION}$\r$\n'
    FileWrite $0 'find --set-root --ignore-floppies /${INSTALL_DIR}/initrd.gz$\r$\n'
    FileWrite $0 'kernel /${INSTALL_DIR}/vmlinuz psubdir="${INSTALL_DIR}"$\r$\n'
    FileWrite $0 'initrd /${INSTALL_DIR}/initrd.gz$\r$\n'
    FileWrite $0 'boot$\r$\n'
    FileClose $0 ;Closes the filled file]
and upgrade grub4dos to 0.4.5b
http://code.google.com/p/grub4dos-chena ... loads/list

windows installer.exe in http://www.minilinux.net/node/1649.

But, I just known how to plus in menu.lst
I do not known how to fix it in uninstall,
Can you help?

thanks.

Image
Last edited by teasiu on Thu 20 Jan 2011, 21:05, edited 3 times in total.

noryb009
Posts: 634
Joined: Sat 20 Mar 2010, 22:28

#36 Post by noryb009 »

Hi teasiu!

Because gfxmenu is only at the top, you only need it once (Therefore, you don't need any extra code in the uninstall menu). Try this:

Code: Select all

#menu.lst 
    SetOutPath "C:\" 
    file "C:\Puppy Linux Installer Creator\menu.lst" 
    FileOpen $0 "C:\menu.lst" w ;Opens a Empty File and fills it 
    FileWrite $0 'timeout=10$\r$\n' 
    FileWrite $0 'default=0$\r$\n' 
    FileWrite $0 'gfxmenu /${INSTALL_DIR}/message$\r$\n'
    FileWrite $0 '$\r$\n'  
    FileWrite $0 'title ${PRODUCT_NAME} ${PRODUCT_VERSION}$\r$\n' 
    FileWrite $0 'find --set-root --ignore-floppies /${INSTALL_DIR}/initrd.gz$\r$\n' 
    FileWrite $0 'kernel /${INSTALL_DIR}/vmlinuz psubdir="${INSTALL_DIR}"$\r$\n' 
    FileWrite $0 'initrd /${INSTALL_DIR}/initrd.gz$\r$\n' 
    FileWrite $0 'boot$\r$\n' 
    FileClose $0 ;Closes the filled file
By the way, is the GRUB4DOS you linked to english? Do you think it would be better if I used that?

teasiu
Posts: 13
Joined: Wed 19 Jan 2011, 12:05

#37 Post by teasiu »

Hi, Noryb.
Thanks for your reply.

The GRUB4DOS link is English & Chinese.
It's support in 2 languages.

GRUB4DOS0.4.5b is very very powerful then 0.4.4.

take a look:
2011-01-16 clear preset_menu before enter_cmdline. uncomment the required "default entry number" resolving code(stage2.c).

2011-01-15 trying to fix ELF executable loading problem(issue 14).

2011-01-07 applied karyonix's patch (issue 9: fix geometry_tune function)

2011-01-07 applied Roy's patch(supported packed DR-DOS).

2010-12-29 applied Roy's patch(fixed build issue).

2010-12-25 applied Roy's patch(issue 13: fix autoconf and gcc issues in Linux).

2010-12-11 (r73)applied karyonix's patch(issue 11: Wrong data read USB)

2010-11-30 (r69)applied karyonix's patch(support lzma decompression).

2010-12-07 (r68)applied karyonix's patch(issue 9).

2010-11-15 improved ACPI halt code(patched by zw2312914,Thanks for MR.rockrock99 and MR.xianglang reports their different and special hardware response mechanism ).

2010-11-04 finally fixed the ACPI halt failure on AMI netbook(by commenting out ACPI-enable code).

2010-11-03 partially go back to ACPI halt code of 2010-10-29.

2010-11-02 deleted a duplicate code snip which could cause halt failure.

2010-10-31 fixed the find issue. changed ACPI halt code(based on zw2312914).

2010-10-29 improved ACPI halt code(patched by zw2312914).

2010-10-22 fixed AMI netbook gray-screen-of-death problem on halt.

2010-10-19 allow BSD primary partitions to be made active.

2010-10-12 fixed grub.exe issues when booting off Linux/kexec. Only comments added compared to 2010-10-11.

2010-10-11 try to fix grub.exe issues when booting off Linux/kexec(enabled system timer 0 init).

2010-10-09 try to fix grub.exe issues when booting off Linux/kexec(enabled writing ELCR port 4D0/4D1).

2010-10-08 try to fix grub.exe issues when booting off Linux/kexec(enabled coprocessor init by writing port F0/F1).

2010-10-07 try to fix grub.exe issues when booting off Linux/kexec(disabled writing ELCR port 4D0/4D1).

2010-10-04 improved halt with ACPI. try to fix grub.exe issues when booting off Linux/kexec(by sending 100 EOIs to PICs).

2010-09-22 let chainloader recognize isolinux.bin 4.02.

2010-09-19 added support for 800x600 graphics mode(SVGA mode 6A).

2010-08-09 improved CHS probing code of map command on ISO9660 images.

2010-08-04 finally find out the missing-extended-partition problem is caused by a gcc bug, and workarounds are created.

2010-07-25 re-enabled the extended partition with logical partitions in disorder.

2010-07-24 patch by chenall: cat --length=0 will return the size of the compressed file if it is gzipped; fix memory-not-enough problem when mapping a gzipped memory-file with a high compression ratio.

2010-07-23 improved next_pc_slice() to cope with the partition-loop problem.

2010-07-22 try to solve the problem of missing Linux extended partitions in Tab-completion.

2010-07-21 improved next_pc_slice() to cope with the partition-loop problem.

2010-07-20 changed code about pxe_basemem to solve the problem that pxe_unload fail to release memory.

2010-07-12 fixed a bug in guess_dos_versions(for DOS executable grub.exe).

2010-06-21 applied bean's patch(supported new (ud) device created with fbinst1.6).

2010-06-09 applied karyonix's patch(fixes on grub_read and blocklist).

2010-06-07 adjusted probe_int(dosstart.S) to deal with HP DV3-2309TX on its garbage int76 vector.

2010-06-03 adjusted restore_BDA_EBDA(dosstart.S) to deal with HP on its garbage EBDA size byte.

2010-05-31 unhook int13 before hooking it in load_initrd() to avoid duplicate hooking.

2010-05-29 resolved conflict between drives_addr and mmap_addr for multiboot kernels.

2010-05-27 adjusted probe_int(dosstart.S) to deal with DELL on its garbage int05 vector.

2010-05-23 change /main.lst back to /menu.lst, and the original /menu.lst dir to /menu for pxe booting.

2010-05-21 changed initial config filename from /menu.lst to /main.lst for pxe booting.

2010-05-19 fixed problem of mapping small file(<512B) to (rd).

2010-05-15 added --keep-pxe option for grub.exe running under DOS.

2010-05-14 (chenall)fixed ntfs small file(<4KB) access problem.

2010-05-13 added --off option for hiddenmenu. added nokeep subcommand for pxe. let halt return on failure.

2010-05-03 hopefully non-linux kernels could get loaded now. version number changed to 0.4.5b.

2010-03-14 fixed problems in set_bootdev and others.

2010-03-13 fixed a (possible)bug in init_pic(affect grub.exe as a linux kernel format). applied Icecube's patch(curr_part_start).

2010-01-22 applied karyonix's patch(PAE).

2010-01-07 fixed problem of "command-line length limited to 15" on external executables.

2010-01-03 applied karyonix's patch(PAE paging).

2010-01-02 applied karyonix's patch(map improvements).

2009-12-30 fixed the failed find. note that the kernel command could hang while loading non-linux kernels, which is a known bug on newish 0.4.5 versions.

2009-12-28 initial implementation of program execution. fixed a bug causing FAT16 search hang(grldrstart.S). version number changed to 0.4.5a.

2009-12-12 moved up 32-bit grub kernel code at above physical addess 3M. moved down buffer for dd and geometry-tune at 0x20000. moved down raw disk buffer at 0x30000. version number changed to 0.4.5.

2009-12-02 (chenall)fixed a bug in color_func(builtins.c).

2009-12-01 (chenall)fixed a bug which caused dd/write to write onto the wrong sector of the disk(fsys_ntfs.c).

2009-11-29 (chenall)fixed a bug when using (md) to access memory at 2G and above(bios.c). improved memmove64 to support overlap(asm.S).



2009-11-25 Caution! Reports say build 2009-11-08 and later will write wrong data onto disk when using dd and/or write commands.



2009-11-13 (chenall)added --replace option for cat. This will write to file. Caution!

noryb009
Posts: 634
Joined: Sat 20 Mar 2010, 22:28

#38 Post by noryb009 »

teasiu: Thanks for that info!

ICPUG
Posts: 1308
Joined: Mon 25 Jul 2005, 00:09
Location: UK

#39 Post by ICPUG »

teasiu

Do you have any details of the status of grub4dos that you have linked to here?

Is it a beta? Is it a fork (by chenall)?

Where is the home page of the project now?

A google search simply leads me to:
gna.org/projects/grub4dos/
but stops with the formal issue of 0.4.4 in March 2009

teasiu
Posts: 13
Joined: Wed 19 Jan 2011, 12:05

#40 Post by teasiu »

ICPUG wrote:teasiu

Do you have any details of the status of grub4dos that you have linked to here?

Is it a beta? Is it a fork (by chenall)?

Where is the home page of the project now?

A google search simply leads me to:
gna.org/projects/grub4dos/
but stops with the formal issue of 0.4.4 in March 2009
ICPUG, hi

I had asked chenall himself just few hours ago.
http://bbs.wuyou.com/viewthread.php?tid=185859

please mark these sites:
The GRUB4DOS source home page is:
http://grub4dos-chenall.googlecode.com
and another download page is:
http://nufans.net/grub4dos/tinybit

chenall can also managerment the site of gna.org/projects/grub4dos/
but just upload the stable code.

more details please download it and see the readme.txt.

teasiu
Posts: 13
Joined: Wed 19 Jan 2011, 12:05

#41 Post by teasiu »

noryb009 wrote:Hi teasiu!

Because gfxmenu is only at the top, you only need it once (Therefore, you don't need any extra code in the uninstall menu).

Hi Noryb,

I am learnning the NSI script these days, and may a nice look in the installer welcomepage.

Code: Select all

!define MUI_ICON "C:\Puppy Linux Installer Creator\Puppy Linux Install.ico"
!define MUI_UNICON "C:\Puppy Linux Installer Creator\Puppy Linux Uninstall.ico"
#!define MUI_ICON "${NSISDIR}\Contrib\Graphics\Icons\modern-install.ico"
#!define MUI_UNICON "${NSISDIR}\Contrib\Graphics\Icons\modern-uninstall.ico"
!define MUI_WELCOMEFINISHPAGE_BITMAP "C:\Puppy Linux Installer Creator\ppp.bmp"
!define MUI_WELCOMEPAGE_TITLE "\r\n XXXXXXXXXXXXXX"
!define MUI_WELCOMEPAGE_TEXT "\r\n 1
Attachments
1111.PNG
(126.11 KiB) Downloaded 4077 times

ICPUG
Posts: 1308
Joined: Mon 25 Jul 2005, 00:09
Location: UK

#42 Post by ICPUG »

teasiu,

Thanks for the additional info.

It would seem from the comment file here:
http://nufans.net/grub4dos/tinybit
that the existing grub4dos updates are development versions.

If tinybit is involved then I guess we have a mainstream development and not a fork - tinybit created grub4dos originally before bean got involved when Ubuntu wubi was being developed.

Thanks for the links and your input to the Puppy community. I will now be following both with interest.

noryb009
Posts: 634
Joined: Sat 20 Mar 2010, 22:28

#43 Post by noryb009 »

teasiu: Thank you so much! You've given me ideas, and helped me get back into this project!

Anyways, I'll be uploading 1.1 later today. It will fix windows vista/7 64-bit, and have better organized code. :D

teasiu
Posts: 13
Joined: Wed 19 Jan 2011, 12:05

#44 Post by teasiu »

noryb009 wrote:teasiu: Thank you so much! You've given me ideas, and helped me get back into this project!

Anyways, I'll be uploading 1.1 later today. It will fix windows vista/7 64-bit, and have better organized code. :D
wait for your good CODE.

By the way , I will translate your codes in SimpChinese and push it online.

amigo
Posts: 2629
Joined: Mon 02 Apr 2007, 06:52

#45 Post by amigo »

My understanding is that chenall is the current maintainer. bean is busy working on wee -and even more 'burg'

noryb009
Posts: 634
Joined: Sat 20 Mar 2010, 22:28

#46 Post by noryb009 »

I've attached 1.1 beta. Please test.

Please reply if you test it on 32 bit vista/7 or 9x, or if it doesn't work.

Fixes:
- windows vista/7 64 bit support
- added pfix=fsck to default boot option
- added "do not load save file" option in GRUB4DOS menu
- organized code
- you can now unzip this to anywhere (It must be a windows drive, so you can't use /root/, unless you mount it in wine)
- customized installer

teasiu
Posts: 13
Joined: Wed 19 Jan 2011, 12:05

#47 Post by teasiu »

Hi, noryb009

I build it on Nullsoft install system v2.45 on win7-32,
building is ok , but the Installer doesn't work,

It stop on halfway.
Attachments
11.PNG
installer
(45.32 KiB) Downloaded 3708 times

teasiu
Posts: 13
Joined: Wed 19 Jan 2011, 12:05

#48 Post by teasiu »

And I would like to Recommend the gfxmenu mesaage to you.

To edit it , you can see here:
http://diddy.boot-land.net/grub4dos/files/gfxmenu.htm
Attachments
back.jpg
(9.31 KiB) Downloaded 3565 times

noryb009
Posts: 634
Joined: Sat 20 Mar 2010, 22:28

#49 Post by noryb009 »

teasiu: Thanks for testing, it seems my 64 bit fix broke the 32 bit. I've fixed it in 1.1 beta 2 (attached)

I'll look into gfxmenu for 1.2 (maybe 1.1)

noryb009
Posts: 634
Joined: Sat 20 Mar 2010, 22:28

#50 Post by noryb009 »

Wow - the gfxmenu is awesome! Thank you so much! I'll add it to 1.1.

Post Reply