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 created my grub floppy and it works flawlessly. Here is what works when booting from the floppy:
...kernel /boot/vmlinuz root=/dev/hda8 ro
Okay, so now when I type:
I get the following:
...rm: cannot remove '/boot/grub/stage1': Is a directory
From a search here I turned this up:
...from "/dev/hda1 /c vfat defaults 1 0"
and changed it to:
..."/dev/hda1 /c vfat iocharset=utf8,umask=000 0 0"
I then checked in Konqueror under permissions and owner, group, and others has been changed to 'Can view and modify contents', but I still get the same error:
..rm: cannot remove '/boot/grub/stage1': Is a directory
Okay, I used a FC4 rescue cd and booted up. Then chroot'ed and ran grub, but when I get to this:
... setup (hd0)
I get this for output:
... Checking if "/boot/grub/stage1" exists... no
... Checking if "/grub/stage1" exists... no
...Error 15: File not found
Looks like I really hosed something up!
Any other suggestions?
Since you can boot up the Linux then if grub-install fails you can try it in a Grub shell. Just invoke one when you have the root privilege
To setup Grub you must have in /boot/grub these two files
The line root (hd0,7) tells Grub go into hda8 to search for it and set itself up in (hd0) which is the whole disk. To Grub that means MBR.
Nothing to it.
If it doesn't work do these
(1) Check stage1 and stage2
(2) To boot it manually (ultimate solution)
The "just booting tips" has all the tricks summarised, inluding the one mentioned above. It is in my signature.
The technique used to boot 2 systems is the same for booting a 100 systems. It is actually easy than you guys think, especially if you understand the "chainloading" part. In a nutshell you try to boot every system the way a WIndow is booted.
then "setup (hd0)"
...Error 12: Invalid device requested
What in the hell does this mean? Now I am completely confused so lets see if I have anything right.
1. When in GRUB the first line I type should identify the partition to boot, which since I've installed Slack to hd0,7. Outside of GRUB this should be hda8 right?
output->"Filesystem type is ext2fs, partition type is 0x83"
2. The second line defines the kernel.
..."kernel /boot/vmliuz root=/dev/hda8 ro"
3. The third line is just boot.
At least this is what I think is right from the searching I have done!?!
Anyone care to shoot my pc for me, I don't know what else to try!
Okay, maybe that is the problem I have two FOLDERS in /boot/grub called stage1 and stage2.
Now in folder "stage1" I have a file called stage1 that is 512 b, and in the folder "stage2" I have a file called stage2 this is 101.6 kb.
saikee, I have copied stage1 and stage2 to: /boot/grub.
bosewicht, when I type: grub> "find /boot/grub/stage1" I notice it is searching my floppy drive, how can that be right! Oh yeah, and I still get the error file not found because it's searching my floppy. How can "find /boot/grub/stage1" be looking on my floppy shouldn't be looking in say the obvious place like: /boot/grub.