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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-23-2008, 01:44 PM
|
#1
|
LQ Newbie
Registered: Sep 2008
Location: Boulder, CO
Distribution: Redhat EL5, Scientific Linux, Fedora
Posts: 21
Rep:
|
shared partition between 2 OS
Hi,
I would like to be able to share a data storage partition between my two operating systems (RHEL 5 & Scientific Linux (a derivative of RHEL, just an old kernel)). I tried creating a data partition during the RHEL5 install process, but can't get both OS to see it.
I see some online advice that laying out all the partitions by hand ahead of time might be a better avenue. Don't you need an operating system already installed (i.e. to use fdisk) to do this, and hence have to partition during the install?
Thanks!
|
|
|
09-23-2008, 01:48 PM
|
#2
|
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464
Rep: 
|
Quote:
Originally Posted by benderan
I tried creating a data partition during the RHEL5 install process, but can't get both OS to see it.
|
What do you mean by, "can't get both OS to see it"? What did you try? All you should need to do is mount the partition (perhaps some other things too, depending on which filesystem is on it).
|
|
|
09-23-2008, 05:06 PM
|
#4
|
LQ Newbie
Registered: Sep 2008
Location: Boulder, CO
Distribution: Redhat EL5, Scientific Linux, Fedora
Posts: 21
Original Poster
Rep:
|
Thanks, the manual mounting worked great! However, when I edited the /etc/fstab file to:
/dev/sda10 /mnt/data ext3 defaults 1 2
I get the following error message on boot:
fsck.ext3 Filesystem has unsupported features
e2fsck: Get a newer version of e2fsck.
The kernel I am trying to boot is fairly old (e2fsck 1.32) as is the kernel (2.4.21-52.ELsmp). Which would be the better option: trying to update e2fsck; or recreating this data partition under the older operating system, and then mounting & symbolically linking to the RHEL5 system?
|
|
|
09-23-2008, 05:36 PM
|
#5
|
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678
Rep: 
|
When you mounted manually, was the device /dev/sda10 or /dev/hda10?
Output of
fdisk -L
from older kernel would help too.
Last edited by billymayday; 09-23-2008 at 05:49 PM.
|
|
|
09-24-2008, 11:22 AM
|
#6
|
LQ Newbie
Registered: Sep 2008
Location: Boulder, CO
Distribution: Redhat EL5, Scientific Linux, Fedora
Posts: 21
Original Poster
Rep:
|
when I mounted manually: mount /dev/sda10 /mnt/data
fdisk -l
Disk /dev/sda: 160.0 GB, 160040837120 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 3277 26218080 83 Linux
/dev/sda3 3278 5235 15727635 83 Linux
/dev/sda4 5236 19457 114238215 f Win95 Ext'd (LBA)
/dev/sda5 5236 5489 2040223+ 82 Linux swap
/dev/sda6 5490 5502 104391 83 Linux
/dev/sda7 5503 8766 26218048+ 83 Linux
/dev/sda8 8767 10724 15727603+ 83 Linux
/dev/sda9 10725 10978 2040223+ 82 Linux swap
/dev/sda10 10979 19457 68107536 83 Linux
|
|
|
09-24-2008, 11:30 AM
|
#7
|
LQ Newbie
Registered: Sep 2008
Location: India
Distribution: RHEL4, Fedora 8/9, Debian, OpenSuse, FreeBSD, Slackware
Posts: 8
Rep:
|
Keep the FSCK orders to 0 0 when you try mounting via /etc/fstab
(As u can see in your own example, you did not provide any fsck options with the manual mount, while due to your fsck version, the mounter while reading the fsck options from fstab is throwing an error)
So, I would recommend is, just wipe out fsck order from fstab. Make it 0 0
~ DaExecuter
Quote:
Originally Posted by benderan
when I mounted manually: mount /dev/sda10 /mnt/data
fdisk -l
Disk /dev/sda: 160.0 GB, 160040837120 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 3277 26218080 83 Linux
/dev/sda3 3278 5235 15727635 83 Linux
/dev/sda4 5236 19457 114238215 f Win95 Ext'd (LBA)
/dev/sda5 5236 5489 2040223+ 82 Linux swap
/dev/sda6 5490 5502 104391 83 Linux
/dev/sda7 5503 8766 26218048+ 83 Linux
/dev/sda8 8767 10724 15727603+ 83 Linux
/dev/sda9 10725 10978 2040223+ 82 Linux swap
/dev/sda10 10979 19457 68107536 83 Linux
|
|
|
|
09-24-2008, 12:05 PM
|
#8
|
LQ Newbie
Registered: Sep 2008
Location: Boulder, CO
Distribution: Redhat EL5, Scientific Linux, Fedora
Posts: 21
Original Poster
Rep:
|
That did it, thanks!
|
|
|
All times are GMT -5. The time now is 09: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
|
|