10/15/2013

A small tutorial for BOOTICE Users...

Update: Hi Friends,
Because, Bootice can be used to do so many things,
This is Why, This question is really important.
How to use Bootice, to do what? Like,
* How to fix `missing BOOTMGR` problem while booting Windows OS
* Which MBR (Master Boot Record), should i be using, to boot windows OS
* Which PBR (Partition Boot Record), should i be using, to boot windows OS
* Do We can use Bootice in Window PE Environment
* How to Format Disk/USB
* How to Format Given Partition of Given Disk/USB
* How to Mount other Partition of Multi-Partition USB Drive
* How to create Multi-Boot USB using Bootice
* How to edit `menu.list` File for GRUB4DOS
* How to Mark Given Partition of Given Drive as Active (apply Boot Flag)
* How to mount/dismount, Given Partition of Given Disk/USB
* How to Hide/UnHide, Given Partition of Given Disk/USB
* How to Change Drive Letter of pre-mounted Partition
* How to remove unwanted Boot Menu Entries from BCD
* How to remove unwanted Boot Menu Entries from UEFI
* How to Boot some OS from VHD/VHDX
* How to add recovery mode Boot Entry into BCD/UEFI
* How to add GRUB4DOS/GRUB2 Boot Entries into BCD/UEFI (Used by most Linux OS)
* Using Bootice with Command Line to Automate some Things

Please, Do comment so i can focus on what my friends are looking for?
Thanks ..

10/11/2013

How to boot slax7 from USB


Slax 7 is a very tiny, highly portable and Slackware based live Linux operating system.





# INDEX #
#1. Why use SLAX.
#2. how slax is highly portable.
#3. how to boot SLAX from USB.
#4. Introduction to Slax tree structure.
#5. Boot slax7 as a live CD media from ISO file.
-->> use map command of grub4dos
-->> use --mem option for fast booting as well as for fast working with map command.


#1. Why Use SLAX.
SLAX is highly potable, small Linux operating system with nice GUI. As SLAX 7.08 is only 220 MB, but this comes with a wide collection of pre-installed software for daily use.

#2. How SLAX is highly Portable.
Slax gives you the power of thousands of modules which you can download from the official website of SLAX, if you are going to use slax modules than you can install any software into live mode of slax also you do not need to configure and make it install.

You just need to copy and paste the module file into the module folder of SLAX LIve USB or EDIT the live ISO of slax using any ISO editor program and add as much modules as you wish into your live SALX CD Media.

#3. How to boot SLAX from USB.
Booting slax from a USB is good choice because it gives you more power if you are running it from a CD Media.
There are many software available on internet so that you can make a live boot-able USB for slax or any other Linux OS.
but I am going to revise the default way which comes with the live ISO of slax, means in case of slax you do not need to download any of software to make a live USB for SLAX.

~1. Extract the content of SLAX Live ISO to root of your USB Media.
~2. change the working directory to-
/slax/boot

#4. Introduction to Slax Root directory tree structure.
~ take a look of tree structure of SLAX LIVE CD.


\---slax            
    |   01-core.sb       # file  required for proper functioning of slax operating system #
    |   02-xorg.sb
    |   03-kdeps.sb
    |   04-kde.sb
    |   05-kapps.sb
    |   06-devel.sb
    |   07-ffox.sb
    |
    +---boot
    |       CHANGELOG
    |       bootinst.bat  # run this file into windows with admin rights, to make That USB boot-able from you run this script.
    |       bootinst.sh    # run this file into Linux with root user permission, to make That USB boot-able from you run this script.
    |       bootlogo.png     # Default logo of SLAX which will you see when we run SLAX.
    |       extlinux.exe      # this is useful if you plan to boot slax from EXT/2/3/4 file-system, slax works very fast if you use one of these Linux live file-system.
    |       help.txt
    |       initrfs.img       # Initial RAM Disk for SLAX.
    |       isolinux.bin
    |       isolinux.boot
    |       makeiso.sh       # Linux executable to make a ISO file-system from files or directory.
    |       mbr.bin
    |       memtest         # kernel executable for RAM testing.
    |       pxelinux.0      # for PXE booting ( Run slax from INTERNET/LAN ) .
    |       runadmin.vbs
    |       samedisk.vbs
    |       syslinux.cfg     # SLAX boot configuration file.
    |       syslinux.com
    |       syslinux.exe      # syslinux boot-loader installer executable. works fine with FAT/NTFS/...
    |       vesamenu.c32      # syslinux kernel image.
    |       vmlinuz         # SLAX kernel file.
    |       zblack.png
    |
    +---changes        # you can monitor all changes made to slax live system in this directory.
