LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 07-14-2004, 05:18 AM   #1
Xentrix
LQ Newbie
 
Registered: Mar 2004
Location: Christchurch, New Zealand
Distribution: Kubuntu 7.04
Posts: 9

Rep: Reputation: 0
cant erase hard drive


I'm running Xandros2 Standard

I have a second hdd set to slave that has a failed install of Knoppix 3.3 on it. I would like to erase this botch up and install Xandros2 delux on this drive.

I tried setting it to master and setting bios to boot from cdrom and loading Xan2delux over the the top, but it came up with a pic of the penguin and a screen full of scrolling code and stopped dead.

I then tried setting it to slave and trying to erase if with Xandros 2 file manager, but it said that I don't have permission to delete. I was logged in as administrator if that makes a difference.

Is there a peice of software that will let me erase it? Or maybe a command (i've never typed a command before, so be nice)

There is no windows partition or anything on it either....that is the past.

Thanks
Phil
 
Old 07-14-2004, 06:05 AM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
Having never used Xandros I can't really tell you how it would work on there.
I can, however, tell you with Slackware. During the install process you have
two options that can alter your present drive. The first is to run the cfdisk
program, which is a curses based program for partitioning any hard disk drive.
With cfdisk you can setup your partition tables, with a lot of variables.

The second thing is that during the setup you have a TARGET option which is
where you choose the partitions where you want to install the OS. With each
one you choose there's the option to format the partition. This doesn't totally
erase the disk, as a low-level format would do; or writing the drive to
zeroes. But for normal purposes it will get rid of your old installation.

If you want to totally erase the drive, such as you would do if you rubbed
a magnet against a floppy disk, you should determine the make of your hard
drive. Then browse to the manufacturer's website and get a disk utility so that
you can do a proper low-level format, or write the drive to zeroes. If you're
interested in doing that, and need more help, post back.

There may be another method, such as formatting before installing with some
open source app, but I'm not aware of it.
 
Old 07-14-2004, 06:07 AM   #3
pingu
Senior Member
 
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 1,287

Rep: Reputation: 120Reputation: 120
If you want to empty it completely, you could run fdisk.
Delete the partition(s) then recreate them.
Or recreate the filesystem (formatting), you have to unmount it to do that.

The commands:
# fdisk /dev/hdb <-- BE CAREFUL! /dev/hda=primary master /dev/hdb=primary slave.
You don't want to erase the wrong disk, make sure you know which one you're dealing with.

Formatting:
# umount /dev/hdb
# mke2fs -j /dev/hdb
that is, if you want ext3. If you want ext2 skip the '-j'.

Once again, make sure you know which disk you're working on!
 
Old 07-14-2004, 09:22 AM   #4
name_in_use450
Member
 
Registered: Jun 2004
Location: United States
Distribution: slackware 10.0 mostly; used many
Posts: 109

Rep: Reputation: 15
use fdisk, cfdisk, or partition magic from bootable floppy
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to erase your hard disk with Linux partitions on it 357mag Mandriva 10 03-16-2005 08:53 AM
Knoppix Drive Erase Le_Petit_Lapin Linux - Newbie 8 08-31-2004 07:07 AM
Users can't erase any e-mail by Horde (IMP) when reachs the quota hard limit. Why? Hackiller Linux - Software 2 04-02-2004 06:49 AM
Erase Hard Drive from Rescue? mithras Linux - Newbie 6 12-11-2003 11:29 PM
How to erase hard drive . . . zthomasz Linux - General 2 07-30-2003 10:25 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration