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.
Hi guys. Well, I got my self into a problem. and I need some one to help me sort it out.
I'll tell you guys exactly what I did....and I know it's going to sound stupid, so don't ask me why I did it, hehe.
Anyway, here it is:
I had redhat 7.2 on this machine. So I brought my RH 9.0 cd's from that laptop, and I inteded to upgrade Redhat. So, I booted the intall CD's, and clicked on upgrade, blah, blah. Then I selected the packages, and I also selected to get the bootloader, grub, updated, etc.... Then, right before it began copying and upgrading the system, I got an error on Screen
It said that my /boot partition did not have enough space, only 3 megs left.
So, I got a little puzzled, and I thought...well why the heck are you telling me this, if I want you to upgrade my linux installation and not the /boot partition. And the partition in which all my files are in is just /
So, I went into windows, and used PartitionMagic to erase /boot
After I did that, I again rebooted with the RH 9.0 cd's. Installation went smooth!
then, I reboot, and my Grub loaded is gone!....crap I thought to myself, I shouldn't have erased the /boot partition.
Anyway, I remember about the option if I wanted to upgrade or make a new bootloader.
So, I went again to the CD's, and rebooted with the installation disc. So, I clicked again on upgrade. And then this time I selected to install a New Grub in my computer. However, it seems that originally I had Grub install in the first partition of my drive. And this time I went to install it, I installed it in the Master Boot Record.
So, the problem that I am getting, is that now, when I boot my computer I get 1 grub and a certain configuration.
But when I go to /etc/grub.conf
the input in there is completely different from that of the new grub in the MBR
So, my question is, where is this MBR grub??, how can I edit it?, and where should I put my
vmlinuz files, once I upgrade my kenerl?, because if I update the grub that I find in the /etc folder, nothing happens to the grub in the MBR. And I'm not sure what to do now!
I would appreciate for some help, thank you guys!!!
I just check it, and it gives me the same output as the OLD grub.
And what I cannot find is the NEW grub configuration, nor can I find where the hell did Redhat 9, installed the 2.4.20-6smp kernel!!!
There is nothing in /boot in regard to this, that is why I'm so puzzled!!, ERRRR.
Oh, and there is something interesting that I must share with you guys. While looking in the /etc folder, I found the file lilo.conf.anaconda
Which oddly has the CORRECT configuration of the current grub I'm booting. Here is the output:
I wonder that the heck this means?, considering I don't have lilo installed.
What to do guys?
I also remind you guys, that NONE of these kernels appear in the /boot folder!!, that is why I'm going crazy with this!!, where is the grub and the kernels I am booting from??
When I install Mandrake, lilo is installed then I chose to change it to Grub. That may be what Redhat has done. It won't erase those lilo files, it just adds the Grub files.
That make any sense.
I'm not sure, but I think when you erased, what ever, the /boot partition you also deleted the kernel. It won't boot without that. You may have to reinstall to get that back or compile another one and say a prayer during the boot.
Windoze has command.com and such and that is pretty similiar to the Linux kernel. Delete that and it is dead.