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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
Due to network maintenance being performed by our provider, LQ will be down starting at 05:01 AM UTC. The exact duration of the downtime isn't currently known. We apologize for the inconvenience.
|
 |
07-14-2004, 05:18 AM
|
#1
|
|
LQ Newbie
Registered: Mar 2004
Location: Christchurch, New Zealand
Distribution: Kubuntu 7.04
Posts: 9
Rep:
|
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
|
|
|
|
07-14-2004, 06:05 AM
|
#2
|
|
HCL Maintainer
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926
Rep: 
|
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.
|
|
|
|
07-14-2004, 06:07 AM
|
#3
|
|
Member
Registered: Jul 2004
Location: Skuttunge SWEDEN
Distribution: Debian preferably
Posts: 987
Rep:
|
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!
|
|
|
|
07-14-2004, 09:22 AM
|
#4
|
|
Member
Registered: Jun 2004
Location: United States
Distribution: slackware 10.0 mostly; used many
Posts: 109
Rep:
|
use fdisk, cfdisk, or partition magic from bootable floppy 
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 07:42 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|