+                   if you run slax from a non-Linux file-system than there will be a file, named "changes.dat"
+ or if you are a Linux user than all changes will be into this directory, no loop device.
    +---modules        # place your all modules in this directory so that they will automatically installed into slax live mode.
    \---rootcopy

#5. Boot slax7 as a live CD media from ISO file.
-->> use map command of grub4dos



~ Add this Grub4DOS configuration script into the menu.lst file.

title Run SLAX as Live CD
find --set-root /identity--slax.txt
map /slax/slax7.iso (hd32)
map --hook
root (hd32)
kernel ()/slax/boot/vmlinuz prompt_ramdisk=0 rw printk.time=0 from=/slax/slax7.iso slax.flags=xmode
initrd ()/slax/boot/initrfs.img

# Here I am using a file named "identity--slax.txt" which is a blank text file and help us to find the perticular partition of USB where SLAX files resides.
# One more thing that i want to tell you is that here I am not running slax from the root of USB, here I am running Slax from a given folder named "slax" so you have to tell this to SLAX kernel so that it forget about the default SLAX boot-parameters and works with the new one that are defined by you.

# "changes=/slax/slax"



#kernel ()/slax/boot/vmlinuz prompt_ramdisk=0 rw printk.time=0 vga=773 from=/slax/slax7.iso slax.flags=xmode,perch

# Perch , enable the feature of live filesystem monitoring so that any changes made to SLAX Live file-system will be saved in the "/slax/changes" folder, if you run slax from USB.


-->> use --mem option for fast booting as well as for fast working with map command.

title Run SLAX as Live CD (RAM MODE)
find --set-root /identity--slax.txt
map --mem /slax/slax7.iso (hd32)
map --hook
root (hd32)
kernel ()/slax/boot/vmlinuz prompt_ramdisk=0 rw printk.time=0 vga=773 from=/slax/slax7.iso slax.flags=xmode changes=/slax/slax
initrd ()/slax/boot/initrfs.img



That's all about, Slax booting from USB (Basics).....

10/07/2013

How to fix the infected USB drive. only shortcut of content is visible


first of all allow your system to view each and every folder and file, including Hidden and system files also.



In second step delete all the files and shortcut present at the root of USB drive.
but remember not to delete the HIdden folder which have no name.


now in fixing process, you just cut all the content inside this Hidden folder (no name) and paste that content to the root of your USB.
that's it..





If some files are with system and hidden attributes than run this command.

attrib -s -h /s /d

That's , we done..

10/01/2013

Blender Boot Linux OS, How to Boot from USB


Blender Boot is a Ubntu based Linux distribution with a set of some pre-configure Linux most popular software such as Blender , Gimp , etc... and with a nice GUI interface.

Blender boot OS can directly be run from Usb in live mode or either you can install it onto your system internal hard drive/USB drive.
when first time i have create a boot-able Usb for Blender than I face some problems, that's why i am going to post something about this.



INDEX;-
# Popular apps compiled with Blender Boot OS.
# Why Blender is a useful Linux distro.
# How to make a bootable USb for Blender Boot USB. ( manually )
# How to boot Blender Boot OS from a particular sub-directory of USB Drive.
# Booting blender from your system internal hard drive. ( without installing )
# What Problems you can face while you boot Blender OS first time.
# chain-loading blender using grub4dos.



#1. list of popular application with Blender Boot OS.;-
~ Blender
~ Gimp 2.8
~ Drop BOX
~ Ubntu ONE
~ Google Chrome browser
~ PDF reader
~ VLC media player
~ Avidemux video editor
~ and much more.........

#2. Blender boot specially designed for fast rendering if you are going to render your animation movie using Blender.
of-course this OS takes less time for rendering a sample animation movie and works fast.

