LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 05-20-2009, 10:45 PM   #1
manuleka
Member
 
Registered: Feb 2009
Posts: 114

Rep: Reputation: 16
mouting newly formated SATA drives for backup purposes


OS: Fedora 10

just formated to SATA drives with FAT16 FS, fdisk -l displays:
Code:
bash-3.2$ sudo fdisk -l /dev/sdb
[sudo] password for manu: 

Disk /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xd9740b28

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1        9729    78148161    6  FAT16
bash-3.2$ sudo fdisk -l /dev/sdc

Disk /dev/sdc: 60.0 GB, 60022480896 bytes
255 heads, 63 sectors/track, 7297 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x3f72f337

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1   *           1        7297    58613121    6  FAT16
bash-3.2$
now when i try to mount the drives i get the get the following error:
Code:
bash-3.2$ sudo mount -t vfat /dev/sdb1 /media/vdisk
mount: wrong fs type, bad option, bad superblock on /dev/sdb1,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

bash-3.2$ sudo mount -t vfat /dev/sdc1 /media/vdisk/
mount: wrong fs type, bad option, bad superblock on /dev/sdc1,
       missing codepage or helper program, or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so
help help the noob

Last edited by manuleka; 05-20-2009 at 10:47 PM.
 
Old 05-20-2009, 11:32 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
How did you go about the formatting?
 
Old 05-20-2009, 11:48 PM   #3
manuleka
Member
 
Registered: Feb 2009
Posts: 114

Original Poster
Rep: Reputation: 16
ok i reformatted the drives with ntfs fs

formated using fdisk

fdisk -l:
Code:
Disk /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xd9740b28

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1        9729    78148161    7  HPFS/NTFS

Disk /dev/sdc: 60.0 GB, 60022480896 bytes
255 heads, 63 sectors/track, 7297 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x3f72f337

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1   *           1        7297    58613121    7  HPFS/NTFS
mounting:
Code:
bash-3.2$ sudo mount -t ntfs /dev/sdb1 /media/vdisk/
NTFS signature is missing.
Failed to mount '/dev/sdb1': Invalid argument
The device '/dev/sdb1' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?

bash-3.2$ sudo mount -t ntfs /dev/sdc1 /media/vdisk/
NTFS signature is missing.
Failed to mount '/dev/sdc1': Invalid argument
The device '/dev/sdc1' doesn't seem to have a valid NTFS.
Maybe the wrong device is used? Or the whole disk instead of a
partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?
bash-3.2$
what am i missing? help help
 
Old 05-21-2009, 12:02 AM   #4
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
You're not formatting. Your choosing a partition type. fdisk does
NOT format anything.


To format, use e.g. mkfs.ntfs /dev/sdb1



Cheers,
Tink
 
Old 05-21-2009, 12:48 AM   #5
manuleka
Member
 
Registered: Feb 2009
Posts: 114

Original Poster
Rep: Reputation: 16
Quote:
Originally Posted by Tinkster View Post
You're not formatting. Your choosing a partition type. fdisk does
NOT format anything.


To format, use e.g. mkfs.ntfs /dev/sdb1



Cheers,
Tink
so if i format it in ntfs, i can change the partition type to fat32? or ext3 using fdisk? can you enlighten me please

cheers
 
Old 05-21-2009, 06:29 AM   #6
katrok
LQ Newbie
 
Registered: Mar 2008
Distribution: Fedora 8
Posts: 23

Rep: Reputation: 15
have U try # parted and don't forget reboot
 
Old 05-21-2009, 07:25 AM   #7
fusion1275
Member
 
Registered: Jul 2007
Location: Portsmouth, Hants
Distribution: Linux Mint
Posts: 274

Rep: Reputation: 35
Please post your fdisk -l now
 
Old 05-21-2009, 08:18 AM   #8
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,892
Blog Entries: 27

Rep: Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183Reputation: 2183
Hi,

The 'fdisk' utility is used to create/modify a device partition table.

Quote:
excerpt from 'man fdisk';

fdisk - Partition table manipulator for Linux
To use these partitions as filesystems then they need to be formatted by other utilities. On a GNU/Linux machine you have many options. From the 'cli' you can use the 'mkfs' front end to format;

Quote:
excerpt form 'man mkfs';

mkfs - build a Linux file system
SYNOPSIS
mkfs [ -V ] [ -t fstype ] [ fs-options ] filesys [ blocks ]
DESCRIPTION
mkfs is used to build a Linux file system on a device, usually a hard disk partition. filesys is either the device name (e.g. /dev/hda1, /dev/sdb2) or the mount point (e.g. /, /usr, /home) for the file system. blocks is the number of blocks to be used for the file system.

The exit code returned by mkfs is 0 on success and 1 on failure.

In actuality, mkfs is simply a front-end for the various file system builders (mkfs.fstype) available under Linux. The file system-specific builder is searched for in a number of directories like perhaps /sbin, /sbin/fs, /sbin/fs.d, /etc/fs, /etc (the precise list is defined at compile time but at least contains /sbin and /sbin/fs), and finally in the directories listed in the PATH enviroment variable. Please see the file system-specific builder manual pages for further details.
The filesystem you choose can be very personal or dictated by how the system is to used.

I suggest that you look at 'Rute Tutorial & Exposition'. This book covers GNU/LINUX system administration.

These links and others can be found at 'Slackware-Links'. More than just SlackwareŽ links!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Automated backup and archive on removable SATA drives, partitioning and burner share vaf Linux - Server 6 02-22-2009 04:36 AM
Install linux on newly formated harddrive dozo Linux - Newbie 2 06-02-2008 09:37 PM
need mount script for backup purposes npereira Linux - Newbie 2 05-03-2008 10:21 PM
Need help. Can't write on newly formated usb drive LinuxUser101 Red Hat 1 03-08-2008 09:39 PM
Does Red Hat 6.1 Support CD-RW Drive for Backup purposes?? therouxsr Linux - Hardware 1 11-23-2004 05:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:37 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration