LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-19-2010, 08:20 PM   #1
acraig
Member
 
Registered: Oct 2010
Distribution: Linux Mint 14 Nadia 32-bit, Pear Linux 6 32-bit
Posts: 113

Rep: Reputation: 6
Question 2 operating systems, extra partition shared between them?


I'm interested in having a dual boot system, and I want both (Linux) operating systems to share a partition. In this case, to store videos. Is that possible?
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 11-19-2010, 08:37 PM   #2
udaman
Member
 
Registered: Oct 2010
Location: New England, USA
Distribution: OpenSUSE/Slackware64/RHEL/Mythbuntu
Posts: 187

Rep: Reputation: 39
Quote:
Originally Posted by acraig View Post
I'm interested in having a dual boot system, and I want both (Linux) operating systems to share a partition. In this case, to store videos. Is that possible?
Yes it is very common to do. I have three OSs on my machine, and I have a separate disk mounted as /Data, but you can do the same thing with a partition. I store all my files, videos, and music there.

All you need to do is list the partition in the /etc/fstab file of each OS. I use the same line in each fstab, like this.

Code:
/dev/sdb1       /Data                   ext3    defaults        1 2
 
2 members found this post helpful.
Old 11-19-2010, 11:56 PM   #3
divyashree
Senior Member
 
Registered: Apr 2007
Location: bbsr,orissa,India
Distribution: RHEL5 ,RHEL4,CENT OS5,FEDORA,UBUNTU
Posts: 1,356

Rep: Reputation: 135Reputation: 135
Quote:
Originally Posted by acraig View Post
I'm interested in having a dual boot system, and I want both (Linux) operating systems to share a partition. In this case, to store videos. Is that possible?
Yes ,its possible and very much easy. In windows create a partition and format with vfat and automountmount that somewhere by fstab and thats all.
 
Old 11-20-2010, 01:15 AM   #4
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,557
Blog Entries: 28

Rep: Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178
Quote:
Originally Posted by divyashree View Post
Yes ,its possible and very much easy. In windows create a partition and format with vfat and automountmount that somewhere by fstab and thats all.
But acraig said he doesn't have any Windows systems.
 
Old 11-20-2010, 01:35 AM   #5
divyashree
Senior Member
 
Registered: Apr 2007
Location: bbsr,orissa,India
Distribution: RHEL5 ,RHEL4,CENT OS5,FEDORA,UBUNTU
Posts: 1,356

Rep: Reputation: 135Reputation: 135
Quote:
Originally Posted by catkin View Post
But acraig said he doesn't have any Windows systems.
Sorry for that.
acraig can achieve it. If space is left,he can just create a separate partition with ext3/2 or vfat, from any of the both OS and can mount that on both, its for clean data sharing otherwise if dont have any space left just mount the used ext3/ext2 partition . Mount partition to a directory by,

PHP Code:
mount /<device name> /<dir to mount
and add the entry in /etc/fstab on both OS as:

PHP Code:
/devicename  /mountpoint  fstype   options 0 0 
and thats all you shared the partition on both.
 
1 members found this post helpful.
Old 11-20-2010, 02:21 PM   #6
acraig
Member
 
Registered: Oct 2010
Distribution: Linux Mint 14 Nadia 32-bit, Pear Linux 6 32-bit
Posts: 113

Original Poster
Rep: Reputation: 6
Smile That worked!!

Thanks guys! The mount command and fstab changes worked.

One other thing... The partition shows up on my desktops the way removable media does. Is there a way to make it an "invisible" part of each system, like all the other partitions?
 
Old 11-20-2010, 04:46 PM   #7
udaman
Member
 
Registered: Oct 2010
Location: New England, USA
Distribution: OpenSUSE/Slackware64/RHEL/Mythbuntu
Posts: 187

Rep: Reputation: 39
Quote:
Originally Posted by acraig View Post
Thanks guys! The mount command and fstab changes worked.

One other thing... The partition shows up on my desktops the way removable media does. Is there a way to make it an "invisible" part of each system, like all the other partitions?
If it's mounted in /media/ it will show up as a removable disk. Unmount it and remount it in /mnt/, or somewhere under /. Don't forget to change /etc/fstab.
 
Old 11-21-2010, 02:00 AM   #8
acraig
Member
 
Registered: Oct 2010
Distribution: Linux Mint 14 Nadia 32-bit, Pear Linux 6 32-bit
Posts: 113

Original Poster
Rep: Reputation: 6
Thanks for the response, but the partition isn't mounted in /media. I mounted it in /mnt and fstab reflects that. I did, however, mount the partition in /mnt as the label and directory name, not as sdb1.
Could that be the problem?
 
Old 11-21-2010, 09:38 AM   #9
udaman
Member
 
Registered: Oct 2010
Location: New England, USA
Distribution: OpenSUSE/Slackware64/RHEL/Mythbuntu
Posts: 187

