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

    • Samsung Galaxy Z Fold 8, Flip 8, Z Fold Wide: Everything you need to know The ONLY thing I need to know is the price, which I know will be way higher than I (and most people) are willing to pay for a phone... so basically nothing here I need to know. PS: Nice job getting that Apple reference to a non-existent and unrevealed product as "competition" in there. Cheque is in the mail.
    • Well I really think the repasting helped if your higher clocks have returned, maybe the next thing to look at is if there is a problem with your case airflow? I guess this because your 3080 has returned to optimal state, but is still staying too warm, which might suggest it was thermal throttling before you repasted, of which the only logical conclusion could be outside factors.
    • Samsung Galaxy Z Fold 8, Flip 8, Z Fold Wide: Everything you need to know by Hamid Ganji Galaxy Z Fold 7 - Image via Samsung The next generation of Samsung foldables is set to be unveiled next month at the second Unpacked event of the year. Samsung’s 2026 foldables are not expected to offer significant upgrades over their predecessors, with the Korean firm instead focusing on design refinements and conventional upgrades such as faster processors and better cameras. However, Samsung is reportedly planning to unveil an all-new passport-style foldable this year to rival Apple’s first foldable iPhone, which is expected to debut this September. Here’s a roundup of everything we know about Samsung’s upcoming foldable devices ahead of their official debut. When can we expect Samsung’s new foldables? The Galaxy Z Fold 7 and Z Flip 7 series were unveiled in July, and Samsung is expected to maintain this timeframe in 2026. Based on previous reports from Korean sources, Samsung will hold its Unpacked event on July 22 in London, UK, to pull back the curtain on the Galaxy Z Fold 8 series. The devices are also expected to hit the shelves a few weeks after launch. However, Samsung has yet to announce an official date. A new naming scheme? One of the most interesting changes we might see this year is a new naming scheme for Samsung’s latest foldables. SamMobile reported that since Samsung is expected to unveil three foldables this year, it has adopted a new naming strategy to simplify product identification for customers. Accordingly, the standard Galaxy Z Fold 8 will reportedly be called the Galaxy Z Fold 8 Ultra and will serve as the direct successor to last year’s Galaxy Z Fold 7. The “Ultra” suffix suggests the phone could feature higher-end specifications, such as additional rear camera modules. Samsung’s new passport-style foldable is expected to carry the Galaxy Z Fold 8 name without any suffix. This model is reportedly equipped with two rear cameras. No major changes are expected for the Flip model. Galaxy Z Fold 8 Ultra and Z Flip 8 anticipated specs Rumors over the past few months suggest Samsung is preparing several upgrades for its upcoming foldables, although the devices may continue to rely on larger batteries and faster charging speeds rather than dramatic design changes. The primary focus this year is expected to be the Galaxy Z Fold 8 and its wide-screen design. Galaxy Z Fold 8 Ultra official CAD renders - Image via AndroidHeadlines Here are the anticipated specifications for the Galaxy Z Fold 8 Ultra based on previous leaks: 6.5-inch outer display and 8-inch inner display, 120Hz refresh rate, and 2,600 nits peak brightness Snapdragon 8 Elite Gen 5 processor, paired with 12GB or 16GB of RAM and 256GB, 512GB, or 1TB of storage 4.1mm thickness when unfolded and a weight of 210g 200MP main camera, 50MP ultrawide camera, 10MP or 12MP telephoto camera, 10MP cover camera, and 10MP selfie camera 5,000mAh battery with 45W wired charging Android 17 and One UI 9 As for the Galaxy Z Flip 8, the device is not expected to be a major departure from its predecessor, although it could become slightly slimmer. Expected specifications include: Snapdragon 8 Elite Gen 5 or Exynos 2600 processor 12GB of RAM with 256GB and 512GB storage options 6.9-inch Dynamic AMOLED 2X inner dispaly and 4.1-inch Super AMOLED outer dispaly 50MP main camera, 12MP ultrawide camera, and 10MP selfie camera 4,300mAh battery with 25W wired charging Android 17 and One UI 9 Samsung’s foldables are also expected to launch with Gemini Intelligence, Google’s AI suite for automating tasks in Android ecosystem. Moreover, given current memory and component costs, some Galaxy Z Fold 8 Ultra and Z Flip 8 variants could see a price hike. Galaxy Z Fold 8 adopts a wide-screen design The centerpiece of the upcoming Unpacked event could be the Galaxy Z Fold 8, previously rumored as the Galaxy Z Fold Wide. This model adopts a passport-style form factor and is expected to compete directly with Apple’s iPhone Fold. Galaxy Z Fold 8 official CAD renders - Image via AndroidHeadlines Here’s what to expect: 7.6-inch primary OLED display and 5.4-inch cover display, 120Hz refresh rate, 2,600 nits peak brightness, and 4:3 aspect ratio Snapdragon 8 Elite Gen 5 processor, 12GB or 16GB of RAM, and 256GB, 512GB, or 1TB storage options 4,800mAh battery with 45W wired charging 50MP main camera, 50MP ultrawide camera, and 10MP selfie camera Android 17 and One UI 9 The three new foldable phones are unlikely to be the only devices unveiled at Samsung’s Unpacked event. The company is also expected to introduce the Galaxy Watch Ultra 2 and the Galaxy Watch 9 series.
    • Thanks
  • Recent Achievements

    • 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
    • One Month Later
      agatameier earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      504
    2. 2
      +Edouard
      196
    3. 3
      PsYcHoKiLLa
      140
    4. 4
      ATLien_0
      88
    5. 5
      Steven P.
      81
  • Tell a friend

    Love Neowin? Tell a friend!