IPB

Welcome Guest ( Log In | Register )

> A Multi-device Multi-boot Menu Using Grub, Multi-boot Vista / XP / Other OS's
spacesurfer
post Aug 8 2006, 01:36 PM
Post #1


Silver Member
***

Group: Members
Posts: 156
Joined: 16-December 05
Member No.: 16,123



Finally, Success!! Success!! Success!! I wanted to share my success with you all so you can also created this awesome menu.

I finally created a Grub menu from which I can boot any one of the following items directly from the Grub menu:

*BartPE from a second partition on HDD (partition other than your Windows XP)
*BartPE directly from CD-ROM (no need to load floppy image first)
*Floppy image of Ghost 2003
*Floppy image of Partition Magic 8.0.5
*Floppy image of Grub itself (just for fun)
*Windows XP of course
*And now, Windows Vista, instructions here.

Read the guide in this post to get started on Grub from HDD. This will give you a basis on this guide. Otherwise you may feel a little lost.

Let me emphasize that booting directly from CD-ROM is supported by the latest grldr (dated 8/8/2006) directly from the menu. Ed_P and jaclaz, I believe, were playing around with it and Ed_P was successful booting CD from grub floppy. However, this method requires no floppy or floppy image to be loaded first.

Requirements:
*Latest Grub loader (grldr) dated 8/8/2006. This version is needed for CD-ROM support.
*Bart’s PEBuilder to make BartPE CD and to add it to HDD. Follow the link above on how to copy files to HDD.
*Any other floppy images you want to add to menu.

Method:
1) Rename %systemroot%\ntldr to %systemroot%\ntldrxp
2) Copy your grldr (the latest one) to %systemroot% and rename it to ntldr.
3) copy menu.lst to %systemroot% or create one if you don’t have one in %systemroot%
4) Edit your menu.lst the way you want using the sample below that allows you to boot various items


Menu.lst
CODE
color black/cyan yellow/cyan
timeout 5
default 0

# This finds and loads your Windows XP.
title Microsoft Windows XP SP2 Pro (hd0,0)
find --set-root /ntldrxp
chainloader /ntldrxp
rootnoverify (hd0)

# This finds and loads BartPE on your HARD DRIVE.
title BartPE with XPE 1.0.4 (Find and Load setupldr.bin)
find --set-root /minint/setupldr.bin
chainloader /minint/setupldr.bin

# This boots BartPE from CD-ROM 0.
# You can investigate if find --set-root /I386/SETUPLDR.BIN works for you.
# Pay special attention to case. This is CaSe SeNsItIvE.
# I’m not sure if you need  the line cdrom --add-io-ports=0x03F601F0. Play around yourself.
title Start BartPE from CD-ROM 0
cdrom --add-io-ports=0x03F601F0
cdrom --init
map --hook
chainloader (cd0)/I386/SETUPLDR.BIN
boot

# This is same as above but from CD-ROM 1 (if you have more than 1 drive).
title Start BartPE from CD-ROM 1
cdrom --add-io-ports=0x03F601F0
cdrom --init
map --hook
chainloader (cd1)/I386/SETUPLDR.BIN
boot

# This simply boots a floppy disk from your physical floppy drive.
title Boot Floppy on (fd0)
chainloader (fd0)+1
rootnoverify (fd0)

# This is how you boot a floppy image stored on a FAT/FAT32 partition.
# Replace ghost.img to whatever image you desire to boot.
title Boot Ghost 2003 (ghost.img)
find --set-root /ghost.img
map --mem /ghost.img (fd0)
map --hook
chainloader (fd0)+1

# This is how you boot the Grub floppy from an image instead of the physical floppy.
title Grub4Dos (grub4dos.img)
find --set-root /grub4dos.img
map --mem /grub4dos.img (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)
map --floppies=1
boot


Let me add that my floppy images were created by WinImage. I saved them uncompressed (meaning, they are not *.imz) as *.ima. I renamed them as *.img.

My floppy images are stored on a FAT32 partition - the same partition where my BartPE resides. The advantage of using a FAT32 partition (as opposed to NTFS) is if you boot to DOS, you have access to that partition. I store other DOS commands and utilities (such as edit.com, choice.com) on that partition. It is available for me when I need it.

Edit 2:

You BartPE does not have to be on a FAT/FAT32 partition. It can be NTFS. Even floppy images can reside on NTFS partitions.

Edit 3: Added loading Vista with grub4dos.

This post has been edited by spacesurfer: Jun 2 2007, 09:38 AM
Go to the top of the page
 
+Quote Post

Posts in this topic
- spacesurfer   A Multi-device Multi-boot Menu Using Grub   Aug 8 2006, 01:36 PM
- - Ed_P   GRLDR on my C: drive (FAT32) does not work with CD...   Aug 8 2006, 11:33 AM
- - spacesurfer   Ed_P, is your C: drive your Windows XP or some oth...   Aug 8 2006, 11:52 AM
|- - Ed_P   QUOTE (spacesurfer @ Aug 8 2006, 12:52 PM...   Aug 8 2006, 12:26 PM
- - spacesurfer   I used my laptop and it worked on it. I'm goi...   Aug 8 2006, 12:32 PM
- - jaclaz   Some small corrections/hints: 1) We are talking he...   Aug 8 2006, 12:43 PM
|- - Ed_P   QUOTE (jaclaz @ Aug 8 2006, 01:43 PM) @Ed...   Aug 8 2006, 01:08 PM
- - jaclaz   QUOTE (Ed_P)The initial booting to a CD was from G...   Aug 8 2006, 01:16 PM
- - spacesurfer   I don't think there is a difference in the flo...   Aug 8 2006, 03:48 PM
- - spacesurfer   Update: I tried it on my desktop and system hung ...   Aug 8 2006, 05:36 PM
- - jaclaz   There is NO such thing (yet) as a 0.4.2 version. ...   Aug 8 2006, 07:42 PM
- - spacesurfer   Yeah, I was referring to 0.4.2pre. That's the ...   Aug 8 2006, 07:55 PM
- - jaclaz   No, cdrom support was introduced in one of the pre...   Aug 8 2006, 08:11 PM
- - Ed_P   My original GRUB used bcdl.bin and bcdf.bin to acc...   Aug 8 2006, 09:57 PM
- - spacesurfer   QUOTE (Ed_P @ Aug 8 2006, 10:57 PM) My or...   Aug 9 2006, 07:24 AM
|- - Ed_P   QUOTE (spacesurfer @ Aug 9 2006, 08:24 AM...   Aug 9 2006, 10:48 AM
- - spacesurfer   Ed_P, how did you make a floppy image with SBM on ...   Aug 9 2006, 11:49 AM
|- - Ed_P   QUOTE (spacesurfer @ Aug 9 2006, 12:49 PM...   Aug 9 2006, 12:02 PM
- - d4vr0s   I've loaded SBM this way: CODEtitle Smart Boot...   Aug 9 2006, 12:23 PM
- - spacesurfer   I noticed in the Grub readme that you can use Grld...   Aug 9 2006, 08:58 PM
- - FM_81   A much better way, to add ACRONIS-stuff is, to use...   Aug 10 2006, 02:16 AM
- - spacesurfer   QUOTE (FM_81 @ Aug 10 2006, 03:16 AM) A m...   Aug 10 2006, 07:26 AM
- - FM_81   If I'm right, these ACRONIS-files are always n...   Aug 10 2006, 10:43 AM
- - spacesurfer   FM_81, you are correct about file names. I'm u...   Aug 10 2006, 05:13 PM
|- - Ed_P   QUOTE (spacesurfer @ Aug 10 2006, 06:13 P...   Aug 10 2006, 05:51 PM
- - jaclaz   QUOTE (spacesurfer)Has anyone tried this and if so...   Aug 11 2006, 02:24 PM
|- - Ed_P   QUOTE (jaclaz @ Aug 11 2006, 03:24 PM) EC...   Aug 11 2006, 06:39 PM
|- - jaclaz   QUOTE (Ed_P @ Aug 12 2006, 01:39 AM) What...   Aug 11 2006, 06:57 PM
- - spacesurfer   If you want to be able to use boot from CD-ROM and...   Aug 15 2006, 12:13 PM
- - spacesurfer   QUOTE (spacesurfer @ Aug 8 2006, 06:36 PM...   Aug 19 2006, 09:40 AM
- - jaclaz   QUOTE (spacesurfer)The new version, 0.4.2 (I belie...   Aug 19 2006, 10:06 AM
- - Ed_P   And it STILL errors out when trying to boot my CD ...   Aug 19 2006, 10:25 AM
- - jaclaz   OUT OF TOPIC (but not much) Don't hold your ...   Aug 20 2006, 05:02 AM
- - spacesurfer   I played with PLoP. It's not as versatile as G...   Aug 26 2006, 07:47 PM
- - spacesurfer   Whoa! A bigger problem using PLoP. If anyone h...   Aug 26 2006, 08:39 PM
- - jaclaz   QUOTE (spacesurfer)I just need to restore my parti...   Aug 28 2006, 05:43 AM
- - spacesurfer   I tried everything, it's a goner. Thankfully,...   Sep 5 2006, 09:51 AM
- - lrhorer   QUOTE (spacesurfer @ Aug 8 2006, 12:36 PM...   Sep 9 2006, 12:03 AM
|- - jaclaz   QUOTE (lrhorer @ Sep 9 2006, 07:03 AM) OK...   Sep 9 2006, 03:48 AM
- - spacesurfer   All you guys need is a file called grldr from the ...   Sep 20 2006, 09:43 PM
- - frodo   I have to ask.. Whats this do that BCDW or CDShe...   Sep 20 2006, 09:24 PM
- - CWorks   load floppy images from hard drive boot PE from a ...   Sep 20 2006, 10:06 PM
|- - frodo   QUOTE (CWorks @ Sep 21 2006, 01:06 PM) lo...   Sep 20 2006, 10:26 PM
|- - Ed_P   QUOTE (frodo @ Sep 20 2006, 11:26 PM) Why...   Sep 20 2006, 11:06 PM
|- - frodo   QUOTE (Ed_P @ Sep 21 2006, 02:06 PM) I ru...   Sep 20 2006, 11:28 PM
|- - Ed_P   QUOTE (frodo @ Sep 21 2006, 12:28 AM) Par...   Sep 21 2006, 09:29 AM
- - jaclaz   QUOTE (cworks)it's a hard drive boot loader an...   Sep 21 2006, 06:48 AM
- - spacesurfer   I like the concept of loading BartPE from HDD beca...   Sep 22 2006, 08:51 AM
- - spacesurfer   QUOTE (jaclaz @ Sep 21 2006, 07:48 AM) An...   Oct 14 2006, 09:02 PM
- - jaclaz   Well, of course after: QUOTE map (hd0,0)/cdrom_ima...   Oct 15 2006, 10:12 AM
|- - L_V   QUOTE (jaclaz @ Oct 15 2006, 10:12 AM) ...   Oct 27 2006, 04:23 AM
- - spacesurfer   Now I understand what contiguous means. The ISO it...   Oct 27 2006, 05:19 AM
|- - Brettey   I would really like to be able to use GRUB or some...   Oct 27 2006, 05:27 PM
- - jaclaz   @Brettey Please do not double post, I replied on ...   Oct 28 2006, 04:52 AM
- - spacesurfer   Has anyone had luck with booting ISO's from HD...   Dec 28 2006, 10:46 PM
|- - L_V   QUOTE (spacesurfer @ Dec 28 2006, 10:46 P...   Jan 27 2007, 10:00 AM
- - FM_81   Interesting idea! But was happens, if mapped a...   Jan 27 2007, 12:21 PM
|- - L_V   since 2005-04-06 version 0.4.0pre6: GRLDR can be ...   Jan 27 2007, 12:50 PM
- - spacesurfer   I was trying to boot ISO images located in DOS onc...   Apr 19 2007, 09:04 PM
- - jaclaz   No, spacesurfer. Booting .iso image is at the mome...   Apr 20 2007, 01:24 AM
- - FM_81   @spacesurfer ACRONIS seems to be very special...   Apr 20 2007, 03:12 AM
- - jaclaz   QUOTE (FM_81)And as jaclaz wrote, it's not eas...   Apr 20 2007, 01:03 PM
- - spacesurfer   And now, add Vista to your Grub4Dos menu: Multibo...   May 28 2007, 09:06 PM
- - allens   spacesurfer, More great work, thank you. I got an...   Jun 18 2007, 11:25 AM
- - spacesurfer   I haven't really got a handle on when to use a...   Jun 18 2007, 03:17 PM
- - jaclaz   @allens yes, (hd0) is a Hard Disk, i.e. the first...   Jun 19 2007, 03:15 AM


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 9th February 2010 - 10:37 AM