Create a multi boot rescue USB flash drive


Recommended Posts

Im only guessing, but i would say it needs write protection off. This is because when the OS and other software talks to the hardware, it needs to read+write.

GIve it a go though. Would be interesting to know if it does work or not.

ya I will, my guess it will work. Because by nature they are designed to boot from a cd which it can't write to.

ya I will, my guess it will work. Because by nature they are designed to boot from a cd which it can't write to.

Thats true actually... good point.

Im also guessing it depends (if your using a normal OS on the drive), if you tell it to load to mem first or not.

Great Guide. I just followed it. Though I have 2 suggestions

There is a newer grub bootloader installer than the one you link to in your guide

http://themudcrab.com/downloads/grubinst-1...-2008-01-01.zip

This one actually takes all the guessing out which which [hdx] drive you want to use. Plus the one you linked to for some reason would only show me 1 -4 when what I needed was 8.

Also the link on how to actually create your WIndowsPE iso is down. So I just followed the instructions on this website.

http://msforums.ph/blogs/jayr/archive/2007...pe-boot-cd.aspx

Great job on the guide. I was just thinking I would really like to create a boot menu on my usb drive, and this guide was perfects.

Great Guide. I just followed it. Though I have 2 suggestions

There is a newer grub bootloader installer than the one you link to in your guide

http://themudcrab.com/downloads/grubinst-1...-2008-01-01.zip

This one actually takes all the guessing out which which [hdx] drive you want to use. Plus the one you linked to for some reason would only show me 1 -4 when what I needed was 8.

Are there any other benifits to the new one? I mean, does it have an newer features?

Maybe i could use it more successfully in booting .ISO images?

  • 1 month later...

This is great - thanks for the helpful tutorial! I installed everything without a hitch on an 8G usb. I've already put the System Rescue CD to good use.

Anyway, I also noticed in the comments that it should be possible to include full linux distros. I tried installing the USB versions of PUD <http://www.pendrivelinux.com/pud-linux-flash-drive-install-windows/#more-1171> and BackTrack <http://www.remote-exploit.org/backtrack.html> but PUD stalls during boot, and BT won't load at all. They are stored in /PUD and /BackTrack respectively. I'm also interested in adding an ubuntu distro. I'd appreciate any advice.

menu.lst

title PUD

kernel /PUD/boot/vmlinuz initrd=/PUD/boot/initrd.gz root=/dev/ram rw boot=casper showmounts wm=en init=/sbin/initng

initrd /PUD/boot/initrd.gz

title BackTrack

KERNEL /BackTrack/boot/vmlinuz vga=0x317 initrd=/BackTrack/boot/initrd.gz ramdisk_size=6666 root=/dev/ram0 rw autoexec=xconf;kdm

initrd /BackTrack/boot/initrd.gz

A note about BackTrack: I haven't actually installed it yet - I'm not sure if installing the USB version on my flashdrive will override grub (due to the many warnings about NOT installing it in C: first and moving it, otherwise Windows will not boot). Should I install it anyway?

Many thanks,

James

This is great - thanks for the helpful tutorial! I installed everything without a hitch on an 8G usb. I've already put the System Rescue CD to good use.

Anyway, I also noticed in the comments that it should be possible to include full linux distros. I tried installing the USB versions of PUD <http://www.pendrivelinux.com/pud-linux-flash-drive-install-windows/#more-1171> and BackTrack <http://www.remote-exploit.org/backtrack.html> but PUD stalls during boot, and BT won't load at all. They are stored in /PUD and /BackTrack respectively. I'm also interested in adding an ubuntu distro. I'd appreciate any advice.

menu.lst

title PUD

kernel /PUD/boot/vmlinuz initrd=/PUD/boot/initrd.gz root=/dev/ram rw boot=casper showmounts wm=en init=/sbin/initng

initrd /PUD/boot/initrd.gz

title BackTrack

KERNEL /BackTrack/boot/vmlinuz vga=0x317 initrd=/BackTrack/boot/initrd.gz ramdisk_size=6666 root=/dev/ram0 rw autoexec=xconf;kdm

