Thursday, April 11, 2019

UnetBootIn Utility

UnetBootIn an Update

1. Please note that Unetbootin works only on 32 bits ( I may be wrong).

2. It does not work on 64 bit computers.

3. I used AVLinux for preparing a USB Stick

4. Below are few of my OLD posts

 

Using Vinux booted Ping Eee on USB



I am posting this with Ping Eee booted from USB.
How I did it.
Steps.

1. Booted Vinux from my laptop (It has Pinguy with UnetBootIn, too).
2. Clicked UnetBootIn
3. Selected Ubuntu for Booting from Menu
4. Attached the Hard Disk mounted on USB enclosure (this was the hard disk I removed the other day when I upgraded my laptop with a 500 GiB SATA).
The partitions were formatted with Gparted with Knoppix Live On booted and the USB enclosure attached.
5. Loaded the DVD with multiple Linux images (copied previously)

6. Give the path for the image (Ping Eee on this occasion) in the DVD.
7. Selected Ping Eee and clicked OK after selecting the partition in hard disk where the live image should be installed, mounted on a tray/bay USB enclosure.
Partition used was not FAT but Ext 4.
8. Waited 10 Minutes for automatic installation of the Live Script.

9. Shut down Vinux and Restart with Internet cable attached.
10.Ping Eee up and running and Firefox activated and my fingers doing the rest.
I will Install Ping Eee if the laptop has a free partition but remember I stated above that I have already installed Pinguy (Not Ping Eee).
This post is to put the record straight and my previous post on UnetBootIn is now no longer valid and redundant.
The UnetBootIn has fixed most of the problems which I had when I booted PClinux on a Pendrive 3 months ago.
Thanks guys and girls who updated UnetBootIn and Vinux and Pinguy/Ping Eee for including UnetBootIn in the distribution.
I will load few more distributions in my USB hard disk for future installations On the move / On the fly.

It is cool and cute way Linux works for me.
Can Apple Mac match this feet?


UNetBootIn, How I did it?

If you have an old computer which does not boot from USB Flash Drive I have a solution for you. This applies to the third world and perhaps to the guys and girls of the developed world who are going through rough times and cannot afford a USB booting netbook or laptop or desktop. If you have a device which boots with USB, most of what of I state below may not apply to you except the principles. If you are buying anything new do not buy ones without USB booting.
I of course use old gadgets and my 233 speed with 128 RAM and 4 MB graphic is still working but painfully slow.
Also for the guys and girls of the developing world who have gone abroad looking for better pastures with all your parents’ saving and the parent no longer can support you on the second or third years.
All what you need is a Flash Drive and if you cannot afford that it is better you start looking for a menial job and rough out till times get better or they chase you out without extending the visa.
Once those universities sap all your money they have no use of you and start recruiting new batch for their own survival.
Education is money and money is education now in the developed world.
However world has not got better but worse with plenty of geeky gadgets around you, even I cannot afford them in my retirement age.
That is why I am turning to bare bones of computing and Linux utilities are there to get expensive work done with minimum of expenditure but lot of learning to do.
One must get out of the Microsoft plug and play mentality (i.e. even monkeys and dogs can be trained).
And nothing is plug and play even for Microsoft with so many new gadgets hitting the market and D.I.Y is one of the best ways to put your neck and nose ahead in the game of computing world.
Lot of time is necessary and risk taking is essential and above all experimenting. At worse you may ruin the partition table of the Flash drive which I have done.
Linux guys and girls are not there to spoon feed you and they are mostly doing it as a hobby with lot of work and midnight oil burning for their own survival.
But there are few professionals not many of course who are out there willing to help.
I am not a GuRu but an ardent supporter of Linux and a daily user of few outstanding Linux utilities.
UnetBootIn in one of them even though it has lot of teething problems.

For two years I have not looked at my Flash Drives with Live Linux distributions which were booting with my laptop but with none of my computers without USB booting facility.
Since my old IBM is ready for junkyard and power pack and mother board needing a rest period before the junkyard experience I went and bought a secondhand IBM in good working order with little amount of USB support but SATA hard disks.
As the testing period was over and it is doing my daily work and downloading at night, with the extended New year holidays I decided to go for the Acid Test of USB booting while doing lot of other things around the household.
This is my Final Report on UnetBootIn, may not be comprehensive but how I got it to do my work and used all my Flash drives for USB booting with or without USB booting facility of the other computers I have.
Ignore the top preamble and concentrate now.
I have no idea of how it works but this is how I figured it out with some basic idea about Linux booting practice with GRUB.
How I did it.
  1. Its kernel is less than one MiB  
