How To Program A Bootloader..? Want A USB Flash Drive With Windows 7, XP, Vista, and Perhaps 98 SE On It To Use For Installs

Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

log in | careers | chat | meta | about | faq

search

Questions

Tags

Users

Badges

Unanswered

Ask Question

How to program a bootloader..? Want a USB Flash Drive with Windows 7, XP, Vista, and perhaps 98 SE on it to use for installs
Hello World!
This is a collaboratively edited question and answer site for
Hello again my fellow StackOverflow friends!

professional and enthusiast programmers. It's 100% free,


no registration required.

What I would very much like to do is copy the contents of my Windows 7, Windows XP (Pro and Home SP3), Windows Vista, and assuming I have space left for it my most updated copy of 98 SE installation CDs onto a flash drive so that I can use that for any OS installs that I need to perform. Obviously I am going to need a boot loader that will allow me to select which OS install we're going to boot into; so I'm curious if this is possible at all. So - A) is my little project even doable? B) Would I have to program my own custom boot loader to do this, or would it be possible to modify the loader that the Windows CDs already use by default (or even hack LiLo or Grub to do it) C) Do any of you know of a good place to learn how to program bootloaders, or is this completely out of my league? I am ..decent.. at programming, but am by no stretch of the term an expert. The reason that I want it on a flash drive is simply because the read speeds from them tend to be FAR faster than from a DVD or CD-ROM - ESPECIALLY if the computer is a bit older and the optical drive is flithy. As always, thank you for your help!! -Sootah
windows-7 windows-vista windows-xp usb-drive bootloader

about faq
tagged
windows-7 5264 windows-xp 2198 windows-vista 1516 bootloader 167 usb-drive 103

asked 1 year ago viewed 2,496 times active 1 year ago

Related
Looking for C# code for detecting removable drive (usb flash) Is the Win32 API still native in current windows versions? usb key file system Which Is The Major Differences Between Windows XP, Vista And 7 At The Development Side How Can I Check To See If the User Set His Clock Back? How to programmatically create a file association that works in XP, Vista and Windows 7 Determine if O/S is Windows 7 Preventing Windows from using Alt+Shift key combination to switch locale How to add the UAC shield icon to program that still must target XP? Run Windows XP on a usb drive virtually on Windows XP? Where is a safe place to store log files that is compatable with XP, Vista, and Windows 7? c# how can i make sure that my application will look the same on other systems? Is there a way to programatically launch the Windows set up microphone programmatically obtaining special folder write permission using User Access Control in Windows 7 and Vista Creating a program that runs on USB memory NASM - Load code from USB Drive Code Injection doesn't work on Vista or Win7? winhttp.dll a standard windows file?
converted by Web2PDFConvert.com

link | improve this question

asked Jun 20 '10 at 7:47 Sootah 413 2 18 94% accept rate

1 No need to program anything. Use the Windows 7 bootloader and BCD (boot config database), it has ramdisk support and can boot Windows 7/Vista (bootldr), Windows XP (ntldr) and legacy OSes. Anton Tykhyy Jun 20 '10 at 7:49 feedback

2 Answers

active

oldest

votes

I don't think trying to program a bootloader is a good idea in your case. However, reading about how bootloaders work (for instance here) may assist you in using existing software to help you out. link | improve this answer answered Jun 20 '10 at 8:14 Artelius 18.1k 33 57

Does anybody have an example or writeup on how to create a DVD or USB flashdrive that has a bootloader that allows you to select what OS install to load? I've LOVE to have a flash drive that has the ability to install Windows 7, Vista, XP, Linux, etc all off of it. Why carry around 7 different install discs when you can have an allin-one flashdrive/fatty DVD? Sootah Jul 15 '10 at 9:06 feedback

No need to program a bootloader, you could use the Windows 7 bootloader or syslinux or grub4dos among others. The guys at http://www.boot-land.net have several tutorials and tools to solve similar problems and are willing to help you also. link | improve this answer answered Nov 22 '10 at 16:10 camilohe 41 2

feedback

Your Answer

winhttp.dll a standard windows file? How do you make an icon that's compatible with Vista/7 and XP? Developing for XP, Win 7 and Vista do I need to test Vista separately? Hiding a Secret in Windows Registry Windows session APIs not loading in time on Windows XP and ways to bypass it Is it safe to assume MBR bootloaders (stage 1.5) will not occupy more than the first 16 KB of a hard drive? Ribbon UI and Desktop Window Manager API on windows installed paths for all windows versions

Name

in

log

Email
or

Home Page

Post Your Answer

Not the answer you're looking for? Browse other questions tagged windows-7
windows-vista windows-xp usb-drive bootloader or ask your own question.

question feed

about | faq | blog | chat | data | podcast | shop | legal | advertising info | mobile | contact us | feedback

stackoverflow.com api/apps careers serverfault.com superuser.com meta area 51 webapps gaming ubuntu webmasters cooking game development math photography stats tex english theoretical cs programmers unix apple wordpress physics home improvement gis electronics android security bicycles dba drupal sharepoint scifi & fantasy user experience skeptics rpg judaism
site design / logo 2012 stack exchange inc; user contributions licensed under cc-wiki with attribution required

rev 2012.5.11.2538

converted by Web2PDFConvert.com

You might also like