Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy home page: puppylinux.com
 
 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 Fri 20 Nov 2009, 18:48
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
How to dual boot Puppy & XP from USB external HDD?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [16 Posts]   Goto page: 1, 2 Next
Author Message
d4p


Joined: 12 Mar 2007
Posts: 305

PostPosted: Sat 16 Jun 2007, 01:36    Post subject:  How to dual boot Puppy & XP from USB external HDD?  

Installed Xp system on usb external Hdd.
I want to install puppy 2.16 as a second OS.
Options to install Puppy:
1. default ==========> system wont boot at all
2. sys nopart.mbr ====> only xp system boot
3. mbr.bin ==========> system wont boot at all
4. mbrfat.bin ========> only xp system boot
5. spb2mbr.bin ======> only xp system boot
Can you help me how to create grub boot menu on usb external HDD?
Back to top
View user's profile Send private message Send e-mail 
HairyWill


Joined: 26 May 2006
Posts: 2923
Location: Southampton, UK

PostPosted: Sat 16 Jun 2007, 04:26    Post subject:  

If you can get XP to boot maybe you could hook into boot.ini and use grldr to then boot puppy as in
http://www.icpug.org.uk/national/linnwin/contents.htm

_________________
Will
contribute: community website, screenshots, puplets, wiki, rss
Back to top
View user's profile Send private message 
d4p


Joined: 12 Mar 2007
Posts: 305

PostPosted: Sat 16 Jun 2007, 19:52    Post subject:  

Thanks for your information.
I copied grldr to c drive and edited boot.ini file. I got that boot menu xp or start linux.
After I entered 'start linux' I got another menu to choose: 1. find /menu.lst 2. /boot/grub/menu.lst 3. /grub/menu.lst 4. enter command line mode ..... . If I choosed any of that options, it showed a message: Minimal Bash-like line editing is supported. ..................... and than command line ===> Grub> fr here I dont know what command to run.
I guess Puppy wont create a bootloader. Any help?
Back to top
View user's profile Send private message Send e-mail 
John Doe

Joined: 01 Aug 2005
Posts: 1665
Location: Michigan, US

PostPosted: Sat 16 Jun 2007, 20:28    Post subject:  

PUt this in c:\boot\grub\menu.lst

You'll have to change "hd0,1" to whatever YOU need:

hd0 = first ide hd
1 = second partition

Code:
default 0
timeout 15

title Puppy HD 2.16
rootnoverify (hd0,1)
kernel (hd0,1)/vmlinuz root=/dev/ram0 PMEDIA=idehd
initrd (hd0,1)/initrd.gz
boot

title Puppy USB 2.16
rootnoverify (hd0,1)
kernel (hd0,1)/vmlinuz root=/dev/ram0 PMEDIA=usbhd
initrd (hd0,1)/initrd.gz
boot
Back to top
View user's profile Send private message 
d4p


Joined: 12 Mar 2007
Posts: 305

PostPosted: Tue 19 Jun 2007, 00:02    Post subject:  

I tried to follow your suggestions but it looks like not working.
Installed Puppy on usb doesn't create /boot/grub/.....folder.
Created "grub bootloader config" from start menu is not working either.

Finally find working dualboot Xp & Puppy with third party Boot manager (bootitng).
Test on 20 gb Usb external Hd. Xp format:Ntfs & Puppy format:FAT 16.
Puppy 2.16 boot time about 37 seconds.

Thank You very much.
Back to top
View user's profile Send private message Send e-mail 
HairyWill


Joined: 26 May 2006
Posts: 2923
Location: Southampton, UK

PostPosted: Tue 19 Jun 2007, 04:40    Post subject:  

@dp4
I'm glad you got it working
For future reference was your external drive called C: in windows. I'm not sure whether you put the /boot/grub/menu.lst on the external or an internal drive. It should be on the external in the same partition as XP with grldr

_________________
Will
contribute: community website, screenshots, puplets, wiki, rss
Back to top
View user's profile Send private message 
John Doe

Joined: 01 Aug 2005
Posts: 1665
Location: Michigan, US

PostPosted: Tue 19 Jun 2007, 04:50    Post subject:  

HairyWill wrote:
...on the external or an internal drive. It should be on the external in the same partition as XP with grldr


yes. I completely screwed that up. Thanks for the correction!!
Back to top
View user's profile Send private message 
d4p


Joined: 12 Mar 2007
Posts: 305

PostPosted: Tue 19 Jun 2007, 23:56    Post subject:  

I will try to explain as much I can. Sorry, my English is poor.
Testing USB External Hdd (20Gb) only.(Internal Hd is not installed at all)
(NTFS) Xp pro Sp2 is installed on the first partition ( c:\ drive).
(FAT16/32) Puppy 2.16 is installed on the second partition.

If you have multi partitions on one usb media like( flash drive, ext. Hd or sd card etc.),
natively Xp system can recognize only the first partition. Xp system can not see the other partitions, except you upgrade to Xp sp2, but I’m not sure if NTloader from xp sp2 can recognize or manage more than 1 partition on usb media.
Linux has no problem to recognize all partitions of usb media.

See screenshot:

See red mark, “boot” means active partition, where the system boot from.
If I move the boot flag to SDA1, Xp will be bootable & move boot flag to SDA2, Puppy will be bootable.

Some Testing:
1. By Using grldr puppy wont boot.
2. I copied my own created bootsector file from puppy active partition (dd command) to c:\ drive & add command line into boot.ini. Still Puppy wont boot.
3. Created Puppy grub bootloader is not working too.

