Linux - NewbieThis 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!
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.
I don't see why it wouldn't be possible. Boot with one of your LiveCDs, edit the grub.conf file (see my question below), and do /sbin/grub-install /dev/hda. Once it's installed, it should work by itself (but you won't be able to change anything w/o that liveCD again, and your grub.conf file won't be preserved (it being a LiveCD and all). You'll have to completely recreate all changes every time you want to change something.
Edit: re-read your question. I suppose that you could format /dev/hda5 and mount it in knoppix, then copy your grub.conf file on it.
What do you want it to boot, though? If windows is your only OS, why not just keep Windows' boot manager?
Last edited by rose_bud4201; 07-20-2005 at 10:08 AM.
Once you install it, I don't think it should need the config file anymore. If it does....you'll be out of luck (in which case I suggest using lilo instead. That doesn't need its config file after it's installed.)
The purpose of having the config file on /dev/hda5 isn't all that clear to me, either...you might as well keep it on a floppy. The only reason for backing it up like that would be to save yourself from having to completely redo all changes every time you need to edit the config.
The config file is /etc/grub.conf - you'll be using the one on your Knoppix distro, and modifing it to suit whatever your needs are.
Okay, I'll spill the beans. I have 2 hard drives. hda and hdb. One of the main reasons why I even bought hdb was to install linux on it. Yet every time i install a linux distro on there, the grub messes up. forcing me to reinstall the windows boot loader every time.
when i install grub, it will work for a few reboots just fine. booting both linux and windows. but soon it will come up with either error 18 or go to "loading grub stage 1.5" before dropping me to a command prompt. not showing me a list of OS's. I think the problem is that is cannot read the config files on the drive. so i am trying to install a grub onto hda,then install a linux distro on hdb, and then edit the grub conf file to allow for the new os. i am trying to install grub on hda because windows is on this drive and its bootloader has never once failed me. I created a 100 meg riserfs partition (hda5) to install it onto. then i realised that i have no clue how to install grub without installing the hole os onto hda, hence this thread.
Use the /etc/grub.conf file from Knoppix, or whatever distro you're using to do this on. You'll definitely need to modify it to reflect your system config, though. Google for grub.conf to get an idea of the syntax.
There is no reason why putting grub on the hda and linux on the hdb should be a problem. I would suggest messing around with grub on a floppy first, to get an idea of how it works and howto boot windows. then install it on hda.