Dualboot drives

General support questions
Post Reply
NP77
Posts: 7
Joined: 2018/02/25 14:08:21

Dualboot drives

Post by NP77 » 2018/03/08 19:25:06

I recently created a dualboot system, windows 7 and centos 7.

When I boot in CentOs my Windows drives mount too, I dont want that. I want to keep the OS's separate. Cant I disable this somehow?

pjsr2
Posts: 342
Joined: 2014/03/27 20:11:07

Re: Dualboot drives

Post by pjsr2 » 2018/03/08 20:19:33

In the file /etc/fstab you will find an entry for each of your Windows partitions. Add noautoto the options field (4th field on the line).
The option defaults implies "auto". With the noauto option in place, the partitions will not be mounted automatically on boot or when "mount -a" is called, but you can still mount the drives manually if you feel the need.

Post Reply