Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 28 Jul 2014, 19:09
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
how to format hardrive in puppy useing command line
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [5 Posts]  
Author Message
dan0804smith

Joined: 02 Aug 2011
Posts: 3

PostPosted: Sat 06 Aug 2011, 17:47    Post subject:  how to format hardrive in puppy useing command line  

long story short:

have a hard drive with windows and a really bad virus

i want to format the disk (sda1) useing the command prompt

i am running puppy from a live cd

what is this command?
Back to top
View user's profile Send private message 
majorfoo

Joined: 07 Mar 2011
Posts: 445
Location: Wish I knew

PostPosted: Sat 06 Aug 2011, 18:08    Post subject: Re: how to format hardrive in puppy useing command line  

dan0804smith wrote:
long story short:

have a hard drive with windows and a really bad virus

i want to format the disk (sda1) useing the command prompt

i am running puppy from a live cd

what is this command?


If you are running puppy from live cd, you can click on desktop, select system, then select gparted partition manager and follow the prompts.
This gives you the option of formattnig fat32, ntfs, ext2, ext3, ext4, etc.

I am running lucid puppy 525 and lupu 268 and format drive to be ext4 partition. Seems to work better.

Also, have found this to be a very easy way to format drive and to also create multiple partitions on the drive.

This not exactly what you asked for for, but hope it helps

marjorfoo
Back to top
View user's profile Send private message 
muggins

Joined: 20 Jan 2006
Posts: 6673
Location: lisbon

PostPosted: Sat 06 Aug 2011, 20:32    Post subject:  

To format to ext3 file system it's:

Code:
mke2fs -j /dev/sda1


(Assuming sda1 is the unmounted target partition)
Back to top
View user's profile Send private message 
8-bit


Joined: 03 Apr 2007
Posts: 3357
Location: Oregon

PostPosted: Sat 06 Aug 2011, 21:44    Post subject:  

If it was me, considering a nasty virus being present, I would delete the partition on the drive and make a new partition first to remove the possibility of a boot virus surviving.
You could also run Dban on the drive to completely wipe it first.
Back to top
View user's profile Send private message 
rhadon


Joined: 27 Mar 2008
Posts: 1291
Location: Germany

PostPosted: Sun 07 Aug 2011, 02:33    Post subject:  

AFAIK deleting/reformatting the first partition doesn't involve the Master Boot Record. This could be done also with Gparted (Device->Create Partition Table).
But this will destroy all data of the HD.

HTH
Rolf

_________________
Ich verwende "frugal", und das ist gut so. Wink
Raspberry Pi without Puppy? No, thanks.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [5 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0460s ][ Queries: 11 (0.0034s) ][ GZIP on ]