Author Topic: SOLVED Dual Boot Revisited  (Read 765 times)

0 Members and 1 Guest are viewing this topic.

Offline oakridge

  • Jr. Member
  • **
  • Posts: 38
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
SOLVED Dual Boot Revisited
« on: November 26, 2013, 08:36:32 pm »
In September I asked about dual booting Ubuntu with Windows 8:
http://linuxforums.org.uk/index.php?topic=11138.msg87782#msg87782
This was successful and is working well for our friends in France.

I did not realise at the time that data could not be shared between the two systems, but that was not of great importance in that instance.

7Now I have a spare machine with a 2TB drive, Windows 7 pro and Ubuntu 12.04LTS.  I would like to set this up to dual boot with a large shared data drive.  I have read quite a bit about it but there seems to be conflicting advice.  Is it possible and, if so, how?

Thank you.
« Last Edit: December 02, 2013, 07:43:51 pm by oakridge »

Offline SeZo

  • Hero Member
  • *****
  • Posts: 1210
  • Karma: 111
  • Gender: Male
    • View Profile
    • Awards
Re: Dual Boot Revisited
« Reply #1 on: November 26, 2013, 08:51:11 pm »
Quote
I would like to set this up to dual boot with a large shared data drive.

It is possible. If both OS and the data drive resides in the same machine then the easiest way to share the content is to format the HDD as FAT32 (if you do not likely to have individual files that are larger than 4GiB) or to NTFS if you do.
Ubuntu will happily read and write to both of those formats. 

Offline oakridge

  • Jr. Member
  • **
  • Posts: 38
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Dual Boot Revisited
« Reply #2 on: November 27, 2013, 10:32:58 am »
From what I have read I need to install Windows first, then Ubuntu and create a shared partition.  Should I create the partitions while I am installing Windows or Linux?  How do I ensure that the data partition is accessible by both?

I realise than an alternative is running Windows programs with Wine but I have had mixed success with this.

Offline chemicalfan

  • Sr. Member
  • ****
  • Posts: 402
  • Karma: 10
  • Gender: Male
  • I've been here a little while!
    • View Profile
    • Awards
Re: Dual Boot Revisited
« Reply #3 on: November 27, 2013, 12:10:10 pm »
You don't need to worry about a seperate partition (although it wouldn't hurt), as Ubuntu can access the Windows partition happily. Your plan is sound anyway  :)

Offline oakridge

  • Jr. Member
  • **
  • Posts: 38
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Dual Boot Revisited
« Reply #4 on: November 27, 2013, 07:58:20 pm »
Thank you for your help, I will let you know how I get on.

Offline SeZo

  • Hero Member
  • *****
  • Posts: 1210
  • Karma: 111
  • Gender: Male
    • View Profile
    • Awards
Re: Dual Boot Revisited
« Reply #5 on: November 27, 2013, 09:25:39 pm »
If I were you then I would do it this way (assuming it is all on the same HDD):
1) Install Windows (and make sure it is working)
2) Boot to LiveCD and shrink the Windows partition
3) Create 1 primary partition in the empty space (allowing for the shared partition) and format it to ext4
4) Create the second (final) primary partition to fill the rest of the HDD, for shared access and format it either to FAT32 or NTFS
5) Install Ubuntu into the first partition (ext4 formatted) you just created
6) Reboot and make sure you can boot into each OS
7) Once happy that all is OK then boot into Windows and map the shared partition and put some files into it
8 ) Reboot to Ubuntu and mount the shared partition (you can do that from /etc/fstab if you want it to be available at boot)
9) Test read & write from Ubuntu and Windows

Just yell if you need help with any of the steps above

Offline oakridge

  • Jr. Member
  • **
  • Posts: 38
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Dual Boot Revisited
« Reply #6 on: November 28, 2013, 02:16:08 pm »
Thank you SeZo.  The HD is 2TB so do you think asigning 50GB to each OS would be reasonable?

Offline chemicalfan

  • Sr. Member
  • ****
  • Posts: 402
  • Karma: 10
  • Gender: Male
  • I've been here a little while!
    • View Profile
    • Awards
Re: Dual Boot Revisited
« Reply #7 on: November 28, 2013, 02:30:51 pm »
I'd go for a bit more than that, as it's very difficult to amend at a later date (Windows is very hungry for space)

Maybe 100GB?

Offline oakridge

  • Jr. Member
  • **
  • Posts: 38
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Dual Boot Revisited
« Reply #8 on: November 29, 2013, 09:28:22 am »
Just a little 'yell' although I cannot guarantee that there will not be much louder ones later.  My brain seems to have gone to sleep since I retired five years ago.

I have installed Windows 7 and that is working fine and is registered with Microsoft.

Am I right in thinking that your Item 2 is using the Ubuntu CD?

Thank you.

Offline SeZo

  • Hero Member
  • *****
  • Posts: 1210
  • Karma: 111
  • Gender: Male
    • View Profile
    • Awards
Re: Dual Boot Revisited
« Reply #9 on: November 29, 2013, 11:47:48 am »
Quote
Am I right in thinking that your Item 2 is using the Ubuntu CD?

Yes, use the Ubuntu CD to boot into alive session and then fire up Gparted to shrink the windows partition.
If in doubt then poost the output from (that is lowercase L):
Code: [Select]
sudo fdisk -l
To see the curent (post windows install) partition layout.
I would go with chemicalfan on partition sizes of 100GB for each OS

Offline oakridge

  • Jr. Member
  • **
  • Posts: 38
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Dual Boot Revisited
« Reply #10 on: November 30, 2013, 09:23:27 am »
Another little 'Yell'.

I have successfully installed Windows 7 with a separate data partition and created a 100GB ext4 partition.  This all works perfectly and I can access the data partition from other machines.

When I come to install Ubuntu have three choices the first being 'Install Ubuntu alongside Windows 7'.  Choosing this option it looks as though Ubuntu will be installed in a partition created in the 'Data' partition - bad.  Underneath it offers advanced features which takes me to the third option; if I choose dev/sda2 ext4 I get an error messeage: No root file system is defined.  Please correct this from the partitioning menu.

This is a bit like trying to describe a spiral staircase without moving your hands.

Offline SeZo

  • Hero Member
  • *****
  • Posts: 1210
  • Karma: 111
  • Gender: Male
    • View Profile
    • Awards
Re: Dual Boot Revisited
« Reply #11 on: November 30, 2013, 11:51:42 am »
Quote
if I choose dev/sda2 ext4 I get an error messeage: No root file system is defined.  Please correct this from the partitioning menu.

When you select dev/sda2 you need to specify the partition type as root or /

Offline oakridge

  • Jr. Member
  • **
  • Posts: 38
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Dual Boot Revisited
« Reply #12 on: November 30, 2013, 01:54:25 pm »
Right, done that, now it says there is no swap space partition.  Do I need to go back to gparted and reduce the size of ext4 and add a swap file partiition?  If so, how big should it be?

Thank you again for your help.

Offline Mark Greaves (PCNetSpec)

  • Administrator
  • Hero Member
  • *****
  • Posts: 12423
  • Karma: 306
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Dual Boot Revisited
« Reply #13 on: November 30, 2013, 02:03:36 pm »
You could do that .. or you could create a swap FILE instead of swap PARTITION

see here:
https://help.ubuntu.com/community/SwapFaq

in particular, the section "Four-step Process to Add Swap File"
WARNING: You are logged into reality as 'root'

logging in as 'insane' is the only safe option.

Offline oakridge

  • Jr. Member
  • **
  • Posts: 38
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Dual Boot Revisited
« Reply #14 on: November 30, 2013, 08:30:16 pm »
Ubuntu has installed, but.....

When I set up the dual-boot machine in September, but without the shared data drive there was a Ubuntu boot menu came up giving a choice of OS.  This is not happening so I am only able to start Windows.

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal