LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices

Reply
 
Search this Thread
Old 12-16-2009, 04:16 PM   #1
vimico
Member
 
Registered: Jan 2004
Distribution: Debian, Ubuntu
Posts: 118

Rep: Reputation: 15
How to boot from an USB stick without BIOS support using Grub2?


I'm trying to solve the following problem:

I have a bootable USB stick. It works on my desktop PC which has USB support built into the BIOS.

I want to use this stick on my 6 year old laptop which has no USB BIOS support.

The laptop runs Ubuntu Karmic and has grub2 installed on the hard drive.

The goal is to boot the USB stick via grub2 (on the HD).

I tried my luck with google for some days now and found hundreds of articles describing how to install grub on an USB stick, but not how to change an existing grub2 to recognize an usb stick and boot from it.

Any hints?

Thank you
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 12-16-2009, 04:25 PM   #2
cpplinux
Member
 
Registered: Dec 2009
Posts: 37

Rep: Reputation: 17
I don't think that can be done because grub2 cannot see the usb drive?? If there is a solution, I want to know too.
 
Old 12-16-2009, 04:55 PM   #3
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,084

Rep: Reputation: 336Reputation: 336Reputation: 336Reputation: 336
Plop Bootmanager executable "plpbt" or "plpbt.bin"
doesn't install anything; just boots usb's, usb-cdrom's, usb-hdd's,etc on computers that wont boot from usb

basically, you get plpbt.bin from the plop bootmanager download
http://www.plop.at/en/bootmanagerdl.html

then you gotta either edit your grub.cfg manually or thru grub2 instructions
and add plpbt.bin to grub.cfg

Code:
menuentry "Plop Bootmanager" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set 0b07e554-9083-4467-a1a8-94cb88ee6c6f
	linux /boot/plpbt.bin
}
you may have to use "linux16"
as sometimes grub2 thinks its a floppy image?

Code:
menuentry "Plop Bootmanager" {
	insmod ext2
	set root=(hd0,1)
	search --no-floppy --fs-uuid --set 0b07e554-9083-4467-a1a8-94cb88ee6c6f
	linux16 /boot/plpbt.bin
}
thats how I do it
and it works
 
3 members found this post helpful.
Old 12-17-2009, 07:26 AM   #4
vimico
Member
 
Registered: Jan 2004
Distribution: Debian, Ubuntu
Posts: 118

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by linus72 View Post
Plop Bootmanager executable "plpbt" or "plpbt.bin"
doesn't install anything; just boots usb's, usb-cdrom's, usb-hdd's,etc on computers that wont boot from usb
...
Yes, thank you. That works nicely.

I was hoping that with all its new modules this functionality was meanwhile part of grub2.
 
Old 01-15-2010, 05:42 AM   #5
amiba
LQ Newbie
 
Registered: Jan 2010
Posts: 8

Rep: Reputation: 2
Smile

Thanks for help, Was searching for a solution to get my sticks working again - this works fine.
 
Old 02-17-2010, 12:22 PM   #6
justmecrd
LQ Newbie
 
Registered: Feb 2010
Posts: 2

Rep: Reputation: 0
I got my USB drive working with Ubuntu and Grub2 without Plop.
I tried plop and it does work.
What I ended up doing is the following:
I don't want ubuntu Live on my USB, just ubuntu.
First, I installed ubuntu straight on to my USB drive. Do not install the boot loader.
Second, either boot the live CD, mount your USB drive, then install ubuntu on your hard drive including the boot loader, or if you already have grub2 on your HD, mount your USB so that grub will see it, then do sudo update-grub2.
This will add a grub menu item for your USB (sdb1 for me) as well as your regular hard drive. The usb should be called out by it's UUID. Now, here's the secret. Boot the hard drive. I go to the recovery boot, and a root shell, but you can boot the whole xwindows session. Mount your USB drive. You may have to unplug and plug in your USB. Double click if using Xwindows or from the terminal, sudo mkdir /media/sdb, sudo mount /dev/sdb1 /media/sdb. What this does, for me, is loads the UUID in the system some how. Now, reboot. Type sudo reboot or use the buttons. When grub comes up, select your USB drive. It should boot. No special software needed. I'm going to write a script and a grub line that does the whole mount, reboot, etc for me automatically. My Patriot XP 16GB boots my 5 year old lap top in 30 seconds. I'm planning to turn off swap, and add noatime to my FSTAB to reduce wear on the flash.
 
Old 02-17-2010, 12:24 PM   #7
justmecrd
LQ Newbie
 
Registered: Feb 2010
Posts: 2

Rep: Reputation: 0
I should have mentioned when you install ubuntu on the USB, I say do not install the boot loader. The reason for this is you can kill your HD install grub. The option to not install the boot loader is under advanced on the last screen of the ubuntu install.
 
1 members found this post helpful.
Old 11-13-2011, 12:28 PM   #8
kleinde66
LQ Newbie
 
Registered: Nov 2008
Posts: 9

Rep: Reputation: 0
hi
i just would like to pass along some information and something i did that worked out well, Plop Boot manager can be installed on a hard drive or ran from a CD without installing, a while back i had a old Compaq laptop i did not have the CD ROM for it and the BIOS would not boot a usb key, i was scratching my head and a thought came to me, i pulled the hdd out of that Compaq laptop and put it in a dell laptop installed plop then put the hard drive back in the Compaq and booted plop witch then i booted my usb key and installed my operating system. when you install the new os just over write plop and reboot.

one think worth adding i use MultiSystem on my usb pin drive and it works really well i believe it will run on Linux and windows it is fast and easy to use worth checking out!
 
Old 11-13-2011, 09:15 PM   #9
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
Quote:
Originally Posted by vimico View Post
Yes, thank you. That works nicely.

I was hoping that with all its new modules this functionality was meanwhile part of grub2.
It is, you can use uuid in grub2 and boot the usb direct. If you have a usb live you can also chainload the usb using grub2 if your bios does not support usb boot.

Here is a great article on grub2 that I refer to.

grub2

It does not cover chainloading the usb but will search and if I can find article will post back.

Last edited by Larry Webb; 11-13-2011 at 09:16 PM.
 
Old 11-14-2011, 08:13 PM   #10
jefro
Guru
 
Registered: Mar 2008
Posts: 12,073

Rep: Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520Reputation: 1520
Might have been easier to go with grub4dos. Not all distro's will always boot on some odd systems.

6 year old laptop would almost seem to me to have a usb boot option.


I'd turn off the laptop, plug in the usb and power up to bios. See if the usb shows up under the hard drive boot order. You don't need a usb boot but to move up the usb in order. Also depends on how you made the usb.
 
Old 12-10-2011, 04:10 PM   #11
rykellim
LQ Newbie
 
Registered: Dec 2011
Posts: 2

Rep: Reputation: Disabled
Quote:
Originally Posted by linus72 View Post
then you gotta either edit your grub.cfg manually or thru grub2 instructions
and add plpbt.bin to grub.cfg......
Hi, how do I update grub2 to include plpbt or is there a GUI way to do it? Thanks!
 
Old 02-25-2012, 06:19 PM   #12
ankit.subs
LQ Newbie
 
Registered: May 2011
Posts: 8

Rep: Reputation: 1
@rykellim

Step by Step guide to sail you through:

http://makegadgetswork.blogspot.com/...-does-not.html
 
1 members found this post helpful.
  


Reply

Tags
boot, grub2, usb


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Grub2 (1.96) loopback problem on usb-stick ganimo Linux - General 4 10-01-2009 08:26 AM
Boot from USB stick if no booting USB in Bios 1kyle Suse/Novell 1 03-26-2007 01:24 AM
Boot USB DVD without BIOS support? barcode_linux Linux - Hardware 2 05-23-2006 07:13 PM
How do I boot from a USB thumbdrive without BIOS support? ninjabob7 Linux - Hardware 4 01-08-2006 11:48 PM


All times are GMT -5. The time now is 02:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration