Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
How did you install GRUB? If you installed it to your / partition or a separate /boot partition (ie. there's only one OS on the PC, and that is Linux), then all you need to do is copy the entire /boot directory to your USB stick.
If you installed GRUB to the MBR, simply run the following command in a terminal window to back it up to your USB stick (let's assume that it's mounted at /media/usbstick, and that the hard drive it's installed on is hda):
I'm trying to back up the grub to the usb stick so that if I mess up something with my fiddling i can boot of the usb stick.
I'm pretty sure when i backed up to floppy I was able to boot off it. I no longer have a floppy on my system so I figured maybe the usb stick could serve the same purpose.
EDIT: The main reason for all this is that i want to create a seperate /boot partition and i am pretty sure that things will not go smoothly the first time. So instead of whipping out the FC5 disk and booting in rescue mode, I thought it would be easier to boot from a USB stick seeing as I would not be looking to add the /boot partition at the back end of the existing partitions, ie none of the partitions referenced in files like fstab, menu.lst and grub.conf should change.
In that case, you can just use the commands above - but, instead of booting from the USB stick, you could just repair the MBR by copying the backup to it... I don't think you would be able to use the "MBR" on the USB stick unless you copied it to the first block on the stick, but then you might corrupt some data on it (if there is any)