Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: help with dual booting 2 kinds of linux

  1. #1
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    237

    help with dual booting 2 kinds of linux

    Hello.....I have an IBM 233mhz desktop with 64M ram. HDD is 3.5GB.
    I want to install knoppix on one partition and another Knoppix based distro called "feather linux" on a 2nd partition. I have been trying for 2 days but cannot get both to boot. I know its a boot loader [lilo] problem. I need some help. Does it matter which linux I install first?
    I set the drive up like this:

    hda1 is the bootable partition containing knoppix. Size is 2050Gig
    hda2 is the swap partition, size is 128MB
    hda3 is the other partition with the other linux distro on it. Size is remaining free space.

    So regardless of which OS is used, either can use hda2 as swap.

    Both OS's when you install them ask if you want to install LILO to the MBR....here's where i get mixed up.

    I cannot get the LILO boot screen to come up, it either boots one OS only. I tried to edit LILO.CONF by editing it by putting this at end:

    other=/hda3
    label="feather linux"

    That didnt work. So I am all out of ideas....please help!

    Thanks..bob

  2. #2
    Senior Member registered user
    Join Date
    Jun 2004
    Posts
    788
    For example, we will use knoppix and feather linux.
    The scenario:
    You install knoppix after feather is installed and knoppix's lilo takeover feather's lilo.....and you can boot to knoppix but not to feather.

    Boot to knoppix and edit knoppix /etc/lilo.cfg by copy & paste feather's lilo.cfg. Try look in feather's partition. Don't copy all, just the one that will enable you to boot feather.
    Ex:
    image=/boot/vmlinuz-2.6.3-feather
    label="FeatherLinux"
    root=/dev/hda2
    initrd=/boot/initrd-2.6.3-9feather.img
    append="devfs=mount splash=silent acpi=ht"
    vga=791
    read-only

    After finishing with editing, run :lilo -v


  3. #3
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    237

    dual boot woes

    OK Shah, I will try that tonite when I get home. So actually I have to start from scratch cause I have both OS's installed but can only boot one of them. Therefore I cannot get into Feather to copy its LILO.CONF file. So what I should do is re load Feather Linux first, and make a copy of its LILO.CONF. Then Re load Knoppix.....Now like you said, at this point I can only bring up Knoppix only. But now since I saved a copy of Feather's LILO.CONF I can copy the section you highlighted and paste it into Knoppix's LILO.

    I do have my other computer, a 900mhz desktop with 640MB ram, which is a much faster machine. I have a dual boot system, but it was easier to set up cause I have 2 hard drives, not 1 like my IBM machine.

    I don't remember having this much trouble setting up a dual boot on that machine with the 2 HDD's. I have Knoppix on one drive and WINxp on the other. Well OK i will post back if I have any problems.....thank you...bob

  4. #4
    Senior Member registered user
    Join Date
    Jun 2004
    Posts
    788
    So what I should do is re load Feather Linux first, and make a copy of its LILO.CONF. Then Re load Knoppix.....Now like you said, at this point I can only bring up Knoppix only. But now since I saved a copy of Feather's LILO.CONF I can copy the section you highlighted and paste it into Knoppix's LILO.
    Actually I don't understand this lines.
    What you need to do is boot to Knoppix, that the only option you have. From within knoppix you can mount feather's partition and look for feather's lilo.cfg.


  5. #5
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    237
    OK I understand you now....but I was thinking of another scenario......I was debating whether or not to put DOS on my other partition.....There are still alot of things I like to do using DOS. How would dual booting work with that? Should I install DOS first then Knoppix? And I would have to edit lilo also.....how would I go about inserting a reference to DOS so I could boot it? I dont really understand the MBR and how it works.

  6. #6
    Administrator Site Admin-
    Join Date
    Apr 2003
    Location
    USA
    Posts
    5,441
    Quote Originally Posted by bob58
    OK I understand you now....but I was thinking of another scenario......I was debating whether or not to put DOS on my other partition.....There are still alot of things I like to do using DOS. How would dual booting work with that? Should I install DOS first then Knoppix? And I would have to edit lilo also.....how would I go about inserting a reference to DOS so I could boot it? I dont really understand the MBR and how it works.
    My usderatanding is that it can be done with LILO, but you might want to look at a fantastic little utility called XOSL (eXtended Operating System Loader). It's free, can do this and lots more.Really a nice way for managing things when you want to build a multi-boot system.

  7. #7
    Senior Member registered user
    Join Date
    Jun 2004
    Posts
    788
    Sure you can use dos...or any other OS. What you need to do is add lines to lilo.cfg so that OS can boot...and run lilo -v after every editing.
    Ex:
    other=/dev/hda1
    label="dos"
    table=/dev/hda

    other = /dev/hda2
    label = "Win95"
    table = /dev/hda

    other = /dev/hda3
    label = "OS/2"
    table = /dev/hda

    other=/dev/hda4
    label="WindowsXP"
    table=/dev/hda

    other=/dev/fd0
    label="floppy"
    unsafe


    My advice to you is to install dos first or any other OS and install knoppix last. The reason is to let lilo in knoppix to try to detect all partitions and OSes in your pc and automatically add to lilo.cfg.


  8. #8
    Senior Member registered user
    Join Date
    Feb 2004
    Posts
    237
    Hello....i have tried everything and still cannot get it right! I had no trouble doing this on my other computer that has 2 hard drives. I do not seem to understand what the mbr's for each OS is doing. If I install one OS, it asks if I want to install the MBR and I say YES.....now when i install 2nd OS, i get same message and if i say either yes or no, i get same problem.

    I am making 3 partitions, hda1 is bootable with first OS
    hda2 is swap
    hda3 is for 2nd OS

    I have edited LILO.CONF like SHAH said in last post......but computer ignores what i have edited. It is still saved in lilo but does not work. I dont know why this is giving me such a hard time. Maybe in the lilo.conf of both OS's, the main label for both is "Linux" and it is getting confused. I really do not understand MBR at all. It seems both OS's are writing thier own MBRs anyway.

  9. #9
    Senior Member registered user
    Join Date
    Jun 2004
    Posts
    788
    It seems both OS's are writing thier own MBRs anyway.
    It's not the OS, but Lilo that write to mbr. It need to be in mbr so it will be the first thing to boot before others follow.

    Maybe in the lilo.conf of both OS's, the main label for both is "Linux" and it is getting confused.
    You should not label 2 different OS with same name. The label can be anything you like but in single word.
    ex: Knoppix linux **won't work
    KnoppixLinux **will work

    Anyway, when you did lilo -v in root konsole, does it report that it's adding menu ( depends on the label )?


  10. #10
    Junior Member registered user
    Join Date
    Sep 2003
    Posts
    23
    You could save yourselves a lot of problems by using GRUB instead of LILO. GRUB is easier to configure and although KNOPPIX has LILO as a default booter, GRUB can easily take over the booting task.

    I have two MS Windows and six Linux systems (two Knoppix, 3.3 & 3.6) and GRUB handles them, no problem

    Check it out at:

    http://www.google.com/search?client=...=Google+Search

Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 2
    Last Post: 12-14-2005, 08:36 AM
  2. Able to dual boot XP and linux but Linux goes to GRUB, help
    By istoleapig in forum Hardware & Booting
    Replies: 2
    Last Post: 02-19-2005, 09:28 AM
  3. Dual-Booting Q's
    By Jameson in forum General Support
    Replies: 6
    Last Post: 11-22-2004, 06:03 PM
  4. Dual Booting
    By chim in forum Hdd Install / Debian / Apt
    Replies: 2
    Last Post: 03-02-2004, 02:04 AM
  5. Dual Booting :)
    By Gremlix in forum General Support
    Replies: 2
    Last Post: 11-10-2003, 05:36 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Dell EMC NX3230 Server picture

Dell EMC NX3230 Server

$599.99



CISCO MCS 7800 (2x) Intel Xeon @ 2.33 GHz 4GB Ram, NO HDD picture

CISCO MCS 7800 (2x) Intel Xeon @ 2.33 GHz 4GB Ram, NO HDD

$44.99



Dell PowerEdge R610 picture

Dell PowerEdge R610

$80.00



Intel XEON SILVER SILVER 4114 SR3GK PROCESSOR picture

Intel XEON SILVER SILVER 4114 SR3GK PROCESSOR

$19.99



Intel Xeon Gold 6126 2.6 GHz LGA 3647 Server CPU Processor SR3B3 picture

Intel Xeon Gold 6126 2.6 GHz LGA 3647 Server CPU Processor SR3B3

$17.99



Intel Xeon E5-2680 v4 2.4GHz 35MB 14-Core 120W LGA2011-3 SR2N7 picture

Intel Xeon E5-2680 v4 2.4GHz 35MB 14-Core 120W LGA2011-3 SR2N7

$17.99



Intel Xeon Gold 6140 SR3AX 2.3GHz 18-Core Processor CPU picture

Intel Xeon Gold 6140 SR3AX 2.3GHz 18-Core Processor CPU

$44.99



Intel Xeon E5-2699v4 SR2JS 2.2GHz 22-Core 55MB 145W Server Processor CPU picture

Intel Xeon E5-2699v4 SR2JS 2.2GHz 22-Core 55MB 145W Server Processor CPU

$144.95



INTEL XEON GOLD 6148 PROCESSOR | 2.40GHZ | SR3B6 picture

INTEL XEON GOLD 6148 PROCESSOR | 2.40GHZ | SR3B6

$99.99



HP Workstation Z640 2x Xeon E5-2623V4 32GB Ram Dual 256GB SSD K420 Linux GA picture

HP Workstation Z640 2x Xeon E5-2623V4 32GB Ram Dual 256GB SSD K420 Linux GA

$234.98