Results 1 to 8 of 8

Thread: New user installation.

Hybrid View

  1. #1
    Join Date
    Apr 2011
    Beans
    5

    Question New user installation.

    After doing some research for the past 2 days and of course finding out that v10.10 has some installation issues, I decided to download v10.4 lts. I already burned it to disk and ran it without installing it and so far I am impressed.

    Now for the installation part. On my system I have 2 drives (sda and sdb). I am planning on a dual boot set up and of course sda is to remain untouched. Not even the boot manager is permitted to touch this drive. The second drive contains 2 partitions, the first is for data storage only and the second is a 43gig partition which I plan on using for linux.

    Question: Is it possible to direct the installation to use this existing partition? I understand that this partition must be prepped for linux. I would think it would be possible to install to an existing partition.
    If not, I can easily remove this partition and convert this to unallocated space.

    At this point can I assume that the grub can be directed to this particular partition?

    If someone could help with the basic steps here, it would be greatly appreciated. I have researched installation procedures, but the end result is more questions than answers.

    Thanks

    Edward K.
    Last edited by Edward46; April 4th, 2011 at 02:22 AM.

  2. #2
    Join Date
    Jan 2011
    Location
    Portland, OR
    Beans
    2,254
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: New user installation.

    You were doing great until: Not even the boot loaded is allowed to touch /dev/sda

    See - the computer needs a single boot point. The Ubuntu installed grub (GRand Unified Boot loader) would typically add itself to the MBR of /dev/sda.

    The rest of grub (setups and menu text) and all of Ubuntu can live on /dev/sdb, no problem at all.

    The Hedge

    Last edited by Hedgehog1; April 4th, 2011 at 03:14 AM.
    Look at all those flashing lights! I'll take one!

    The Ubuntu Forums - our little Global Village

  3. #3
    Join Date
    Jan 2011
    Location
    Portland, OR
    Beans
    2,254
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: New user installation.

    The 'rule of thumb' for partitions is: Use Windows tools for NTFS partitions, and Linux tools for Linux partitions.

    Also, be aware that Windows support MBR style partition maps only allow 4 primary partitions. They are names sda1-sda4, sdb1-sdb4 and so on.

    We need more partitions for that, so when we share a system with windows we create an 'extended' partition and fill it with as many 'logical' partitions as we need (logical partitons start at sda5 and go up from there).

    In you case, a layout like this is suggested:

    /dev/sdb1 NTFS
    /dev/sdb2 extended partition
    __/dev/sdb5 ext4 '/' (said 'root') partiton 25 gigs.
    __/dev/sdb6 Linux Swap (the size of your RAM + 10%)
    __/dev/sdb7 ext4 '/home' Where all you Linux data lives (all the space no used by sdb5 & sdb6)


    These sdb2 & sdb5-sdb7 partitons are built using gparted from the LiveCD/LiveUSB.

    My pictures are of drive sda (only ones I have); please swap the sda for sdb when doing this.

    In gparted, create 3 partitions:



    Once your three partitions are laid out, you will start the install and eventually get to this screen:



    Here is what the allocation screen looks like:



    Remeber, you need to translate the sda5=sdb5, sda6=sdb6 & sda7=sdb7. Now you will 'map' the three partitions on /dev/sdb.

    First, make /dev/sdb1 your '/' (root) partition:





    Next, set up the swap partition. This usually sets itself up just fine, but double check it.

    Last edited by Hedgehog1; April 4th, 2011 at 03:30 AM.
    Look at all those flashing lights! I'll take one!

    The Ubuntu Forums - our little Global Village

  4. #4
    Join Date
    Jan 2011
    Location
    Portland, OR
    Beans
    2,254
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: New user installation.

    The last partition to setup is the '/home' one:



    This separates your documents and 'stuff' from the system files and 'stuff' in the '/' partition.

    This brings you to here:



    Please install the Boot Loader on /dev/sda !

    Press "Install Now" and you are on your way:




    The Hedge

    Look at all those flashing lights! I'll take one!

    The Ubuntu Forums - our little Global Village

  5. #5
    Join Date
    Mar 2010
    Location
    Arizona
    Beans
    59
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: New user installation.

    If you follow Hedgehogs advice you'll be golden. That exactly how my dual boot is set up.

  6. #6
    Join Date
    Apr 2011
    Beans
    5

    Post Re: New user installation.

    Past topics that I have researched indicated that the bootloader can actually be on the same drive. In fact, I have read that the installation can be done with the first drive disconnected. After this, grub can be updated to include the first drive or I can switch boot drives via bios. Is the above actually true?? To make things even easier at this point, I can move the data elsewhere and dedicate the second drive totally to linux.

    I realize that this may not be leading to a true dual boot situation, but my first option is to actually keep my XP installation seperate from linux.

    Or is it possible that I am worrying too much about having the mbr on my first drive modified. I do keep backups and I was planning on creating a new image before installing.

    Edit: Thanks for the information. Following the above steps, the directories are created before the installation process. Is the default layout that bad?

    Edward.
    Last edited by Edward46; April 4th, 2011 at 04:35 AM.

  7. #7
    Join Date
    Nov 2005
    Location
    Uppsala, Sweden
    Beans
    2,181
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: New user installation.

    Quote Originally Posted by Edward46 View Post
    I realize that this may not be leading to a true dual boot situation, but my first option is to actually keep my XP installation seperate from linux.
    If you can pick which hard drive to boot from in the bios, just set the one you want ubuntu on first in the boot order before you start installing. During install you'll get to select where to put the boot loader. Just make sure you put it in the boot sector of the drive (NOT partition) where you installed ubuntu. Grub should pick up your windows install and add an entry for it in the boot loader.

    If you are not totally sure you can even unplug the windows drive before you install, and after install plug it in again and make sure the bios is still set to boot from the other hard drive. Then boot ubuntu, open up a terminal and run the command "sudo update-grub" to let grub detect windows and add it to the boot loader.

    If windows does not boot after this you need to figure out how to make grub re-map the drives to let the windows drive be the first drive only when windows boots. Or you can switch the boot order in bios...

  8. #8
    Join Date
    Nov 2005
    Location
    Uppsala, Sweden
    Beans
    2,181
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: New user installation.

    Quote Originally Posted by Edward46 View Post
    Or is it possible that I am worrying too much about having the mbr on my first drive modified. I do keep backups and I was planning on creating a new image before installing.
    The only drawback with letting grub take over the mbr of the first hard drive is that windows will become unbootable if you remove your second hard drive (where the rest of grub will be). But it's not very difficult to fix the mbr to restore the windows boot. There are several ways, requiring either a windows cd or any linux live cd...

Bookmarks

Posting Permissions

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