kreater
10-30-2004, 05:26 PM
i need to find out what my 2nd drive is called and how to mount it i trying searching trying different things but i dont think im doing it right i need to know how
|
Click to See Complete Forum and Search --> : mounting drive kreater 10-30-2004, 05:26 PM i need to find out what my 2nd drive is called and how to mount it i trying searching trying different things but i dont think im doing it right i need to know how gehidore 10-30-2004, 05:30 PM man mount something similar to mount /dev/hd** /mnt/blah techwise 10-30-2004, 10:43 PM only shows whats mounted. "fdisk -l" will show you what hard drived are seen on the system for purposes of finding the device name. m sajchurchey 10-30-2004, 11:57 PM Use "fdisk -l" to check out the partitions on your hard drive(s). Find the partition you're looking for, hopefully you remember your configuration. Then, you can either use the mount command as described above, but if you want the drive to mount every time you boot, you'll want to add an entry for it in /etc/fstab. sheds 11-04-2004, 03:05 PM Your fstab file should look like this, if have mounted them from booting time: /dev/hdc8 / ext3 defaults 1 1 none /dev/pts devpts mode=0620 0 0 none /mnt/cdrom supermount dev=/dev/scd0,fs=auto,ro,--,iocharset=iso8859-1,codepage=850,umask=0 0 0 none /mnt/cdrom2 supermount dev=/dev/hdb,fs=auto,ro,--,iocharset=iso8859-1,codepage=850,umask=0 0 0 none /mnt/floppy supermount dev=/dev/fd0,fs=auto,--,iocharset=iso8859-1,sync,codepage=850,umask=0 0 0 /dev/hdc1 /mnt/win_c ntfs iocharset=iso8859-1,ro,umask=0 0 0 /dev/sda1 /mnt/win_c2 vfat iocharset=iso8859-1,codepage=850,umask=0 0 0 /dev/hdc5 /mnt/win_d ntfs iocharset=iso8859-1,ro,umask=0 0 0 /dev/hdc6 /mnt/win_e ntfs iocharset=iso8859-1,ro,umask=0 0 0 none /proc proc defaults 0 0 /dev/hdc7 swap swap defaults 0 0 /dev/sda1 /mnt/usbstick vfat user,noauto,umask=0 0 0 elderdays 11-04-2004, 03:17 PM This will get you what you need I think. Type in:dmesg | grep -e ^hd Here is the output when I do that: hda: ST3120026A, ATA DISK drive hdb: IC35L040AVVN07-0, ATA DISK drive hdc: DVD-RW IDE1008, ATAPI CD/DVD-ROM drive hdd: TDK CDRW4800B, ATAPI CD/DVD-ROM drive hda: max request size: 1024KiB hda: 234441648 sectors (120034 MB) w/8192KiB Cache, CHS=16383/255/63, UDMA(100) hdb: max request size: 128KiB hdb: 80418240 sectors (41174 MB) w/1863KiB Cache, CHS=65535/16/63, UDMA(100) hdc: ATAPI 47X DVD-ROM DVD-R CD-R/RW drive, 2048kB Cache, UDMA(33) hdd: ATAPI 48X CD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33) So, you see I have a hard drive at /dev/hda and one at /dev/hdb. Also there is a DVD-RW drive at /dev/hdc and a TDK CDRW at /dev/hdd. How you would mount it depends on what kind of file systems and partitions are on it. If it was, say, a NT filesystem on the first partition of /dev/hdb and you wanted it mounted at /mnt/windows you would typemount -t ntfs /dev/hdb1 /mnt/windows That is assuming the /mnt/windows directory exists and you have need for silly things like an NTFS partition somewhere :/ Uranus 11-04-2004, 04:05 PM Or if you add the following line to your fstab: /dev/hdb1 /mnt/windows ntfs noatime,noauto 0 0 you only need to run "mount /mnt/windows" to mount it. Sam justlinux.com
Copyright Internet.com Inc. All Rights Reserved. |