Jump to content

preparing a fresh installation of linux: dd-command revisited


Maze

Recommended Posts

hello dear linux-experts

preparing a fresh installation: dd-revisited  - so i want to do the best to prepare an installation.


i am just in front of a fresh install of opensuselinux 42 Leap.

note: i want to do a very fresh install on a notebook that currently runs under opensuse 13.2



my hd has got 500 gb

which partition-table should i use:


i would like to run the dd-command before i will do the installation - do you think this is clever!?



This command will overwrite the drive with

 


 zeroesdd if=/dev/zero of=/dev/sda bs=4k conv=notrunc



I just want to make sure my drive is really zeroed out!!
 

dd if=/dev/sda | hexdump -C | grep [^00]


what do you say!?

Which partition should i use!?

Link to comment
Share on other sites

hello dear scoostash

if i want to install a opensuse linux-system  - on the notebook with the following file system


 df -T

martin@linux-o61y:~> df -T
Dateisystem    Typ      1K-Blöcke Benutzt Verfügbar Verw% Eingehängt auf
/dev/sda6      ext4      41152576 5932992  34154628   15% /
devtmpfs       devtmpfs   2001824       0   2001824    0% /dev
tmpfs          tmpfs      2005896    2484   2003412    1% /dev/shm
tmpfs          tmpfs      2005896    2104   2003792    1% /run
tmpfs          tmpfs      2005896       0   2005896    0% /sys/fs/cgroup
/dev/sda7      ext4     421122648 5372380 414877944    2% /home
martin@linux-o61y:~>

well - you suggest  to stay with the system..

if i want to do a fresh installation - should i  not erase all with a dd-command.

 

i think that i can stay with the above mentioned code

 

BTW - which patition would you create!?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.