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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
|
05-15-2007, 05:58 PM
|
#1
|
Member
Registered: Mar 2004
Location: Chicago
Distribution: Lenny & Xp
Posts: 238
Rep:
|
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
|
|
|
05-15-2007, 06:06 PM
|
#2
|
Member
Registered: Mar 2007
Location: North Carolina
Distribution: Slackware 12.0, Gentoo, LFS, Debian, Kubuntu.
Posts: 906
Rep:
|
/boot ?
did you move the whole directory or just the grub subfolder, or just the menu.1st file?
|
|
|
05-15-2007, 06:09 PM
|
#3
|
Member
Registered: Mar 2004
Location: Chicago
Distribution: Lenny & Xp
Posts: 238
Original Poster
Rep:
|
just the file menu.lst.
I am trying to move it back with the debian net install disc using rescue. Not too much luck.
|
|
|
05-15-2007, 06:24 PM
|
#4
|
Member
Registered: Mar 2007
Location: North Carolina
Distribution: Slackware 12.0, Gentoo, LFS, Debian, Kubuntu.
Posts: 906
Rep:
|
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
|
|
|
05-15-2007, 06:32 PM
|
#5
|
Member
Registered: Mar 2004
Location: Chicago
Distribution: Lenny & Xp
Posts: 238
Original Poster
Rep:
|
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?
|
|
|
05-15-2007, 06:36 PM
|
#6
|
Member
Registered: Mar 2007
Location: North Carolina
Distribution: Slackware 12.0, Gentoo, LFS, Debian, Kubuntu.
Posts: 906
Rep:
|
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.
|
|
|
05-15-2007, 06:40 PM
|
#7
|
Member
Registered: Mar 2004
Location: Chicago
Distribution: Lenny & Xp
Posts: 238
Original Poster
Rep:
|
Okay, I'll load supergrub
Thanks
|
|
|
05-15-2007, 07:00 PM
|
#8
|
Member
Registered: Mar 2004
Location: Chicago
Distribution: Lenny & Xp
Posts: 238
Original Poster
Rep:
|
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.
|
|
|
05-15-2007, 07:22 PM
|
#9
|
Member
Registered: Mar 2007
Location: North Carolina
Distribution: Slackware 12.0, Gentoo, LFS, Debian, Kubuntu.
Posts: 906
Rep:
|
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.
|
|
|
05-15-2007, 07:26 PM
|
#10
|
Member
Registered: Mar 2004
Location: Chicago
Distribution: Lenny & Xp
Posts: 238
Original Poster
Rep:
|
I've tried that with the debian netinstall, though it keeps telling me to determine the root partition. How do I do that?
|
|
|
05-15-2007, 07:30 PM
|
#11
|
Member
Registered: Mar 2007
Location: North Carolina
Distribution: Slackware 12.0, Gentoo, LFS, Debian, Kubuntu.
Posts: 906
Rep:
|
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.
|
|
|
05-15-2007, 07:32 PM
|
#12
|
Member
Registered: Mar 2004
Location: Chicago
Distribution: Lenny & Xp
Posts: 238
Original Poster
Rep:
|
find /boot/grub/stage1
hd0,1
...loading netinstall under rescue
Netinstall loaded... ideas?
Last edited by revenge80200; 05-15-2007 at 07:35 PM.
|
|
|
05-15-2007, 07:36 PM
|
#13
|
Member
Registered: Mar 2007
Location: North Carolina
Distribution: Slackware 12.0, Gentoo, LFS, Debian, Kubuntu.
Posts: 906
Rep:
|
Hey
Did it work?
|
|
|
05-15-2007, 07:41 PM
|
#14
|
Member
Registered: Mar 2004
Location: Chicago
Distribution: Lenny & Xp
Posts: 238
Original Poster
Rep:
|
No, I did not set a root partition. How do I tell which one is root?
|
|
|
05-15-2007, 07:43 PM
|
#15
|
Member
Registered: Mar 2007
Location: North Carolina
Distribution: Slackware 12.0, Gentoo, LFS, Debian, Kubuntu.
Posts: 906
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 08:24 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|