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 installed Ubuntu last of all and on the second hard drive, hence that is where it installed a new copy of grub and its files.
Now I wanted to make a grub boot floppy of the system just for emergencies.
Booted into Ubuntu, fired up a terminal, formatted the floppy, made the various directories, copied the stage1 stage2 files onto the correct dirs on the floppy. Unmounted floppy, started grub "shell" issued the device , root and setup commands. All went well. I tested to see if I could use this to boot - excellent worked fine. I then thought it would be nice to have the grub boot up screen of my system on the floppy as well. The anomaly arose when I copied the "device.map" and "menu.lst" files from the Ubuntu drive onto my grub boot floppy. When I booted from the grub floppy the splash screen did not fire up ( could not find the xpm.gz file). I got the standard black + white grub menu for my OSs. I tried to boot into RH, Knopp, and Win98SE but none whould boot ( was getting "file not found" errors. However, the Ubuntu did boot. Plausible explanations for this ??
If I had copied the device.map and menu.lst at the same time as I copied the stage1 stage2 files ( instead of afterwards) would that have made a difference ?
Here are my notes for making a grub floppy with menu...
This gives you the boot menu just like it was installed on the hard drive.
mke2fs -m 0 /dev/fd0
mount -t ext2 /dev/fd0 /media/floppy
mkdir -p /media/floppy/boot/grub
cp -pa /boot/grub/* /media/floppy/boot/grub
# Create a text file called /home/stuff ...
cat > /home/stuff << EOF
#the following is all one line
install /boot/grub/stage1 d (fd0) (fd0)/boot/grub/stage2 0x8000 p (fd0)/boot/grub/menu.lst
# Install grub to the floppy disk with this command:
grep -v ^# /home/stuff | grub --batch
Should this method work if I were to create a grub floppy to boot the various OS on my hda ? My Ubuntu is on hdb, from where I intend to open up a terminal and create the boot floppy. What I initially found was that my Ubuntu booted perfectly via Grub-boot-floppy but I had no such luck when trying to boot any of the OS on hda via the boot-floppy method.
I will try anyway ! Wish me luck