Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 23 Apr 2014, 13:52
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
How to Dual boot Puppy & XP from ANY removable media.
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [3 Posts]  
Author Message
ETP


Joined: 19 Oct 2010
Posts: 487
Location: UK

PostPosted: 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.

That post can be found below & I would advise that you study it first before reading on:
http://www.murga-linux.com/puppy/viewtopic.php?t=79955

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.


Code:
LABEL 5332
MENU LABEL Slacko 5.3.3.2    05/07/12
KERNEL /p5332/vmlinuz
APPEND initrd=/p5332/initrd.gz pmedia=atahd pupsfs=sda1:/p5332/puppy_slacko_5.3.3.2.sfs pdev1=sda1

MENU SEPARATOR

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.
dual_boot.tar.gz
Description 
gz

 Download 
Filename  dual_boot.tar.gz 
Filesize  353.45 KB 
Downloaded  243 Time(s) 

_________________
Regards ETP
Accessibility Pups: -- Magoo -- The Pup With No Name -- MouseCam -- Obedient

Last edited by ETP on Wed 24 Oct 2012, 05:49; edited 3 times in total
Back to top
View user's profile Send private message 
ETP


Joined: 19 Oct 2010
Posts: 487
Location: UK

PostPosted: 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   1365 Time(s)

screenshot.49.png


_________________
Regards ETP
Accessibility Pups: -- Magoo -- The Pup With No Name -- MouseCam -- Obedient
Back to top
View user's profile Send private message 
ETP


Joined: 19 Oct 2010
Posts: 487
Location: UK

PostPosted: 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


beach.zip
Description  beach.png 1024x768 1.41MEG
zip

 Download 
Filename  beach.zip 
Filesize  1.42 MB 
Downloaded  208 Time(s) 
vesamenu.zip
Description  vesamenu.c32 from syslinux 4.04
zip

 Download 
Filename  vesamenu.zip 
Filesize  83.18 KB 
Downloaded  228 Time(s) 

_________________
Regards ETP
Accessibility Pups: -- Magoo -- The Pup With No Name -- MouseCam -- Obedient
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [3 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

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


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0544s ][ Queries: 12 (0.0081s) ][ GZIP on ]