LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-25-2011, 06:10 PM   #1
JPsHwayZe
LQ Newbie
 
Registered: Jan 2011
Posts: 13

Rep: Reputation: 0
Partitioning Triple-Boot w/ Partially Shared Storage (SnowLeo/Windows7/Ubuntu)


Hi LQ!
My name is JP and i am brand new to linux and linuxquestions.org. I pretty much know nothing at all about partitioning hard-drives and unspeakably less about linux as a whole. but i really want to get into it.

But anyways here is my story.
(The HP Mini 311 is what i am using)

Okay so a couple of days ago (before i had ever heard of Ubuntu, or even thought i could ever use Linux based software). I had been Dual-Booting OSX Snow Leopard and Windows 7, while using Chameleon boot-loader, on my HP Mini 311. Even though my sound-card and network adapter do not work while running Snow Leopard.

I followed this guide for dualboot:
http://mymacbookmini.com/guides/hp-m...ndows-7-guide/

So i heard about the new Linux Os Ubuntu, and after trying it for about 3min on a USB i was sold. So i began to make my HP a triple-boot now with OSX Snow Leo, Windows 7, and Ubuntu.

I did this by recreating the same dual-boot system as before, but this time saving room for Ubuntu to be installed to my hard drive, after SnowLeo and Win7.
I got this to work perfectly by creating a 4th partition for Ubuntu and a 5th for swap area.

Here is where my problem lies... I saw this tutorial for dual-booting Win7 and Ubuntu, while making another partition so that windows and ubuntu can share the same files.
Here:
http://lifehacker.com/5403100/dual+b...erfect-harmony

Once i tried doing this on my triple-boot(adding ubuntu partition, swap partition, and a "storage" partition, on top of the 3 partitions i created during dual-boot setup) My Windows 7 stopped booting. I read somewhere that hdds can only have like 3 primary partitions, which is the only kind of partition i know how to use. so i was thinking maybe i could put this storage partition in another mount location, such as /home or /usr, because i think the added partitions is what messed up my Windows 7 boot. My only problem is i have no idea what different mount positions are used for, nor how to use them properly.

Any advise is greatly appreciated.


If this is the incorrect location to post this thread, and/or if anyone knows of a better place to post this thread please let me know.

Thanks
JP
 
Old 01-25-2011, 07:43 PM   #2
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida
Distribution: slackware64-current, puppy, ubuntu
Posts: 1,900

Rep: Reputation: 261Reputation: 261Reputation: 261
if you are able to boot into ubuntu click on applications/accessories/terminal and post the out put of this:
Quote:
sudo fdisk -l
 
Old 01-25-2011, 07:51 PM   #3
JPsHwayZe
LQ Newbie
 
Registered: Jan 2011
Posts: 13

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by colorpurple21859 View Post
if you are able to boot into ubuntu click on applications/accessories/terminal and post the out put of this:
I do not have Ubuntu currently installed but i can run it through USB. will it make a difference?
 
Old 01-25-2011, 07:55 PM   #4
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
These 3 combined will help you.
http://www.dedoimedo.com/computers/grub-2.html
http://www.dedoimedo.com/computers/gparted.html
http://www.justlinux.com/forum/showthread.php?t=147959
 
Old 01-25-2011, 07:58 PM   #5
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Quote:
I do not have Ubuntu currently installed but i can run it through USB. will it make a difference?
yes.

I meant no it doesn't as long as the output is the intended hdd.

Last edited by EDDY1; 01-25-2011 at 08:08 PM.
 
Old 01-25-2011, 08:29 PM   #6
JPsHwayZe
LQ Newbie
 
Registered: Jan 2011
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks i think these will help me out for sure.

Quote:
Originally Posted by colorpurple21859 View Post
if you are able to boot into ubuntu click on applications/accessories/terminal and post the out put of this:
Here is what the command said:

ubuntu@ubuntu:~$ sudo fdisk -l

Disk /dev/sda: 2000 MB, 2000682496 bytes
62 heads, 62 sectors/track, 1016 cylinders
Units = cylinders of 3844 * 512 = 1968128 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000239f5

Device Boot Start End Blocks Id System
/dev/sda1 * 1 1016 1952721 c W95 FAT32 (LBA)

WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sdb: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x9597f87e

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 26 204800 ef EFI (FAT-12/16/32)
Partition 1 does not end on cylinder boundary.
/dev/sdb2 26 3197 25468928 af HFS / HFS+
Partition 2 does not end on cylinder boundary.
/dev/sdb3 3213 7038 30720000 7 HPFS/NTFS
Partition 3 does not end on cylinder boundary.
 
Old 01-25-2011, 08:58 PM   #7
colorpurple21859
Senior Member
 
Registered: Jan 2008
Location: florida
Distribution: slackware64-current, puppy, ubuntu
Posts: 1,900

Rep: Reputation: 261Reputation: 261Reputation: 261
From what I read from the ubuntu how to link you listed you might have reformated your windows partition. Using ubuntu click on places to see if your windows files are still on the windows partition. If not Then windows will have to be reinstalled.
I come across a post a while back on how to triple boot window, linux and Osx. I'm sure if you do some googling you will be able to find it and use that as quide to do what your wanting to do.
here is post on how to do this http://forums.techarena.in/guides-tutorials/1135890.htm

Last edited by colorpurple21859; 01-25-2011 at 09:06 PM.
 
Old 01-27-2011, 03:34 AM   #8
xeleema
Member
 
Registered: Aug 2005
Location: D.i.t.h.o, Texas
Distribution: Slackware 13.x, rhel3/5, Solaris 8-10(sparc), HP-UX 11.x (pa-risc)
Posts: 987
Blog Entries: 4

Rep: Reputation: 252Reputation: 252Reputation: 252
Greetingz and Welcome to LQ!

Okay a "DOS Disk Label" (aka: the partitioning scheme you're used to) can support "4 Primary Partitions" or "3 Primary Partitions + 1 Extended Partition".
Now, as for Linux and swap. Forget the whole "Dedicating a Partition for Swap" nonsense. Why? Because.....(drumroll)

You can setup a "Swap File" in Linux! Just like how Windows uses a pagefile.sys!
Bam! Partitioning problem solved! Now you can have one big FAT32 "Primary" partition at the end of your drive, so all three of your OSs can read/write data amongst themselves!

Now, what should that massive FAT32 partition be mounted as under Linux? I perfer to call it /mnt/data (I stick everything under /mnt, personally).

Summary
1st Primary Partition - Windows (NTFS)
2nd Primary Partition - OSX (um, HFS+, I think?)
3rd Primary Partition - Linux (Ext3 or Ext4)
4th Primary Partition - Data (formatted as FAT32)

Good Luck!
P.S: I did the same thing with WinXP, Solaris 10, and CentOS on a Dell XPS 1210.

Last edited by xeleema; 01-27-2011 at 03:36 AM. Reason: Silly me, I forgot the URL explaining how to do that!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
triple boot Ubuntu/Windows7/WindowsXP problem dasoberdick Ubuntu 5 01-02-2011 09:16 PM
triple boot xp/7/Ubuntu 10.04 dreamweaver547 Ubuntu 1 05-02-2010 04:45 PM
dual boot problem: windows7 and ubuntu baxzius Linux - Newbie 2 02-03-2010 05:33 PM
partitioning for triple-boot groovepapa Linux - Newbie 1 03-11-2005 01:06 AM


All times are GMT -5. The time now is 04:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration