Get GRUB to work
I have been using LILO for a long time and it have been working without any problems. I am familiar with its config-file and so on.
But today I thought that I may try GRUB instead after I have compiled the 2.6.10-kernel. Now, grub seems to be almost too difficult. I have installed it from source on Slackware. It came without any config-file so I first had to boot my kernel using the command-prompt. Then I found a config-file on the web that I used. It did not load when I rebooted, I had to manually load the config-file using the command "configfile" and then I got the menus that I wanted but it gave me an error about it not being able to mount. And also I saw that it used the command "splashimage" but not only did grub come without a good conf-file I can't find any splashimage. How the **** do one install GRUB easily? I read somewhere that grub should be better then LILO both with its entirely graphical menus and being easier to install and configure. I admit that I could install it. But it is not easy to configure since I had to find a config-file by myself. It was not graphical since it could not load the configfile by itself and when the menus appeard it was only white on black, even LILO is more graphical with a red color. What am I doing wrong, here? |
Assuming you uncompressed in /usr/local.
Create the grub subdirectory in /boot. There are some files located in the directory: /usr/local/share/grub/i386-pc such as stage1 stage2 etc Copy these to /boot/grub Determine which partition has the bootloader: Go to the /usr/local/grub-0.93/grub directory (or whatever version yours is) The executable file 'grub' is located there. Enter the command 'grub' to activate the grub environment. At the 'grub>' prompt, enter the command: find /boot/grub/stage1 You will be given the location, such as (hd0,4). This will be needed for the file called menu.lst. Go to the /boot/grub directory. Create a file named menu.lst Edit the file to include a basic menu, such as: default 0 timeout 20 color light-gray/blue black/light-gray title Windows ME rootnoverify (hd0,0) makeactive chainloader +1 title Slackware 10.0 root (hd0,4) or whatever kernel (hd0,4)/boot/vmlinuz ro root=/dev/hda5 title shutdown halt Again, from the grub environment, do: grub> root (hd0,4) grub> setup (hd0) This will install the bootloader in the MBR To install grub into the 'boot saector' of a partition instead of the MBR, do: grub> setup(hd0,4) All numbers such as those in (hd0,4) should reflect your situation. |
2 years later ....
Thank you for your clarity. |
Quote:
|
All times are GMT -5. The time now is 03:29 AM. |