LinuxQuestions.org
Review your favorite Linux distribution.
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 05-15-2007, 05:58 PM   #1
revenge80200
Member
 
Registered: Mar 2004
Location: Chicago
Distribution: Lenny & Xp
Posts: 238

Rep: Reputation: 30
Grub install problem


Hello there,

Having a bit of a problem getting grub to work again. I moved, as opposed to copied, /boot/grub/menu.lst to my desktop on my debian system to save it. Now supergrub is not able to find the menu.lst and I do not have access to my debian drive, which is where everything is. So, how do I go about restoring grub then? I have both knoppix and the supergurb at hand.

Thanks
 
Old 05-15-2007, 06:06 PM   #2
Hern_28
Member
 
Registered: Mar 2007
Location: North Carolina
Distribution: Slackware 12.0, Gentoo, LFS, Debian, Kubuntu.
Posts: 906

Rep: Reputation: 38
/boot ?

did you move the whole directory or just the grub subfolder, or just the menu.1st file?
 
Old 05-15-2007, 06:09 PM   #3
revenge80200
Member
 
Registered: Mar 2004
Location: Chicago
Distribution: Lenny & Xp
Posts: 238

Original Poster
Rep: Reputation: 30
just the file menu.lst.

I am trying to move it back with the debian net install disc using rescue. Not too much luck.
 
Old 05-15-2007, 06:24 PM   #4
Hern_28
Member
 
Registered: Mar 2007
Location: North Carolina
Distribution: Slackware 12.0, Gentoo, LFS, Debian, Kubuntu.
Posts: 906

Rep: Reputation: 38
Prompt?

Can you get into the grub prompt. If so :

root (hdX,X) first X drive, second is partition.

kernel /vmlinuz root=/dev/hdX (X is your root dir)
initrd /initrd.img

boot
 
Old 05-15-2007, 06:32 PM   #5
revenge80200
Member
 
Registered: Mar 2004
Location: Chicago
Distribution: Lenny & Xp
Posts: 238

Original Poster
Rep: Reputation: 30
No, not able to get to a grub prompt. It just keeps repeating GRUB over and over again. Should I try the knoppix way again?
 
Old 05-15-2007, 06:36 PM   #6
Hern_28
Member
 
Registered: Mar 2007
Location: North Carolina
Distribution: Slackware 12.0, Gentoo, LFS, Debian, Kubuntu.
Posts: 906

Rep: Reputation: 38
switch puters

I'm on my wifes system atm. give me about 10 mins to put my girl to bed and I will boot mine using super grub again and will be able to give more detailed instructions . supergrub does not require the menu.1st to boot the linuz system, just the kernel and the initrd which can be manually entered.
 
Old 05-15-2007, 06:40 PM   #7
revenge80200
Member
 
Registered: Mar 2004
Location: Chicago
Distribution: Lenny & Xp
Posts: 238

Original Poster
Rep: Reputation: 30
Okay, I'll load supergrub


Thanks
 
Old 05-15-2007, 07:00 PM   #8
revenge80200
Member
 
Registered: Mar 2004
Location: Chicago
Distribution: Lenny & Xp
Posts: 238

Original Poster
Rep: Reputation: 30
Okay, I've got grub back now.... let me see if it works...

Nope, so soup.

Last edited by revenge80200; 05-15-2007 at 07:14 PM.
 
Old 05-15-2007, 07:22 PM   #9
Hern_28
Member
 
Registered: Mar 2007
Location: North Carolina
Distribution: Slackware 12.0, Gentoo, LFS, Debian, Kubuntu.
Posts: 906

Rep: Reputation: 38
Knoppix

would try the knoppix cd or you could use the debian install disk. just set the swap and the drive (don't format) escape back to the main menu, and configure system. Then you can re-install grub or lilo. Thats what I do when I am too lazy to grab another cd I forgot to modify my super-grub disk. the one i have doesn't support xfs lol.

Last edited by Hern_28; 05-15-2007 at 07:24 PM.
 
Old 05-15-2007, 07:26 PM   #10
revenge80200
Member
 
Registered: Mar 2004
Location: Chicago
Distribution: Lenny & Xp
Posts: 238

Original Poster
Rep: Reputation: 30
I've tried that with the debian netinstall, though it keeps telling me to determine the root partition. How do I do that?
 
Old 05-15-2007, 07:30 PM   #11
Hern_28
Member
 
Registered: Mar 2007
Location: North Carolina
Distribution: Slackware 12.0, Gentoo, LFS, Debian, Kubuntu.
Posts: 906

Rep: Reputation: 38
Where did you have the root partition set originally.

Might want to use that again. If you don't remember and since you are going to restore the original configuration anyway could just use the drive path you are booting to as root for now.
 
Old 05-15-2007, 07:32 PM   #12
revenge80200
Member
 
Registered: Mar 2004
Location: Chicago
Distribution: Lenny & Xp
Posts: 238

Original Poster
Rep: Reputation: 30
find /boot/grub/stage1

hd0,1

...loading netinstall under rescue

Netinstall loaded... ideas?

Last edited by revenge80200; 05-15-2007 at 07:35 PM.
 
Old 05-15-2007, 07:36 PM   #13
Hern_28
Member
 
Registered: Mar 2007
Location: North Carolina
Distribution: Slackware 12.0, Gentoo, LFS, Debian, Kubuntu.
Posts: 906

Rep: Reputation: 38
Hey

Did it work?
 
Old 05-15-2007, 07:41 PM   #14
revenge80200
Member
 
Registered: Mar 2004
Location: Chicago
Distribution: Lenny & Xp
Posts: 238

Original Poster
Rep: Reputation: 30
No, I did not set a root partition. How do I tell which one is root?
 
Old 05-15-2007, 07:43 PM   #15
Hern_28
Member
 
Registered: Mar 2007
Location: North Carolina
Distribution: Slackware 12.0, Gentoo, LFS, Debian, Kubuntu.
Posts: 906

Rep: Reputation: 38
Can you boot it?

What exactly did it do? Haven't gotten the net install before. and for root just set it to whatever partition you are booting too.

Last edited by Hern_28; 05-15-2007 at 07:44 PM.
 
  


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
installing GRUB 2, grub-install problem r00tb33r Linux - Software 1 02-26-2007 09:42 PM
Please help. Install grub problem blackspade Linux - Newbie 13 11-20-2005 12:22 PM
GRUB install problem PC Wizard Linux - Newbie 2 09-19-2004 04:04 PM
problem with GRUB after install viperkt400 Linux - Newbie 2 09-18-2004 04:31 PM
grub-install problem arunshivanandan Linux - General 2 09-01-2003 12:38 AM

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

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