Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 04-15-2009, 05:31 PM   #1
LQ Newbie
Registered: Apr 2009
Distribution: KateOS, Astrumi, Puppy, Red flag, Ubuntu
Posts: 2

Rep: Reputation: 0
Grub not seeing all my distros

Installed KateOS last night and the grub loader is not seeing my ubuntu and puppy partitions. I have files in Puppy i at least need to recover, how can i do this?
Old 04-15-2009, 06:41 PM   #2
LQ Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
You can add an entry for Puppy and Ubuntu to the /boot/grub/menu.lst file. See the link in my signature for examples of how to do this.

If you just want the files, you need to know what partition they're on and the partition type (hint: use fdisk -l). Then just use mount from the command line.
Old 04-15-2009, 08:33 PM   #3
Senior Member
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
As Colin McLeod said, "There can be only one" grub. What you've done is installed grub to the /boot/grub in your KateOS - which, of course, doesn't know anything about Puppy or Ubuntu or anything else you might have on your drive. This problem pretty much defines the case where one should have a separate "/boot" partition. However, I think you can get around the problem by deciding which of your OS'es is your primary one, and reinstall grub on that one. Then, it's just a matter of adding the others to that one's /boot/grub/menu.lst. See pjvaldez's signature line for how.
Old 04-16-2009, 01:03 AM   #4
Junior Hacker
Senior Member
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
That's the hard way for someone with one post.
You can also boot into a live session with the Ubuntu CD, open a terminal and issue the command: sudo fdisk -l to see which partition is which. If for example your Ubuntu partition on the drive is /dev/sda3, use it for grub configurations as Ubuntu updates it's kernel more often than the others, and when a kernel gets updated, so does the grub configuration file in Ubuntu to reflect the new kernel, this will save you from having to edit the file if you used the KateOS grub configuration instead of Ubuntu's when Ubuntu gets a kernel update.

Run the four commands below to reinstall grub in the MBR of the first drive set to boot in the bios, using the hard drive Ubuntu installation as root for grub configuration, remember to change the root command (second command) to reflect the proper device corresponding to the Ubuntu partition. Grub counts from 0, so /dev/sda3 is (hd0,2)
sudo grub
root (hd0,2)
setup (hd0)
Old 04-17-2009, 12:52 AM   #5
LQ Newbie
Registered: Apr 2009
Distribution: KateOS, Astrumi, Puppy, Red flag, Ubuntu
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks everyone, I got my files From my puppy partition! I was able to add puppy to /boot/grub/menu.lst, however I'm sure Junior Hacker's way would of been easier. Either way I appreciate the help! EVERYONE GETS A THANKS!


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, two hard drives and two distros pressman57 Linux - Newbie 8 11-05-2006 09:47 AM
Using Grub For Several Distros Ketje General 5 05-31-2005 08:52 AM
grub and multiple distros rabelais Linux - Newbie 10 01-07-2005 10:26 AM
Grub and Twin distros deadlock Linux - Newbie 2 04-29-2004 09:05 PM
GRUB and multiple distros hollering Linux - General 3 09-30-2003 08:40 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:10 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration