LinuxQuestions.org
Help answer threads with 0 replies.
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 09-23-2008, 01:44 PM   #1
benderan
LQ Newbie
 
Registered: Sep 2008
Location: Boulder, CO
Distribution: Redhat EL5, Scientific Linux, Fedora
Posts: 21

Rep: Reputation: 15
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!
 
Old 09-23-2008, 01:48 PM   #2
Nylex
LQ Addict
 
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464

Rep: Reputation: Disabled
Quote:
Originally Posted by benderan View Post
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).
 
Old 09-23-2008, 01:50 PM   #3
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
I answered a similar question here:
http://www.linuxquestions.org/questi...6/#post3287512

You can do all this from either one of your OSes.
 
Old 09-23-2008, 05:06 PM   #4
benderan
LQ Newbie
 
Registered: Sep 2008
Location: Boulder, CO
Distribution: Redhat EL5, Scientific Linux, Fedora
Posts: 21

Original Poster
Rep: Reputation: 15
Thumbs up

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?
 
Old 09-23-2008, 05:36 PM   #5
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
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.
 
Old 09-24-2008, 11:22 AM   #6
benderan
LQ Newbie
 
Registered: Sep 2008
Location: Boulder, CO
Distribution: Redhat EL5, Scientific Linux, Fedora
Posts: 21

Original Poster
Rep: Reputation: 15
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
 
Old 09-24-2008, 11:30 AM   #7
DaExecuter
LQ Newbie
 
Registered: Sep 2008
Location: India
Distribution: RHEL4, Fedora 8/9, Debian, OpenSuse, FreeBSD, Slackware
Posts: 8

Rep: Reputation: 0
Lightbulb

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 View Post
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
 
Old 09-24-2008, 12:05 PM   #8
benderan
LQ Newbie
 
Registered: Sep 2008
Location: Boulder, CO
Distribution: Redhat EL5, Scientific Linux, Fedora
Posts: 21

Original Poster
Rep: Reputation: 15
That did it, thanks!
 
  


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
Shared partition??? Tirons Linux - General 1 01-26-2006 10:42 AM
Shared partition type? W0bbles Linux - Hardware 3 12-31-2005 09:45 PM
shared home partition Big Harry Linux - Newbie 4 06-06-2004 11:29 AM
Shared Partition spotslayer Linux - Networking 3 03-02-2004 07:02 AM
Shared Partition RRepster Slackware 5 06-19-2003 10:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:35 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
Open Source Consulting | Domain Registration