LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions
User Name
Password
Linux - Distributions This forum is for Distribution specific questions.
Red Hat, Slackware, Debian, Novell, LFS, Mandriva, Ubuntu, Fedora - the list goes on and on... Note: An (*) indicates there is no official participation from that distribution here at LQ.

Notices


Reply
  Search this Thread
Old 07-25-2007, 12:56 PM   #1
Neo-Leper
Member
 
Registered: Nov 2006
Posts: 141

Rep: Reputation: 15
Problems adding Knoppix to Grub in Ubuntu


I just did an HD install of Knoppix. Everything seemed to install correctly. Fstab in Ubuntu loads it fine, but I am having a problem adding an entry in grub. What I currently have in grub starts to boot Knoppix and then halts with a kernel panic. I also noticed with Ubuntu that there is a /initrd.img-2.6.20-16-generic I don't see this in the Knoppix /boot anywhere. Knoppix is installed on my SATA (sda or grub=hd2) drive, it is using the swap from my IDE (hda, grub=hd0,) drive. Can anyone tell me what am I doing wrong?


Here is the Ubuntu and Knoppix entries from my /boot/grub/menu.lst


title Ubuntu 7.04
root (hd0,1)
kernel /vmlinuz-2.6.20-16-generic root=UUID=3d9d448d-e454-4fa6-90b3-da717e691648 ro quiet splash
initrd /initrd.img-2.6.20-16-generic
quiet
savedefault

title Knoppix 5.1.1
root (hd2,1)
kernel /boot/vmlinuz-2.6.19
quiet
savedefault


EDIT: I forgot to add that when I access the Knoppix partition /boot/grub, the menu.lst is empty as well as /etc the fstab being empty to.

Last edited by Neo-Leper; 07-25-2007 at 12:57 PM.
 
Old 07-25-2007, 03:06 PM   #2
Neo-Leper
Member
 
Registered: Nov 2006
Posts: 141

Original Poster
Rep: Reputation: 15
Problem solved with new problem.

When installing Knoppix it gives three options,

Debian (Recommended)
Beginner
Knoppix

The first time I chose Debian but there where to many things missing. So I then reinstalled it using the beginner option. Now it boots fine. All I did was copy and paste from Knoppix menu.lst to Ubuntu menu.lst.

Now the new problem is this.

I have Knoppix and Ubuntu sharing the same swap partition. So when I boot Ubuntu it is looking for something, that I am guessing Knoppix stored, in the swap partition, (It says something about the partition Knoppix is installed on, sda2, and apt-get.) I have to hit crtl+D to resume normal boot with Ubuntu.

Is this problem happening because of the shared swap partition? Should I create another swap just for Knoppix? Or is there a way for Ubuntu and Knoppix to share the same swap but some command I can add somewhere to show a difference between the two operating systems when I boot either?

Last edited by Neo-Leper; 07-25-2007 at 03:22 PM.
 
Old 07-25-2007, 03:42 PM   #3
Neo-Leper
Member
 
Registered: Nov 2006
Posts: 141

Original Poster
Rep: Reputation: 15
Well.......

The booting/swap fixed itself. I am guessing it was one of those first time running issues because once I actually signed in to Knoppix KDE (Opposed to just booting to the KDE sign in screen,) Ubuntu boots fine now.

I still wonder if I should have two separate swap partitions for each to avoid possible future issues, anyone have any thoughts?
 
Old 07-25-2007, 04:21 PM   #4
mcmillan
Member
 
Registered: Jul 2005
Distribution: Arch
Posts: 489

Rep: Reputation: 30
I don't think sharing the swap should cause any problems. I've shared swap on my desktop for a while and never encountered any issues. The only thing I can think of is that setting up to hibernate can be set to save to swap. If you have things setup this way then if you hibernate in one, boot into the other then try to restore the first there could be issues. Anything short of that shouldn't cause problems.
 
Old 07-25-2007, 04:25 PM   #5
Neo-Leper
Member
 
Registered: Nov 2006
Posts: 141

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by mcmillan
I don't think sharing the swap should cause any problems. I've shared swap on my desktop for a while and never encountered any issues. The only thing I can think of is that setting up to hibernate can be set to save to swap. If you have things setup this way then if you hibernate in one, boot into the other then try to restore the first there could be issues. Anything short of that shouldn't cause problems.

Thanks. I will leave everything alone with that, no sense in trying to fix something that is not broken, lol. I never had that problem before so it threw me a bit when it did happen.
 
  


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
GRUB problems on dual XP+Ubuntu install NC8000 internal+multibay scotchfx Ubuntu 1 07-23-2007 02:08 AM
Installing/deinstalling packages under Ubuntu & handling boot problems with Grub ... rakeshj Linux - Software 2 07-15-2007 02:27 PM
GRUB problems trying to use Windows and Ubuntu seabass Linux - Newbie 18 07-13-2007 03:42 AM
GRUB Problems On Installing Windows After Ubuntu!!! crash_override_me Ubuntu 10 06-21-2006 03:53 AM
Mouse Problems with Knoppix and ubuntu phazon Linux - Laptop and Netbook 43 04-27-2006 08:59 AM

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

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

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