LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-16-2009, 04:35 AM   #31
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229

I also just thought that if you formated sdb to ext.4 that might be the problem. I understand that grub does not read ext.4. I do not understand there not being a directory such as /dev/sdb. It did show in your previous fdisk. I will do some more research and get back.
 
Old 09-16-2009, 09:30 AM   #32
axnst1
LQ Newbie
 
Registered: Aug 2009
Location: Pittsburgh, PA
Distribution: Fedora 11
Posts: 19

Original Poster
Rep: Reputation: 0
OK...thanks...and I will do the same tonight!

THANK YOU!!!!!!!!
 
Old 09-16-2009, 06:48 PM   #33
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
Here is from an article I found that may be what you are looking for

B6: To restore Grub into MBR for Linux that has a rescue function in the installation CD (e.g. Fedora Core)
Note : This method requires the distro installation CD. Just boot up the installation CD and activate the rescue mode. For example in Fedora the command is "linux rescue". The installer will search your hard disk to find a copy it recognises and may require you to specify the root partition of the Linux you want to rescue. You should choose one that has "(/)" indicated if you are not sure. Basically the installer mounts it automatically for you using a standard name like "/mnt/sysimage" as in Fedora. Assuming that is the case you are restoring Grub same as Task B5 except with a different mounting point as follow:
Code:
chroot /mnt/sysimage
grub-install /dev/hda
exit
reboot
 
Old 09-17-2009, 01:48 AM   #34
btncix
Member
 
Registered: Aug 2009
Location: USA
Posts: 141

Rep: Reputation: 26
In order to view your menu.lst file you need to first mount your fedora system. I think the fedora liveCD boot in rescue mode prompts you with the option to automatically mount your installed system to /mnt/sysimage.

If the liveCD automatically mounts your fedora system, then your menu.lst file should be located at /mnt/sysimage/boot/grub/

Here's what you can do if you aren't able to mount your fedora system automatically.
1. boot up with the fedora liveCD in rescue mode
2. as superuser, do
# cd /mnt
# ls
# mkdir /mnt/myfedoraboot
# mount /dev/sdb1 /mnt/myfedoraboot <-- note: you are mounting the boot partition here
# cd /mnt/myfedoraboot/grub/ <-- you should see you menu.lst file in this directory
# ls
If you don't see your menu.lst file here, try running the following
# find /mnt/myfedoraboot -name "menu.lst"

Once you find menu.lst, you can use any text editor to view and edit the file. If you aren't familiar with the vi editor, what text editor the fedora livecd provides before you go back home from work. A possible alternative that might be available is the nano editor
# nano filename

In order to re-install grub (assuming your menu.lst is correct), do the following:
# grub
grub> find /grub/menu.lst <-- you should get a response that shows (hd1,0)
grub> root (hd1,0) <-- you are telling grub that your grub files are located in /dev/sdb1
grub> setup (hd0) <-- hopefully this will execute without problems
If grub installs successfully, you have just installed the bootloader to the MBR of your first hard drive (/dev/sda). Now reboot and see if you are able to boot into your different partitions.

Something else to consider (optional):
RIP Linux is a nice Linux on livecd that provides options for you to boot different partitions of different hard drives on your computer. You may want to consider burning this before you go home.
 
  


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
Dual Boot Win Xp Pro and Fedora 1o abejr Linux - Newbie 6 07-13-2009 06:47 AM
Dual Boot Win XP/Fedora 6 Techno T Fedora 21 05-19-2007 10:19 PM
Fedora Core 6 and Win Xp dual boot eugen.serban Linux - Newbie 2 04-04-2007 12:23 AM
When I boot my comp. (dual boot sys-Suse 10.1 & Win XP) the first boot stalls. philip niedermeyer Linux - Desktop 5 11-13-2006 06:04 PM
Fedora Core 3 + Win XP Dual Boot azrael808 Linux - Software 19 01-17-2006 12:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:25 AM.

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