Results 1 to 9 of 9

Thread: Partition Advice - Multi-boots

  1. #1
    Junior Member
    Join Date
    Dec 2003
    Posts
    6

    Partition Advice - Multi-boots

    I have been messing with a variety of linuxes lately and learned more than I intended about the guts of the install process due to my choice of a nVidia motherboard. So, finally, I am fairly confident that can get my hardware running after a HD install.

    I have a plan now to run a dual boot system with a HD install of Knoppix (or possibly Morphix) as my work desktop and Knoppmyth (Knoppix flavor for the MythTV suite of multimedia and PVR apps). So, basically, I would like to set up Lilo or Grub to boot these. I am still working out partitioning a drive for this purpose. I have an 80G drive. What I would like to do is something like this:

    hda1 4G Knoppix (with some other apps I need to work like emacs)
    hda2 1G Swap
    hda3 4G Knoppmyth
    hda4 71G /home (for /home/me and /home/myth and /home/others)

    I don't remember how much room Knoppmyth wants for / but it might be more and the standard install actually sets up a bunch of partitions that made sense the first time I tried it on a fresh drive, but I don't remember the specifics. So:

    Can I use the swap for both? Does that cause any problems?

    Can I have two different distributions point to hda4 without any problems? I know each distribution will have its own fstab to set all the mounts, but I need to review that concept again.

    So many multi-boot how-to's get bogged down in the MS issues. I am just interested in the linux side.

    I am curious about other installs like this. There are a bunch of specialized distributions out there and I know many people keep a few around just for variety. What have other people done?

    Thanks for any advice.

    nrj

  2. #2
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    555
    Hi "nrj", your partitioning scheme looks just fine to me.

    > Can I use the swap for both? Does that cause any problems?
    Yes & no respectively.

    > Can I have two different distributions point to hda4 without any problems?
    Yes

    Plus you might foresee a mount point for the other distro's root FS, eg mount hda3 onto /KnopMyth when booting Knoppix, and vice versa.

    Personally, I' d probably have a small hda1 for booting (plus maybe installing grub if you later want to experiment with it)- say 32Mb. All the rest can actually live within an extended partition. Also you might keep some space available and start with a smaller /home. And then 1Gb swap is a lot . You might allocate less, and if you ever temporarily need more (like when rematering), swapspace call be added in the form of regular files.

    But your initial layout would work just as well ;-)

  3. #3
    Junior Member
    Join Date
    Dec 2003
    Posts
    6
    Thanks for the confirmation, Baldyeti.

    My understanding of partitions is still at the novice level. What advantage would I have mounting hda3 onto /KnopMyth and /hda1 onto /Knopp. Would this make it easier to access files on one system (Knoppix, say) when using the other system (KnopMyth)?

    If I were to use a 32Mb hda1, how would I set that up? Just make the partition, install lilo there and make extended partitions for the rest of my setup? Is there any +/- to using a primary vs an extended partition for anything that I have proposed?

    I would guess to answer that, you would need to know what I intend to do.

    In my /home directory, I would like to back up my photos and music collection (~15G, but growing...). I have them on a powerbook right now. I like the MythTv interface for music and pics, but macs have the import/export of photos and music perfect. I would like to be able to place my rarely used media on the Linux box (and eventually backups of everything). I was hoping to have a shared file (samba?) in the /home directory to access this data when I need to from other computers.
    Also, once I start recording some tv, it would be nice to be able to access those files over a share. I have some ideas about how to do this, but do you have any suggestions for making this work efficiently?

    Realizing, of course, that it is probably an inefficient idea...

    To put it simply, we are running a small lan right now with 3 (2 macs and a XP) notebooks on wireless and the linux machine plugged in. Eventually, I would like to make the linux box the server and have the notebooks put any backups on it.

    Thanks, nrj

    PS Damn, now I wish I had imagined a name as funny as baldyeti....

  4. #4
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    555
    What advantage would I have mounting hda3 onto /KnopMyth and hda1 onto /Knopp. Would this make it easier to access files on one system (Knoppix, say) when using the other system (KnopMyth)?
    Exactly.
    If I were to use a 32Mb hda1, how would I set that up? Just make the partition, install lilo there and make extended partitions for the rest of my setup?
    You'd use it as your /boot, and specify it as boot in lilo.conf as well.
    Is there any +/- to using a primary vs an extended partition for anything that I have proposed?
    You can only have 4 primary partitions at most, and some OS's can only install and boot from a PP. I was suggesting not using them all so you can possibly install another OS later on - provided not all you HD space has been allocated. If you don't think you'll need that, your original scheme was just fine, and will probably work better with the knoppix installer: no need to let it know about non-standard partitioning; just let it install to hda1 and move /home afterwards.

  5. #5
    Junior Member
    Join Date
    Dec 2003
    Posts
    6
    Sorry to dredge this topic up again, but I am still a bit stuck on lilo. I have read and read and read on lilo multiboots for Win/Linux, but I don't need that because there is no windows on my machine. Here is what I have so far:

    hda1 Knoppix (bootable)
    hda2 Swap
    hda3 KnoppMyth
    hda5 /cache #For MythTV
    hda6 /home

    I think it takes some work after installing to be able to choose either Knoppix or MythTV. These steps are probably obvious, but I haven't seen them layed out for a newbie. Here is what I think needs to be done.

    After the Knoppix install, lilo is on my mbr. Then I do a manual install of KnoppMyth. Now to make lilo give me the option of booting into either Knoppix or Myth, I know lilo needs to look something like this (i know i should have specifics, but I am on my work computer):

    boot=/dev/hda
    map=/boot/map

    image=/boot/`knoppix_image'
    label=Knoppix
    root=/dev/hda1

    image=/boot/`myth_image'
    label=MythTV
    root=/dev/hda3

    So, the problem I have been having is getting the MythTV image path to be correct. I can't specify it as /hda3/boot/... or /dev/hda3/boot.... or /mnt/hda3/boot... or anything that would point to where the MythTV image is placed in the install. Is the solution just to copy the image from hda3/boot/ to hda1/boot/ and then the root declaration takes care of boot up the correct system? I am still getting my head around this concept and have had trouble finding examples of lilo.confs that do what I am trying to do (or at least explaining it in enough detail to get me going, which I am guessing is because it is pretty obvious to most).

    Thanks for any advice, nrj

  6. #6
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    555
    /mnt/hda3/boot/somekernel should work. Just make sure /mnt/hda3 is mounted when running lilo. Run lilo with the '-v' verbose option and pay attention to possible error message. If it still does not work, post your existing lilo.conf.

  7. #7
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Quote Originally Posted by nrj
    Sorry to dredge this topic up again, but I am still a bit stuck on lilo. I have read and read and read on lilo multiboots for Win/Linux, but I don't need that because there is no windows on my machine. Here is what I have so far:

    hda1 Knoppix (bootable)
    hda2 Swap
    hda3 KnoppMyth
    hda5 /cache #For MythTV
    hda6 /home

    I think it takes some work after installing to be able to choose either Knoppix or MythTV. These steps are probably obvious, but I haven't seen them layed out for a newbie. Here is what I think needs to be done.

    After the Knoppix install, lilo is on my mbr. Then I do a manual install of KnoppMyth. Now to make lilo give me the option of booting into either Knoppix or Myth, I know lilo needs to look something like this (i know i should have specifics, but I am on my work computer):

    boot=/dev/hda
    map=/boot/map

    image=/boot/`knoppix_image'
    label=Knoppix
    root=/dev/hda1

    image=/boot/`myth_image'
    label=MythTV
    root=/dev/hda3

    So, the problem I have been having is getting the MythTV image path to be correct. I can't specify it as /hda3/boot/... or /dev/hda3/boot.... or /mnt/hda3/boot... or anything that would point to where the MythTV image is placed in the install. Is the solution just to copy the image from hda3/boot/ to hda1/boot/ and then the root declaration takes care of boot up the correct system? I am still getting my head around this concept and have had trouble finding examples of lilo.confs that do what I am trying to do (or at least explaining it in enough detail to get me going, which I am guessing is because it is pretty obvious to most).

    Thanks for any advice, nrj
    Do it the easy way set the Mythtv in the knoppix lilo.conf to other=/dev/hda3 run lilo and on your mythtv install lilo with it configured in it's lilo.conf as the boot=/dev/hda3 and root=/dev/hda3 then run /sbin/lilo -v -b /dev/hda3 which will install lilo into your root partition of the Mythtv and then when you boot from lilo in the mbr it will take you to the lilo in the root of the mythtv install and you can boot it. If you comment out the prompt and set the delay to something small in the lilo of the mythtv the boot to it's partition can seem to be having come from the mbr lilo with very little delay.

  8. #8
    Junior Member
    Join Date
    Dec 2003
    Posts
    6
    Thanks for the help baldyeti and Stephen,

    I am taking a fresh crack at this tonight and will make sure I have the full path and that everything is mounted.

    Stephen, I think I understand what you suggest and it seems easy, but just to confirm where each of the actions happen, does this sound right?

    I install Knoppmyth on hda3 and tell it to install lilo on the root of hda3. The lilo.conf will look like

    boot= /dev/hda3

    image= /boot/`myth image'
    label= knoppmyth
    root= /dev/hda3

    run lilo -v -b /dev/hda3

    my lilo.conf on hda1 (and thus referring to the lilo on mbr) will look like this:

    boot=/dev/hda
    map=/boot/map

    image=/boot/`knoppix_image'
    label=Knoppix
    root=/dev/hda1

    other=/dev/hda3
    label=MythTV

    run lilo after this edit. right? then it will give me the options

    Knopp ----------> Loads Knoppix
    MythTV ----------> This will just skip to /dev/hda3, which loads lilo on
    boot of KnoppMyth
    (as you said, with low delay, it will default to the knoppmyth)

    is it true that I don't need to specify the complete path (/dev/hda3/boot/`myth image') since the lilo will be running from the hda3 already?

  9. #9
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    Yes you have the idea correct you just have to set the lilo of the mythtv to noprompt and have a small delay.
    Code:
    # message=/boot/bootmess.txt
    #       prompt
    #       single-key
           delay=10
    #       timeout=100