initrd /BackTrack/boot/initrd.gz

A note about BackTrack: I haven't actually installed it yet - I'm not sure if installing the USB version on my flashdrive will override grub (due to the many warnings about NOT installing it in C: first and moving it, otherwise Windows will not boot). Should I install it anyway?

Many thanks,

James

I believe it wont load because you have them in subfolders.

GRUB4DOS i believe does not automatically know this and relies on the BOOT folders being at the root and other files being in their original places. So you need to do it like this:

menu.lst

title PUD

kernel /PUD/boot/vmlinuz initrd=/PUD/boot/initrd.gz root=/dev/ram rw boot=casper showmounts wm=en init=/sbin/initng

initrd /PUD/boot/initrd.gz

title BackTrack

KERNEL /BackTrack/boot/vmlinuz1 vga=0x317 initrd=/BackTrack/boot/initrd1.gz ramdisk_size=6666 root=/dev/ram0 rw autoexec=xconf;kdm

initrd /BackTrack/boot/initrd1.gz

Note that you should rename one of the vmlinuz files and one of the initrd.gz files, so you dont end up using the ones from the other distro. This would result in you loading the incorrect OS.

Thanks Rich!

I'll give it a go tonight and post back here.

Cheers,

-J

I believe it wont load because you have them in subfolders.

GRUB4DOS i believe does not automatically know this and relies on the BOOT folders being at the root and other files being in their original places. So you need to do it like this:

menu.lst

title PUD

kernel /PUD/boot/vmlinuz initrd=/PUD/boot/initrd.gz root=/dev/ram rw boot=casper showmounts wm=en init=/sbin/initng

initrd /PUD/boot/initrd.gz

title BackTrack

KERNEL /BackTrack/boot/vmlinuz1 vga=0x317 initrd=/BackTrack/boot/initrd1.gz ramdisk_size=6666 root=/dev/ram0 rw autoexec=xconf;kdm

initrd /BackTrack/boot/initrd1.gz

Note that you should rename one of the vmlinuz files and one of the initrd.gz files, so you dont end up using the ones from the other distro. This would result in you loading the incorrect OS.

  • 2 weeks later...

Is it possible to load onto my Kingston Data Traveler 100 8 gig USB flash: Windows 7, XP, Works, Memtest86, data lifeguard bootable HD repair, and a couple dozen apps and files all in folders, then when I want to boot from the 7, XP, data lifeguard, Works or Memtest86, move them onto the root of the drive and restart to boot?

I am currently booting Win7 install files off of this drive after having cleaned, partitioned, formatted fat32, marked primary and active. I did not have to install bootsect files to the drive in any special way. This gives me the idea I might be able to boot the other bootables by moving Win7 back into a folder and moving the desired bootable out of its folder onto the root.

Are there any other steps I need to consider? I am a clean reinstall hobbyist and these are the only tools I really need when I visit friends and family. I'd like to keep it all on my thumb drive and make it as simple as possible, if that is possible.

Thanks.

Is it possible to load onto my Kingston Data Traveler 100 8 gig USB flash: Windows 7, XP, Works, Memtest86, data lifeguard bootable HD repair, and a couple dozen apps and files all in folders, then when I want to boot from the 7, XP, data lifeguard, Works or Memtest86, move them onto the root of the drive and restart to boot?

I am currently booting Win7 install files off of this drive after having cleaned, partitioned, formatted fat32, marked primary and active. I did not have to install bootsect files to the drive in any special way. This gives me the idea I might be able to boot the other bootables by moving Win7 back into a folder and moving the desired bootable out of its folder onto the root.

Are there any other steps I need to consider? I am a clean reinstall hobbyist and these are the only tools I really need when I visit friends and family. I'd like to keep it all on my thumb drive and make it as simple as possible, if that is possible.

Thanks.

Short answer i no, you cant put them in folders, because most boot files look to the root for the files they require.

Saying that, you CAN partition it how you want, have a primary menu.lst file, which calls other menu.lst files on other partitions OR botts directly from those partitions.

That being said however, you still won't be able to have them in folders.

You could try making bootable ISO images and see if you can have GRUB4DOS boot directly from the ISO. I got halfway successfull with that, but couldnt get a fully bootable image working full way...

Short answer i no, you cant put them in folders, because most boot files look to the root for the files they require.

Saying that, you CAN partition it how you want, have a primary menu.lst file, which calls other menu.lst files on other partitions OR botts directly from those partitions.

That being said however, you still won't be able to have them in folders.

You could try making bootable ISO images and see if you can have GRUB4DOS boot directly from the ISO. I got halfway successfull with that, but couldnt get a fully bootable image working full way...

The only reason I suggested folders is that only the ISO files I want to boot from would be out of the folder at the time I wanted to run them and on the root so they would be recognized for booting. I have my Windows 7 in a folder on my USB and when I want to boot from it I take the files out onto the root for that purpose, then put them back into the folder after I have done the install.

This gave me the idea that I could place other bootable ISO files into their own folders and take them out onto the root when I wanted to boot from them.

Since I never had to run the bootsect command while formatting the USB flash drive (just made it primary and active in FAT32), then it seems like something else is telling the files on the root to boot up. Do you know what that is? And do you know whether it would work for any other bootable ISO's files placed onto that USB flash drive's root?

As for using the ISO image itself, are you saying that GRUB4DOS is some kind of boot manager to point to which ISO I'd want to boot from my flash drive? How does that work exactly? Just askin. Thanks.

The only reason I suggested folders is that only the ISO files I want to boot from would be out of the folder at the time I wanted to run them and on the root so they would be recognized for booting. I have my Windows 7 in a folder on my USB and when I want to boot from it I take the files out onto the root for that purpose, then put them back into the folder after I have done the install.

This gave me the idea that I could place other bootable ISO files into their own folders and take them out onto the root when I wanted to boot from them.

Since I never had to run the bootsect command while formatting the USB flash drive (just made it primary and active in FAT32), then it seems like something else is telling the files on the root to boot up. Do you know what that is? And do you know whether it would work for any other bootable ISO's files placed onto that USB flash drive's root?

As for using the ISO image itself, are you saying that GRUB4DOS is some kind of boot manager to point to which ISO I'd want to boot from my flash drive? How does that work exactly? Just askin. Thanks.

Im a little confused as to what you are doing here? Are you currently using Grub4Dos?

How are you moving the files to root, when you want to use them?

Grub4Dos IS a boot manager yes? What did you think it was? It has the ability to hook to an ISO image and use that image as a partition in its own right, thus making it the bootable partition, however its flaky...

Im a little confused as to what you are doing here? Are you currently using Grub4Dos?

How are you moving the files to root, when you want to use them?

Grub4Dos IS a boot manager yes? What did you think it was? It has the ability to hook to an ISO image and use that image as a partition in its own right, thus making it the bootable partition, however its flaky...

No I'm not using GRUB yet, just found this forum thread when searching for how to make multiple image files bootable from the same USB flash drive. I have Windows 7 on my Kingston Data Traveler 8gb right now along with a number of apps/files. I keep Win7 in a folder and then when I need to boot from it, I open the folder and drag all of the files to the flash's root (leaving the folder temporaily empty). So far it works every time that way.

I had read on another thread that it is possible to put multiple other bootable installers and apps like XP or memtest86 on the same flash drive by keeping them in separate folders until they are needed to boot, then moving them from their folder to the root of the flash drive. So far, I can only get this to work with Win7, but I would like to have the same flash drive bootable also for XP, dban, memtest86, partition pro.

If there is a way to do this simply by moving them out of a folder onto the root, then I would like to determine that for certain. Otherwise, I would like to learn how to use GRUB4DOS to accomplish this same thing, booting multiple different choices from the same flash drive. I was hoping it wouldn't get too complicated to do something so simple and lightweight as carrying all of my installers, bootable apps, apps and files on a drive smaller than my thumb, but I'm willing to learn what it takes to do it, and I really appreciate any help you can give.

