LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 12-22-2006, 06:25 PM   #1
aquaboot
Member
 
Registered: May 2005
Location: Berkeley, CA.
Distribution: debain freebsd
Posts: 483

Rep: Reputation: 31
debian disappeared my ubuntu!


Hi All,

I was screwing around with kernel rebuild on debian (I have three disk drives with winxp on one, debian on one and ubuntu on the other) and was prompted to reboot. When I did, only winxp and debian showed in the boot menu. How can I get back into ubuntu and have it reinstall ITS menu.lst? I want to reinstall debian anyway (no biggie); just want ubuntu's grub to do its thing and recognize all three OSes- I want the grub menu to be ubuntu's, not debian's like it is now.

Many Thanks,

ab
 
Old 12-22-2006, 09:17 PM   #2
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
If Debian boots using GRUB, then when the boot menu comes up you can type c to get to the GRUB command line. You can then use the root, kernel, and if needed initrd commands to specify how to boot to Ubuntu, and then issue the boot command to actually do it. Once in Ubuntu, I think you can, as root type

grub-install /dev/hda

to reinstall Ubuntu's GRUB. However, I would strongly advise you to check the grub-install man pages before doing this.

EDIT: If you don't know what parameters to use with GRUB commands, mount the relevant Ubuntu partition while in Debian and look at what Ubuntu's menu.lst file shows for booting Ubuntu.

Last edited by blackhole54; 12-22-2006 at 09:20 PM.
 
Old 12-23-2006, 01:21 AM   #3
aquaboot
Member
 
Registered: May 2005
Location: Berkeley, CA.
Distribution: debain freebsd
Posts: 483

Original Poster
Rep: Reputation: 31
Excellent. I'll give this a shot.

Thanks Much,

ab
 
  


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
System tray disappeared in Gnome on Ubuntu republicson Ubuntu 5 09-07-2011 03:31 AM
'Debian' Submenu Disappeared rickh Debian 2 02-26-2006 08:59 PM
Eth0 and Eth1 disappeared in Debian 3.1 Sarge... JoeneB Linux - Networking 1 11-01-2005 07:52 AM
Modules disappeared in KDE Control Center (Debian SID) exit3219 Linux - Newbie 0 10-24-2005 09:00 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

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