Re: [SLE] deleting/writing on a read-only filesystem
- From: Don Raboud <don.raboud@xxxxxxxxxxx>
- Date: Wed, 2 Aug 2006 17:54:20 -0600
On Wednesday 02 August 2006 17:35, Istvan Gabor wrote:
Hello all:
I use suse linux 10.0 default.
My hard drive has damaged.
<snip>
Since the hard drive still has the warranty I would like to
replace it. But before bringing back I'd like to remove some
files from the drive. However I can't write or delete on the
damaged harddisk since it always gets mounted as read-only.
How could I still erase the drive or force mounting the drive as
read-write?
I've had to do this a few times recently myself.
If it is just erasing you want to do, what I did was make sure the drive was
unmounted and then used
dd if=/dev/zero of=/dev/<your_drive> bs=8192
in a terminal, which worked whenever I had to used it.
This may take a while, depending on the size of your hard drive.
I found especially that the block size made a huge difference in speed. I
don't quite understand how to select this value optimally, so the size I used
(bs=8192) was determined from some quick tests writing to smaller files. I
have no idea if this will be the fastest for you or not.
--
Don
--
Check the headers for your unsubscription address
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the archives at http://lists.suse.com
Please read the FAQs: suse-linux-e-faq@xxxxxxxx
- References:
- [SLE] deleting/writing on a read-only filesystem
- From: Istvan Gabor
- [SLE] deleting/writing on a read-only filesystem
- Prev by Date: Re: [SLE] deleting/writing on a read-only filesystem
- Next by Date: Re: [SLE] SPAM: Passive ftp through firewall?
- Previous by thread: Re: [SLE] deleting/writing on a read-only filesystem
- Next by thread: Re: [SLE] deleting/writing on a read-only filesystem
- Index(es):
Relevant Pages
|