No I'm not using GRUB yet, just found this forum thread when searching for how to make multiple image files bootable from the same USB flash drive. I have Windows 7 on my Kingston Data Traveler 8gb right now along with a number of apps/files. I keep Win7 in a folder and then when I need to boot from it, I open the folder and drag all of the files to the flash's root (leaving the folder temporaily empty). So far it works every time that way.

I had read on another thread that it is possible to put multiple other bootable installers and apps like XP or memtest86 on the same flash drive by keeping them in separate folders until they are needed to boot, then moving them from their folder to the root of the flash drive. So far, I can only get this to work with Win7, but I would like to have the same flash drive bootable also for XP, dban, memtest86, partition pro.

If there is a way to do this simply by moving them out of a folder onto the root, then I would like to determine that for certain. Otherwise, I would like to learn how to use GRUB4DOS to accomplish this same thing, booting multiple different choices from the same flash drive. I was hoping it wouldn't get too complicated to do something so simple and lightweight as carrying all of my installers, bootable apps, apps and files on a drive smaller than my thumb, but I'm willing to learn what it takes to do it, and I really appreciate any help you can give.

As far as im aware, you cant do it with Grub4dos. The logic just doesnt work that way.

I read the entire thread twice and find it to be an exceedingly complex method to do something which I believe might be done simply by putting the files into folders on a active primary flash and then taking them out onto the root in order to boot from them. Your responses tell me that you might be so rigid in your arcane methodology that you are unwilling even to discuss possible simpler solutions.

I found a tutorial on MS Technet by David Chung http://edge.technet.com/Media/Installing-W...ng-a-USB-Stick/ which allows me to simply format NTFS active primary flash and then copy files for Win7 installer onto it and it is immediately able to boot. I can put other files onto the flash loose or in folders. When I am not needing the Win7 installer I simply put its files back into their folder and then it is not bootable. When the files are spilled out into the root it is immediately bootable every time.

David explains how it is bootable without having bootsect code inserted: "...you don't have to. Unless your USB Disk is used as a "permanent" disk in your drive configurations and you need to update your master boot code to switch between bootmgr and NTLDR. So not in this case since i'm using the BIOS to boot the installation off the USB Stick. The BootMgr on the USB Disk will suffice. Only MUSTDO is to make the partition active, else the BIOS won't pick it up and you get a "No Boot Device Error" in some cases, or your PC boots back your startup partition's OS."

Another commenter there suggests it is possible to have multiple bootable applications on the same flash drive in folders, then when you want to boot from one of them you simply spill the folder's contents into the root of the drive, something I have not been able to replicate other than with the Win7 files. So I go looking for how to multi-boot a flashdrive in this way and it leads me to this tutorial which seems to be outdated within its year's existence. I appreciate your responding to me but am flummoxed by seeming stonewall unwillingness to embrace anything simpler and possibly more current with the fast-evolving technology of flash drive booting.

So my question still is: If one bootable app will boot in this way when files are placed on the root, then why cannot others on the same flash which are kept in folders and taken out onto the root when needed to boot?

Edited by gregrocker
I read the entire thread twice and find it to be an exceedingly complex method to do something which I believe might be done simply by putting the files into folders on a active primary flash and then taking them out onto the root in order to boot from them. Your responses tell me that you might be so rigid in your arcane methodology that you are unwilling even to discuss possible simpler solutions.

I found a tutorial on MS Technet by David Chung http://edge.technet.com/Media/Installing-W...ng-a-USB-Stick/ which allows me to simply format NTFS active primary flash and then copy files for Win7 installer onto it and it is immediately able to boot. I can put other files onto the flash loose or in folders. When I am not needing the Win7 installer I simply put its files back into their folder and then it is not bootable. When the files are spilled out into the root it is immediately bootable every time.