Similar Threads

  1. HowTo: Make a CD which boots into multi screen environment
    By mathis in forum Customising & Remastering
    Replies: 0
    Last Post: 08-30-2004, 04:27 PM
  2. Install to existing multi-boot partition?
    By tautges in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 01-04-2004, 10:22 PM
  3. Reinstalling GRUB for multi-partition dead redhat 9
    By Ross Clement in forum General Support
    Replies: 7
    Last Post: 10-26-2003, 07:23 AM
  4. Using Grub in multi-OS with /boot partition
    By nuke in forum Hdd Install / Debian / Apt
    Replies: 7
    Last Post: 10-09-2003, 03:26 PM
  5. Partition Scheme Advice Wanted
    By beforewisdom in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 03-09-2003, 04:04 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
  •  


Intel Xeon E3-1270 v6 3.80GHz 4 Cores SR326 LGA1151 CPU Processor picture

Intel Xeon E3-1270 v6 3.80GHz 4 Cores SR326 LGA1151 CPU Processor

$46.00



Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc... picture

Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc...

$619.99



Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc... picture

Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc...

$419.99



Intel Xeon E5-2697A V4 2.6GHz CPU Processor 16-Core Socket LGA2011 SR2K1 picture

Intel Xeon E5-2697A V4 2.6GHz CPU Processor 16-Core Socket LGA2011 SR2K1

