VirtualBox
If you are a Windows user, have you ever wondered how difficult it is to work with or experiment with tinycore?
Thisisbacausemanypeoplewouldfinditinconvenienttobootintotinycoreeverytimetheyneedtomakeasmallchange,cookupapackage,orsimplyexperiment.
Ihaveagreatsuggestionthatwouldeaseyourpains.YoucanactuallyboottinycorewithinavirtualmachinelikeSunVirtualBox.ThiswillallowyoutobootTinyCoreasa"window"withinyourexistingOS,andevenworksonWindows!
Thereare3waysofdoingthis,ofwhichthelastoneIlikebest.
ThelastoneisaHybridBootsetup,allowingbootingTinyCorefromadiskpartitionaftertheBIOS,andalsowithinWindowsitselfasaVirtualBoxVMinstancereadingfromthesamediskpartition.
Note:ThistutorialemphasizesonSafety.Thereisveryverylittlechanceofcorruptingyourhard-driveorexistingOperatingSystem.Forexample,VBoxManagecommandsrestrictswritetoonlythenewpartition.
Windows Host Os
Method 1: VBox Boot from Mounted Tinycore ISO
The tutorial here will be focused on getting you up and running the simplest way.
Method 2: VBox Boot from Tinycore Virtual Disk
The tutorial here will be slightly more complicated as you would needto initialize a .vdi virtual-disk file, then perform installation ofTinycore on the virtual disk.
Method 3: VBox Boot from Tinycore Virtual Physical Parition
The tutorial here will be slightly more tedious, but not morecomplicated, exploiting a lesser known feature that allows VBox to bootfrom a physical partition residing on your disk.
ThisproducesaHybridBootsetupwhereyoucanbootTinycorewithinWindowsandalsonormallyfromBIOS(togainthebestperformance).ParagonExt2Browser(read&write)isusedtoallowyoutocopyfilesinandoutofTinycore(fromwithinWindows).
Part A
- EUSEAS Partition Manager Home (freeware) is used to shrink theexisting NTFS partition by a meager 2GB. Other partition managers likegparted can be used. Then, a new unformatted partition is created inthe free space.
- The VBox Partition Pointer file (.vmdk) is created withVBoxManageinternalcommands createrawvmdk -filename PhysicalDrive0-Partition2.vmdk-rawdisk \\.\PhysicalDrive0 -partitions 2 -mbr C:\grub.mbr -register(grub.mbr here is an empty "notepad" file we created.) (Win Vista:console/cmd with Administrator access is required for this step) Read more on VBoxManage

PartB
Note:ThispartrequiresunderstandingoftheOfficialTCInstallGuide.Allstepsareexactlythesameastheofficialinstallguide,exceptyouaredoingitfromWindowsthroughtheVM.Thepartitiondoesnotneedthebootableflag,thusyoucanskipthewholepartregardingcfdisk.Forbeginners,itwouldbegoodtofollowalongthenicescreenshotsintheofficialguide.
- We then boot Tinycore in VirtualBox from the Mounted Tinycore ISO. (Win Vista: Start VirtualBox as Administrator)
- And dofdisk /dev/sdato delete & recreate partition 2, thenmkfs.ext3 /dev/sda2
- Grub extension is first installed from the Appbrowser. Bootfiles are then copied from /mnt/hdc/boot to /mnt/sda2/boot. Grubspecial files also. The /mnt/sda2/boot/grub/menu.lst is created. Youcan also add the xvesa option to the kernel option of grub to set thedesktop resolutionkernel /boot/bzImage quiet xvesa=800x600x24so when it runs in a window it fits on the screen. The vga option only affects the terminal.
- Grub is initialized with root (hd0,1) and setup (hd0,2) and setup (hd0).
- Lastly, the grub MBR is extracted withdd if=/dev/sda2 of=/home/tc/grub.mbr bs=512 count=1.
Part C
- Paragon Ext2Browser is installed giving us access to the ext3partition we created from within Windows. We copy out the/home/tc/grub.mbr to C:/grub.mbr
- Finally, we edit boot.ini (WinXp) or use bcdedit (Vista) or EasyBCD
to create a record in Windows Bootloader to allow us to boot into grub when in the "Choose your operating System" Screen. Read this link
to find out how. - Shiretoko, Xfe, Xfw extensions are installed to give the common user some ease.
Helpneeded
- Itwouldbeniceifsomeonecancreateanautomated(tce.installed)batchscriptforPartB,packageitupaanextension(whichhasadepongrubextension),andsubmitittotheonlinerepository.ThiswouldmakeTinycoremoreaccessibletothemassesoutthere.
- Thetutorialaboveneedmoredetailedelaboration,whichIhopeanyonewhotriesthetutorialcanhelpcomplete.
- PeoplewithingeniousideasofhowPortableVirtualBoxcanbeusedtodeliveraUSBflashdiskthatbootsTC.TheTCcanbefromahiddenext3partitionontheUSBflashdisk,notnecessarilyfromafile.
- Method3canalsobeadaptedtothecasethatyoualreadyhaveanexistingTinycoreinstalledinapartition,butnowwouldliketobootitinVirtualBoxonWindows.