Gentoo Archives: gentoo-user

From: Marcus Wanner <marcusw@×××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] {OT} Preparing a laptop for sale
Date: Thu, 17 Dec 2009 00:15:10
Message-Id: 4B296C43.2040807@cox.net
In Reply to: Re: [gentoo-user] {OT} Preparing a laptop for sale by Mick
1 On 12/16/2009 2:24 PM, Mick wrote:
2 > On Wednesday 16 December 2009 18:49:07 Grant wrote:
3 >
4 >> I'm about to sell my old laptop and I'd like to wipe out the data and
5 >> install any flavor of Linux via USB (the CD drive doesn't work any
6 >> more). I've got a bootable USB key that will get me into Gentoo. How
7 >> would you take it from there? I'm looking for something quick and
8 >> easy. My data isn't too sensitive, but I'd like to do some type of
9 >> wiping so it isn't all just sitting there with a deleted flag or
10 >> however that works.
11 >>
12 > First I'd mount the partitions and then emerge/use shred:
13 >
14 > # shred -v -n 25 -z -u /mnt/a_partition
15 >
16 > Then I would delete old partitions, create new partitions and format them as
17 > required. If you're really paranoid about your data (which from what you're
18 > telling me you're not) you can also use dd to randomly overwrite partition
19 > tables, but I would probably not bother.
20 >
21 > Now, there may be more modern tools to do all this with a single button, but I
22 > haven't looked into it in any detail.
23 >
24 > HTH.
25 >
26 What's wrong with "dd if=/dev/zero of/dev/sdxx"?
27
28 Marcus

Replies

Subject Author
Re: [gentoo-user] {OT} Preparing a laptop for sale Mick <michaelkintzios@×××××.com>