UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello all. I have a question to throw into the arena. (If this issue has already been addressed/resolved, kindly point me in the right direction.)
I want to dual boot Windows 7 and Ubuntu, but I want Ubuntu to boot only when I install a "grub"-type USB stick. So if the USB stick is not inserted, Windows boots normally. (Reason is, I share this computer with some non-computer-savvy folks, and wouldn't want them to hurt themselves in Linux )
You should be able to install the Ubuntu Grub to a flash drive. You don't indicate what, if anything you will have on the drive besides Grub?
Check the Ubuntu link below, Section 12 has several methods. If you are successful, then set the flash drive to first boot priority. When it is plugged in, it should boot Ubuntu, when it is not plugged it will boot windows.
Yes, well, the ONLY thing I want on the USB stick is GRUB. I want to use it like a car key - it will only boot into Ubuntu. I want the Ubuntu OS and files, etc. to be on a dedicated partition on my computer, I just don't particularly like the purple OS choice screen when I reboot every time.
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680
Rep:
I'm sorry, I don't know exactly how to achieve this, but you ought to be able to install Ubuntu whilst the USB stick is in there and tell it to write the MBR and GRUB to it and that ought to do what you want.
Bear in mind, however, that some BIOSs will only retain the boot from USB option while the device is still there. So, with that type of BIOS, every time you plug your USB stick into the PC you will have to change the BIOS to tell it to boot from USB.
I'd remove any connection to your real hard drive(s).
Then install all the linux you want to the usb. Be sure you power down system and insert the usb before you power back on. Be sure bios see's the usb as a hard drive. If not then you may have to fool with way the usb is.
There are also many tools and web how-to's on ways to use syslinux, grub, grub4dos to boot images or folders and such.
By the way. The iso deal at pendrivelinux would save a lot of space. Any real install is not compressed.
Multiboot and yumi might be good to start with.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.