LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 11-19-2006, 04:13 AM   #1
Mutch
LQ Newbie
 
Registered: Oct 2006
Posts: 24

Rep: Reputation: 15
Formatted Over grub now i can't access my linux partition


Ahhhhhh.

So i was reformatting my windows partition, as you do. And now when i boot i don't get the grub loader.
I tried to install from my debian cd but i have to reinstall to do that. And i don't particularly want to do that. Is there another way.

Please say yes.

Mutch
 
Old 11-19-2006, 05:05 AM   #2
amishtechie
Member
 
Registered: Apr 2004
Distribution: Pop OS
Posts: 130

Rep: Reputation: 17
You should be able to use a rescue cd like http://rescuecd.pld-linux.org/ to reinstall grub. I do believe you would have to configure it manually.
 
Old 11-19-2006, 05:09 AM   #3
Mutch
LQ Newbie
 
Registered: Oct 2006
Posts: 24

Original Poster
Rep: Reputation: 15
Configure Manually.

I don't like the sound of that.

oh well ill see how we go.

Thanks!
 
Old 11-19-2006, 05:15 AM   #4
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682Reputation: 682
If the linux partitions are intact, and your install disk lets you access the grub menu (probably by pressing the ESC key during the initial menu), then you can boot up your system and then run the grub-install program to rewrite to the MBR. The grub shell has auto-completion, which makes it easy locating the partition that has linux on it.

For example, enter "kernel (hd" and press the TAB key. Select a drive ( numbered from 0 ) and press tab again for a list of partitions. Keep going until you have your kernel selected. Do the same on another line starting with "initrd (hd". With both selected enter "boot" to boot up the system.

With the grub shell you could locate your /boot/grub/menu.lst file and boot with that.

You don't need to manually configure grub unless you also added or removed a disk and (hd1,1) is (hd0,1) or (hd2,1) now. You simply removed the MBR program that loaded the the grub boot loader. The /boot/grub/menu.lst is still there.

Last edited by jschiwal; 11-19-2006 at 05:18 AM.
 
Old 11-19-2006, 05:57 AM   #5
arochester
Member
 
Registered: May 2006
Distribution: Debian
Posts: 615

Rep: Reputation: 98
See http://linuxhelp.blogspot.com/2005/1...-and-boot.html
 
Old 11-19-2006, 03:21 PM   #6
Mutch
LQ Newbie
 
Registered: Oct 2006
Posts: 24

Original Poster
Rep: Reputation: 15
Cool thanks guys.

I will give that a go when i get home from work.

 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to access Linux formatted harddrive in Windows? JohnDoe13 Linux - General 5 11-15-2006 11:14 AM
I just formatted a partition FAT32 do I need to mount it to write to it in Linux? royeo Linux - Newbie 1 07-13-2006 08:14 PM
Help: Formatted Linux, Stuck in grub. Badluck Linux - Software 4 05-22-2005 12:10 PM
using GRUB to access a partition grendel-IT Linux - Software 2 03-05-2004 09:46 AM
partition formatted on each new installation? timsch75 Linux - Newbie 2 03-01-2004 11:28 AM

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

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