LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 08-11-2009, 07:38 AM   #1
murtyvonna
LQ Newbie
 
Registered: Aug 2009
Location: India
Distribution: UBUNTU 11.10
Posts: 2

Rep: Reputation: 0
Unhappy Boot grub menu list is accidentally removed from Ubuntu Jaunty and sysem boots to gru


Sir,
I am not much experienced with Linux systems and commands. I have been searching with Goggle and trying to solve. Today I had accidentally removed the boot grub menu list. There is a backup file. Now my system boots to >grub command. I have tried all sorts of things from live CD to boot the system I have tried Super Grub also. I am no able to go to the directory where the back up boot menu list is available and change the name from the live CD. Can any one help me with commands to go to the directory and rename the file for booting . Thanks in advance.
 
Old 08-11-2009, 07:49 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
welcome to LQ!!

Boot up from a live CD and open a terminal. Then do this: (I am assuming the the Ubuntu /boot directory is on sda1 (ie the first partition of the first drive.) I'm also assuming that the backup file is "menu.lst.bak".

Code:
cd /mnt
mkdir ubuntu
mount /dev/sda1 ubuntu   ##change sda1 if required
cd ubuntu
cd boot/grub
ls    ##check the name of the backup file
cp menu.lst.bak menu.lst
reboot
 
Old 08-11-2009, 12:19 PM   #3
murtyvonna
LQ Newbie
 
Registered: Aug 2009
Location: India
Distribution: UBUNTU 11.10
Posts: 2

Original Poster
Rep: Reputation: 0
Wink

Quote:
Originally Posted by pixellany View Post
welcome to LQ!!

Boot up from a live CD and open a terminal. Then do this: (I am assuming the the Ubuntu /boot directory is on sda1 (ie the first partition of the first drive.) I'm also assuming that the backup file is "menu.lst.bak".

Code:
cd /mnt
mkdir ubuntu
mount /dev/sda1 ubuntu   ##change sda1 if required
cd ubuntu
cd boot/grub
ls    ##check the name of the backup file
cp menu.lst.bak menu.lst
reboot
Sir,

I am very grateful for the solution. Since I am with Ubuntu Jaunty, my old Super Grub did not work. I have made a CD with the latest updated suitable for Ubuntu 9.04 with ext4 this had solved the problem. How ever for my knowledge improvement I have tried your solution with live CD. I have learnt to day : how to get into files with cd command from live CD. My backup menu.list is :menu.lst.backup". Let me thank you once again. Hope this thread will be helpful to many.
Regards
 
  


Reply

Tags
boot, helps, menulst, seek, who


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
(sabayon)add a option in the grub menu where it only boots into the terminal deathalele Linux - Distributions 3 11-25-2008 07:20 AM
Fedora 9 boots (long delay) as single core if I go to GRUB menu, otherwise boots fine saravkrish Fedora 1 05-27-2008 07:59 AM
/grub/menu.lst file disappeared but computer still boots (grub) rrrssssss Linux - General 5 04-08-2007 09:02 AM
boot stops at GRUB GRUB linux never boots coffeedemon Slackware 4 11-09-2004 02:20 PM
accidentally deleted /boot partition, yet it boots timsch75 Linux - General 6 04-08-2004 02:51 PM


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