Rep: Reputation: 39
No, that's not the reason you're seeing an icon on your desktop. It's possibly a setting in your desktop manager, which one do you use, KDE, Gnome or some other? Which Linux are you using that the icon pops up? Does it go away if you unmount the directory?

Try looking in the desktop settings, or right click on the icon, to see what might be causing that to happen.
 
Old 11-22-2010, 01:59 AM   #10
acraig
Member
 
Registered: Oct 2010
Distribution: Linux Mint 14 Nadia 32-bit, Pear Linux 6 32-bit
Posts: 113

Original Poster
Rep: Reputation: 6
Question

I have Dreamlinux 3.5 Gnome Desktop Edition. I could not find a setting for desktop icons. And there is no section called desktop manager/settings in the drop down menu.
There is a Gnome Control Panel, but nothing there allows you to control what desktop icons will appear. Only sessions, appearances, resolution, etcetera.

No, before it was mounted it did not show up on the desktop. But as soon as I partitioned and formatted the disk it showed in the disk mounter (a panel applet) as an unmounted volume.

I right clicked the icon and looked at the properties, as you suggested, but did not see anything that might affect desktop placement except this, under the tab "volume"...

Mount Options: rw errors=continue data=ordered

I have no idea what it means, but it is possible to change these mount options.

Also, I'm not sure if I mentioned that this new partition is on a secondary drive. Is it even possible to make such a partition a real part of the "file system"?

I ask because when I right click on the file system icon in "computer" it has no "drive" or "volume" tabs, but it does have a "link" tab (with the address "file:///") and the new partition does not.
 
Old 11-22-2010, 09:06 AM   #11
udaman
Member
 
Registered: Oct 2010
Location: New England, USA
Distribution: OpenSUSE/Slackware64/RHEL/Mythbuntu
Posts: 187

Rep: Reputation: 39
Quote:
Originally Posted by acraig View Post

I right clicked the icon and looked at the properties, as you suggested, but did not see anything that might affect desktop placement except this, under the tab "volume"...

Mount Options: rw errors=continue data=ordered

I have no idea what it means, but it is possible to change these mount options.
I would not change those settings. It won't have any effect on the icon.
Quote:
Also, I'm not sure if I mentioned that this new partition is on a secondary drive. Is it even possible to make such a partition a real part of the "file system"?
Yes, mounting another disk is quite common and it becomes part of the whole file system.
Quote:
I ask because when I right click on the file system icon in "computer" it has no "drive" or "volume" tabs, but it does have a "link" tab (with the address "file:///") and the new partition does not.
That sounds like a Gnome setting somewhere. I can't help with that as I use KDE and not Gnome desktop, sorry.
 
Old 11-22-2010, 06:36 PM   #12
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,395
Blog Entries: 2

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
Why not simply have a single /home partition, and use it for all OS's?

--- rod.
 
Old 11-22-2010, 09:53 PM   #13
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,557
Blog Entries: 28

Rep: Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178Reputation: 1178
Quote:
Originally Posted by theNbomr View Post
Why not simply have a single /home partition, and use it for all OS's?

--- rod.
Because some of the hidden configuration files+directories may not be compatible between different versions of their programs.
 
Old 11-23-2010, 12:21 AM   #14
acraig
Member
 
Registered: Oct 2010
Distribution: Linux Mint 14 Nadia 32-bit, Pear Linux 6 32-bit
Posts: 113

Original Poster
Rep: Reputation: 6
Quote:
Originally Posted by udaman View Post
That sounds like a Gnome setting somewhere. I can't help with that as I use KDE and not Gnome desktop, sorry.
That's okay. I appreciate your trying. Thank you!
 
Old 11-23-2010, 12:45 AM   #15
acraig
Member
 
Registered: Oct 2010
Distribution: Linux Mint 14 Nadia 32-bit, Pear Linux 6 32-bit
Posts: 113

Original Poster
Rep: Reputation: 6
Question

Quote:
Originally Posted by theNbomr View Post
Why not simply have a single /home partition, and use it for all OS's?

--- rod.
The purpose of the new partition is a separate and larger space for my videos and music, but shared by two operating systems, so I can access it from both.
 
  


Reply

Tags
dual boot, partitions


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
LXer: More Reasons Why Chrome OS Will Be Your Extra Operating System LXer Syndicated Linux News 1 03-13-2010 04:09 AM
deleate extra operating systems Randymanme Ubuntu 4 09-14-2009 04:09 AM
What other operating systems do you know about? oskar General 27 10-21-2008 01:46 PM
What other operating systems do you use? General General 17 02-15-2007 09:03 AM
3 Operating Systems James_the_Great Linux - Newbie 10 08-23-2006 07:40 PM


All times are GMT -5. The time now is 06:32 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration