How To Boot From USB On A Machine That Doesn't Support Booting From USB
14 Apr 2012
How do you boot from a USB stick on a machine that doesn’t support
booting from USB sticks? The answer, of course, is that you cheat. You
install grub on a hard disk on the machine and then you
the bootloader on the USB stick. Here’s how you do it in grub 0.97:
grub> root (hd1,1) grub> makeactive grub> chainloader +1
and in grub 1.99:
grub> set root=(hd1) grub> chainloader +1 grub> boot
TIP: make liberal use of your TAB key when trying to figure out
where the boot disk/partition are located during the
See this section in the grub manual for more information on chain-loading in grub 0.97.
You can also just boot the kernel directly from the USB stick rather than chain-loading to the bootloader on the USB stick, as long as you know what kernel, initrd, etc you want to load.
blog comments powered by Disqus
- GitHub Profile
- Stack Overflow Careers Profile
- Stack Overflow Profile
- G+ Profile
- PGP Public Key
- Rafty -- Ripper and Friggin Transcoder, Y'all
- Make Readme Markdown
- Diffview Mode
- Indent Hints Mode
- Track That Thing
- Co-Founder & CEO of Directangular, LLC.
- Previously: Linux Kernel development for QuIC. Some of my work (a little stale) is available on the Code Aurora Forum, here, here, here, and here.
- My nerd hobby: Creating and contributing to a variety of Open Source projects. See my GitHub profile.