Ask Your Question
0

Switching to fedora.

asked 2015-04-06 11:36:32 -0500

Hi there,i have frequently tried to install various OSs (windows 8.1,Ubuntu,fedora,linux mint) as a result,Each time i had to erase all my data on hard-disk. Now, I am completely switching to fedora ,so I want to completely wipe out my hard drive once again and install fedora in it. My questions are 1) is it true that by frequently changing OSs ,the efficiency of hard disk is affected? 2)during installation process, If i select 'Erase everything and install fedora' will it completely format my hard-drive.?and my hard drive gets former efficiency? Or is there any other option to comptely wipe out hard disk?

Thanks in advance :-)

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
1

answered 2015-04-06 16:02:37 -0500

aeperezt gravatar image

updated 2015-04-06 16:03:04 -0500

Well have never hear of hard drive efficiency issues by removing the OS frequently on worse case it may affect the time of live of the drive. But do not think so, drives are made to write and read.

Yes if you choose remove existing data on drive it will remove everything. Not sure about more efficiency.

edit flag offensive delete link more

Comments

Thanks for your answer. :-)

Sumit Jogalekar gravatar imageSumit Jogalekar ( 2015-04-07 00:46:16 -0500 )edit
1

answered 2015-04-06 16:20:39 -0500

x0rzz0r gravatar image

When talking about drive - do you mean an SSD or a HDD(aka. magnetic drive). If it's a HDD then the efficiency will not be affected regardless of what you've done so far. The act of installing OS's is basically just reformating the drive(rewriting it's partition table be it GPT or MBR one which is in the beginning of the disk) and copying various files to the new partitions. If done thousand of times maybe you could get bad sectors in the place where your partition information is stored. But I've yet to heard of something like this actually happening.

Now if your drive is an SSD => it works by marking some parts of it(blocks) as used and unused. So basically the drive needs to know which parts of it are you using. So when you delete something - you have to notify your drive that those blocks are free(this is called discarding). But if you format your drive => the erased information by the format(or more correctly - the information that is no longer indexed and will get overwritten in time) will not be discarded. Hence if for example your SSD was almost 99% full before a format => after it, it will not know about the format, hence it will still think that it's 99% full. And SSD's are sensitive to not having free space. They need that to rearange blocks and to perform faster.

So my practical advice => when reformating an SSD, after installing fedora => enable trim/discard on all partitions(if using LVM, you have to modify the lvm config as well, if using encryption that will require additional steps too), and also do a fstrim for each and everyone of them once. Ex. fstrim /, fstrim /home and so on. Fstrim discards a whole mounted partition => it tells the SSD which parts of it you are not using.

You can also blkdiscard a whole partition - that process will basically destroy the partition, freeing all the blocks that it holds. So if you don't want to bother with fstrim => just blkdiscard your whole drive before installing fedora. Ex. blkdiscard /dev/sda(or whatever your disk is called).

edit flag offensive delete link more

Comments

Thanks a lot. Btw, I'm using HDD. Thanks for your advice.Now I got the hope that i can experiment with my own laptop as many times as i want..

Sumit Jogalekar gravatar imageSumit Jogalekar ( 2015-04-07 00:31:39 -0500 )edit

Hi Sumit Jogalekar, if you have got the answer for your question, please choose the best answer by clicking the tick mark near the answer.

If you would like to appreciate a user for their answer, you may do so by up voting their question/answer.

deadrat gravatar imagedeadrat ( 2015-04-07 14:19:11 -0500 )edit
1

answered 2015-04-06 15:59:23 -0500

masteroman gravatar image

Hi,

AFAIK efficiency of HDDs should not be affected. And yes, you're right, if you select 'Erase everything and install fedora' option your hard-drive will be completely formated. I'm not sure what do you mean by "gets former efficiency"? You have some problems with your hard-drive?

edit flag offensive delete link more

Comments

Thanks for your answer. Nope,I don't have any problem with my HDD. When i asked this question, I assumed that my HDD is really affected, So i included "former efficiency" .

It is nice to see community support :-) . I hope I will never run into a problem that has no solution. :-)

Sumit Jogalekar gravatar imageSumit Jogalekar ( 2015-04-07 00:45:19 -0500 )edit

Every problem has solution ;-)

masteroman gravatar imagemasteroman ( 2015-04-07 10:48:56 -0500 )edit

Hi @Sumit-Jogalekar , If you think, you have recieved the answer for your question, please pick the best answer according to you and mark that answer as correct by clicking the the tick mark near the answer. You can thank the users who answered your question by upvoting their answers.

deadrat gravatar imagedeadrat ( 2015-04-21 00:16:32 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2015-04-06 11:33:34 -0500

Seen: 249 times

Last updated: Apr 06 '15