LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 04-01-2009, 11:28 PM   #1
Vhann
LQ Newbie
 
Registered: Nov 2008
Posts: 24

Rep: Reputation: Disabled
[Slackware] Booting USB key Linux?


Hi,

I'm currently having fun messing with bootable USB keys since I recently found out there were programs to boot Linux from a USB key. My goal currently is to successfully boot Linux at school (where they only install Windows XP).

At first, I looked at loadlin, but was disappointed because, as of what I understood, it can only boot Linux from DOS (I believe they didn't mean OSes such as Windows XP).

Then, I found out about syslinux and extlinux and thought I could give extlinux a try. So, I partitionned my USB key, made the first partition an ext2 ~3GiB and installed Slackware 12.1 with the CDs on the USB key, as if it was an HDD. I almost got it working, but it will only boot in BusyBox when trying it on my box. As of what I understand, I need to 'mkinitrd' with some USB modules, but I can't figure out how I'm supposed to add those modules and/or know which modules are needed.

Now, I tried my half-working USB key at school only to find out the computers won't boot from USB (BIOS is password-protected). Now, I'm wondering: Is there a way I could boot Linux on my USB key from a running Windows XP (without installing much things on the host computer as my USB key only has a ~1GiB fat32 partition and I don't have root access to the host).

In short, my questions are:
1- Is it possible to boot Linux on USB key from a running Windows XP?
2- If not, how to know what modules are needed to boot from USB and how need I specify them to mkinitrd 1.3.2 ?

Thank you for your attention.
Regards,
Vhann
 
Old 04-02-2009, 07:17 AM   #2
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
hi

let me rephrase Q1.

Can I boot an usb stick that has a hard drive install of windows? yes if bios allows it.

The simplest way to get linux onto a usb stick is to try the various live cds...that have a button to click...but I prefer slax for usb
http://www.slax.org/get_slax.php

You are free to choose.

Q1 part 2...I boot into windows...can I insert a linux usb stick and have it booted within windows?
maybe...I can't with virtualbox but maybe vmware for windows can?
 
Old 04-02-2009, 11:16 PM   #3
Vhann
LQ Newbie
 
Registered: Nov 2008
Posts: 24

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by aus9 View Post
[...]let me rephrase Q1.

Can I boot an usb stick that has a hard drive install of windows? yes if bios allows it.

The simplest way to get linux onto a usb stick is to try the various live cds...that have a button to click...but I prefer slax for usb
http://www.slax.org/get_slax.php

You are free to choose.

Q1 part 2...I boot into windows...can I insert a linux usb stick and have it booted within windows?
maybe...I can't with virtualbox but maybe vmware for windows can?
Thank you for your answer, but that doesn't answer my question (or, at least, doesn't solve the issue).

The fact is I don't have root (call it Administrator or whatever) access to the Windows install. Therefore I can't install any such things as VMWare or virtualbox (plus these would take quite a few time to even install... really not an option I would consider.

Second, I can't use slax because, as I mentionned previously, the computer has a password-protected BIOS and won't boot from USB. Still, for my own interest, I would like to know what are the modules needed in order to have full USB support and how do I find/know about these?

Regards,
Vhann
 
Old 10-15-2009, 08:30 AM   #4
Vhann
LQ Newbie
 
Registered: Nov 2008
Posts: 24

Original Poster
Rep: Reputation: Disabled
Ok, this question doesn't make sense (I know, I asked it).

In fact, I was mostly searching for kernel modules needed to boot on USB.
Anyhow, the way the question was asked, aus9 was right, Slax does the job (and it's a very convenient USB/LiveCD solution).

Anyway, I'm 'solving' this now.
 
  


Reply



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
Booting from USB key: "No linux found" Hungry ghost Puppy 1 08-01-2007 08:05 AM
Booting from a USB key (flash disk) without using Ramdisk idamlaj Linux - Software 2 11-29-2006 12:25 AM
booting linux from a USB flash key ridesideways Linux - General 7 10-07-2004 07:42 AM
Booting from a USB Key Big Brad Linux - Newbie 4 12-21-2003 05:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 02:24 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
Open Source Consulting | Domain Registration