Jump to content











Danixu's Content

There have been 14 items by Danixu (Search limited from 22-April 14)


Sort by                Order  

#187828 UEFI grub and chainload to Syslinux

Posted by Danixu on 01 October 2014 - 03:10 PM in Boot from USB / Boot anywhere

i'm trying to do a multiboot Pendrive, maybe i can migrate all to grub2 instead the use syslinux. I'm using syslinux because is what i've started to use, but if grub works better then i can try to migrate. Even i'm using grub to load the XP ISO because there's no way to do it with syslinux...

 

Thanks for reply. I'll post with the results ;)




#187825 UEFI grub and chainload to Syslinux

Posted by Danixu on 01 October 2014 - 01:59 PM in Boot from USB / Boot anywhere

Hi, first of all i'm sorry for my english.

 

My question is about if there are any way to chainload to syslinux, using grub loaded in UEFI or if there are any way to load syslinux directly with UEFI.

 

I've tried to find something in google but no luck, and i''ve tried to chainload to syslinux using the "syslinux.bin" file.

 

I've installed syslinux with "bin" file and here's the entry i'm using:

menuentry "Start Syslinux" {
    chainloader /multiboot/syslinux.bin
}

and i't works, it shows the menu with that entry but dont boot from syslinux, shows an error loading the file.

 

The pendrive has syslinux loader installed and works perfect on bios system, but i want to make it compatible with new UEFI systems.

 

Please, don't post any program to do it automatically. I want to learn how to do it manually, to use in a program in which I am working

 

Thanks!!




#187708 Boot a Pendrive from Qemu

Posted by Danixu on 23 September 2014 - 09:55 PM in Boot from USB / Boot anywhere

of course you can use it. 

cheers

Steve

P.S. Some other code you may find useful here

 

Thanks again!!!.

Yeah, i've found some code in vbs. I've edited the batch and the vbs to work together, and now i can call the batch with physicaldrive number or just with the letter.

 

Tomorrow i'll post the code. Maybe someone will find it useful ;)

 

Greetings!!




#187700 Boot a Pendrive from Qemu

Posted by Danixu on 23 September 2014 - 05:54 AM in Boot from USB / Boot anywhere

Finally works, but with your quemu version. I don't know why with the lastest version don't.

 

Thanks for all your help!!! now i've to learn how to get the physicaldrive number with drive letter :lol:

 

Greetings!!

 

Edit: I've found it:

 

Creating a vbs sript with this:

if WScript.Arguments.Count = 0 then
    WScript.Echo "Missing parameters"
else
    strComputer = "."
    Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")

    Set colDiskDrives = objWMIService.ExecQuery("SELECT * FROM Win32_DiskDrive")
    
    For Each objDrive In colDiskDrives
        'Wscript.Echo objDrive.DeviceID & Wscript.Arguments.Item(0)
        Device = objDrive.DeviceID
        strDeviceID = Replace(objDrive.DeviceID, "\", "\\")
        Set colPartitions = objWMIService.ExecQuery _
            ("ASSOCIATORS OF {Win32_DiskDrive.DeviceID=""" & _
                strDeviceID & """} WHERE AssocClass = " & _
                    "Win32_DiskDriveToDiskPartition")
    
        For Each objPartition In colPartitions
            Set colLogicalDisks = objWMIService.ExecQuery _
                ("ASSOCIATORS OF {Win32_DiskPartition.DeviceID=""" & _
                    objPartition.DeviceID & """} WHERE AssocClass = " & _
                        "Win32_LogicalDiskToPartition")
    
            For Each objLogicalDisk In colLogicalDisks
                if Wscript.Arguments.Item(0) = objLogicalDisk.DeviceID then
                    Wscript.Echo Device
                end if
            Next
        Next
    Next
end if

Then runing this command:

cscript /NoLogo script.vbs i:

i get the physical drive number:

\\.\PHYSICALDRIVE2

One question: Can i use your qemu and part of your batch file in my proyect?

 

Greetings




#187695 Boot a Pendrive from Qemu

Posted by Danixu on 22 September 2014 - 10:22 PM in Boot from USB / Boot anywhere

Ok. Tomorrow i will do some tests ;)

 

Thanks again!!




#187693 Boot a Pendrive from Qemu

Posted by Danixu on 22 September 2014 - 10:17 PM in Boot from USB / Boot anywhere

Thanks for reply... but don't works :mellow:. I don't know what's the problem because it don't show any error, only close.

 

I'm trying to do fully automatic, then i need to make it work with a command line.

I Will try with Vbox+Vmub. Maybe i will learn how to do it ;)

 

Thanks!!




#187691 Boot a Pendrive from Qemu

Posted by Danixu on 22 September 2014 - 10:03 PM in Boot from USB / Boot anywhere

Hi, first of all i'm sorry for my english.

 

I've one question about testing bootable pendrives with qemu. I've searched a lot in google and all i can find is examples like:

 

qemu.exe -L . -M pc -localtime -boot c -hda \\.\physicaldrive1

qemu.exe -L . -hda x:

qemu.exe -L . -hda \\.\physicaldrive1

....

 

but in all the qemu starts an closes in less than a second (don't show the window). Someone knows a working command to test USB drives?

 

I've tried without any command and qemu starts, then qemu is working...

 

Thanks!!

 




#187456 TestDisk & PhotoRec

Posted by Danixu on 14 September 2014 - 04:43 PM in App Scripts

Posted Image

File Name: TestDisk & PhotoRec
File Submitter: Danixu
File Submitted: 14 Sep 2014
File Updated: 14 Sep 2014
File Category: App scripts

This scripts allow to add the TestDisk & PhotoRec to our project. It downloads the lastest version from internet and then add it to our project. It needs to allow the connection to internet, because uses a custom downloader (made by me).

If you have any problem with download, you can go to TestDisk webpage and download the Windows package (Normal Windows, don't use x64 version). Then copy the file to "%GlobalTemp%\TestDisk & PhotoRec\Testdisk.zip" and the script should detect the file and avoid the download.

Personally, I've to say about both programs that are extraordinary because with Testdisk i've recovered a lost partition easily, and after recover the filesystem all files still working fine, and with PhotoRec i've recovered files from about 6 years old from a Camera SD card (i've not looking for that files, but is good).

For now only have the x86 version for both PE system, because x64 version have some lost features, like full ext2/3/4 support.

Info:
TestDisk is powerful free data recovery software! It was primarily designed to help recover lost partitions and/or make non-booting disks bootable again when these symptoms are caused by faulty software: certain types of viruses or human error (such as accidentally deleting a Partition Table). Partition table recovery using TestDisk is really easy.
TestDisk can
  • Fix partition table, recover deleted partition
  • Recover FAT32 boot sector from its backup
  • Rebuild FAT12/FAT16/FAT32 boot sector
  • Fix FAT tables
  • Rebuild NTFS boot sector
  • Recover NTFS boot sector from its backup
  • Fix MFT using MFT mirror
  • Locate ext2/ext3/ext4 Backup SuperBlock
  • Undelete files from FAT, exFAT, NTFS and ext2 filesystem
  • Copy files from deleted FAT, exFAT, NTFS and ext2/ext3/ext4 partitions.
TestDisk has features for both novices and experts. For those who know little or nothing about data recovery techniques, TestDisk can be used to collect detailed information about a non-booting drive which can then be sent to a tech for further analysis. Those more familiar with such procedures should find TestDisk a handy tool in performing onsite recovery.

PhotoRec is file data recovery software designed to recover lost files including video, documents and archives from hard disks, CD-ROMs, and lost pictures (thus the Photo Recovery name) from digital camera memory. PhotoRec ignores the fi



#187444 Recuva

Posted by Danixu on 14 September 2014 - 11:23 AM in App Scripts

Posted Image

File Name: Recuva
File Submitter: Danixu
File Submitted: 14 Sep 2014
File Category: App scripts

This scripts allow to add the Recuva Recover to our project. It downloads the lastest version from internet and then add it to our project. It needs to allow the connection to internet, because uses a custom downloader (made by me).

If you have any problem with download, you can go to Recuva webpage and download the 7zip package. Then copy the file to "%GlobalTemp%\Recuva\Recuva.zip" and the script should detect the file and avoid the download.

Info:
Accidentally deleted an important file? Lost something important when your computer crashed? No problem! Recuva recovers files deleted from your Windows computer, Recycle Bin, digital camera card, or MP3 player. And it's free!

Undelete files on your computer

Deleted a file by mistake? Recuva brings lost files on your computer, USB drive, camera or iPod.

Recovery from damaged or formatted disks
Even if you've formatted a drive so that it looks blank, Recuva can still find your files on it.

Recover deleted emails
Emptied your email trash and need it back? Recuva's got you covered with full support for Microsoft Outlook Express, Mozilla Thunderbird, or Windows Live Mail.

Recover deleted iPod music
Deleted music from your iPod or MP3 player? No problem, Recuva will get this back for you along with any additional track data.

Restore unsaved Word documents
Did Microsoft Word crash or did you forget to save that important Word document. No problem with Recuva! As it can intelligently rebuild Word documents from their temporary files.

Quick-Start Wizard
If you need your files back right away without fiddling with options, Recuva's Quick-Start Wizard is the answer.

Deep Scan
Recuva can find most files within a minute. Or, set the Deep Scan to look for more deeply-buried results.

Securely delete files you want to erase forever
Want to protect your deleted files? Recuva also allows you to permanently erase any traces of deleted files.

Portable version
Take Recuva with you wherever you go with the portable version.



Please, report any bug.

Greetings!!

Click here to download this file



#187443 Notepad++

Posted by Danixu on 14 September 2014 - 11:18 AM in App Scripts

Posted Image

File Name: Notepad++
File Submitter: Danixu
File Submitted: 14 Sep 2014
File Category: App scripts

This scripts allow to add the Notepad++ file editor to our project. It downloads the lastest version from internet and then add it to our project. It needs to allow the connection to internet, because uses a custom downloader (made by me).

If you have any problem with download, you can go to Notepad++ webpage and download the 7zip package. Then copy the file to "%GlobalTemp%\Notepad++\Notepad++.7z" and the script should detect the file and avoid the download.

Info:


Notepad++ is a free (as in "free speech" and also as in "free beer") source code editor and Notepad replacement that supports several languages. Running in the MS Windows environment, its use is governed by GPL License.

Based on the powerful editing component Scintilla, Notepad++ is written in C++ and uses pure Win32 API and STL which ensures a higher execution speed and smaller program size. By optimizing as many routines as possible without losing user friendliness, Notepad++ is trying to reduce the world carbon dioxide emissions. When using less CPU power, the PC can throttle down and reduce power consumption, resulting in a greener environment


Please, report any bug.

Greetings!!

Click here to download this file



#187442 Defraggler

Posted by Danixu on 14 September 2014 - 11:12 AM in App Scripts

Posted Image

File Name: Defraggler
File Submitter: Danixu
File Submitted: 14 Sep 2014
File Category: App scripts

This scripts allow to add the Defraggler defragmenter to our project. It downloads the lastest version from internet and then add it to our project. It needs to allow the connection to internet, because uses a custom downloader (made by me).

If you have any problem with download, you can go to Defraggler webpage and download the portable version. Then copy the zip file to "%GlobalTemp%\Defraggler\Defraggler.zip" and the script should detect the file and avoid the download.

Info:
Use Defraggler to defrag your entire hard drive, or individual files - unique in the industry. This compact and portable Windows application supports NTFS and FAT32 file systems.

Defragment exactly what you want

Most defrag tools only allow you to defrag an entire drive. Defraggler lets you specify one or more files, folders, or the whole drive to defragment.

Safe and Secure
When Defraggler reads or writes a file, it uses the exact same techniques that Windows uses. Using Defraggler is just as safe for your files as using Windows.

Compact and portable
Defraggler's tough on your files – and light on your system.

Interactive drive map
At a glance, you can see how fragmented your hard drive is. Defraggler's drive map shows you blocks that are empty, not fragmented, or needing defragmentation.

Quick Defrag
Give your hard drive a quick touch-up with Quick Defrag.

Defragment free space
Organizes empty disk space to further prevent fragmentation.

Please, report any bug.

Greetings!!

Click here to download this file



#187400 Active Partition Tools 10.0.2

Posted by Danixu on 12 September 2014 - 10:27 PM in App Scripts

Posted Image

File Name: Active Partition Tools 10.0.2
File Submitter: Danixu
File Submitted: 12 Sep 2014
File Updated: 13 Sep 2014
File Category: App scripts

It's my first script. Suggestions are allowed.

The script adds a program called Active Partition Tools that allow to repair, recover and partitions, and recover files from damaged or deleted partitions.
This script allows to import the License from registry to use the full version.

By default the program is a Demo version. For License import, you have to install and register the program in your current PC, then check the "Use Installed License" and enjoy ;)

Info:
Active@ Partition Recovery is a freeware toolkit that helps you to recover deleted and damaged logical drives and partitions within DOS, Windows or Windows PE (boot disk) environment. Simple QuickScan easily detects and recovers recently deleted partitions, as long as they were not formatted / overwritten to after deletion. Advanced low-level SuperScan may detect partitions which were deleted a long time ago, even if you have created new ones and even formatted them!

You must download this file and place it in script folder to make it work,

Download:
https://mega.co.nz/#!DxA3AB7R!EHC4nwlTC2np8fyuX52bjxL2nxTXCeO8Xm-d-raZu08
http://www.mediafire.com/download/p808hx372i8xgq2/ActivePartitionTools_File_v2.script

Click here to download this file



#187393 Script to install program?

Posted by Danixu on 12 September 2014 - 08:25 PM in Support

The best you can do is:

  • Get the portable version of program (if exist) and use it in your project
  • Use a virtual machine to see the changes in registry with InstallRite or similar, then add that changes to script file, and of course the program files.

Is better in Virtual Machine using Virtualbox, because you can use a clean windows installation and make an screenshot to revert to clean state after all is done.

 

For example, i've done my first script and i've used a virtual machine with installrite to extract the registry, then i've used "reg2WBS" to convert that reg file to WinBuilder script language, i've compressed all files in a 7z file and i've created something like:

Hive_Load,Machine
reg_add,0x1,%reg%\Classes\FilePreview.Doc
reg_add,0x1,%reg%\Classes\FilePreview.Doc,,"FilePreview.Doc"
......................More Stuff here.................
Hive_Unload,Machine

To install the registry in target Live, and:

Unpack,Folder,ActivePartitionRecoveryEnterprise.7z,True,%Target_prog%,%ProgramFolder%
// Add_Shortcuts
Add_Shortcut,Desktop

To extract the 7zip into the project and create a shortcut in desktop.

 

This is the best form, because all is like it was installed and start faster.

 

Srry for my english, I hope this helps.




#156453 Duplicated images in USB

Posted by Danixu on 16 June 2012 - 09:46 AM in XBOOT

Hi friend, thanks for this program, but i've a question:

Why the program copy the images to USB in two folders? Maybe a bug?
For example, i've used that program to install Ubuntu X64 and I386 to a pendrive, and i get this:

Root folder (Normal):
Posted Image

Inside /images folder (Normal):
Posted Image

Inside /images/images folder (Duplicated but with different size):
Posted Image

I see in grub list file that only /images folder images is neccesary, then i think that maybe the other folder is a bug in program.

Thanks in advance