LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-13-2001, 11:29 PM   #1
hitesh_linux
Member
 
Registered: Dec 2001
Location: /root
Distribution: FreeBSD,NETBSD,redhat
Posts: 472

Rep: Reputation: 30
mount H.D.D


1)I am new to Linux.i got two H.D.D. on my system.i want to mount first H.D.D. on that system i install windows98 and w2k system.and on second I got two partition.one windows98 and Redhat linux.
how can I mount my first H.D.D.means how can i access my data.

2)I got PII .and I install Redhat linux 7.2.during installation I select
MBR. but at booting time it's not display selection mode.every time i have to use floppy.(350 Mhz,128 ram,two 20 GB. H.D.D.)

3) as i told metion earily ,i am new to linux ,give me some good
books to do Redhat linux.and also web sites links(including commands,netwroking,installation concepts)

Thanks,
 
Old 12-14-2001, 03:35 AM   #2
rootboy
Member
 
Registered: Oct 2001
Distribution: Mint 15
Posts: 770

Rep: Reputation: 51
Welcome to linux


Post your /etc/fstab file here for us to look over.

And we need you to tell us how your drive is partitioned (that way we will know which partition is which)

To do this you need to login as root (or "su" to root) then run:

"fdisk /dev/hda"

Hit "p" to print out the partition info

hit "q" to quit fdisk. Do not hit "w" that would write any changes that you made back to the partition table (and probably screw it up).

Now do the same thing for /dev/hdb

Make a note of the partition info and post it here.


John
 
Old 12-15-2001, 05:49 AM   #3
hitesh_linux
Member
 
Registered: Dec 2001
Location: /root
Distribution: FreeBSD,NETBSD,redhat
Posts: 472

Original Poster
Rep: Reputation: 30
Exclamation mount H.D.D(replay)

1)hda

Disk /dev/hda: 255 heads, 63 sectors, 2438 cylinders
Units = cylinders of 16065 * 512 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 638 5124703+ b Win95 FAT32
/dev/hda2 639 2438 14458500 f Win95 Ext'd (LBA)
/dev/hda5 639 1276 5124703+ b Win95 FAT32
/dev/hda6 1277 1281 40131 83 Linux
/dev/hda7 1282 2046 6144831 83 Linux
/dev/hda8 2047 2148 819283+ 83 Linux
/dev/hda9 2149 2181 265041 82 Linux swap
/dev/hda10 2182 2438 2064321 83 Linux

---------------------------------
2) hdb

Unable to open /dev/hdb
----------------------------------

3)fstab

LABEL=/ / ext2 defaults 1 1
LABEL=/boot /boot ext2 defaults 1 2
LABEL=/home /home ext2 defaults 1 2
/dev/cdrom /mnt/cdrom iso9660 noauto,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
LABEL=/var /var ext2 defaults 1 2
none /proc proc defaults 0 0
none /dev/pts devpts gid=5,mode=620 0 0
/dev/hda9 swap swap defaults 0 0
/dev/hda1 /home/hitesh vfat defaults 0 0
 
Old 12-15-2001, 03:19 PM   #4
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
Re: mount H.D.D(replay)

Quote:
Originally posted by hitesh_linux
1)hda

Disk /dev/hda: 255 heads, 63 sectors, 2438 cylinders
Units = cylinders of 16065 * 512 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 638 5124703+ b Win95 FAT32
/dev/hda2 639 2438 14458500 f Win95 Ext'd (LBA)
/dev/hda5 639 1276 5124703+ b Win95 FAT32

fstab:

/dev/hda9 swap swap defaults 0 0
/dev/hda1 /home/hitesh vfat defaults 0 0
Looks like hda1 is already mounting in /home/hitesh. If you aren't seeing it you have to create the directories in which you'll be mounting, so if you want the second windows partition to mount from the info above, add it to your fstab just like /dev/hda1:

/dev/hda5 /home/hitesh2 vfat defaults 0 0

The mount point /home/hitesh2 i just made up, you'll have to create a directory like i said above and then use that in place of what i typed. That's all you really have to do to mount a partition.
 
Old 12-17-2001, 10:01 AM   #5
shan
LQ Newbie
 
Registered: Dec 2001
Location: MA
Distribution: RedHat 7.1
Posts: 7

Rep: Reputation: 0
I'm trying to do the same but have encountered an error when trying to mount the Windows (FAT32) partition.

I've entered the following in my etc/fstab file:

/dev/hda1 /mnt/xfer vfat defaults 0 0
(where xfer is a directory in the root of my Win Partition)

Upon trying to mount it using
"mount /mnt/xfer"

I get the following error:
"mount: mount point /mnt/xfer does not exist

Thanks for help
 
Old 12-17-2001, 10:14 AM   #6
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
the line does not refer to a folder in your win disk it is a mount point in the linux tree,

create the folder by typing this

mkdir /mnt/xfer


the entire partition hda1 will be mounted in /mnt/xfer
 
Old 12-17-2001, 11:56 AM   #7
shan
LQ Newbie
 
Registered: Dec 2001
Location: MA
Distribution: RedHat 7.1
Posts: 7

Rep: Reputation: 0
Thanks, that did the trick. I still am trying to understand mount points.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to give not-root user ability to mount devices to any mount point??? jdupre Linux - General 8 02-04-2012 10:03 AM
NFS mount of smb mount of windows share: permission denied problem :( Bagatur Linux - Networking 4 07-07-2009 11:34 AM
mount: unknown filesystem type 'ntfs' when trying to mount windows drive... DiZASTiX Linux - Hardware 12 09-28-2008 07:29 PM
can mount C not D FAT: invalid media value (0x45) mount: wrong fs type, bad option Emmanuel_uk Linux - Newbie 10 11-29-2005 02:47 AM
automount: mount(generic): failed to mount (null) (type iso9660) on /mnt/media/ vasudevadas Slackware 5 10-17-2005 03:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:05 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