$39.99



Intel Core i5-8500 3 GHz 8 GT/s LGA 1151 Desktop CPU Processor SR3XE picture

Intel Core i5-8500 3 GHz 8 GT/s LGA 1151 Desktop CPU Processor SR3XE

$49.99



AMD Ryzen 9 5950X 16-core 32-thread Desktop Processor picture

AMD Ryzen 9 5950X 16-core 32-thread Desktop Processor

$319.99



Intel - Core i9-14900K 14th Gen 24-Core 32-Thread - 4.4GHz (6.0GHz Turbo) Soc... picture

Intel - Core i9-14900K 14th Gen 24-Core 32-Thread - 4.4GHz (6.0GHz Turbo) Soc...

$619.99



E5-2697V4 INTEL XOEN SR2JV 18 CORE 2.30 GHz 45M 9.6 GT/s 145W PROCESSOR CPU picture

E5-2697V4 INTEL XOEN SR2JV 18 CORE 2.30 GHz 45M 9.6 GT/s 145W PROCESSOR CPU

$49.99



Intel Core i5-12400 Desktop Processor With HeatSink picture

Intel Core i5-12400 Desktop Processor With HeatSink

$140.00



Intel Xeon Gold 6226 12-Core 2.70GHz Processor SRFPP - QTY picture

Intel Xeon Gold 6226 12-Core 2.70GHz Processor SRFPP - QTY

$399.00