LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 08-19-2007, 07:34 AM   #1
gothicbob
Member
 
Registered: Sep 2005
Location: Birmingham / Bath Uk
Distribution: Kubuntu 8.10, Debain 4.0
Posts: 86

Rep: Reputation: 16
boot loader on a usb stick


Could you put the bootloader for linux onto a usb stick, so that your computer would only be bootable when the usb stick was inserted?

Kind of like having a key to start a car, someone would need the usb stick (or something else) to start your computer. It wouldnt really be super-secure but it'd stop most people from accessing your computer when you didnt want them to.
 
Old 08-19-2007, 07:47 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
It depends on whether the BIOS will recognize the device. On this machine (Compaq nc8000), I don't see any BIOS options for booting USB devices.
How about using a floppy?

You could also put something essential like the GRUB config file (menu.lst) on the USB stick---or maybe add something to the init scripts that looks for a file on the stick.
 
Old 08-19-2007, 07:59 AM   #3
gothicbob
Member
 
Registered: Sep 2005
Location: Birmingham / Bath Uk
Distribution: Kubuntu 8.10, Debain 4.0
Posts: 86

Original Poster
Rep: Reputation: 16
Well I know most newer computers have bios support for booting from usb, and I know mine does so it shouldn't be a problem I dont think.
 
Old 08-19-2007, 08:42 AM   #4
amishtechie
Member
 
Registered: Apr 2004
Location: Oberlin, OH
Distribution: Slackware
Posts: 119

Rep: Reputation: 16
You sure can. just did it yesterday with grub.
http://www.linuxquestions.org/questi...d.php?t=578059
 
Old 08-19-2007, 11:03 AM   #5
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 112Reputation: 112
One can put Grub into a USB flash drive in the same way he/she would do so with an internal hard disk.
 
  


Reply


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
Boot from USB stick if no booting USB in Bios 1kyle Suse/Novell 1 03-26-2007 12:24 AM
Detect usb stick at boot nitinbaldi Linux - General 3 03-22-2007 04:07 AM
USB Flash stick boot yosemite Linux - Software 3 03-07-2007 01:27 PM
Network boot from USB stick uanderss Linux - General 1 05-21-2006 08:14 AM
USB Stick boot KrYpToN Linux - Hardware 5 10-08-2003 08:32 AM


All times are GMT -5. The time now is 04:04 AM.

Main Menu
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