Posted: Tue 07 Aug 2012, 02:57 Post subject:
How to Dual boot Puppy & XP from ANY removable media. Subject description: (A simplified Lin`N`Win type method using syslinux & grub4dos)
In a recent “HOWTO” - (How to Dual boot Puppy & XP from USB using syslinux & grub4dos) I described how to dual boot with Puppy installed on removable media. Grub4dos, chain-loaded off syslinux, provided the means to boot from the C: drive with nothing to install or edit on the hard disc.
The method described below involves installing Puppy (just the main sfs & save file) on the hard drive and using the removable media to boot from and to provide the dual boot in an identical manner.
For the purpose of this method I used a very old 16 Meg SmartMedia card made bootable with syslinux 4.04 & used vesamenu.c32
Tests were carried out with Slacko 5.3.3.2
You could equally well use a USB stick or SD card.
This method takes advantage of the faster boot speed when the main puppy files are held on the hard disc, frees up a USB port and makes use of an otherwise redundant card reader slot.
STEPS: 1. Defrag your NTFS volume on your Windows hard disc and then create a suitably named directory off the root. (In this case c:\p5332)
2. Move your main sfs & save file into this new directory. From puppy’s perspective this will be seen as /mnt/home/p5332 – on sda1
3. On your card or stick (sdd1 in this example-YMMV) create the structure shown below.
Notes:
a) Initrd.gz & vmlinuz are held in a new directory off the root of the card also named p5332. Move your pup’s files into it.
b) The boot directory does not contain any files only the sub-directory grub.
c) The grub directory contains the 2 required grub4dos files.
d) The splash screens together with syslinux.cfg & vesamenu.c32 are held in the root.
e) The hidden ldlinux.sys file is the syslinux boot loader created when syslinux was used to make the card bootable.
4. Use the following block of code in your syslinux.cfg or use the one attached which contains it. If need be, modify only the puppy part to suit your particular pup.
LABEL grub
MENU LABEL XP Pro 28/07/12
KERNEL /boot/grub/grub.exe --config-file="map (hd1) (hd0);map (hd0) (hd1);map --hook;chainloader (hd0)+1"
MENU SEPARATOR
LABEL reboot
MENU LABEL Reboot
KERNEL /boot/grub/grub.exe --config-file="reboot"
MENU SEPARATOR
LABEL off
MENU LABEL Power Off
KERNEL /boot/grub/grub.exe --config-file="halt"
Notes:
a) N/B the use of the codes pmedia=atahd and pdev1=sda1 regardless of the fact that the kernel is on the card or stick. These are the key to how this works.
b) The lines relating to grub are the same as those in the previous “HOWTO”
Final thoughts:
All files including a full copy of my syslinux.cfg, the 2 required grub files and the splash screens are attached.
The boot speed compared with pure USB2 running is impressive with both the main sfs & save file loading in an instant.
This method should appeal to those new to Linux who wish to dual boot with Windows but do not wish to partition their drives, edit boot.ini or install boot loaders on their C: drives. There is also no grub menu.lst to fiddle with.
_________________ Regards ETP
Currently running Slacko 5.3.3 k-3.1.10
(demo with audio--play flash full screen & press F11)
http://megaswf.com/s/2484946 1080p version Oct 2012 Last edited by ETP on Wed 24 Oct 2012, 05:49; edited 3 times in total
Posted: Sat 18 Aug 2012, 03:47 Post subject:
How to Dual boot Puppy & XP from ANY removable media. Subject description: (A simplified Lin`N`Win type method using syslinux & grub4dos)
View of menu.
screenshot.49.png
Description
Filesize
293.9 KB
Viewed
1031 Time(s)
_________________ Regards ETP
Currently running Slacko 5.3.3 k-3.1.10
(demo with audio--play flash full screen & press F11)
http://megaswf.com/s/2484946 1080p version Oct 2012
Posted: Sun 26 Aug 2012, 09:15 Post subject:
How to Dual boot Puppy & XP from ANY removable media. Subject description: (A simplified Lin`N`Win type method using syslinux & grub4dos)
An alternate high quality splash screen (beach.png) for syslinux is attached. (Resolution 1024x768 - 1.41MEG)
I did not expect this to work but having converted it from jpg to png it loads with no discernable delay.
Your MMV as syslinux's ability to display high quality splash screens varies with the
vesa abilities of the video chip or card & display. Having said that I am using a 7 year
old Nvidia GeForce 7300SE & later cards/chips have improved dramatically since then.
Also attached is a copy of vesamenu.c32 from syslinux 4.04.
The revised block of syntax for syslinux.cfg is as follows with the other splash screens simply commented out.
Code:
# Boot using 16 MEG Smartmedia with main sfs & savefile on NTFS HDD (sda1)
# Splash screen with RED text & beach background (1024x768)
DEFAULT /vesamenu.c32
PROMPT 0
TIMEOUT 120
MENU RESOLUTION 1024 768
MENU BACKGROUND /beach.png
# MENU BACKGROUND /bart9splash.jpg
# MENU BACKGROUND /puppy.jpg
_________________ Regards ETP
Currently running Slacko 5.3.3 k-3.1.10
(demo with audio--play flash full screen & press F11)
http://megaswf.com/s/2484946 1080p version Oct 2012
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum