Jump to content











Photo
- - - - -

Grub4dos and Vista


  • Please log in to reply
4 replies to this topic

#1 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7101 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 31 March 2007 - 06:27 PM

Here:
http://www.msfn.org/...showtopic=95537

:cheers:

jaclaz

#2 sLiM

sLiM

    Member

  • Members
  • 52 posts
  •  
    United States

Posted 21 January 2008 - 05:53 PM

Linux newbie needs help with Grub for DOS and menu.lst entries.

I'm running XP SP3 with a 2 Gb USB Flash Drive that is recognized as fixed, with 4 primary partitions and will boot DOS, NT and Linux partitions successfully. So, after this success I would like to move on to multi-boot. I have used the renaming procedure for VISTA BOOTMGR (GRLDR to BOOTMGR) as discussed mainly by spacesurfer and jaclaz. I can boot VISTAPE or Active Boot Disk trial this way with success.

I think my problem lies with the menu.lst entries. After spending two full days at this I still have only VISTA booting from Grub on UFD. I would like also to boot two other partitions and also various floppies and some HDD images if possible. I've googled for menu.lst examples and read grub manuals etc., to no avail. I'm hoping someone might be able to post their 'working' menu.lst from a similar setup.

Wondering... would it be better to just install Grub for DOS to the MBR of the stick than to use the GRLDR renaming procedure.

I downloaded sbootmgr.dsk and added it to the partition root but, it will not start using the entry below.


This is what I'm using, modifying only one entry at a time:


menu.lst

# Sets colors, timeout before default selected and default value
color black/cyan yellow/cyan
timeout 5
default 0

# Boot Vista by finding and loading bootmgrv
title Microsoft Windows Vista
find --set-root /bootmgrv
chainloader /bootmgrv

# Boot XP by finding and loading ntldr
title Microsoft Windows XP
find --set-root /ntldr
chainloader /ntldr

# Boot BartPE by finding setupldr.bin
title BartPE with XPE 1.0.4 (from HDD)
find --set-root /minint/setupldr.bin
chainloader /minint/setupldr.bin

# Boot BartPE from USB HDD by swap method; note your USB HDD number may be
# different. I have two internal HDD's ((hd0) and (hd1)), making my USB HDD
# (hd2). Therefore, I have to swap (hd0) with (hd2).
title Boot BartPE from USB HDD
map (hd2) (hd0)
map (hd0) (hd2)
chainloader (hd0)+1

# Boot whatever is in CD/DVD drive, even if your BIOS does not support
# booting from CD/DVD drive. You need a file called sbootmgr.dsk.
# It's a very small SBM disk image. See the end of guide for download link.
title Boot CD using Smart Boot Manager
find --set-root /sbootmgr.dsk
map --mem /sbootmgr.dsk (fd0)
map --hook
chainloader (fd0)+1
rootnoverify (fd0)


# Example of how to boot a floppy image by finding and loading the image file.
# This is much faster than booting from the actual floppy.
title Boot Ghost 2003 (ghost.img)
find --set-root /ghost.img
map --mem /ghost.img (fd0)
map --hook
chainloader (fd0)+1

# Boot whatever is in the floppy drive
title Floppy on (fd0)
chainloader (fd0)+1
rootnoverify (fd0)

#3 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7101 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 21 January 2008 - 07:14 PM

Wondering... would it be better to just install Grub for DOS to the MBR of the stick than to use the GRLDR renaming procedure.


Actually (for the record) BOTH the above procedures are NOT suggested by me.

What I recommend is changing the name of the loader invoked by the bootsector of the active partition:
http://www.boot-land...EASE-t2362.html

And, FYI, having Multiple Primary partitions is absolutely unneeded, what I use to recommend is having a small FAT partition First Active Primary and as many Logical Volumes inside Extended Partition as you wish.

(but this has nothing to do with the problem you are reporting) :thumbsup:

As always when trying troubleshooting, use the "interactive" or "command" mode of grub4dos (press c) and issue command by writing them on command line and making use of the [TAB] expansion as much as possible, this way you have some feedback (grub4dos messages).

For the not working Smart Boot Manager (which by the way you should NOT need anyway), try using memdisk booting.

See these:
http://www.911cd.net...?howtopic=20314
http://www.911cd.net...showtopic=19585

jaclaz

#4 sLiM

sLiM

    Member

  • Members
  • 52 posts
  •  
    United States

Posted 21 January 2008 - 09:15 PM

"Actually (for the record) BOTH the above procedures are NOT suggested by me."

I see now, apologize and stand corrected. I appreciate your reply and will try to make some progress as you suggest. At least I'll be moving in the right direction.

Thanks.

#5 tinybit

tinybit

    Gold Member

  • Developer
  • 1175 posts
  •  
    China

Posted 23 January 2008 - 01:10 AM

The later grub4dos versions can be invoked(booted) by VISTA's bootmgr, just like the case in XP with boot.ini. See readme file.

And, bootmgr can also be chainloaded by grub4dos, as well as NTLDR can.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users