2. Its init file is the biggest which is less than fifty MiB  
3. It has ID file
4. It has GRUB Menu (slash.msg for Pendrive Linux) 5. System configuration file  
6. Two text files names ubnfilel and ubpathl  
These seven files are necessary for its booting.
Rest of the files are distribution specific out of which livecd.sqfs file is the heaviest and the most important that boots up after initial GRUB sequence.
It has a boot folder and isolinux folder which are basic essentials for Linux booting.
Process has 3 essential steps.  
1. Downloading  
2, Extraction  
3, Booting (grub) sequence.
Most painful part is the downloading which can break at any moment because of the poor downloading here.
So I choose DSL my yesteryear favorite (50 MiB), Puppy 4.2 my very first USB Linux and parted Magic (158 MiB). Unfortunately gnome’s Gparted one of my favorite utility is not there in the listed distributions. I hope gnome will come out with Gparted enhanced with UnetBotIn in it’s 128 MiB distribution in the next revision.
Knoppix is not there but it is a different kettle of fish altogether with nearly 4 GiB of compressed files and the best heavy weight category and I am here with the light weight category, for now.
All three worked in the first instance but not PCLinux and Mepis. Then I wanted to try PCLinux (could not get it because all iso files are now torrents at Linuxtracker) and Mepis (broke at once at 200 and the second time at 850 MiB out of 925 MiB). Tried PCLinux from my hard drive but some important boot files were missing.
Failures on several occasions, I went into the experimental mode.
Prepare DSL for booting as usual or copy the files listed above to the intended Flash Drive.
Then go to the graphic item and distribution source and give the path for the file in my hard disk and click OK. Before that one should delete the sqfs file of DSL or Puppy (or overwrite only this file when prompted).
Then say NO to overwrite for all the files except the sqfs file.
Before booting it is better to see whether all the files I mentioned above are copied correctly to the Pendrive.
If so shutdown the computer and reboot and the live CD is now in your Pendrive and you do not need to have a CD or DVD to boot your favorite Linux distribution onto the RAM. 
With this Pendrive you can install Linux to any worthwhile computer without a CD or DVD you may have.
In my case I did install PCLinux-2010 from the Pendrive I prepared on my laptop which I formatted to install Knoppix and record World Cup Cricket (quality of the USB TV card was poor).
Now I am looking for a netbook (my daughter would not oblige) to try my wizardry like wizard of OZ.
Only downside was that one cannot boot the DSL (you have overwritten or deleted in the process).
If you have brains you may even install another sqfs file and edit the boot menu and boot the second one too. I have no time to try it but I hope UnetBootIn will add that facility in future and access to iso files in my hard disk so that I can bypass the downloading bit and boot any of the 100 odd Linux live CD /DVDs I have.
PCLinux USB creator was hopeless to say the least and it does not do the job properly like UnetBootIn and also needs Linux partition and not fat partitions.
Go and enjoy Pendrive freedom that come from Linux Developers of repute.
I must say special thanks to MCN (Mandriva) group which started the ball rolling in 2007 with the first Penndrive Version I got to work on a Pendrive in Singapore in 2009.
However Singaporeans have no clue about Pendrive Linux or Linux in general.
This is something Indians would have invested (prepare LIVE PENDRIVES for sale) during World Cup but missed it in toto and now doing IPL cricket instead. Anybody can come to me but I charge for the time especially the download time which is painfully slow and I value my free time which is devoted for rants like this.
Edited on the 20th How to get new Puppy into your Pendrive (It is easy as eating cheese cake and dogs love cheese)
Easiest method is to is to boot the Live CD and used it as a base to make a Live Pendrive. This was how I made my first Live USB long before Pendrive Linux and at a time when I did not have a computer with USB booting facility.
Puppy was my entry into Light Weight Distribution Version and I have not looked back on that experience.
Then I went into PCLinux and its many versions including PCLinux Mini Me. I am not impressed with the record of USB booting with PCLinux even now and that was the one that took the longest time and method (Thanks to UnetBootIn) how to figure out making a USB drive. It failed miserably with my USB hard drive in spite of me getting it into a Linux partition and I finally gave up because I do not fancy carrying a heavy SATA disk in my front pocket.
I prefer a Pendrive around my neck instead of a hard drive. Mind you I use the hard drive to carry all my favorite iso images some of which are 4.4 GiB and Supreme Games Linux is almost 8 GiB.
Getting Puppy into a Pendrive was the easiest with UNetbootIn but with a problem. It only downloads the 4.2 version (the first version I used before Dingo-most number of Live CD I have is with Puppy) from the internet.
So I set about to get a copy of Puppy lupu from my hard disk to Pendrive.
1. Plug in the Pendrive with Puppy 4.2 2. Start UnetBootIn and selected Puppy for install rather copy 3. From dialog box gave the path to my lupu already downloaded and click OK 4. Said NO to all overwrite messages 5. Check the Flash Drive to see production OK. Both Puppy 4.2 and and lupu 525 sqfs files were there with only 250 of the 14oo Mib used. 6. Booted the Flash drive to see it only boots the 4.2. Could not get F2 to change boot option since it configures the keyboard in later stages (Puppy bypasses even the BIOS) of booting. 7. Mounted Flash on my desktop and changed the 420 to 422 and lupu 525 to 420. 8. Booted again and got the kernel panic message (in early days when I get this message I go into panic mode, almost a heart attack but now wait for a few seconds and switch off the computer making sure RAM is not in freeze mode and fully flushed like toilet bowl after a wee, wee. (I get a message from South Africa where water scarcity is a serious problem and asking me to put bricks on the cistern to reduce the capacity and fill it with waste or used water. I think they way we are chopping trees and the Coal Power Plant functioning at full speed we will be near that fate before India. Please excuse me on this diversion if I blog this separately nobody will read it and hence the inclusion here) 9. Booted again but again kernel panic mode 10. UnetBootIn again and and copied lupu 525 and this time said yes to all overwrite messages including uninit and unkernel. 11. Booted again presto the lupu was running.
Summary in 4 steps
1. Format the Pendrive with FAT 32 partition 2. Install Puppy 4.2 using UNetBootIn and check booting of the Pendrive. 3. Download any of the latest Puppy, lupu, quirky or wary (you can rename the iso image with your dog’s name if you are a dog lover. I believe Barry Kauler an Australian is a Dog Lover. Note, unlike cricketers Australian are nice and normal guys). 4. Repeat Step 2 to with overwrite mode on (manually) and boot it up.
I think I have said enough of UnetBootIn. I hope the Developers got the message and in its next update of UnetBootIn it is sweet as honey. Thanks Guys and Girls you are doing some excellent work, you should make sure that you have some rest in between and play some Linux Games like me .
Postscript I get a message from WiN 7 guys that they also have developed a Pendrive utility but it is painfully slow and need a huge Flash Drive with all the viruses included in the processing. So before any one using it do a virus scan first using a Linux Utility called Medi Linux!

Update on UNetBootIn and PCLinux / SuSe Flash Drive Creator

Other reason is that live file is on a folder unlike in UNetBootIn files which are out in the open in the fat partition.
I wanted to cut and paste these files into the USB but tried a different method which did the trick.
For parted magic which was a zip file I had to cut and paste those files and that also did the trick but one has to have one Flash Drive prepared by downloading the full quota of files and kernels to copy later to another Pendrive.
What I did was to install DSL which is 50 MiB first (took half an hour of downloading) and tested it to see whether it was booting.
It did boot and then installed PCLinux from my hard disk to save time of the download of PCLinux.
When it asked whether to overwrite the files already there, I chose no to all, so that init and kernel files were not erased.
Menu file was also left intact.
I did this because PCLinux USB Creator install its image on a ext file partition and not on fat partition.
My BIOS does not read ext files at boot time which I tried several times. It is usual for the BIOS to read DOS files or GRUB and not other formats.
So I got PCLinux on FAT partition and it booted OK. The down side was I could not boot DSL and that was the price I have to pay for fiddling with UNetBootIn.
The problem with UNetBootIn is when I copy it from my hard disk it omits two files.
I hope in its future version it will rectify this minor anomaly and verify before exiting that both uninit and unkernel are there for it to boot when an image is copied from the hard disk.
I have to do this to save time of the downloading of the Iso (I have all the Isos I downloaded over the last two years).
For the time being if you want it to boot do not skip or try shortcuts like what I did. Longer method of course work but do not overwrite the files written on the first run. I have tried to install from the downloaded (by UnetBootIn) temporary image but that time also the the two booting files were missing. I have to pen this since part magic I am downloading takes a long time even though it is 156 MiB.

UNetBootIn-Must Have Utility in a Standard Distribution that one can carries in a Pendrive-06

It is easy as plugging a Flash Drive to boot a Pendrive with Linux utlity called UNetbootIn. It does the job in four steps and the it is a graphic and not command line utility.
1. download the Iso image 2. Extract and copy iso file 3. Install the boot loader called GRUB 4. Reboot and enjoy
Only a few Linux distributions are supported by this utility as at present and I use Puppy (100 MiB) for my work.
Remember DSL, Backtrack, PCLinux (not Knoppix) and a host of Linux distribution now can be mounted on a Pendrive.
This is just to let you know that I have booted Puppy Linux 4.2, the first of all the Puppies I used (now it is Puppy Lupu 5.2.5) on a Flash Drive and configured the internet and edited this page on seamonkey (while I am doing this see monkey is telling me a new version is available) web browser.
Puppy and UnetBootIn rocks the Linux World which is 20 years young.

No comments:

Post a Comment