Knowledgebase

Mount Secondary H.D.D

Posted by persianwhois, 05-20-2008, 02:26 PM
Hi, I wish to mount secondary H.D.D to /backup, but i have following error after run "mount /dev/sdb1 backup" How can change secondary hard disk file system to linux? Thanks

Posted by Patrick, 05-20-2008, 02:45 PM
What file system is /dev/sdb1 currently using? (I know it says ntfs, but I figured I would ask first...)

Posted by RoseHosting, 05-20-2008, 03:13 PM
Try "mount -t ntfs /dev/sdb1 /backup" Also, check if you have "ntfs" modules installed. Finaly, you can install QtParted (http://qtparted.sourceforge.net/) it is a GUI partition manager, and after that you will be able to do whatever you want with your HDD, like, change size, number of partitions, size of partitions, type of partitions etc....

Posted by persianwhois, 05-21-2008, 02:10 AM
We have "mount: unknown filesystem type 'ntfs'" when try to mount by "mount -t ntfs /dev/sdb1 /backup" How can fix this issue?

Posted by Xous, 05-21-2008, 03:30 AM
Depending on you distribution you may either need recompile your kernel or download the correct module binary for your kernel. I suggest try searching google for something like "[distribution] ntfs module" for instructions. If you do not need to get any data off of the device you can simply change the partition type with fdisk or cfdisk and then format it with the appropriate linux file system such i.e. mkfs.ext3 /dev/sdb1.

Posted by gigatux, 05-21-2008, 06:52 AM
From memory, I believe the standard ntfs module only allows read only access to the filesystem in question. I think something like ntfs-3g (supplied with many modern distributions) will handle read/write access to NTFS partitions.

Posted by persianwhois, 05-21-2008, 10:26 AM
How can chage /dev/sdb1 file system to linux?

Posted by gigatux, 05-21-2008, 10:34 AM
Run fdisk (as root - BE VERY CAREFUL) on /dev/sdb. Change the filesystem type to Linux (83) and then rewrite the partition table. You will lose all data on that partition. Then, choose your filesystem. To keep things simple, let's say you choose ext3. Type mkfs.ext3 /dev/sdb1. It will then start creating the file system. Et viola. I recommend you read up a lot more on this subject before as you run a big risk of destroying data.

Posted by persianwhois, 05-21-2008, 10:50 AM
We have: 250.0GB do not have any useful data and its not problem to loss data. But we have many important data on 500.1GB and need to save this. Is it possibility to loss 500gb H.D.D after i run "fdisk /dev/sdb"? Help me please.

Posted by gigatux, 05-21-2008, 10:54 AM
If you're definitely typing in fdisk /dev/sdb, no, there is no way to lose data from /dev/sda using this. Usual disclaimer applies though.

Posted by persianwhois, 05-21-2008, 11:07 AM
What i must doing now?

Posted by gigatux, 05-21-2008, 11:10 AM
I'm sure you'll be able to figure it out with a little Googling now. Try sites such as http://tldp.org/HOWTO/Partition/fdisk_partitioning.html



Was this answer helpful?

Add to Favourites Add to Favourites

Print this Article Print this Article

Also Read
Secure Cgi ! Help ! (Views: 588)


Language:

Client Login

Email

Password

Remember Me

Search