LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-25-2007, 09:34 AM   #1
MrHnau
LQ Newbie
 
Registered: Feb 2007
Location: NC
Distribution: FC6
Posts: 7

Rep: Reputation: 0
Grub install problems


I recently had a disk crash on my multidisk dual boot system. Things were nice and neat, with WinXP on one drive, RH9.0 on the other. Ran Grub to multiboot. RH9.0 had a severe disk failure, so I went out and got myself a new disk. I took out the Windows disk, installed Fedora6 on the new disk, transfered some files and things looked peachy. I installed Grub from the new disk, effectively erasing the old Grub from RH9.0. Things looked great and booted fine to the new disk Fedora.

So, I modified the menu.lst file to accomodate the incoming windows disk. I shut down, yanked out the RH9.0 disk and installed the WinXP disk. Booted up, got the nice visual Grub window. Selected the Windows option and the machine crashed. I rebooted, and I get:

Quote:
Grub loading stage1.5
Grub loading, please wait...
Error 17
So, I yank out the Windows disk. Get the same error. I also removed the original Windows bootloading statement in rescue mode, but that did not change anything. The grub.info doc reveals this error means "Cannot mount selected partition", which is insightful but not helpful.

I get my Fedora6 disk and go into rescue mode. I make myself a boot disk following the procedures grub.info file. I then execute the following in rescue mode:

Quote:
chroot /mnt/sysimage
grub
find /boot/grub/stage1 -> Error 15: File not found
root (hd0,0) -> Filesystem type unknown, partition type 0x6
root (hd0,1) -> Filesystem type unknown, partition type 0x8e
The find statement can not find anything in my file structure at all. I do the same things using the grub boot disk and get the same results.

fdisk -l produces the following (subbing # for long numbers)

Quote:
Disk /dev/hda: 250.0 GB, # bytes
255 heads, 63 sectors/tracks, 30401 cylinders
Units = cylinders of 16065 * 512 = #

Device Boot Start End Blocks ID System
/dev/hda1 * 1 13 # 6 FAT16
/dev/hda2 14 30401 # 8e Linux LVM
I've done some searching on this forum and various others. The attempted solutions so far have not worked on this machine. It just seems Grub can not recognize the file structure, but when I use the rescue disk, I can go locate the neccessary files, for instance, I can see my previous file structure.

Any clues or ideas how to proceed from here? I've been at this for about 3 days, and I've run out of ideas! Help!

Last edited by MrHnau; 02-25-2007 at 10:38 AM.
 
Old 02-25-2007, 10:01 AM   #2
MrHnau
LQ Newbie
 
Registered: Feb 2007
Location: NC
Distribution: FC6
Posts: 7

Original Poster
Rep: Reputation: 0
other things I've tried

BTW, other things I've tried.

Grub unhide for the drive
cursing at the computer
putting WinXP disk back
putting RH9.0 disk back
moving Fedora drive to different slot
reinstall Grub using grub-install (since it won't work via other procedure listed in grub.info)

So far, no joy
 
Old 02-25-2007, 11:09 PM   #3
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
I think the easiest option would be to reinstall Fedora, and this time leave the Windows drive where it is.

Fedora will be able to detect Windows, and set up Grub appropriately.

--Ian
 
Old 02-26-2007, 12:02 AM   #4
R N Ghosh
Member
 
Registered: Sep 2005
Location: Calcutta
Distribution: Fedora Core 6
Posts: 30

Rep: Reputation: 15
I faced problems similar to yours but my XP and FC6 were on the same disk. How I solved my problem is at this link. Perhaps this will help you to sort out your.
http://www.linuxquestions.org/questi...d.php?t=522389

R N Ghosh
 
Old 02-26-2007, 07:41 AM   #5
MrHnau
LQ Newbie
 
Registered: Feb 2007
Location: NC
Distribution: FC6
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by IBall
I think the easiest option would be to reinstall Fedora, and this time leave the Windows drive where it is.

Fedora will be able to detect Windows, and set up Grub appropriately.

--Ian
I think I'm going to try that... just one thing to check. I've recently transfered a bunch of files from a different computer that has just been wiped. Will this leave my home directory intact? I don't have any other disks to put these files on at the moment... I think that might be the easiest approach, just I don't want to lose those files!
 
Old 02-26-2007, 05:53 PM   #6
MrHnau
LQ Newbie
 
Registered: Feb 2007
Location: NC
Distribution: FC6
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by MrHnau
I think I'm going to try that... just one thing to check. I've recently transfered a bunch of files from a different computer that has just been wiped. Will this leave my home directory intact? I don't have any other disks to put these files on at the moment... I think that might be the easiest approach, just I don't want to lose those files!
From what I'm seeing, the install would wipe the disk. Is there a way to just reinstall one package? That being Grub? Getting a refresh of those files might solve the problem...
 
Old 02-26-2007, 07:12 PM   #7
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
You can try grub-install, but since you have already tried that ...

Did you put /home on a separate partition? If you did, then your files will be OK. If you didn't then you will need to back them up. Also, make sure you create a separate /home when you reinstall.

--Ian
 
Old 02-27-2007, 12:45 PM   #8
MrHnau
LQ Newbie
 
Registered: Feb 2007
Location: NC
Distribution: FC6
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by IBall
You can try grub-install, but since you have already tried that ...

Did you put /home on a separate partition? If you did, then your files will be OK. If you didn't then you will need to back them up. Also, make sure you create a separate /home when you reinstall.

--Ian
well, I went out and installed Grub2. After a bit of playing with it, I got Linux to load properly. The only problem I'm not having is that WindowsXP won't load correctly, according to the brief tutorial I've read at
http://grub.enbug.org/TestingOnX86

anyone have any ideas? I'm getting the following error:

Code:
Booting from Utility Partition
No loader
 
  


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
slackware install problems (lilo vs grub) ultimatenoob Linux - Newbie 13 08-07-2006 10:51 AM
problems with grub and install/resque disk tencan Fedora - Installation 4 11-18-2005 10:45 PM
Grub Problems with SuSE 9.1 HTTP Install linuxpyro Linux - Distributions 1 07-17-2004 05:22 PM
Problems with Gentoo install/grub/boot n5k Linux - Newbie 5 03-12-2004 09:29 AM
Gentoo 1.4 x86 grub install problems Joe_Bogarde Linux - Newbie 11 08-20-2003 05:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:03 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