LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Tags used in this thread
Popular LQ Tags , , , , , , ,

Reply
 
Thread Tools
Old 08-11-2009, 08:38 AM   #1
murtyvonna
LQ Newbie
 
Registered: Aug 2009
Posts: 2
Thanked: 0
Unhappy Boot grub menu list is accidentally removed from Ubuntu Jaunty and sysem boots to gru


[Log in to get rid of this advertisement]
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.
murtyvonna is offline  
Tag This Post , , , , ,
Reply With Quote
Old 08-11-2009, 08:49 AM   #2
pixellany
Moderator
 
Registered: Nov 2005
Location: Pasadena, CA
Distribution: Arch
Posts: 13,172
Thanked: 285
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
pixellany is online now     Reply With Quote
Old 08-11-2009, 01:19 PM   #3
murtyvonna
LQ Newbie
 
Registered: Aug 2009
Posts: 2
Thanked: 0

Original Poster
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
murtyvonna is offline  
Tag This Post ,
Reply With Quote

Reply

Bookmarks


Thread Tools

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 08: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 08:59 AM
/grub/menu.lst file disappeared but computer still boots (grub) rrrssssss Linux - General 5 04-08-2007 10:02 AM
boot stops at GRUB GRUB linux never boots coffeedemon Slackware 4 11-09-2004 03:20 PM
accidentally deleted /boot partition, yet it boots timsch75 Linux - General 6 04-08-2004 03:51 PM


All times are GMT -5. The time now is 04:13 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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration