LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 03-05-2007, 01:20 PM   #1
herbietheferret
Member
 
Registered: Feb 2007
Location: Cambridge, UK
Distribution: Slackware
Posts: 42

Rep: Reputation: 15
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
 
Old 03-05-2007, 01:26 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
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
 
Old 03-05-2007, 01:42 PM   #3
herbietheferret
Member
 
Registered: Feb 2007
Location: Cambridge, UK
Distribution: Slackware
Posts: 42

Original Poster
Rep: Reputation: 15
let me get back to you on that one, i think i grubbed!!! hda1 as well, just going to image xp back
mark
 
Old 03-05-2007, 02:56 PM   #4
herbietheferret
Member
 
Registered: Feb 2007
Location: Cambridge, UK
Distribution: Slackware
Posts: 42

Original Poster
Rep: Reputation: 15
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
 
Old 03-05-2007, 03:14 PM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
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.
 
Old 03-05-2007, 03:20 PM   #6
herbietheferret
Member
 
Registered: Feb 2007
Location: Cambridge, UK
Distribution: Slackware
Posts: 42

Original Poster
Rep: Reputation: 15
im running in rescue mode from the dvd
 
Old 03-05-2007, 03:49 PM   #7
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
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)
 
Old 03-06-2007, 02:01 AM   #8
herbietheferret
Member
 
Registered: Feb 2007
Location: Cambridge, UK
Distribution: Slackware
Posts: 42

Original Poster
Rep: Reputation: 15
Thumbs up

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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Grub error 17, and wont reinstall using grub-install! chiefreborn Linux - General 6 06-06-2007 10:29 AM
Grub wont load? stacey Linux - Software 6 09-02-2006 02:35 PM
Grub wont load Win XP Memzback Fedora 13 05-07-2004 11:39 AM
Can't get rid of Lilo, grub wont load why not? johnnybezak Linux - General 6 02-13-2004 05:27 PM
SuSe 8.1 grub wont load cone Linux - General 2 04-06-2003 08:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 06:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration