1 |
On Monday, 15 April 2019 17:03:43 BST Laurence Perkins wrote: |
2 |
> On Sun, 2019-04-07 at 12:09 -0400, james wrote: |
3 |
> > Hello, |
4 |
> > |
5 |
> > I have a windows pro 10, bargain HP laptop, with a 1 T mechanical |
6 |
> > internal drive. New. I'd like to make the system dual boot off of |
7 |
> > an external (USB3) SSD, that is exclusive for Gentoo. I have about |
8 |
> > 500M of person and /usr/local files on other gentoo systems that I'd |
9 |
> > like to DD over to the new drive. |
10 |
> > |
11 |
> > 1. I'm not sure what file system to use. I' like to use btrfs, but |
12 |
> > I'd need some sort of guide to set that up. |
13 |
> > |
14 |
> > OR |
15 |
> > |
16 |
> > 2. If I used ext-4 what should the formatting and partition table |
17 |
> > look |
18 |
> > like? Ideally, I'd like to put the 'gentoo on a partition to the |
19 |
> > native |
20 |
> > hard drive. and be able to put /usr/local and /projects only on the |
21 |
> > the new SSD external only, so I can move those mount point partitions |
22 |
> > to various gentoo systems. |
23 |
> > |
24 |
> > |
25 |
> > Perhaps I'll get (2) external SSDs and put gentoo on one, just for |
26 |
> > the |
27 |
> > HP laptop and the second one set up just for /usr/local and |
28 |
> > /projects. |
29 |
> > |
30 |
> > |
31 |
> > I'm just thinking out loud and ideas or discussions are welcome. I'm |
32 |
> > not |
33 |
> > the sharpest tack, when in comes to windows pro 10..... or complex |
34 |
> > file |
35 |
> > system setups. |
36 |
> > |
37 |
> > All my systems are AMD64, the new laptop is Rizen 5 2500-U |
38 |
> > |
39 |
> > |
40 |
> > James |
41 |
> |
42 |
> There are not really any differences to how you'd format an external |
43 |
> disk compared to an internal one on modern systems. If you want |
44 |
> different sections of the system on different drives you just set that |
45 |
> up in fstab so the system attaches everything to the proper places on |
46 |
> boot. Having your linux on a separate disk that you can disconnect |
47 |
> when using Windows has the advantage of avoiding Windows' propensity to |
48 |
> scribble all over things it really shouldn't be touching, like your |
49 |
> boot setup. |
50 |
> |
51 |
> Btrfs/ZFS have some advantages compared to more traditional |
52 |
> filesystems, but they are slower. It is handy to be able to just plug |
53 |
> in another drive and add it to the storage pool if you temporarily need |
54 |
> more space for some project though, and depending on what kind of data |
55 |
> you spend most of your time shuffling the built in compression option |
56 |
> can improve performance quite a bit. Ext4 on the other hand has a |
57 |
> longer track record and supports built-in encrpytion. So compare the |
58 |
> features and see which fits your use case better. Btrfs is pretty |
59 |
> stable at this point, I use it almost exclusively and haven't had it |
60 |
> eat any data in years, plus the data checksums have saved me from |
61 |
> corruption a few times when drives went marginal but didn't fail |
62 |
> outright, but you have to have it keeping multiple copies for that to |
63 |
> work (Raid or dup.) |
64 |
> |
65 |
> LMP |
66 |
|
67 |
Some additional comments to consider for your new Gentoo installation. |
68 |
|
69 |
1TB left to MS Windows is probably a major waste of space, unless you use the |
70 |
OS on a regular basis and store a lot of data on its main partition. |
71 |
Therefore you may want to create a backup of the complete MSWindows drive and |
72 |
then shrink it down to create space for Gentoo: |
73 |
|
74 |
a) Disable the Windows 10 page file to get rid of pagefile.sys.[1] |
75 |
b) Disable hibernation by running 'powercfg -h off' in cmd.exe to get rid of |
76 |
hyberfil.sys. |
77 |
c) Temporarily disable automatic Windows Updates and restart. |
78 |
d) Defrag its main partition.[2] |
79 |
d) Shrink its main partition to say 100GB or more[3], depending how much of it |
80 |
you want to use in the future - it always increases in size with updates over |
81 |
the years and additional applications. Note, the built in partition manager |
82 |
won't shrink the partition by more than 50% of its original size, you may have |
83 |
to use a 3rd party MSWindows tool, or a LiveCD/USB like gparted to get a |
84 |
better result. |
85 |
e) Restart to make sure all works as intended, then shutdown completely.[4] |
86 |
f) Boot with Live gentoo or sysrescuecd to partition the rest of the drive and |
87 |
install your Gentoo OS. |
88 |
e) Installing GRUB will take care of dual booting both OS' and is definitely |
89 |
simpler than chainloading Gentoo from MSWindows after you edit the latter's |
90 |
boot options with Bcdedit. |
91 |
f) Re-enable Windows Updates and page file. |
92 |
|
93 |
There's nothing wrong with running Gentoo off a USB drive if this is what you |
94 |
want to do, but the performance of a SATA III ought to be better than a USB 3 |
95 |
in most cases. Perhaps an e-SATA would be a better option for a separate |
96 |
external drive, as long as your various hardware have eSATA ports. |
97 |
|
98 |
|
99 |
[1] https://www.howto-connect.com/tweak-paging-file-for-better-windows-10-performance/ |
100 |
|
101 |
[2] https://support.microsoft.com/en-us/help/4026701/windows-defragment-your-windows-10-pc |
102 |
|
103 |
[3] https://win10faq.com/shrink-partition-windows-10/ |
104 |
|
105 |
[4] https://www.howtogeek.com/349114/shutting-down-doesnt-fully-shut-down-windows-10-but-restarting-it-does/ |
106 |
|
107 |
-- |
108 |
Regards, |
109 |
Mick |