Jump to content











Photo
- - - - -

Multiboot usb installation disk


  • Please log in to reply
6 replies to this topic

#1 manolis287

manolis287

    Newbie

  • Members
  • 24 posts
  •  
    Greece

Posted 20 August 2009 - 11:18 AM

I seperated a usb disk in 5 partitions to make a multiboot usb installation disk.
Partition 1 is 500mb fat32 and has grub4dos installed
Partition 2 is 4GB fat32 and has win7 x64
Partition 3 is 4GB fat32 and has win7 x86
Partition 4 is 4GB fat32 and has vista
Partition 5 is 6GB fat32 and has data
the problem is that partiton 2 and 3 boots properly but partition 4 gives me an error
error 17:cannot mount selected partition
the first 3 partitions are primary and the other two are logical drives
my menu.lst is like this
color black/cyan yellow/cyan
timeout 30
default 0


title Win7 X64
root (hd0,1)
chainloader (hd0,1)+1

title Win7 X86
root (hd0,2)
chainloader (hd0,2)+1

title Win Vista
root (hd0,3)
chainloader (hd0,3)+1

can somebody help me on how to boot the vista partition too

#2 ilko

ilko

    Silver Member

  • Advanced user
  • 500 posts
  •  
    Bulgaria

Posted 27 August 2009 - 08:38 AM

Not sure if you can launch Vista setup from logical partition. You most likely will end up placing Vista setup files in a primary partition; edit BCD store to launch the various setups; or drop to command prompt and navigate to the appropriate directory to launch setup.exe of the needed version.
There were a few threads about multibooting various Vista/7 flavors from USB, do some search in this forum.

However, for logical partitions you should be using:
title Win Vista

chainloader (hd0,4)/bootmgr
or
title Win Vista

root (hd0,4)

chainloader /bootmgr

Compare:
http://diddy.boot-la...iles/syntax.htm

#3 Hernandito

Hernandito

    Newbie

  • Members
  • 25 posts
  •  
    United States

Posted 27 August 2009 - 12:46 PM

Hi Manolis,

How did you format and install the Vista bootloader to your Partition 4? I am a newbie and need to know how to do this. I have done grub and grub4dos, but I need help getting started with a Vista version.

Thanks,

Hernando

#4 was_jaclaz

was_jaclaz

    Finder

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

Posted 27 August 2009 - 01:17 PM

Hi Manolis,

How did you format and install the Vista bootloader to your Partition 4? I am a newbie and need to know how to do this. I have done grub and grub4dos, but I need help getting started with a Vista version.

Thanks,

Hernando


Hernandito, when using grub4dos to chainload the OS System Loader, as in:

chainloader (hd0,x)/bootmgr

you don't need to "install" anything, you just copy the files to the partition.

If you want to chainload a partition bootsector, as in:

chainloader (hd0,x) +1

You need a valid bootsector invoking the right bootloader.

With Primary partition it is easy using, for eaxample bootsect.exe /nt60.
With Logical Volumes inside Extended it is not so easy, as you ALSO need to correct the bootsector "sectors before" field, see here:
http://www.goodells.net/multiboot/

Fixing Boot Records in Logical Partitions
A logical volume in the extended primary partition does not usually contain an operating system, and there is not normally a boot record there. (Okay, maybe there's technically a "boot sector", but it's normally blank unless we put an OS there.) If we put an OS and boot record there we need to check the boot record to make sure it knows where to find itself. Petr Soucek has documented that a key parameter in the partition boot sector may prevent an OS from booting from an extended logical partition. This parameter, "Hidden Sectors", should be the total number of sectors on the disk preceding the partition, but for a logical partition the value may be incorrectly initialized by the tool used to create or manipulate the partition. Sometimes it is the number of sectors from the start of the extended partition (e.g., 63) instead of from the beginning of the disk. If this number is incorrect the OS cannot determine where the other sectors of its own partition are and the boot process hangs. Powerquest's Partition Table Editor may be used to fix the "Hidden Sectors" parameter in the partition boot record of any OS's installed in logical partitions. Partition boot records in primary partitions are normally okay.

http://www.goodells....boot/ptedit.htm

You can use beeblebrox (Freeware) allright:
http://students.cs.byu.edu/~codyb/

jaclaz

#5 Hernandito

Hernandito

    Newbie

  • Members
  • 25 posts
  •  
    United States

Posted 27 August 2009 - 08:03 PM

Thank you Jaclaz.... this is pointing me in the right direction. My challenge is to create a multiple partition USB thumb drive. I see there is a whole description how to do this in 911cd:

http://www.911cd.net...o...st&p=145245

It seems like the easiest way is to use the Hitachi Microdrive Filter. Sadly the link to this filter is no longer good. Would you (or anyone) happen to have a copy they could post here? Or a good link?

I have done multiboot sticks using Gparted, but I need a second FAT32/16 partition that Vista or XP can see so I can do the bootsect.exe /nt60. To this partition. The only one I can see that were created with Gparted is the first Fat32/16. All others are simply not shown in XP or Vista.

Thank you!

#6 was_jaclaz

was_jaclaz

    Finder

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

Posted 27 August 2009 - 08:11 PM

It seems like the easiest way is to use the Hitachi Microdrive Filter. Sadly the link to this filter is no longer good. Would you (or anyone) happen to have a copy they could post here? Or a good link?

There is a mirror here:
http://www.911cd.net...o...14292&st=11
:frusty::
http://home.graffiti...rvr1224_320.zip

Or use Anton Bassov's dummydisk.sys:
http://www.codeproje...ct_hooking.aspx

The thread you are referencing is a rather oldish one and it uses NOT grub4dos, see if this helps you better (or both):
http://www.911cd.net...o...c=18846&hl=

jaclaz

#7 triiui

triiui

    Newbie

  • Members
  • 12 posts
  • Location:Barcelona
  •  
    Spain

Posted 04 September 2009 - 09:45 PM

Thank you Jaclaz.... this is pointing me in the right direction. My challenge is to create a multiple partition USB thumb drive. I see there is a whole description how to do this in 911cd:

http://www.911cd.net...o...st&p=145245

It seems like the easiest way is to use the Hitachi Microdrive Filter. Sadly the link to this filter is no longer good. Would you (or anyone) happen to have a copy they could post here? Or a good link?

I have done multiboot sticks using Gparted, but I need a second FAT32/16 partition that Vista or XP can see so I can do the bootsect.exe /nt60. To this partition. The only one I can see that were created with Gparted is the first Fat32/16. All others are simply not shown in XP or Vista.

Thank you!


Just as a tip if you're still working on this:
Im doing a similar project, I use grub4dos on a 16gb pendrive with a single partition. You can boot Windows 7 and Vista .iso files automatically with grub4dos, just load and it will start the install as it would a CD-Rom. The problem is Windows XP. Use BartPE to create the necessary files.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users