LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-08-2004, 06:31 AM   #1
sandoz
Member
 
Registered: Aug 2002
Distribution: Ubuntu 7.04
Posts: 36

Rep: Reputation: 15
Boot partiton on seperate hard disk


Hi,
I installed this system ages ago. I think there is something seriously wrong with the partitioning scheme i ended up with.

I have two 1.2gb hard disks. It appears my boot partition is on hard disk a, but hard disk a is only seen as 98mb.

Can i regain the rest of that drive space?

Also, what is none mounted on /dev/shm mean?

This is my set up:
# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hdb1 1.2G 884M 253M 78% /
/dev/hda1 98M 8.8M 84M 10% /boot
none 23M 0 23M 0% /dev/shm

cheers,
karl
 
Old 07-08-2004, 06:38 AM   #2
nalg0rath
Member
 
Registered: Feb 2004
Location: Stockholm, Sweden.
Distribution: Gentoo Linux
Posts: 30

Rep: Reputation: 15
From Documentation/filesystems/tmpfs:

2) glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
POSIX shared memory (shm_open, shm_unlink). Adding the following
line to /etc/fstab should take care of this:

tmpfs /dev/shm tmpfs defaults 0 0

Remember to create the directory that you intend to mount tmpfs on
if necessary (/dev/shm is automagically created if you use devfs).

This mount is _not_ needed for SYSV shared memory. The internal
mount is used for that. (In the 2.3 kernel versions it was
necessary to mount the predecessor of tmpfs (shm fs) to use SYSV
shared memory)
 
Old 07-09-2004, 05:48 AM   #3
sandoz
Member
 
Registered: Aug 2002
Distribution: Ubuntu 7.04
Posts: 36

Original Poster
Rep: Reputation: 15
Thanks,
fstab already has :
none /dev/shm tmpfs defaults 0 0

Do you know if I can get the rest of the hard drive space from /dev/hda1 which is used as the boot partition?

This is a redhat 9 install.
cheers.
 
Old 07-09-2004, 05:50 AM   #4
sandoz
Member
 
Registered: Aug 2002
Distribution: Ubuntu 7.04
Posts: 36

Original Poster
Rep: Reputation: 15
My fstab is:
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda2 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/hdc1 /mnt/hdc ext3 defaults 2 1
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to boot from another hard disk? TigerLinux SUSE / openSUSE 3 10-07-2005 01:46 AM
Setting up dual boot with 2 seperate hard drives liquid486 Linux - Newbie 4 01-18-2005 07:51 PM
Problem loading WIN98 AFTER LINUX 9.2 INSTALLED on seperate hard disk C Clark General 3 04-18-2004 01:47 PM
Problems with Linux Installation along with WinXp:Partiton the Hard disk invinciblemk Linux - Newbie 2 01-23-2004 10:44 PM
Cant boot off of the Hard Disk desbyleo Linux - General 7 02-26-2002 06:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:30 AM.

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