LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   grub wont load (https://www.linuxquestions.org/questions/fedora-35/grub-wont-load-534804/)

herbietheferret 03-05-2007 01:20 PM

grub wont load
 
just finished re-insatlling my xp o/s and now when i try to reinstall grub using these commands
# linux rescue
# chroot /mnt/sysimage
# grub-install /dev/hda
# reboot
the grub loader is now in black and white.
when i press any button to see the options and choose either xp or fc6 i get this error message
"error 17 cannot mount selected partition".

any ideas please as i dont want to have to reinstall fc6 as well as its taken me a week to set it up to how i like it

regards mark

pixellany 03-05-2007 01:26 PM

Please post the output of:
Code:

fdisk -l
more /boot/grub/menu.lst

Apparently the grub config file is not correctly addressing the disk partitions

herbietheferret 03-05-2007 01:42 PM

let me get back to you on that one, i think i grubbed!!! hda1 as well, just going to image xp back
mark:D

herbietheferret 03-05-2007 02:56 PM

stupid question
how do i get the output from the commands
to a text file so i can post them here please

so far ive got hda1= xp
hda2 = linux
hda3 = swap
but would lik eto get it all as im sure something is wrong in grub.conf
still got a lot to learn!!!
mark

pixellany 03-05-2007 03:14 PM

Quote:

Originally Posted by herbietheferret
stupid question
how do i get the output from the commands
to a text file so i can post them here please

mark

Copy and paste??

Are you able to connect to the internet in the Linux install?

If you want to start boning up on GRUB, get the manual here.

herbietheferret 03-05-2007 03:20 PM

im running in rescue mode from the dvd

pixellany 03-05-2007 03:49 PM

Sooooo--I assume you are posting from another PC???
You can capture the output of the commands in a text file, put it on a floppy, and then paste it in on you other PC.

OR--just copy the data by hand

To capture in a text file:

fdisk -l >my_data
more /boot/grub/menu.lst >>my_data (This uses append to put all the data in one file)

herbietheferret 03-06-2007 02:01 AM

thread closed

tried using the dvd to repair via upgrade, that didnt work either, errors pointed to file system, just reinstalled. this time i will be more careful with what i choose

thanks to those who followed this thread and for the input.
no doubt i will be asking more questions.
mark


All times are GMT -5. The time now is 11:38 PM.