Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ReiserFS partition contains old data
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
Ts4t
n00b
n00b


Joined: 13 Sep 2002
Posts: 3

PostPosted: Fri Sep 13, 2002 4:23 pm    Post subject: ReiserFS partition contains old data Reply with quote

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
View user's profile Send private message
get sirius
Guru
Guru


Joined: 27 Apr 2002
Posts: 316
Location: Madison, WI

PostPosted: Sat Sep 14, 2002 12:17 am    Post subject: Reply with quote

Suggest you do a low-level format - that'll clean the disk.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Sat Sep 14, 2002 12:19 am    Post subject: Reply with quote

I'm fairly certain low-level formatting is no longer done on modern HDs.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
millenium_psyrax
n00b
n00b


Joined: 16 Jul 2002
Posts: 45
Location: Melbourne, Australia

PostPosted: Sat Sep 14, 2002 1:13 am    Post subject: Reply with quote

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
View user's profile Send private message
AutoBot
l33t
l33t


Joined: 22 Apr 2002
Posts: 968
Location: Usually Out

PostPosted: Sat Sep 14, 2002 4:03 am    Post subject: Reply with quote

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
View user's profile Send private message
Ts4t
n00b
n00b


Joined: 13 Sep 2002
Posts: 3

PostPosted: Sat Sep 14, 2002 3:31 pm    Post subject: Reply with quote

Ok, somehow I set up grub to live on another partition, however, zeroing out did clear the partition.
thanks, Ts4t
Back to top
View user's profile Send private message
Binabik
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jul 2002
Posts: 110
Location: Victora - BC

PostPosted: Sun Sep 15, 2002 5:23 am    Post subject: ReiserFS partition contains old data Reply with quote

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
View user's profile Send private message
Ts4t
n00b
n00b


Joined: 13 Sep 2002
Posts: 3

PostPosted: Mon Sep 16, 2002 12:42 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum