Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 09-06-2009, 03:02 AM   #1
LQ Newbie
Registered: Sep 2005
Posts: 2

Rep: Reputation: 0
Question Kernel on harddrive, root on USB stick

I have the following dilemma:
Yesterday i got a OCZ Throttle 16gb eSATA flash drive with the thought of installing my OS on it (speed, speed). Then I found out that my notebook (Acer Aspire 5935G) cannot boot from an eSATA flash drive

So my tests with different bootloaders led me to non-working vista and linux (screwed the mbr, fixing it now) - they all rely on BIOS device discovery.

During the tests I got a genius idea, though I am not advanced enough to know if it will work, before I try it.

The idea is as follows:
1) Install some linux on the harddrive (along with vista(dualboot))
2) Create custom kernel which will load the necessary drivers for eSATA drive (with all the necessary modules built in)
3) Boot the custom kernel with root on the eSATA drive

The problem comes between 2 and 3 - how the hell can I tell the kernel that my root partition is on a device, not recognized by BIOS (and GRUB)? Will it work just like:
kernel=/boot/vmlinuz root=/dev/sdX(my eSATA drive) ?

Or it's kernel's design not to be able to do that (load necessary drivers, then switch to root partition), though I see that you can have kernel and root on different partitions (or drives), but they need to be discovered by BIOS.

Any help and ideas would be appreciated!

Old 09-06-2009, 06:15 AM   #2
LQ Guru
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,084

Rep: Reputation: 336Reputation: 336Reputation: 336Reputation: 336
Go the easy route bro and use Plop bootmanager, specifically plpbt.bin
whica wiill boot usb, usb-cdroms, etc

get that, unzip it and get plpbt.bin in there
place plpbt.bin somehwrere on yuor hd and edit your menu.lst
like this

title Plop Bootmanager
kernel /plpbt.bin


boot, esata, kernel

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
What root= for an external USB harddrive? PatM Linux - Hardware 3 05-09-2008 08:49 AM
FC3 - usb stick automount after kernel compiling mightyMile Linux - Hardware 0 01-19-2006 03:07 PM
mounting usb-stick with kernel 2.6.13 syvy Slackware 3 09-19-2005 12:32 PM
get USB stick working - recompile kernel?? ditch* Linux - Newbie 8 08-02-2005 05:16 AM
Only root access in USB harddrive in mandrake 10 O smiler Linux - Newbie 2 06-24-2004 01:52 PM

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

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