Re: dual boot Windows10 fedora28

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2 Jun 2018 20:03:59 +0200 (CEST)
"peterlesterhuis@xxxxxxxxxx" <peterlesterhuis@xxxxxxxxxx> wrote:

> Hi,
> I purchased an Asus laptop with 2 hard drives (SSD 256 GB and HDD 1
> TB). Windows10 was preinstalled on the SSD and the HDD drive is used
> for data. I wanted to install fedora alongside Windows. 
> So I shrinked the partition on the SSD drive (sdb)  and also the
> partition on the HDD drive (sda). I installed fedora on the new
> partition of the SDD drive. So far so good. I can boot into Windows
> as well as Fedora. Now I want to have /home, /usr/ and/ /tmp on the
> HDD drive, which I intend to use as data-drive. I created a
> mountpoint for the new partition of the HDD drive (sudo
> mkdir /mnt/sda2 and sudo mount /dev/sda2 /mnt/sda2). Now I am stuck.
> This is beyond my (limited) skills. How do I realize that /home, /usr
> and and /tmp wil be stored on the HDD? I need a step-by-step tutorial
> to proceed. Thanks in advance. Peter

I don't do this, so I'll just point you in the right direction.

First, don't use the drive id to mount partitions.  Run /usr/sbin/blkid
and use the UUID in /etc/fstab, in lines like this.

UUID=6fce1ad7-4382-4634-8a62-7ac8d707f5ff /mnt/s2b3               ext4    defaults        0 2

And you won't mount at /mnt/sda2, you'll mount at /home, /usr /tmp in
order to do what you want. You'll have to create those directories
under your new partition, and make sure they have the correct
parameters (the same as /usr and /home have under /).

Some caveats.

/tmp is a temporary directory in that it is created each boot.  Not sure
how well your separate mount point will play with that default behavior.

I vaguely recall that /usr is required to be on the same partition
as /, in order for the kernel to find it during boot.  This is because
everything is now under /usr (libraries, binaries, etc.)  If that is
true, a separate /usr won't fly.

Finally, these new partitions don't replace the existing partitions
under / (except for /tmp).  So all the space they are using will still
be used, unless you clean it up after your new partitions are in place.

Someone else here might be able to give you better instructions (and
correct any errors I've made).
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx/message/55QUAAO5ESAGWVCEPL4DAJUQV3PWWCUV/



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux