Gentoo Archives: gentoo-user

From: Dale <dalek1967@×××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] A few questions on trying to install
Date: Mon, 21 Jul 2008 09:19:54
Message-Id: 488454B4.7030902@bellsouth.net
In Reply to: Re: [gentoo-user] A few questions on trying to install by Dirk Heinrichs
1 Dirk Heinrichs wrote:
2 > Alan E. Davis schrieb:
3 >
4 >
5 >> Now, however, I've tried three or four times to install on an existing
6 >> partition. Grub will not install over the ubuntu grub, or else
7 >> something else is crazy.
8 >>
9 >
10 > Why do you do this at all? Grub is already in your MBR, so why bother
11 > with it again?
12 >
13 >
14 >> May I ask a few questions?
15 >>
16 >> - Live CD only installs over a clean partition. How can I resume
17 >> an installation?
18 >>
19 >
20 > Boot the CD again, perform the steps to mount your already created
21 > filesystems (incl. bind-mount of /proc and/dev, enter chroot and start
22 > with (or after) the last step you finished before.
23 >
24 >
25 >> - I only have a unsupported atheros wifi card for connection. I've
26 >> been using it for years. No easy way to connect by wire. Any ideas?
27 >>
28 >
29 > On x86 they're supported by madwifi, isn't this true for amd64?
30 >
31 >
32 >> - I have an 80GB fast SATA drive and three slower 7000 RPM drives.
33 >> What partitions are best kept on the fast drive to maximize
34 >> performance (I have basically an all purpose workstation).
35 >>
36 >
37 > I don't think you'll see much difference. However, with a setup like
38 > this, I would look into using LVM or EVMS logical volumes eventually
39 > combined with a software RAID5 over the three slower discs (in case
40 > they're equal in size.
41 >
42 > My /home
43 >
44 >> will be about 100GB: is it wiser to split it up into a smaller core
45 >> /home with several slower archive and storage partitions (Library,
46 >> Project archives, Videos, Music)?
47 >>
48 >
49 > I usually use one LV for each user's ~ (/home/johndoe, not /home). This
50 > way, I can increase size for each user individually w/o having to setup
51 > quota. I can even use different filesystems depending on users needs
52 > (i.e. large media files are best kept on XFS). In addition, I can also
53 > setup kernel automounter (autofs), so that they're only mounted when the
54 > user is really logged in.
55 >
56 >
57 >> - Advice about UUIDs? I lost a partition (a large one) over a
58 >> misidentification of a partition when the Ubuntu scheme started
59 >> swapping around names of devices. Old /dev/hda became /dev/sda and
60 >> old /dev/sda became /dev/sdb. What a mess that turned out to be.
61 >>
62 >
63 > This can't happen with logical volumes, because they get a unique name
64 > of the form /dev/<volume group>/<volume>.
65 >
66 > Here's my setup:
67 >
68 > sda1: /boot (~64M, ext2)
69 >
70 > If you don't want to use an initramfs:
71 >
72 > sda2: / (256M, xfs)
73 > sda3: LVM (to end of disc, no fs)
74 >
75 > If you use an initramfs:
76 >
77 > sda2: LVM (to end of disc, no fs)
78 >
79 > Then create LVs for everything else:
80 >
81 > /usr: /dev/vg-machinename/usr (3G, xfs)
82 > /var: /dev/vg-machinename/var (1G, xfs)
83 > /opt: /dev/vg-machinename/opt (1G, xfs)
84 > /home/user1: /dev/vg-machinename/user1 (1G, xfs)
85 > /home/user2: /dev/vg-machinename/user2 (1G, xfs)
86 > swap (if needed): /dev/vg-machinename/swap (twice the RAM)
87 >
88 > Some Gentoo related volumes:
89 > /gentoo/distfiles: /dev/vg-machinename/distfiles (2G, xfs)
90 > /gentoo/build: /dev/vg-machinename/build (2G, xfs)
91 > /gentoo/overlays: /dev/vg-machinename/overlays (1G, xfs) (portage tree goes
92 > into /gentoo/overlays/portage)
93 >
94 > However, in your case, I'd use the 80G disc as a system disc with one volume
95 > group (system-<machinename>) and setup the three slower drives as either RAID
96 > 5 or JBOD, containing a second VG (data-<machinename>), where the first hosts
97 > /boot, /, /usr, /var, /opt, swap and the /gentoo volumes, while the seconds
98 > hosts all the /home volumes and additional data volumes (/data/music,
99 > /data/photos, ...) which are shared by several users.
100 >
101 > HTH...
102 >
103 > Dirk
104 >
105 >
106 >
107
108 Just to add something from experience, if you plan to use XFS, make sure
109 you have a UPS. XFS, at least in my experience, does not like power
110 failures.
111
112 Dale
113
114 :-) :-)

Replies

Subject Author
Re: [gentoo-user] A few questions on trying to install Dirk Heinrichs <dirk.heinrichs@××××××.de>