David explains how it is bootable without having bootsect code inserted: "...you don't have to. Unless your USB Disk is used as a "permanent" disk in your drive configurations and you need to update your master boot code to switch between bootmgr and NTLDR. So not in this case since i'm using the BIOS to boot the installation off the USB Stick. The BootMgr on the USB Disk will suffice. Only MUSTDO is to make the partition active, else the BIOS won't pick it up and you get a "No Boot Device Error" in some cases, or your PC boots back your startup partition's OS."

Another commenter there suggests it is possible to have multiple bootable applications on the same flash drive in folders, then when you want to boot from one of them you simply spill the folder's contents into the root of the drive, something I have not been able to replicate other than with the Win7 files. So I go looking for how to multi-boot a flashdrive in this way and it leads me to this tutorial which seems to be outdated within its year's existence. I appreciate your responding to me but am flummoxed by seeming stonewall unwillingness to embrace anything simpler and possibly more current with the fast-evolving technology of flash drive booting.

So my question still is: If one bootable app will boot in this way when files are placed on the root, then why cannot others on the same flash which are kept in folders and taken out onto the root when needed to boot?

Its not complex? MANY people got this working through this thread created by Si.

If your confused, then fair enough, but i seriously think you have no idea what it is you are aiming for and have no idea how boot techniology works.

I know this all sounds harsh, but from what you have said so far, this is how it comes across and i see this going on and on, because you wont be able to grasp the concept of bootable flash media.

Ok, i just watched that video you linked to and found that it actually shows you how to place the Windows 7 Install files on to a partition on the disk. Now it might be possible for you to use this method to create multipul partitions and place the OS of choice on each partition, but then you will need to edit the boot file on the primary partition, so it gives you a menu asking which partition you wish to boot from, then give the correct perameters for each partition.

However, you could just use Grub4Dos, which is far more simplistic IMO to configure, as it just relies on you editing a file called menu.lst to point to the correct partition and files etc.

Note though that this still wont alow you to place the files in seperate folders. In fact the video you posted does not even show you putting files in a folder on a partition either, so im unsure where you are getting this information about folders from?

Can I add Ubuntu to this or what is the best Linux to add to it and how? Thanks.

BTW: I followed the first page of this thread and it worked first time!

P.S How can I add a title to the menu.lst file so it will show my company name when it boot to the options menu?

EDIT: Forgot to add...I would like to add Spinrite too.

Edited by Moe Szyslak
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Nice, hope they *finally* fixed the issue with the NTFS driver where the system would completely brick during large file copies using the built in driver. It's been broken for years requiring me to use the older, slower, NTFS-3G FUSE driver.
    • Windows 11 KB5094126 BSODing, freezing, forcing BitLocker lockout, breaks OneDrive, and more by Sayan Sen Microsoft released Windows 11 KB5094126 and KB5093998 last week as the latest Patch Tuesday updates. Following that the company also published the accompanying dynamic updates under KB5094149, KB5095971, and KB5094156. While Microsoft has so far not acknowledged any major problems with the release, some users online are running into problems. These range from OneDrive and Dropbox access issues, BitLocker recovery lockouts, to blue screens and BSODs. The most common one seems to be happening with HP systems wherein affected users say they hit 0xc0430001 BSOD (blue screen of death) error code after the KB5094126 update. We wonder if this could be related to the recent bug we covered on HP devices wherein the ongoing Secure Boot certificate updates are leading to similar issues. While we are not certain, users affected by this issue likely need to ensure that the boot.stl file is included on the installation media (such as a USB installer or ISO), if the above-mentioned dynamic updates are deployed. If this file is missing, computers may fail to boot from the installation media and could display the error 0xc0430001. This STL file is used by Secure Boot to verify that the boot files are trusted, so it must match the same Windows version and system architecture. To ensure the file is included, Microsoft recommends using the Update WinPE script, which automatically updates the image and handles the required files. Alternatively, you can manually copy the boot.stl file from the Windows\Boot\EFI folder on a Windows device and place it in the matching folder on your installation media before deploying the updated image. Aside from blue screening some users also note their systems have been freezing following the update. This could be happening to Lenovo PCs specifically. In the case of the OneDrive and Dropbox access issues, a user figured out that there could be a conflict with UAC. He explained: "Okay, so I did some digging, and in our environment KB5094126 breaks OneDrive and Dropbox in Explorer. I went through all our GPOs and found out that the combination of disabling UAC and having my user being a local admin breaks OneDrive in Explorer. ... If I enable UAC again, then it works, even with KB5094126 still installed." Hopefully, Microsoft will look into these issues. Source: Microsoft forum (link1, link2, link3, link4), Reddit (link1, link2, link3, link4)
    • It is when it's a desktop in my house though for a PC that's lightly used and not really important when it is. If it was a laptop, it would be a different story. The real solution is varied and begins starting at post #22 in that thread.
    • Win11Debloat 2026.06.14 by Razvan Serea Win11Debloat is a lightweight, easy to use PowerShell script that allows you to quickly declutter and customize your Windows experience. It can remove pre-installed bloatware apps, disable telemetry, remove intrusive interface elements and much more. The script also includes many features that system administrators and power users will enjoy. Such as a powerful command-line interface, support for Windows Audit mode and the option to make changes to other Windows users. All changes made by Win11Debloat can be easily reversed, and most removed apps can be restored via the Microsoft Store. A full guide on how to undo the changes is available here. Win11Debloat features: Below is an overview of the key features and functionality offered by Win11Debloat. Please refer to the wiki for more information about the default settings preset. Remove a wide variety of preinstalled apps. Click here for more info. Disable telemetry, diagnostic data, activity history, app-launch tracking & targeted ads. Disable tips, tricks, suggestions & ads across Windows. Disable Windows location services & app location access. Disable Find My Device location tracking. Disable 'Windows Spotlight' and tips & tricks on the lock screen. Disable 'Windows Spotlight' desktop background option. Disable ads, suggestions and the MSN news feed in Microsoft Edge. Hide Microsoft 365 ads on the Settings 'Home' page, or hide the 'Home' page entirely. Disable & remove Microsoft Copilot. Disable Windows Recall. Disable Click to Do, AI text & image analysis tool. Prevent AI service (WSAIFabricSvc) from starting automatically. Disable AI Features in Edge. Disable AI Features in Paint. Disable AI Features in Notepad. Disable the Drag Tray for sharing & moving files. Restore the old Windows 10 style context menu. Turn off Enhance Pointer Precision, also known as mouse acceleration. Disable the Sticky Keys keyboard shortcut. Disable Storage Sense automatic disk cleanup. Disable fast start-up to ensure a full shutdown. ...and more. Once you’ve downloaded the Win11Debloat file (Get.ps1), just follow these quick steps: Locate the Get.ps1 script file. Right-click the file and select Run with PowerShell from the context menu. If prompted by User Account Control (UAC), select Yes to grant the script the necessary administrative permissions. Win11Debloat 2026.06.14 changes: This is a minor release that hopefully addresses the false positives in Windows Defender and Bitdefender that prevented users from downloading and/or running Win11Debloat. Refactor Get-RegFileOperations.ps1 to address false positives by @Raphire in #626 Add logging around WinGet app retrieval and increase timeout to 20s by @Raphire Download: Win11Debloat 2026.06.14 | Open Source View: Win11Debloat Home Page | Screenshots 1| 2 Get alerted to all of our Software updates on Twitter at @NeowinSoftware
  • Recent Achievements

    • Week One Done
      Jeroen Wilms earned a badge
      Week One Done
    • Week One Done
      rolfus earned a badge
      Week One Done
    • One Month Later
      Leroy Jethro Gibbs earned a badge
      One Month Later
    • Conversation Starter
      flexorcist earned a badge
      Conversation Starter
    • One Month Later
      AndreaB earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      508
    2. 2
      +Edouard
      198
    3. 3
      PsYcHoKiLLa
      138
    4. 4
      ATLien_0
      90
    5. 5
      Steven P.
      81
  • Tell a friend

    Love Neowin? Tell a friend!