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 Thu 18 Dec 2014, 04:32
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 Posts_count  
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: 446
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: 6690
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: 3398
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: 1293
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:   Sort by:   
Page 1 of 1 Posts_count  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


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