usb_multiboot from second partition of stick
#1
Posted 03 February 2009 - 05:38 AM
What i am trying to do is on a 32gb usb stick have one partition, the first as fat32 with wpi programs, portable programs, drivers and manuals and such which can be seen by windows normaly, a second partition ntfs with 4 flavors of window,s pro and home with driver pack and without, slipstreamed with hfslip, and some other partitions with ubuntu live and some other linux live disks.
Of course i am using usb_multiboot which is the best thing after sliced bread and everything goes great if there is one windows partition with all the windows sources and the other data i want to have. You understand that the root of that partition is seriously crammed and is not practical at all. That is why i want to seperate them. The thing is that the data partition has to come first so windows can see it and my stick is not one that works by flipping the removable flag. Installing a driver so it can be seen as a drive is not so much an option because it has to be generic and work everywhere, not only on my pc. What i have done so far is create two partitions one fat32 and one ntfs and then delete the first so the partition table is correct but the drive is viewable by windows so i can format it with 64k cluster size which i read somewhere in these forums that is needed and use the great usb_multiboot to create all the sources. I forgot to mention that i am booting with grub4dos and not the ntldr boot loader.
Grub loads great, everything else works fine, if i create the first partition and copy everything there everything goes smoothly except the installation of any of the windows. Grub loads, calls ntldr, i get the menu, i pick an option, and i get a "file copy error, press alt+ctlr+del to continue". Is there somewhere hardcoded the partition on the loaders of usb_multiboot so i could maybe change it to be the second? I think that, that must probably be the problem. Of course i am open for suggestions as i could very well be very off. Any ideas are welcome. I am really close to doing exactly what i want and i really have to work pass this little hickup.
Thank you all for all the great work you've done and anyone for any suggestions helpful or otherwise.
#2
Posted 03 February 2009 - 08:47 AM
#3
Posted 03 February 2009 - 12:51 PM
#4
Posted 03 February 2009 - 03:35 PM
dpurple77, on Feb 3 2009, 01:51 PM, said:
As known, windows XP read one partition from removable device.
This includes windows setup.
What's the rule?
Can windows read active partition from removable device?
Can windows read first partition from removable device?
What's the first partition? Partition entry at MBR 01BE ?
Completely not tested: add cfadisk to USB stick at second partition.
This was about cfadisk added to CD install: http://www.msfn.org/board/index.php?s=&...st&p=818429
Maybe this can be added to USB stick too.
Be aware, back then a USB hard disk made difficulties. I don't know current conditions.
#5
Posted 03 February 2009 - 04:02 PM
#6
Posted 04 February 2009 - 06:53 AM
But your initial problem of a complicated unpractical USB-stick directory can be solved quite simply in another way.
Instead of partitioning the USB-stick, you might make a Folder in which you place WPI + Apps + Drivers + Manuals
e.g. anything you would like to be visible in Windows.
After Start of Windows, you simply open this Folder and there is no Complicated unpractical directory anymore.
This keeps things simpler and gives optically the desired result.
Windows XP setup can be very troublesome with finding files on partitions other than the first partition.
This post has been edited by wimb: 04 February 2009 - 07:01 AM
#7
Posted 04 February 2009 - 07:13 AM
#8
Posted 17 February 2009 - 06:15 PM
Well... I got something for you. Wether that "something" qualifies as a solution... I think so, even if it doesn't answer your post's title.
I did a few tries for you (involving repartitionning the wrong stick at 2 in the morning, ain't it fun ?).
I spent some times checking what's seen and what's not, it might be interresting for you.
I made 2 FAT16 partitions on a stick and put USB_Multiboot on both (both about 500Meg). This is done independantly, installing it on the 1st one, or installing it on the 2nd (physically 2nd,that is), not like I first did, with ghosting the 1st one to the 2nd one. I have not edited ANY script or configuration file.
Now... those who know Ranish Partition Manager might also know that you can set the "row numbering" of a partition independantly from its physical place, I played with that and booted and booted and booted again ...and again, swapping partitions numbering and active status.
Here are my results (no hot plug here).
1) booting DOS, be it from other device or from the stick, works from both partitions, it boots the active one, be it numbered 1 or 2.
both partitions are seen in all scenario, the active one takes the 1st letter. I did not try with no active partition, but this is not what interests us today.
2) booting BartPE
-from the stick, ONLY works if the active partition is NUMBERED #1,
other scenario: BSOD:
3) booting Bart PE from OTHER SYSTEM is idem as running Windows; only ONE partition is seen; the one that is NUMBERED as 1st partition (and this is where we see the light). Be it active or not.
4) trying to launch XP INSTALL:
as for booting PE, unless the partition is active and numered 1 which is the only situation that completes the install, other scenarii (waiting for italian sarcasm here) stop later.
Conclusion for the Original Poster:
1) your Windows install files need to be on the partition that is NUMBERED 1 and install needs to be launched from that same partition (it needs to be active).
2) BUT (!!!) changing the numbering of the partition, you can swap the one that will be visible in Windows. That involves booting DOS, using Ranish Partition Manager, changing the partition numbering (I doubt there is a command line for that unusual function in Ranish, maybe other programs can do that also (or our local geniuses can automate it), save and reboot (takes 10 seconds).
As you leave the 1st partition active and you have UsbMultiboot on it (with DOS boot), you will always be able to run Ranish, independantly of the state of the partitions numbering.
So "1-2", you install Windows, "2-1", you see your 2nd partition in Windows.
Unfortunately, I haven't been able to make an NTFS partition that boots (I'm a failure, or that Kingston stick is), and you want to use NTFS for install, so your case is not completely done, but I guess you can at least boot a DOS floppy image (and Ranish) from UsbMultiboot on NTFS ?
That was it. I know I don't always explain things very clearly, so If you have questions, ...use the forum, I'll try my best.
Remark: when I say partition "numbered 1", I mean numbered 1st. If you only have 2 and 3, it's 2, or if you only have 2, it's 2.
This post has been edited by Ponch: 22 February 2009 - 08:00 AM
#9
Posted 18 February 2009 - 12:55 AM
#10
Posted 20 February 2009 - 09:09 AM
Still my conclusion, based on point 3) remains valid.
#11
Posted 20 February 2009 - 11:22 AM
Quote
What about the actual ambulance driver?
Just for the record:
1) if you hide a partition, it will be hidden
2) a "clone" of a first partition won't work because of this:
http://www.911cd.net...showtopic=19663
drive letter cannot work, as the offset is different.
3) grldr can be found even on hidden partitions.
4) grub4dos can take care of all the hiding/unhiding/partition entry writing that might be needed
There is an on going thread where a solution (hopefully) for a similar problem is "in the works", it may give you some ideas:
http://www.boot-land.net/forums/index.php?...ic=7138&hl=
jaclaz
#12
Posted 22 February 2009 - 08:02 AM
#13
Posted 22 February 2009 - 08:37 AM
Ponch, on Feb 22 2009, 03:02 PM, said:
No need to argue
This:
Quote
was what I was referring to.
From what you report here and on the other thread, and from what Luca's is reporting on the thread on bootland it seems that when the drive is seen as "Removable" it ONLY "sees as "mountable" 1st entry in partition table, i.e. entry #0 for beeblebrox or #1 for Ranish.
On the other hand, if the drive is seens as "Fixed" (by flipping the "Removable" bit or using a Filter Driver), all partition entries will be seen "normally".
Thus your three conditions:
- unexistant
- empty
- hidden
seem to me just two:
- unexistant or empty (which is the same thing
) - hidden
Of which the first ONLY applies to drives seen as "Removable", whilst the second applies to BOTH cases of drive seen as "Removable" or "Fixed", this was what I meant:
jaclaz, on Feb 20 2009, 06:22 PM, said:
Hope that the above is both clearer and accurate.
jaclaz
#14
Posted 22 February 2009 - 01:18 PM
The 1st mistake I made was to ghost the 1st partition on the 2nd one and concluding it couldn't work from a 2nd partition when that was not the problem, my method was the problem, I should have properly installed to the 2nd one.
The 2nd mistake was to test booting and running (I thought) from the second partition having files used (instead, without me realizing) from the 1st one.
Based on that last fact, I tried to rectify and retry with the 1st partition being
-inexistant (big gap where the 1st partition would normally be)
-hidden (there but ... hidden)
-empty (there, appearing, formatted, but no file on it, not the same as inexistant
The results are the same but those were the 3 different conditions that I could think of.
And yes, I worked with removable drives.
Cheers.
#15
Posted 22 February 2009 - 02:15 PM
cdob, on Feb 3 2009, 04:35 PM, said:
Partition type is ignored. Partition type changed to 0x42: NTFS partition is mounted anyway.
Quote
This was about cfadisk added to CD install: http://www.msfn.org/board/index.php?s=&...st&p=818429
cfadisk integrated to USB removable at second partition. Migrate.inf enhanced:
T: first partition, available within running XP
U: second partition, not available within running XP
XP setup does boot from second partition.
Drives T: and U: are available.
Target partition C: selected. Continue.
Windows setup check partition C:.
Next there is a error message: partition T: is corrupt. Yes error message is about T:, not U:
Reboot.
Does XP setup itself read MBR again and seek files at MBR partition 01BE only?
Time for?
http://www.msfn.org/board/index.php?s=&...st&p=837477
#16
Posted 22 February 2009 - 04:25 PM
cdob, on Feb 22 2009, 12:15 PM, said:
Thus I went in catch 22- need to write protect USB for the text mode stage, but can't because it's seen as a hard disk now, and Windows will try to place the boot files on it.
#17
Posted 23 February 2009 - 12:40 AM
cdob, on Feb 22 2009, 09:15 PM, said:
Surprising and Related to your observation:
I observed that when the sequence of the entries in the partition table is reversed as compared
to the real sequence of partitions on the Install Drive that XP Setup refuses to continue.
Surprisingly on Reboot XP Setup had REPAIRED the partition table and then could CONTINUE.
I have used TinyHexer to observe what is going on in the partition table.
So XP Setup reads MBR and Repairs MBR partition table so that sequence of entries correspond to
real sequence of partitions on Harddisk.
This post has been edited by wimb: 23 February 2009 - 12:39 PM
#18
Posted 05 March 2009 - 07:36 AM
The approach here:
http://www.boot-land.net/forums/index.php?...ic=7138&hl=
works, thanks to the new features tinybit added to latest grub4dos.
@wimb
Check the idea from cdob, it seems like a very suitable way to install XP from USB.
jaclaz



Help
Back to top











