View previous topic :: View next topic |
Author |
Message |
Ts4t n00b
Joined: 13 Sep 2002 Posts: 3
|
Posted: Fri Sep 13, 2002 4:23 pm Post subject: ReiserFS partition contains old data |
|
|
Hi folks,
I did a fresh install of gentoo 1.2 yesterday. When I finally rebooted, a system with parts from a previous linux installation (on ext2) and from the new gentoo came up.
Now everytime when I boot from the gentoo cd, delete partition no. 2 (linux /), reboot, create a new partition 2, reboot, mkreiserfs /dev/hda2, reboot, mount /dev/hda2 /mnt, ls /mnt shows me bin, boot etc. - a bootable system.
Am I doing things wrong? Any suggestions?
Ts4t |
|
Back to top |
|
|
get sirius Guru
Joined: 27 Apr 2002 Posts: 316 Location: Madison, WI
|
Posted: Sat Sep 14, 2002 12:17 am Post subject: |
|
|
Suggest you do a low-level format - that'll clean the disk. |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Sat Sep 14, 2002 12:19 am Post subject: |
|
|
I'm fairly certain low-level formatting is no longer done on modern HDs. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
millenium_psyrax n00b
Joined: 16 Jul 2002 Posts: 45 Location: Melbourne, Australia
|
Posted: Sat Sep 14, 2002 1:13 am Post subject: |
|
|
Low level formatting is done on SCSI hdd. I don't use reiserfs, i use XFS. However, there could be a bug with mkreiserfs. So I would probably try reformatting the drive with ext2 or another file system. Then check if the other filesystems format wiped the drive. If it did, then reformat the drive with mkreiserfs _________________ Define ironic: Java (noun) a unicode using Objective C whose claim to portability fame is having a compiler that can only compile code for ONE architecture, a slow virtual machine.
(c) Craig Sproule freely redistributable under the GPL version 1.2. |
|
Back to top |
|
|
AutoBot l33t
Joined: 22 Apr 2002 Posts: 968 Location: Usually Out
|
Posted: Sat Sep 14, 2002 4:03 am Post subject: |
|
|
Just zero out the drive.
Code: |
dd if=/dev/zero of=/dev/hdx bs=512
|
_________________ This message self destructed a long time ago. |
|
Back to top |
|
|
Ts4t n00b
Joined: 13 Sep 2002 Posts: 3
|
Posted: Sat Sep 14, 2002 3:31 pm Post subject: |
|
|
Ok, somehow I set up grub to live on another partition, however, zeroing out did clear the partition.
thanks, Ts4t |
|
Back to top |
|
|
Binabik Tux's lil' helper
Joined: 27 Jul 2002 Posts: 110 Location: Victora - BC
|
Posted: Sun Sep 15, 2002 5:23 am Post subject: ReiserFS partition contains old data |
|
|
I've been at this a while - still trying - getting closer each time. I'm trying to use my Mandrake 8.2 partitions - this zero out the drive may just be my ticket - I still have old data hanging around eg: root & boot files
Can you explain this zero out the drive for me
Thanks |
|
Back to top |
|
|
Ts4t n00b
Joined: 13 Sep 2002 Posts: 3
|
Posted: Mon Sep 16, 2002 12:42 pm Post subject: |
|
|
well, you can just boot from your gentoo cd. You can zero out the whole drive or just a partition. dd if=/dev/zero of=/dev/hda2 took a while, I guess it's quicker with the option bs=512. This fills your drive (or a part) with zeros (no filesystem etc.). Be sure to setup grub to boot the partition you want (/dev/hda2 == (hd0,1)). |
|
Back to top |
|
|
|