And how do I change the grub.conf from the grub prompt?
I have used knoppix but it wont let me edit the grub.conf file…
The easiest way is using FC6 install disk.
Boot with it, and type
linux rescue
at the prompt.
Configure the keyboard, and there is no need to activate the network.
Then type:
chroot /mnt/sysimage
After that you can edit any file you want, for instance,
/etc/grub.conf
And how do I change the grub.conf from the grub prompt?
I have used knoppix but it wont let me edit the grub.conf file…
Then type:
chroot /mnt/sysimage
After that you can edit any file you want, for instance,
/etc/grub.conf
Hi All,
I still have grub problems a week later been a little too busy to look at this I got a few hours tonight so I thought I would have a go….
Can anyone tell me what commands to edit the grub.conf file with from the linux-rescue command prompt.
sh # ?????? /etc/grub.conf
Regards,
Darren foster
No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.467 / Virus Database: 269.6.2/787 - Release Date: 03/05/2007 14:11
And how do I change the grub.conf from the grub prompt?
I have used knoppix but it wont let me edit the grub.conf file…
Then type:
chroot /mnt/sysimage
After that you can edit any file you want, for instance,
/etc/grub.conf
Can anyone tell me what commands to edit the grub.conf file with from the
linux-rescue command prompt.
sh # ?????? /etc/grub.conf
Ok so I edited the grub file with nano and I still cant get grub working? Now all I get is a blinking _ and nothing?
Any ideas? Everything is still in place I checked using the rescue disc.
Darren
No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.467 / Virus Database: 269.6.2/787 - Release Date: 03/05/2007 14:11
No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.467 / Virus Database: 269.6.2/787 - Release Date: 03/05/2007 14:11
No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.467 / Virus Database: 269.6.2/787 - Release Date: 03/05/2007 14:11
And how do I change the grub.conf from the grub prompt?
I have used knoppix but it wont let me edit the grub.conf file…
Then type:
chroot /mnt/sysimage
After that you can edit any file you want, for instance,
/etc/grub.conf
Can anyone tell me what commands to edit the grub.conf file with from the
linux-rescue command prompt.
sh # ?????? /etc/grub.conf
Ok so I edited the grub file with nano and I still cant get grub working?
Now all I get is a blinking _ and nothing?
Any ideas? Everything is still in place I checked using the rescue disc.
Ok so I have tried to upgrade in the hope that it will install grub using the FC6 Cd’s and when I do it starts to install the bootloader and then comes up with the following message.
"No kernel packages were installed on your system. Your boot loader configuration will not be changed."
I seem to hit a brick wall at every turn.
Any ideas?
Darren
No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.467 / Virus Database: 269.6.2/787 - Release Date: 03/05/2007 14:11
No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.467 / Virus Database: 269.6.2/787 - Release Date: 03/05/2007 14:11
No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.467 / Virus Database: 269.6.2/787 - Release Date: 03/05/2007 14:11
No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.467 / Virus Database: 269.6.2/787 - Release Date: 03/05/2007 14:11
No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.467 / Virus Database: 269.6.2/787 - Release Date: 03/05/2007 14:11
Darren Foster wrote:
Ok so I have tried to upgrade in the hope that it will install grub using the FC6 Cd’s and when I do it starts to install the bootloader and then comes up with the following message.
"*No kernel packages were installed* on your system. Your *boot loader* configuration *will not be changed*."
This is probably because the kernel was the same or newer version than on the disk. If there is not a kernel, you have bigger problems than grub installation.
What is under the /boot directory? (Hopefully a kernel and other boot related images and files)
I seem to hit a brick wall at every turn. Any ideas? Darren
Basically after chrooting to /mnt/sysimage you need to run grub-install /dev/<whatever-is-the-boot-drive or Master Boot Record device>
If you get the grub prompt at boot and it just sits there. You need to run root(hd0,<number-of-boot-partition>) followed by setup(hd0) if installed in MBR or add a number after the comma if booting off of a partition for grub.
Examples for my setup. grub-install /dev/hda for installing grub in the MBR when using the rescue mode.
for the grub prompt, I would run root(hd0,1) setup(hd0) exit
This should install rub in the Master boot record and reference the kernel stored in the second partition of the first hard disk.
If this is not clear enough, maybe someone can present the steps with more clarity.
Jim