Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
From my basic understanding of Linux (RH 9) i think that to mount my secondry hard disk i first need to make sure it's there, so i did the "dmesg" command and got the following info:
Code:
hda: WDC WD100AA, ATA DISK drive
hdb: Maxtor 6Y120P0, ATA DISK drive
blk: queue c03c9f40, I/O limit 4095Mb (mask 0xffffffff)
blk: queue c03ca084, I/O limit 4095Mb (mask 0xffffffff)
hdc: Compaq CRD-8322B, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: host protected area => 1
hda: 19541088 sectors (10005 MB) w/2048KiB Cache, CHS=1292/240/63, UDMA(33)
hdb: host protected area => 1
hdb: 240121728 sectors (122942 MB) w/7936KiB Cache, CHS=15881/240/63, UDMA(33)
ide-floppy driver 0.99.newide
Partition check:
hda: hda1 hda2 hda3 hda4 < hda5 >
hdb: [PTBL] [14946/255/63] hdb1
So i then made the directory and tried to mount my Maxtor drive (hdb) but the following happened:
Code:
[root@localhost root]# mkdir /mnt/hdb1
[root@localhost root]# mount /dev/hdb1 mnt/hdb1
mount: mount point mnt/hdb1 does not exist
Anyone got any ideas what i can do now. It is formatted as Fat32 in Win XP using partion magic 8 and has several directories containing .pdf files and .jpg that were made in Windows XP. The drive but has no other partitons.
I am sure that i am doing something stupid, but i have had a google and can't find any more answers. Any help will be greatly aprreciated.
Will try the "[root@localhost root]# mount -t vfat /dev/hdb1 /mnt/hdb1" as i have not done that.
PS: I don't think it is the missing slash as i tried mounting it several times and i think the tine i did the C&P from the terminal from was just a typo.... but i may be wrong so will give it another go and check my typing
If this was indeed a typo then you need to create the directory /mnt/hdb1 using the mkdir command.
According to the ouput of dmesg hdb has a hidden partition. Just to make sure check to see how the drive is partitioned. Log in as root:
fdisk -l /dev/hdb (That is a small L)
Originally posted by leonscape Is this a new disk or an already partitioned disk? the table seems to suggest one partiton.
If this is so what filesystem? for a windows disk (fat32) you would use the line
mount -t vfat /dev/hdb1 /mnt/hdb1
If its a linux ext3 for instance you would use
mount -t ext3 /dev/hdb1 /mnt/hdb1
Or do you want to repartition it, and install your own filesystem?
It was originally a backup disk in a windows machine formatted as fat32 as a single drive (partition) using partion magic 8 in windows xp. The disk is intended to be a media storage for my home network which has windows machines and linux dual boots on them. To my understanding fat32 was the best choice for this as both the linux and windows machines can read it. Therefore i think i need to use "mount -t vfat /dev/hdb1 /mnt/hdb1" which i have not so far. I will try this when i get back from work.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.