#3. How to make a boot-able USb for Blender Boot USB. ( manually );-
1. Download Bootice latest version.
2. Download Blender Boot OS. ( http://www.blenderboot.com/ )
or
http://sourceforge.net/projects/blenderboot/

3. format your USB drive as FAT32 file system.
4. copy the content of Blender Boot is to your Usb drive.

<<--  Installing boot-loader and activating USB drive partition. -->>
5. Run Bootice as Admin rights/access.
 process PBR >>  select your USB drive and than Install "SYSLINUX" to your USB drive PBR boot code.

<<-- some editing in BOOT configuration file. -->>
6. copy and paste the file, isolinux.cfg as syslinux.cfg to root of your USB drive.
7. boot your PC / Laptop from USB.
8. Live session login user: live password:(no password)

<< never forget to select XFCE desktop environment before logging into live Blender OS >>>
You have done,,,, now try to boot.

#4. How to boot Blender Boot OS from a particular sub-directory of USB Drive.;-
#5. Booting blender from your system internal hard drive.;-
" if you are going to set-up more than one Linux OS to boot from your system internal hard drive than you want to boot your Linux disro from a particular sub-directory of your system partition."
1. follow the steps same as above up to 6 steps.
2.
3.
4.
5.
6.

7. we need to add some kernel boot parameters into boot configuration file for PBR boot loader , in this case we are using syslinux therefore we have to edit the syslinux.cfg file.

8. Here we have have to add a kernel boot parameter so that kernel will load the live file system from your defined directory, in this Tutorial I am gong to blender from a directory named as "blender"
so I should use this kernel boot parameter,

live-media-path=/blender/casper/

~ this boot parameter tell to kernel about the sub-directory where live file system files are placed.
~ this boot parameter depends upon the kernel version of Linux you are going to use.(mostly)

9. If you take a look at root tree of Blender Boot OS, than you can see-
|   README.diskdefines
|   md5sum.txt  <<-- rename this file to blender-os ,
|                     this will help us if we are going to boot using Grub4dos -->>
|   ubuntu
+---.disk
|       base_installable
|       cd_type
|       info
|       release_notes_url
+---casper
|       README.diskdefines
|       filesystem.manifest
|       filesystem.manifest-desktop
|       filesystem.size
|       filesystem.squashfs   <<-- live file system for Blender Boot OS -->>
|       initrd.gz             <<-- Initial RAM disk file which will be loaded with Kernel -->>
|       vmlinuz               <<-- Blender Boot OS kernel -->>
|
+---install
|       memtest              <<-- memtest utility -->>
|
+---isolinux
|       boot.cat
|       isolinux.bin
|       isolinux.cfg   <<-- Need to rename this into " syslinux.cfg "
|                          and move to root directory along with "vesamenu.c32" and "splash.png" -->>
|       splash.png
|       vesamenu.c32
|
\---preseed
        custom.seed

10. now syslinux configuration will looks like this;-

label live
  menu label live - boot the Live System
  kernel /blender/casper/vmlinuz
  append  initrd=/blender/casper/initrd.gz live-media-path=/blender/casper/ boot=casper  splash --


11. Save the syslinux.cfg file.
now try to boot.....

#6. What Problems you can face while you boot Blender OS first time.;-
1. First time when you boot blender OS from USB than never forget to select XFCE Desktop Environment and after that you will be able to logging into Blender OS.
2. If you are a Live User than you have to use "live" as user name with no password.
3. If you save your work on to NTFS file system than it will may be corrupt, if you shut down your  PC immediately.
4. So if you want to save your work than use FAT32 file-system.


#7.  chain-loading Blender OS using grub4dos.;-
1. Install Grub4dos to PBR boot codes of your memory device partition using BOOTICE.
2. copy "grldr" file to root of your memory device partition.
3. create a configuration file for Grub4dos, by default name will be "menu.lst"
<< menu.lst  ,not menu.lst.txt >>

4. copy and paste the code;-

title blender boot-user-live with no password\n select the xfce live session on login screen and than use user name as "live" with no password.
find --set-root /blender-os.txt
kernel  /blender/casper/vmlinuz  boot=casper ignore_uuid live-media-path=/blender/casper/ splash --
initrd  /blender/casper/initrd.gz
boot

# I use blender-os.txt file just for ease to make a understandable grub4dos config file, also this is blank text file.. helps when you have a multipart-multiboot usb stick..

5. Join Blender Forum if you like this project...
http://blenderworld.forumotion.com/


enjoy....