On 2013-05-02 18:56, Jim Henderson wrote:
> Are you restarting the machine after wiping out the partition table? If
> you don’t restart the machine, there is some information maintained in
> memory.
There is also a command to tell the kernel to reread it. IIRC, fdisk
warns about that, but I don’t remember the command offhand.
–
Cheers / Saludos,
Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)
Even if so, I assume it’s not necessary since most people don’t wipe their partition tables and they don’t get the same weird thing as me, their systems install as a “new one”.
On Thu, 02 May 2013 18:36:02 +0000, amarildojr wrote:
> Yes, I did restart.
There’s something different about your system, then - because that’s not
what should happen. When you do a mkfs, it overwrites the file
descriptor tables. That they’re not being wiped tells me that there’s
something wrong with your system, or there’s something missing from the
steps you said you’re following.
I’ve worked with computers since the 80’s, and have never seen a system
that, after formatting the drive, you could still see file entries in the
directory system. No filesystem, no type of computer, no operating
system that I’ve ever seen does this.
I have seen that if a partition is not reformatted and the partition
table is destroyed, that the partition can be recovered, but to do so
required either directly editing the partition table to re-establish the
table, or advanced recovery tools.
Boot with the LiveCD, delete the two current partitions, create one big partition, delete this last big one, reboot.
Boot again with LiveCD, create again the two partitions I use (40GB for “/” and 571GB for “/home”
reboot
Install ubuntu again, formatting the partitions created before (that were also formatted by gparted)
2nd Ubuntu install
After installation, the system updated and with no message whatsoever it installed the 310-Experimental drivers, this means some of my files were reused.
NOTE: I always update then reboot before installing the drivers and this time the drivers got installed after just updating the system, without my knowledge or permission.
NOTE 2: This time I didn’t wipe the MBR because I have Windows installed.
It’s weird, I’d really like to know why that happens, it happened on openSUSE as well, but just one time. I also posted this issue on ubuntuforums but no response so far.
The only viable solution was to login with the LiveCD and delete all the contents in “/” and “/home”.
Update is not a new install. It be definition does not format a partition. It preserves the original files and just overwrites the files with the new ones. Your procedure is flawed. Go to expert mode and you will see that the new partition is not marked for formatting if you do an update. If you mark it to format all that old files go away. A new install formats an update does not.
On 2013-05-03 04:16, amarildojr wrote:
> 2ND UBUNTU INSTALL
> After installation, the system updated and with no message whatsoever
> it installed the 310-Experimental drivers, this means some of my files
> were reused.
I’m not familiar with ubuntu installs. But openSUSE fresh installation
can read and reuse some files from a previous installation. They are
read before formatting the partition, kept in memory, and that info is
used to create the new system.
This is done for at least for fstab and passwd, if you ask for it.
–
Cheers / Saludos,
Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)
On Fri, 03 May 2013 02:16:02 +0000, amarildojr wrote:
> It’s weird, I’d really like to know why that happens, it happened on
> openSUSE as well, but just one time. I also posted this issue on
> ubuntuforums but no response so far.
It sounds like it’s not running mkfs before you reboot. Creating the
partitions isn’t enough, it has to format them as well. This is usually
done in an installer right before starting to install packages.
I’ve seen this, not necessarily with Gparted (I’d have to look closer what Gparted offers)
This is because many partitioners/formatting utilities offer 2 format modes, “Full” and “Quick.”
A clue to which is implemented is the time used for formatting, eg 10GB should take well over 5 minutes to fully format, re-writing all the disk blocks. If you do a Quick format, then the partitioner just wipes the partition table pointers without re-writing the blocks, so this can take well less than 2 minutes. The time diff for very large partitions, eg 1TB would be dramatic. Of course, when data is left intact, it can potentially be readable.
Other methods I’ve used to ensure clean disk space short of zeroing is to
change the partition sizes slightly(typically 10MB)
different file format
Both the above guarantees “Quick” can’t be implemented.
On 2013-05-05 17:16, tsu2 wrote:
> I’ve seen this, not necessarily with Gparted (I’d have to look closer
> what Gparted offers)
>
> This is because many partitioners/formatting utilities offer 2 format
> modes, “Full” and “Quick.”
Yes, this is possible. I had a quick look at the man page of mkfs and
parted, but did not find the word “quick”.
–
Cheers / Saludos,
Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)
I do it as well, with the exception that I don’t like to change partitions size (I’m too paranoid, eveything has to work as they should, 230GB MUST mean 327680MB, not a single MB more/less).
What I find funny is that it re-used my files even with the following steps:
Delete current partitions
Create 3 or 4 new partitions with random sizes and random file systems (ext2, NTFS, FAT32)
Delete all partitions again
Wipe the partition table
Create the partitions I use (they ARE formatted, for what gparted reports), then reboot
Install Ubuntu and mark “format” to the new partitions (this step creates new partitions and format them)
Even with those, my files are re-used. The only solution was to open the partitions with a LiveCD and delete everything on “/” and “/home”.