The Notebook Review forums were hosted by TechTarget, who shut down them down on January 31, 2022. This static read-only archive was pulled by NBR forum users between January 20 and January 31, 2022, in an effort to make sure that the valuable technical information that had been posted on the forums is preserved. For current discussions, many NBR forum users moved over to NotebookTalk.net after the shutdown.
Problems? See this thread at archive.org.

    Installing boot portion of Linux in an extended partition

    Discussion in 'Linux Compatibility and Software' started by hendra, Nov 12, 2007.

  1. hendra

    hendra Notebook Virtuoso

    Reputations:
    157
    Messages:
    2,020
    Likes Received:
    6
    Trophy Points:
    56
    I want to install Linux in an extended partiton. All part of Linux including the boot portion. Can I install the boot portion of linux in an extended partition or does the boot portion still have to reside in a primary partition?
     
  2. Sredni Vashtar

    Sredni Vashtar Notebook Evangelist

    Reputations:
    28
    Messages:
    593
    Likes Received:
    0
    Trophy Points:
    30
    my two linuxes are in two logical volumes in an extended partitions.
    Their grubs are installed in the first sector of the respective logical volumes.
    So, yes it's possible.

    The only thing is that you need a way to load grub, since your bios will be looking for a primary partition.
    In my case the boot loader in the primary partition is Vista's.
    I added two entries, one for each linux.
     
  3. hendra

    hendra Notebook Virtuoso

    Reputations:
    157
    Messages:
    2,020
    Likes Received:
    6
    Trophy Points:
    56
    Is it possible to have a 3rd party boot loader like System Commander 9 to boot linux in the extended partition and therefore eliminating the need to have the boat loader saved in any of the primary partition? I want to keep all my 3 primary partitions hidden when linux is running.
     
  4. Sredni Vashtar

    Sredni Vashtar Notebook Evangelist

    Reputations:
    28
    Messages:
    593
    Likes Received:
    0
    Trophy Points:
    30
    Well, if I want I can hide all my primary partitions in Linux.
    All I have to do is to edit the fstab file and removing the lines about mounting or automounting /dev/sda1, /dev/sda2 and /dev/sda3.

    What do you mean, exactly, by "hidden"?
     
  5. hendra

    hendra Notebook Virtuoso

    Reputations:
    157
    Messages:
    2,020
    Likes Received:
    6
    Trophy Points:
    56
    When I want to hide a partition, I want the currently running OS not to be even aware that it is there. Or if it is aware that it is there, not to be able to see the contents of the hidden partition.

    I want to eliminate any chance that the currently running OS corrupting the other OS.
     
  6. Bog

    Bog Losing it...

    Reputations:
    4,018
    Messages:
    6,046
    Likes Received:
    7
    Trophy Points:
    206
    That should never happen if you have your Linux system not mount any other filesystems other than swap and /... for reassurance (if you're running XP), uninstall the package ntfs-3g and Linux won't even be able to write to NTFS.
     
  7. hendra

    hendra Notebook Virtuoso

    Reputations:
    157
    Messages:
    2,020
    Likes Received:
    6
    Trophy Points:
    56
    OK thanks but back to the original question. Can I use a 3rd party boot loader to load linux? You said in your case, your boot loader is in the Vista partition. I don't want that. I want a completely separate boot portion for each OS in their respective partition.
     
  8. Bog

    Bog Losing it...

    Reputations:
    4,018
    Messages:
    6,046
    Likes Received:
    7
    Trophy Points:
    206
    No I don't think that that is possible. Whenever the computer is turned on, the the boot sector of the disc is searched first, then it boots whatever bootloader is present there. Also, the location of your bootloader has nothing to do with whether or not Linux sees the other partitions.

    However if you are concerned about the bootloader being broken and not being able to boot Windows, that can easily be fixed with just an XP/Vista CD. Boot from the disc> enter recovery mode> invoke the command "fixmbr"