LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > DamnSmallLinux
User Name
Password
DamnSmallLinux This forum is for the discussion of DamnSmallLinux.

Notices


Reply
  Search this Thread
Old 07-08-2005, 09:39 PM   #1
gnukish
Member
 
Registered: Apr 2005
Location: Neverland
Distribution: Slackware / Ubuntu
Posts: 171

Rep: Reputation: 30
Question Setting up dual boot with Knoppix


1)I tried setting up a dual boot of Damn small with Knoppix HD-install.
2)I finally landed up resetting the mbr and restoing Knoppix.
3)How can I make knoppix work without using GRUB ??
4)I don't want to chroot knoppix and install grub . . .

5)Please help me folks.

TYVM in advance
 
Old 07-09-2005, 12:52 AM   #2
michaelsanford
Member
 
Registered: Feb 2005
Location: Ottawa/Montréal
Distribution: Slackware + Darwin (MacOS X)
Posts: 468

Rep: Reputation: 30
Maybe I'm missing something here, never having used knoppix, but I thought its claim to fame was being a live CD Linux...
 
Old 07-09-2005, 01:00 AM   #3
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,775

Rep: Reputation: 86
Quote:
Originally posted by michaelsanford
Maybe I'm missing something here, never having used knoppix, but I thought its claim to fame was being a live CD Linux...
That's its claim to fame, but you can install Knoppix.
 
Old 07-09-2005, 09:43 AM   #4
gnukish
Member
 
Registered: Apr 2005
Location: Neverland
Distribution: Slackware / Ubuntu
Posts: 171

Original Poster
Rep: Reputation: 30
Guys , please try reading my post in detail.
That would give a better idea of what the actual question is ...

Last edited by gnukish; 07-09-2005 at 09:44 AM.
 
Old 07-11-2005, 07:07 AM   #5
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
Quote:
Originally posted by gnukish
Guys , please try reading my post in detail.
That would give a better idea of what the actual question is ...
Sorry, can't agree with you there, as there is no detail to read....

Quote:
Originally posted by gnukish
1)I tried setting up a dual boot of Damn small with Knoppix HD-install.
2)I finally landed up resetting the mbr and restoing Knoppix.
No detail here.... what was the problem? Why did you have to "reset the MBR" (as opposed to reconfiguring your bootloader), and why did you have to "restore Knoppix" (if it was a dual-boot setup, there was perhaps nothing wrong with Knoppix per se, just with your bootloader)?

But OK, there's more, so maybe the question is still to come:

Quote:
Originally posted by gnukish
3)How can I make knoppix work without using GRUB ??
4)I don't want to chroot knoppix and install grub . . .
Indeed, that's a question, but not a very clear one:

How can you make Knoppix work without using GRUB? Use LiLO? Use the Windows bootloader, if you have Windows on the system? Use Knoppix from the Live CD instead of installing?

Knoppix doesn't work? But you "reset the MBR and restored [it]"! So what (in detail) is wrong? Have you checked the Knoppix forums? I recall having bootloader problems when installing to HDD with many Knoppix-based distros-- if this is a known problem, it's probably documented, and any workarounds listed.

What are you trying to accomplish? Linux needs a bootloader (so does Windows, btw). So you have to install one. Is a bootloader currently installed? Which one? Is it correctly configured? What happens when you try to boot? What distros are currently installed? Does DSL run? If you do have a bootloader that successfully boots one of the distros you have installed, what does its config file say (please post)?

We shouldn't need to "get a better idea of what the actual question is"-- we should know the question, the output of the errors you're getting, what you have already tried to resolve those errors, the specifics of the current configuration, and what you are trying to achieve.
 
Old 07-11-2005, 10:57 AM   #6
gnukish
Member
 
Registered: Apr 2005
Location: Neverland
Distribution: Slackware / Ubuntu
Posts: 171

Original Poster
Rep: Reputation: 30
I want to know how to config both distro's in linux. I had to reset becoz grub overwrote knoppix bootloader lilo. Its implied that Iam trying to setup both in lilo instead of grub.
There was a question if u had analysed a bit. Those first two sentences say it all.

Sorry, if it did not provide the clarity required.
 
Old 07-11-2005, 03:38 PM   #7
motub
Senior Member
 
Registered: Sep 2003
Location: The Netherlands
Distribution: Gentoo (main); SuSE 9.3 (fallback)
Posts: 1,607

Rep: Reputation: 46
The usual way to set up multiple Linux distros (as far as the bootloader goes) is to:

1) decide which distribution's bootloader you actually want to see when you boot;

2) install the other distro, installing its bootloader to the distribution's / partition rather than the MBR (you won't be able to boot this distro until the "main" bootloader is installed. Afaik, you can install either bootloader-- it doesn't have to be the same as the 'main' bootloader, but since most distros allow you to choose, I usually install the same one as the 'main' distro's bootloader to minimize problems);

3) install the 'main' distro, installing its bootloader to the MBR;

4) boot into the 'main' distro, load up the bootloader's config file and configure the second distribution to be booted from the main bootloader menu.

For example, I have both Gentoo and SuSE on my disk, and here's my grub.conf:

Code:
title Gentoo_current (2.6.11-gentoo-r11)
        root (hd0,1)
        kernel /vmlinuz ro root=/dev/hda5 video=vesafb-tng:ywrap,mtrr,pmipal,1280x1024-32@60 splash=silent,theme:emergence quiet CONSOLE=/dev/tty1
        initrd /fbsplash-emergence-2611-11

title Gentoo_prev (2.6.11-gentoo-r8)
        root (hd0,1)
        kernel /vmlinuz-2.6.11-gentoo-r6 ro root=/dev/hda5 video=vesafb-tng:ywrap,mtrr,1280x1024-32@60 splash=verbose,theme:emergence quiet
        initrd /fbsplash-emergence-1280x1024

title SUSE LINUX 9.3
        root (hd0,1)
        kernel /vmlinuz-2.6.11.4-20a-default real_root=/dev/hda6 vga=0x317 selinux=0 splash=silent resume=/dev/hda6  showopts
        initrd /initrd-2.6.11.4-20a-default
It's really pretty much that simple, except that I use a boot partition, so all the kernels are in the same place. If you don't, I think you have to either configure the bootloader so that it knows where the 'foreign' kernel is, or copy the kernel and subsidiary files to the /boot location of the 'main' bootloader, but it's been a while since I had to do anything like that, so I'm hazy on the details. Also, SuSE in particular is very complex and picky (probably because of the initrd), so I literally copied the bootloader information from SuSE's bootloader config to the one I was using, but other distributions can boot from a much simpler configuration.

This link might help you (I guess you're using LiLO):

Litt's Lilo Lessons, which basically says the same thing, except more LiLO-specific, and also Litt seems to prefer to install the 'best' distro first, whereas I prefer to do it last. But that's just preference; I think you can do it either way around and as long as you hit all the steps, you should be good to go.

You might also try

Multiboot Lilo

and

The Lilo Bootloader

Hope this helps, and good luck.
 
Old 07-12-2005, 12:04 AM   #8
gnukish
Member
 
Registered: Apr 2005
Location: Neverland
Distribution: Slackware / Ubuntu
Posts: 171

Original Poster
Rep: Reputation: 30
Thanks for the links, i will try and let ye know
 
  


Reply



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
Knoppix 4, existing partition, dual boot beside XP pro? sina94 Linux - Newbie 1 09-28-2005 04:36 PM
dual boot using knoppix and windows donaldke Linux - Networking 1 05-21-2005 11:59 AM
dual boot with windows xp, 98 and now i want Knoppix c_kortman Linux - Newbie 3 03-19-2004 09:14 PM
Setting up a dual boot box gvaught Linux - Newbie 1 10-22-2003 10:23 PM
Trying to Dual boot with win2k and knoppix b_morgan General 1 08-12-2003 03:59 PM

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

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