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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
11-19-2010, 07:20 PM
|
#1
|
|
Member
Registered: Oct 2010
Distribution: Linux Mint 14 Nadia 32-bit, Linux Mint 10 Julia 32-bit
Posts: 96
Rep:
|
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.
|
11-19-2010, 07:37 PM
|
#2
|
|
Member
Registered: Oct 2010
Location: New England, USA
Distribution: OpenSUSE/Slackware64/RHEL/Mythbuntu
Posts: 187
Rep:
|
Quote:
Originally Posted by acraig
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.
|
11-19-2010, 10:56 PM
|
#3
|
|
Senior Member
Registered: Apr 2007
Location: bbsr,orissa,India
Distribution: RHEL5 ,RHEL4,CENT OS5,FEDORA,
Posts: 1,261
Rep: 
|
Quote:
Originally Posted by acraig
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.
|
|
|
|
11-20-2010, 12:15 AM
|
#4
|
|
LQ 5k Club
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian Squeeze (server), Slackware 13.37 (netbook), Slackware64 14.0 (desktop),
Posts: 8,357
|
Quote:
Originally Posted by divyashree
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.
|
|
|
|
11-20-2010, 12:35 AM
|
#5
|
|
Senior Member
Registered: Apr 2007
Location: bbsr,orissa,India
Distribution: RHEL5 ,RHEL4,CENT OS5,FEDORA,
Posts: 1,261
Rep: 
|
Quote:
Originally Posted by catkin
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.
|
11-20-2010, 01:21 PM
|
#6
|
|
Member
Registered: Oct 2010
Distribution: Linux Mint 14 Nadia 32-bit, Linux Mint 10 Julia 32-bit
Posts: 96
Original Poster
Rep:
|
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?
|
|
|
|
11-20-2010, 03:46 PM
|
#7
|
|
Member
Registered: Oct 2010
Location: New England, USA
Distribution: OpenSUSE/Slackware64/RHEL/Mythbuntu
Posts: 187
Rep:
|
Quote:
Originally Posted by acraig
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.
|
|
|
|
11-21-2010, 01:00 AM
|
#8
|
|
Member
Registered: Oct 2010
Distribution: Linux Mint 14 Nadia 32-bit, Linux Mint 10 Julia 32-bit
Posts: 96
Original Poster
Rep:
|
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?
|
|
|
|
11-21-2010, 08:38 AM
|
#9
|
|
Member
Registered: Oct 2010
Location: New England, USA
Distribution: OpenSUSE/Slackware64/RHEL/Mythbuntu
Posts: 187
Rep:
|
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.
|
|
|
|
11-22-2010, 12:59 AM
|
#10
|
|
Member
Registered: Oct 2010
Distribution: Linux Mint 14 Nadia 32-bit, Linux Mint 10 Julia 32-bit
Posts: 96
Original Poster
Rep:
|
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.
|
|
|
|
11-22-2010, 08:06 AM
|
#11
|
|
Member
Registered: Oct 2010
Location: New England, USA
Distribution: OpenSUSE/Slackware64/RHEL/Mythbuntu
Posts: 187
Rep:
|
Quote:
Originally Posted by acraig
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.
|
|
|
|
11-22-2010, 05:36 PM
|
#12
|
|
LQ 5k Club
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,270
|
Why not simply have a single /home partition, and use it for all OS's?
--- rod.
|
|
|
|
11-22-2010, 08:53 PM
|
#13
|
|
LQ 5k Club
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian Squeeze (server), Slackware 13.37 (netbook), Slackware64 14.0 (desktop),
Posts: 8,357
|
Quote:
Originally Posted by theNbomr
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.
|
|
|
|
11-22-2010, 11:21 PM
|
#14
|
|
Member
Registered: Oct 2010
Distribution: Linux Mint 14 Nadia 32-bit, Linux Mint 10 Julia 32-bit
Posts: 96
Original Poster
Rep:
|
Quote:
Originally Posted by udaman
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!
|
|
|
|
11-22-2010, 11:45 PM
|
#15
|
|
Member
Registered: Oct 2010
Distribution: Linux Mint 14 Nadia 32-bit, Linux Mint 10 Julia 32-bit
Posts: 96
Original Poster
Rep:
|
Quote:
Originally Posted by theNbomr
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 12:35 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|