Results 1 to 8 of 8

Thread: Help me dual boot Knoppix and Fedora

  1. #1
    Member registered user
    Join Date
    Aug 2004
    Posts
    32

    Help me dual boot Knoppix and Fedora

    I would like to configure a system to dual boot between FC2 and Knoppix 3.4 (HDD install). I would like to share the /swap and /home directories. (Even though I could access the other OS from a live Knoppix CD it would be good practice for doing this with other 'nixes.)
    Now, do I need 2 separate /boot partitions or can I share that as well?
    I have already installed FC2 and done a HDD install of Knoppix 3.4.
    How can I have both of them use one boot loader? Can I use GRUB for both?
    Also, how can I have Knoppix boot to 800x600 by default?

  2. #2
    Senior Member registered user
    Join Date
    May 2003
    Posts
    981

    Re: Help me dual boot Knoppix and Fedora

    Quote Originally Posted by MaldiGola
    I would like to configure a system to dual boot between FC2 and Knoppix 3.4 (HDD install).
    I would like to share the /swap and /home directories. (Even though I could access the other OS from a live Knoppix CD it would be good practice for doing this with other 'nixes.)
    Now, do I need 2 separate /boot partitions or can I share that as well?
    I have already installed FC2 and done a HDD install of Knoppix 3.4.
    They should be sharing swap already, each distro will find the swap partition & use it automatically when it boots.
    Sharing /home is doable but I wouldn't actually share "/home". You have to use separate 'users' anyway (it gets very complicated if you don't, you would have to match up UID & GID numbers as well an user names in each distro plus each distro would have to be a near match in applications as there are config settings for each user in /home/user). Much easier to make a separate partition for your data and just share the data between the two distos by allowing each one access to the drive. This is most conveniently done by putting a symlink in /home/user. ie knoppix/home/user would contain a symlink pointing to /mnt/hdaX/documents, as would fedora/home/user.

    How can I have both of them use one boot loader? Can I use GRUB for both?
    Not familiar with GRUB, with Lilo I would just choose one distro as 'primiary', have it put lilo on the MBR. Edit lilo.conf to boot the other distro partition as 'other'. Then have the other distro put lilo on the partition, not on the MBR. Primiry lilo will then boot into the partition lilo to boot the other distro.
    Also, how can I have Knoppix boot to 800x600 by default?
    Add the appropriate cheatcode to the 'append=' line in lilo (or the equivalent in GRUB).

  3. #3
    Member registered user
    Join Date
    Dec 2002
    Location
    The Hague, The Netherlands
    Posts
    93
    Can someone explain the code to put the symlink pointing to /mnt/hdaX/documents from knoppix/home/user and fedora/home/user for us newbies?

    I was trying to share the home directories myself last weekend. This looks a lot more feasible.

    I was able to get grub working for both distros. I installed Fedora first. Then Knoppix. In Knoppix I did:

    grub-install

    then

    update grub

    Then cut and pasted the relevant bit of the fedora /boot/grub/menu.lst into the knoppix /boot/grub/menu.lst before:

    ### BEGIN AUTOMAGIC KERNELS LIST

    or after the line:
    ### END DEBIAN AUTOMAGIC KERNELS LIST

    The Grub in Debian How to may help:

    http://www.linuxorbit.com/modules.ph...tid=539&page=1

  4. #4
    Member registered user
    Join Date
    Aug 2004
    Posts
    32
    Felix,
    How did you handle the /boot partition? Did you create one for each distro or did they share it?

  5. #5
    Senior Member registered user
    Join Date
    Jun 2004
    Posts
    788
    Can someone explain the code to put the symlink pointing to /mnt/hdaX/documents from knoppix/home/user and fedora/home/user for us newbies?
    You can do it in your desktop by right clicking-->create new-->file-->link to location(url).
    Select your location ex: /mnt/hdaX/documents/

    Make sure your /etc/fstab has something like this:
    /dev/hdax /mnt/hdax ext2(or ext3 or reseirfs,depends on your fedora) auto,users,exec,umask=000,quiet 0 0

    or it will not auto mount.

  6. #6
    Member registered user
    Join Date
    Dec 2002
    Location
    The Hague, The Netherlands
    Posts
    93
    In regards to the boot partition:

    I simply cut and pasted the relevant bits of the fedora /boot/grub/menu.lst into the debian grub exactly as shown. Up to you if you want it prior to or after the auto-magic debian.

    I actually gave up on fedora. It seems a pin after the ease of debian apt-get!

  7. #7
    Member registered user
    Join Date
    Jun 2004
    Posts
    83

    Use smart boot manager

    I've said it before but I'll say it again. I think the best way to boot between multiple linux distributions/partitions etc is to download and install smart boot manager (find with Google). It is a simple boot manager which lives entirely in your MBR (i.e. independent of any partition), is completely menu driven, allows you to change and save all boot parameters, label partition names with your distribution/version, etc. Whenever you install a distribution just install lilo/grub into the start of partition instead of the MBR. Smart boot manager will find it and be able to load it.

    Experienced software engineers that when you have an apparent obstacle/imbalance then you can often use indirection to solve the problem. That's the pattern being applied here.

  8. #8
    Member registered user
    Join Date
    Aug 2004
    Posts
    32
    Ok, I have installed grub on the Knoppix side, but I see neither a menu.lst or a grub.conf in /boot/grub. Is there a step I am missing?

    Thanks!

Similar Threads

  1. Replies: 0
    Last Post: 07-26-2005, 09:27 PM
  2. trying to dual boot my xp and knoppix, but...
    By simmons71 in forum Hdd Install / Debian / Apt
    Replies: 8
    Last Post: 04-20-2005, 07:21 PM
  3. Knoppix/Win2K Dual Boot using boot.ini
    By doesnotcompute in forum Hardware & Booting
    Replies: 1
    Last Post: 03-01-2005, 07:29 PM
  4. Dual Boot Knoppix and Windows(Dual Boot)?
    By jimbo62 in forum MS Windows & New to Linux
    Replies: 4
    Last Post: 08-09-2004, 04:22 PM
  5. Knoppix vs Fedora
    By manatarms1775 in forum The Lounge
    Replies: 2
    Last Post: 04-30-2004, 08:01 AM

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 Poweredge R630 2x Xeon E5-2680 v4 2.4ghz 28-Cores / 128gb / H330 / 2x 1TB picture

Dell Poweredge R630 2x Xeon E5-2680 v4 2.4ghz 28-Cores / 128gb / H330 / 2x 1TB

$334.99



DELL PowerEdge R630 8SFF Server 2x E5-2650v4 2.2GHz =24 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R630 8SFF Server 2x E5-2650v4 2.2GHz =24 Cores 32GB H730 4xRJ45

$240.00



DELL PowerEdge R730XD Server 2x E5-2697v4 2.3GHz =36 Cores 64GB H730 4xRJ45 picture

DELL PowerEdge R730XD Server 2x E5-2697v4 2.3GHz =36 Cores 64GB H730 4xRJ45

$407.00



Dell Poweredge R420 3.5

Dell Poweredge R420 3.5" 2x Xeon E5-2430 2.2ghz 12-Cores 24gb 2x 1TB 2x 550w

$169.99



Dell PowerEdge R620 Server 2x E5-2660 v2 2.2GHz 20 Cores 256GB RAM 1x 480GB SSD picture

Dell PowerEdge R620 Server 2x E5-2660 v2 2.2GHz 20 Cores 256GB RAM 1x 480GB SSD

$125.99



Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD picture

Dell PowerEdge R730XD 28 Core Server 2X Xeon E5-2680 V4 H730 128GB RAM No HDD

$389.99



Dell PowerEdge R620 Server - 256GB RAM, 2x8cCPU, 120Gb SSD/3x900Gb SAS, Proxmox picture

Dell PowerEdge R620 Server - 256GB RAM, 2x8cCPU, 120Gb SSD/3x900Gb SAS, Proxmox

$320.00



Dell PowerEdge R710 2.5

Dell PowerEdge R710 2.5" 2U Server 2x X5670 2.93GHZ 12-Core 128gb 2x 1TB SAS

$114.99



2U 12 Bay SAS3 SuperMicro Server 6028U-TR4T+ W/ X10DRU-i+ Barebone 12 Caddy RAIL picture

2U 12 Bay SAS3 SuperMicro Server 6028U-TR4T+ W/ X10DRU-i+ Barebone 12 Caddy RAIL

$299.00



Dell PowerEdge R640 40 Core Server 2X Gold 6148 H730P CTO- Custom- Wholesale picture

Dell PowerEdge R640 40 Core Server 2X Gold 6148 H730P CTO- Custom- Wholesale

$1114.99