Assume (usb external Hd):
Ntloader = If I’m not miss some where, just not working coz of xp system limitation.
Puppy Grub bootloader = should work, but I don’t know, How ?
BootitNg = working, but I don’t like it. Actually it is unnecessary.
Gparted1.png
Description 
png

 Download 
Filename  Gparted1.png 
Filesize  472.06 KB 
Downloaded  557 Time(s) 
Back to top
View user's profile Send private message Send e-mail 
cthisbear

Joined: 29 Jan 2006
Posts: 1286
Location: Sydney Australia

PostPosted: Wed 20 Jun 2007, 08:26    Post subject:  

Can anything from this post help:

http://www.murga-linux.com/puppy/viewtopic.php?t=17166

including this:

Bragging rights - how many OS's do you boot with your USB stick?

http://www.911cd.net/forums//index.php?showtopic=19873

" I've got a luck 13 items on my Grub4DOS menu. Here they are:

* BartPE
* MS Disaster Recovery Toolbox (.iso boot on own partition)
* Knoppix Linux (own partition live CD image file)
* Puppy Linux
* HDDRegen (.img file)
* Partition Magic 8 (.img file)
* PartEd (Linux)
* Paragon Partition Manager (.ima file)
* Ranish Partition Manager (.img file)
* Wipedisk (.img file) [quick automated wipes]
* Darik's Boot-N-Nuke (.img file) [better disk wipes]
* Memtest (.img file)
* DOS 98 (.img file)

I've got 3 partitions on it and the removable storage bit flipped so it shows up as a fixed drive.

How many OS's do YOU have? "

Chris
Back to top
View user's profile Send private message 
weredog

Joined: 20 Jun 2007
Posts: 8

PostPosted: Wed 20 Jun 2007, 10:41    Post subject:  

"GRUB boots everything, even a peace of paper from a floppy" (not from me)

Puppy doesn't create that boot folder. If it is on the same partition as grldr (the folders "boot/grub/" are common for grub), ok. if they don't exist, grub searches the harddrives root directories for menu.lst..., err. 17.

Maybe it is the win-DOS bootloader or the vmlinuz/initrd.gz files that can find your usb-stick. So put the puppy boot files in a subdir of "boot" let's say p216, and point grub to there. (So you might boot also puppy 109 or dsl..from the same usb stick)

title Puppy USB 216
rootnoverify (hd0,0)
kernel (hd0,0)/boot/p216/vmlinuz ramdisk_size=100000 init=/etc/init PMEDIA=usbflash
initrd (hd0,0)/boot/p216/initrd.gz

This is an example for hda1 (0,0)

Much luck
Back to top
View user's profile Send private message Send e-mail 
d4p


Joined: 12 Mar 2007
Posts: 305

PostPosted: Fri 29 Jun 2007, 23:12    Post subject:  

BootitNg works, but only for dual booting xp(Ntfs) & Puppy(Fat16/32)
and only Extended Fdisk works to dual boot xp(Ntfs) & Puppy(Ext2).

FYI
dont ever install both os on the same partition type (fat16/32)
http://www.murga-linux.com/puppy/viewtopic.php?t=19301&sid=d2ba8ac5724beb41398ff0c1ad1d0845
Back to top
View user's profile Send private message Send e-mail 
d4p


Joined: 12 Mar 2007
Posts: 305

PostPosted: Sat 23 Aug 2008, 21:15    Post subject:  

just figured out grub last night & it works on dualboot usb external HD.
This is the menu.lst:
# Linux bootable partition config begins
title Pup4 Vbox (on /dev/sda1)
root (hd0,1)
kernel /vmlinuz pmedia=usbhd
initrd /initrd.gz
# Linux bootable partition config ends

Actually I want to put all the puppy files inside Puppy400 folder, but i got error 17.
Any idea how to fix menu.lst below?

# Linux bootable partition config begins
title Pup4 Vbox
root (hd0,1)
kernel /puppy400/vmlinuz pmedia=usbhd psubdir=puppy400
initrd /puppy400/initrd.gz
# Linux bootable partition config ends
Back to top
View user's profile Send private message Send e-mail 
John Doe

Joined: 01 Aug 2005
Posts: 1665
Location: Michigan, US

PostPosted: Sat 23 Aug 2008, 21:19    Post subject:  

d4p wrote:
Actually I want to put all the puppy files inside Puppy400 folder, but i got error 17.
Any idea how to fix menu.lst below?


Off the top of my head I think that 'error 17' means grub can't find menu.lst. I don't think you are allowed to move it.
Back to top
View user's profile Send private message 
d4p


Joined: 12 Mar 2007
Posts: 305

PostPosted: Wed 27 Aug 2008, 22:01    Post subject:  

Thanks John Doe,
I put all Puppy Files inside Puppy400 folder in internal HD & grub worked fine.
Move it inside or outside the forder should be ok! or am I wrong?
Frugal-install1.png
 Description   
 Filesize   25.5 KB
 Viewed   665 Time(s)

Frugal-install1.png

Back to top
View user's profile Send private message Send e-mail 
John Doe

Joined: 01 Aug 2005
Posts: 1665
Location: Michigan, US

PostPosted: Wed 27 Aug 2008, 22:25    Post subject:  

d4p wrote:
Move it inside or outside the forder should be ok! or am I wrong?


if by "it" you mean menu.lst, then I'm not sure.

If it works where it is, I'd leave it be.

Should you want to tinker with it, boot with the liveCD to move it and then try booting the HD. If it errors, then boot with the liveCD again and put it back.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 2 [16 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
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
Your Ad Here
hot copy
[ Time: 0.5210s ][ Queries: 9 (0.0479s) ][ Debug on ]