LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
Search this Thread
Old 08-12-2010, 02:20 AM   #1
jesman1
LQ Newbie
 
Registered: Aug 2010
Posts: 2

Rep: Reputation: 0
Thumbs down lost grub menu after windows installation & forgot to backup menu.lst


hopefully i'm in the correct area in this forum. I'm looking for some help locating my menu.lst in my linux partition from windows 7. I completely forgot to back it up before installing windows, and it would be greatly appreciated if anyone has any methods of accessing it. so far i tried the drivers to view ext3(correct filesystem?) partitions from windows 7, but none are compatible. I also tried easyBCD and got a grub terminal at startup. the terminal seems the best rout. so could someone help me out with which commands i would use to boot ubuntu(newest distribution) from my (H0,3) partition? thanks
 
Old 08-12-2010, 05:10 PM   #2
PenGUiN_6_1
Member
 
Registered: Oct 2006
Location: Brunswick, MD
Distribution: gNewSense 2.3 (deltah) i386
Posts: 55

Rep: Reputation: 22
What is your configuration? You may try the gNewSense LiveCD...or the Ubuntu LiveCD...or the GParted LiveCD...to view the partitions. From there, identify, either by mounting them or looking on the screen, the boot, root, whatever. Finally, making note of this, use the original CD to install GRUB.

IF ENCRYPTED...
FOLLOW DIRECTIONS TO ACCESS THE ENCRYPTED DEVICES AS GPARTED CANNOT. Be sure the system can use the crypto stuff. Then, install GRUB.

IF YOU EDITED THE FILE AT ALL OR ACCESSED IT...
Look for something like:
Code:
ls -a /whatever # /whatever is wherever I wanted to plop it
grub          linux-2.6.29.8-casper.ubuntu-x86_64
menu.lst      menu.lst~ # the ~ is a backup
The backup might be there. Hope this helps
 
Old 08-12-2010, 06:50 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,103

Rep: Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982Reputation: 982
BCD requires grub to have been installed to a partition - not likely if you were using it as your loader.
Recovery depends on grub version - which may depend on Ubuntu release.

Presuming clean install of 10.04, see here

Last edited by syg00; 08-12-2010 at 06:53 PM. Reason: missed "latest" reference in OP.
 
Old 08-12-2010, 06:52 PM   #4
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,147

Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
If you're using the newer Ubuntu, you're using GRUB2, which does not use menu.lst, so you won't find that anywhere. There are several GRUB-related command line tools you can use to replace the Windows 7 MBR with one that works. Just boot the Ubuntu LiveCD and ask it to start the Ubuntu you have installed. Then run grub-install /dev/sda and grub-mkconfig to create the /boot/drub/grub.cfg file that replaces the older menu.lst one.
 
Old 08-12-2010, 11:57 PM   #5
jesman1
LQ Newbie
 
Registered: Aug 2010
Posts: 2

Original Poster
Rep: Reputation: 0
I'm downloading the live cd(lost my old one. XD), and that'll definitely give me access to my linux partition. after i get that its a cakewalk to get grub up and running again. the live cd option completely slipped my mind. thanks to all who helped me out with this. great forum you guys have going here. definitely the best info I have received with any linux related issue.
 
  


Reply

Tags
grub, menulst


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
grub menu.lst Won't boot Windows XP tschima Solaris / OpenSolaris 2 07-23-2008 08:35 PM
Grub Menu doesn't reflect menu.lst file fatsheep Linux - Software 4 06-11-2007 01:29 PM
Grub 0.97 issues on slackware - grub-install is very slow, & updating menu.lst fails dieyouspammer Linux - Software 1 02-27-2006 01:06 PM
Grub will not let me add Windows XP to menu.lst BillyGalbreath Linux - General 7 12-27-2005 02:39 PM
Lost boot/grub/menu.lst MRDucks Linux - Newbie 12 12-17-2005 01:44 PM


All times are GMT -5. The time now is 01:02 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration