LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-14-2007, 05:43 PM   #1
jess5691
LQ Newbie
 
Registered: Oct 2007
Posts: 2

Rep: Reputation: 0
Accessing grub.conf from Vista


I successfully installed Microsoft Vista and Fedora 7 in a dual boot, and made the mistake of messing around with the /boot/grub/grub.conf file when in linux. Now I cannot boot into Fedora anymore. Is there a way to view the /boot/grub/grub.conf file from Vista. If there is, I know I will be able to fix the problem
 
Old 10-14-2007, 06:12 PM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 356Reputation: 356Reputation: 356Reputation: 356
My personal bias is: don't try to read/write files in Linux partitions from Vista. There are commercial apps that will allow it if you can afford them. There may also be open source apps that do it.

By far, the easiest is to boot a liveCd distro, mount the partition, edit and save the file, then reboot to see if your edit worked.
 
Old 10-14-2007, 06:22 PM   #3
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
I second bigrigdriver.

Your Fedora installation CD can be used as a Live CD. Just select the rescue mode. You have to be able to edit the file in the terminal mode though.

The standard command to restore Grub in Fedora is listed as Task B6 in the last link of my signature. Task B4 and B5 can also be used for the same purpose.

Last edited by saikee; 10-14-2007 at 06:25 PM.
 
Old 10-14-2007, 06:32 PM   #4
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
I second the LiveCD option.
 
Old 10-14-2007, 07:04 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,119

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Just fix it at the grub menu screen - once in FC, fix menu.lst
Highlight the entry, hit <e>, follow the prompts.
 
Old 10-14-2007, 07:28 PM   #6
saikee
Senior Member
 
Registered: Sep 2005
Location: Newcastle upon Tyne UK
Distribution: Any free distro.
Posts: 3,398
Blog Entries: 1

Rep: Reputation: 113Reputation: 113
Yes syg00's idea is better.

In Fedora's Grub, which does not use gfxmenu as in Suse, one can edit the booting commands on-the-fly.
 
Old 10-14-2007, 08:40 PM   #7
jess5691
LQ Newbie
 
Registered: Oct 2007
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for your help, guys!

I booted to my Fedora 7 DVD and choose recovered. Eventually, it and sent me to the terminal/command prompt. From there I used vi to fix the grub.conf file and now both Vista and Fedora are booting up.

Thanks again.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
GRUB menu.lst/grub.conf file with multiple partitions dasy2k1 Linux - General 1 04-19-2007 08:42 AM
can some fc4 user mail his grub.conf and tell me how can i make this grub read this amolgupta Linux - Software 1 03-15-2006 04:04 AM
Is lilo.conf file format is same for grub.conf? Chundo Linux - Newbie 1 01-30-2006 06:21 PM
create lilo.conf or grub.conf through commands newpenguin Linux - Software 1 11-28-2003 08:22 PM
lilo.conf and grub.conf no read access shanenin Linux - Software 1 10-02-2003 03:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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