Red HatThis forum is for the discussion of Red Hat Linux.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
What I am trying to do is put something on my Lexar JumpDrive (128MB) that will allow me to boot to an existing Linux partition on my computer. First, some background. I have a dual boot Dell Latitude 610 laptop. The Windows XP partition is encrypted. As a result of this I can't mess with the Master Boot Record. (I tried installing GRUB on the MBR with the loss of my Windows partition; for some reason the commercial encryption software needs to start from the MBR).
I was able to load RHEL 4 onto a Linux partition and using mkbootdisk --iso <boot_version> I was able to create an ISO file that I burned onto a CD. I now boot into Linux by booting off of that CD (that is I start the computer with the boot CD in the drive and have my boot order set to USB, CDROM, C drive). So every time the kernel changes I need to create a new ISO file and burn a new boot CD (the boot CD has about 2MB of stuff on it).
Then I thought, why not do the same thing only from a flash drive? My computer will boot from a USB device. Then when the kernel changes, I only need to update the flash drive and save creating yet another boot CD; plus I can actually use a 128MB flash drive for something useful.
I have casted around on how to do this. I know several ways that don't work. Copying the boot CD onto the flash drive, using mkbootdisk --device <device name for the mount flash drive e.g. /dev/sba> <kernel_version>, and any other combination of arguments for mkbootdisk all don't work. What I am not trying to do is run Linux from the flash drive. I am trying to get the same capability with the flash drive as I have with the CD without continually buring new CDs (environment friendly).
Sorry about the long winded question. TIA.
Thanks. That worked like a champ. I guess that I focussed in on one solution and ignored the obvious. I did have a few alternations to this solution that might be helpful to others. First, I don't have a /boot partition, but doing the same dd command on the / partition worked fine. Second, when I went to edit the boot.ini file in Windows, I could not find it. In XP Professional, Windows hides the file, but it can be edited by opening the control panel and go to system->Advanced tab->Settings under Startup and Recovery->Edit and add the line specified in the link above. Thanks again.