Go Back   openSUSE Forums > Archives > SLS Archives > ARCHIVES - SuSE Linux > ARCHIVES - Hardware Support
Forums FAQ Members List Search Today's Posts Mark Forums Read


ARCHIVES - Hardware Support Do you have any problems with installing new hardware under SuSE Linux? Post your question in here...

 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-Jun-2008, 03:19
sachieng
Guest
 
Posts: n/a
Default

I'm a new bie in Linux and I'm trying to format a simple removable device. How do I format and repair harddisks and other removable devices in Linux?
  #2 (permalink)  
Old 05-Jun-2008, 04:39
crisciotti
Guest
 
Posts: n/a
Default

Hi. First you have to figure what kind of file system you want to create. Then open a console and log as root ( su and password) then perform the command fdisk -l so you can know the device mode of the disk you want to format. It will be like /dev/sdb. Now umount this device: umount /dev/sdb1 (this is only an example!) And if you want to make a vfat file system perform the command: mkfs.vfat /dev/sdb1. If you want to check the file system the command is fsck.vfat /dev/sdb1. Hope this helps
  #3 (permalink)  
Old 05-Jun-2008, 05:03
ferrari
Guest
 
Posts: n/a
Default

You can use the graphical suse tool: YaST -> Sytem -> Partitioner

Alternatively, if you are comfortable with CLI commands, then

fdisk -l (to get a list of storage device partitions)

Then you can create, edit, and delete partitions on a given device with

fdisk <device> (for example fdisk /dev/sdb)

More info for you to read here.

After you have created a partition, you need to format it with the mkfs command.

 

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




 

Search Engine Friendly URLs by vBSEO 3.3.0 RC2