Click to See Complete Forum and Search --> : hda, hdb, some questions...


jxsin
09-19-2002, 12:16 AM
ok heres the deal... i have searched google.com/linux and other sites so its not like im lazy ;)

i have dual 6gig harddrive setup. RedHat7.3 ofcourse is installed on hda. when i installed RedHat i clicked to delete all partitions on both drives and install RedHat on hda and i see that hdb was partitioned as hdb1. im sorry if this is basic and simple but iwas raised on windows and am plunging into this, going cold turkey windows :-P ok back to the question. it says hdb1 is mount... so where is it? how do i access it?

thank you in advance

JXSin

Lorithar
09-19-2002, 12:24 AM
I don't know where its mounted, but the system does.

As root, from the command line type
mount
this will show you what is mounted where.

jxsin
09-19-2002, 12:30 AM
hb1 is mounted at /

what does that mean?

ugh

i tryed

umount /dev/hdb1/

device is busy..

im lost...

banzaikai
09-19-2002, 07:43 AM
Originally posted by jxsin
hb1 is mounted at /

what does that mean?

ugh

i tryed

umount /dev/hdb1/

device is busy..

im lost...

Howdy.

I don't think you should be umounting HDs, anyway. Surely, something is using/looking at the drive, so you can't umount until it's done (which may be never). The way to do this is to edit your "/etc/fstab" file. What I'm worried about is what you've got on your hdb1. If there's something Linux needs to boot on there, then DON'T umount or edit fstab.

"/" is the root (main) directory, equivalent to "C:\" in Windoze. It means you gotta go "out" to "/" to see the entry/directories (e.g., "cd /data_on_hdb1_directory). Thing is, your installer may have seen this as an excuse to put ANYTHING over on hdb1, including all kinds of essential files and directories (if you have two 6GB drives, this shouldn't happen, though).

We'd need to see what other files and directories are sitting on hdb1.

hope this helps...

banzai

michaelk
09-19-2002, 08:50 AM
Here is a basic NHF of filesystems.
http://www.linuxnewbie.org/nhf/Filesystems/Filesystems_Directories_and_Devices.html

jxsin
09-19-2002, 01:18 PM
i really appreciate your help everyone. see the prob is im trying to find out how to access my 2nd drive. im in the root... ok now where. i have read alot of sites x_X and nothing... is it in /dev/hdb1/ i dont see it in here. i went into fstab. i dont even see hdb listed at all. only hda. but it says its mounted and that there is a hdb1. *screams* :( :(

JP83
09-19-2002, 03:38 PM
Open fstab file and look for vfat (=FAT32 or NTFS?) type file system. If it's not there you must edit the file and add line:
/dev/hdb1 win vfat noauto 0 0

win is mount point (directory), this is the place that you want it to be seen (mkdir win command creates directory win).

Type is filesystem type vfat=fat32 (or ntfs?).

Options noauto (does't mount on boot).

Add the file end one emty line.

Now it's working? And could be seen as win directory.

JP83
09-19-2002, 04:07 PM
I forgot some things. After you have creted that line and rest of memessage... Use mount /dev/hdb1 command it shoud mount filesystem in under win directory. Note every
partition and device needs own line and if you don't edit the file and line is not there it can not mount ANYTHING!!!

jxsin
09-19-2002, 05:24 PM
followed your words step by step

edited fstab to...

/dev/hdb1/ win vfat noauto 0 0

then

mount /dev/hdb1/

SPECIAL DEVICE /DEV/HDB1/ DOES NOT EXIST
A PATH PREFIX IS NOT A DIRECTORY

i know there is a hdb1, the drive manager shows it and the 6 gig of free space. im guessing its mounted because when i try to umount it, its busy and being read.

jxsin
09-19-2002, 05:50 PM
I GOT IT TO WORK MUAHHAHAHAH i had it as /dev/hdb1/... it should have been /dev/hdb1... who knew a "/" would cause so much problems... im going to reboot to see if it worked

JP83
09-20-2002, 07:35 AM
Problem of this system is that after every reboot you need to run mount command. If you want that system mounts partition automatically on boot you need to change fstab file option field, but i don't know what it should be (i've just installed debian and my windows partitions is not configured at this time because it seems that kernel don't support vfat and i need to compile new kernel... and start edit fstab...). But try uncomment the option field (noauto) command ,it could work, and if it's not work then enter noauto comment back. If comment is some other somebody
could post it here (i need that too and it could save some searching and trying..).