Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Situation

I have Arch Linux installed on /dev/sda1 (15GB/ext4). / and /boot are both on /dev/sda1 and /home is on /dev/sda2 (100GB/ext4). I made a 15GB/ext4 /dev/sda3 partition for Ubuntu. I installed Syslinux as the bootloader.

Problem

How do I dual-boot-install Ubuntu onto /dev/sda3 without installing GRUB, without ruining my Syslinx bootloader and how do I share the home partition /dev/sda2 between the two OS's?


Update

I learned how to boot into Ubuntu correctly and found out that chainloading is unnecessary.

Here's what I did:

  1. Wiped Ubuntu off /dev/sda3 and reinstalled it in the same place.
  2. Made a new directory on /dev/sda1 named /boot/ubuntu,
  3. Copied all of /boot from /dev/sda3 to the new directory in step 1 (because the the kernel and initrd files for Ubuntu were there),
  4. Edited /boot/syslinux/syslinux.cfg from /dev/sda1. See below for the entry:

    LABEL Ubuntu
         MENU LABEL Ubuntu
         LINUX ../ubuntu/vmlinuz-3.5.0-23-generic
         APPEND root=/dev/sda3 ro
         INITRD ../ubuntu/initrd.img-3.5.0-23-generic
    

If I were smart, I would probably have a dedicated boot partition. Oh well, it wasn't part of the original question so I'll just worry about that later.

However, I was hoping that Ubuntu would use /dev/sda2 as the shared home partition and it didn't :(

Anybody know how to fix the /home/user folder so it's on /dev/sda2?

share|improve this question

migrated from askubuntu.com Jul 4 '13 at 20:32

This question came from our site for Ubuntu users and developers.

    
wiki.archlinux.org/index.php/… –  jasonwryan Jul 4 '13 at 21:54
    
Thanks, JasonWRyan. That guide sounds like its for directions if I installed Ubuntu on /dev/sda3 already, which I haven't. Am I supposed to setup syslinux and extlinux this way before I install Ubuntu on /dev/sda3? I'm at the Ubuntu install screen and its asking for me to choose the "Device for boot loader installation." Since I've never installed Ubuntu like this before, I thought it might be a mistake to install another boot loader (GRUB I assume) since I already have one (syslinux). But I don't have the choice not to install a boot loader. –  Rhyknowscerious Jul 5 '13 at 4:18
1  
Skip that step and finish the Ubuntu install, and then boot into Arch and configure syslinux to chainload Ubuntu. –  jasonwryan Jul 5 '13 at 4:58
    
I don't think I can skip this step. At this point the installer seems to give me only two choices: 1) Erase everything and install Ubuntu as the only OS, or 2) Install Ubuntu all on a partition of my choice, including the boot loader all on one partition. –  Rhyknowscerious Jul 5 '13 at 6:13
1  
You need the alternate install disk to skip grub, apparently... –  jasonwryan Jul 5 '13 at 6:26

1 Answer 1

Install Ubuntu and add /dev/sda2 to your fstab as /home2 any files will be accessible.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.