B
B
Bagdich2018-02-21 12:29:53
linux
Bagdich, 2018-02-21 12:29:53

How to detach windows partitions from Linux?

Hello! I decided to study linux a little, perhaps in the future to switch to it, and chose the ubuntu distribution kit for this purpose. So, I put it next to Windows 7. And the question is that when I boot into linux, I see windows partitions on the left panel, namely, the 100mb partition is reserved by the system and the second is about 300GB (in my case, this is a disk C). How to unbind these partitions from linux? And then inadvertently you can delete some file from the 100MB partition and that's it, windows will not start. And I don’t need linux to be associated with windows, I want windows to not depend on linux, and linux on windows. How can I do that? And is it even worth it? And if it is possible, then how can I allow the detached partitions to be reattached if necessary?

Answer the question

In order to leave comments, you need to log in

6 answer(s)
V
Victor Taran, 2018-02-21
@Bagdich

vi /etc/fstab

P
pfg21, 2018-02-21
@pfg21

all file systems that are mounted into the operating system historically live in the /etc/fstab config file
(they made it smarter in systemd, but they do not fully support fstab)
during installation, linux found all partitions on available screws and entered them for mounting in fstab.
in order to prevent unnecessary partitions from being mounted when booting Linux, you need to comment out the appropriate lines in fstab.
option 2: set the noauto parameter in the parameters, then the partition will not be automatically mounted at boot, but will be available for manual mounting via the console command.

D
Dmitry, 2018-02-21
@Tabletko

man mount
man umount

C
CityCat4, 2018-02-21
@CityCat4

Windows will definitely not see Linux. Windows partitions, if suddenly a "friendly" bubunta mounted it automatically - unmount it and that's it.

F
fdroid, 2018-02-21
@fdroid

fstab

E
Edward Tibet, 2018-02-21
@eduardtibet

Topicstarter should BEFORE asking questions like this:
Point 1 - anyway.
Item 2 or 3 - choose according to the circumstances.
But the worst thing is point 2. You will feel the glands. For him, by the way, you can have a minimum configuration of 512 MB and 20 gigabytes of disk - for the eyes.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question