1 |
On 15 August 2017 05:32:48 GMT+02:00, symack <symack@×××××.com> wrote: |
2 |
>Hello Everyone, |
3 |
> |
4 |
>New installation on an older x346 system that has a HW raid |
5 |
>serveraid7k. I |
6 |
>have the appropriate kernel driver compiled `aic79xx`. |
7 |
> |
8 |
>lscpi: |
9 |
> |
10 |
>00:00.0 Host bridge: Intel Corporation E7520 Memory Controller Hub (rev |
11 |
>0c) |
12 |
>00:00.1 Unassigned class [ff00]: Intel Corporation E7525/E7520 Error |
13 |
>Reporting Registers (rev 0c) |
14 |
>00:02.0 PCI bridge: Intel Corporation E7525/E7520/E7320 PCI Express |
15 |
>Port A |
16 |
>(rev 0c) |
17 |
>00:04.0 PCI bridge: Intel Corporation E7525/E7520 PCI Express Port B |
18 |
>(rev |
19 |
>0c) |
20 |
>00:05.0 PCI bridge: Intel Corporation E7520 PCI Express Port B1 (rev |
21 |
>0c) |
22 |
>00:06.0 PCI bridge: Intel Corporation E7520 PCI Express Port C (rev 0c) |
23 |
>00:08.0 System peripheral: Intel Corporation E7525/E7520/E7320 Extended |
24 |
>Configuration Registers (rev 0c) |
25 |
>00:1d.0 USB controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB |
26 |
>UHCI |
27 |
>Controller #1 (rev 02) |
28 |
>00:1d.1 USB controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB |
29 |
>UHCI |
30 |
>Controller #2 (rev 02) |
31 |
>00:1d.7 USB controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 |
32 |
>EHCI |
33 |
>Controller (rev 02) |
34 |
>00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2) |
35 |
>00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC |
36 |
>Interface |
37 |
>Bridge (rev 02) |
38 |
>00:1f.1 IDE interface: Intel Corporation 82801EB/ER (ICH5/ICH5R) IDE |
39 |
>Controller (rev 02) |
40 |
>00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus |
41 |
>Controller |
42 |
>(rev 02) |
43 |
>01:06.0 VGA compatible controller: Advanced Micro Devices, Inc. |
44 |
>[AMD/ATI] |
45 |
>RV100 [Radeon 7000 / Radeon VE] |
46 |
>02:00.0 PCI bridge: Intel Corporation 6700PXH PCI Express-to-PCI Bridge |
47 |
>A |
48 |
>(rev 09) |
49 |
>02:00.2 PCI bridge: Intel Corporation 6700PXH PCI Express-to-PCI Bridge |
50 |
>B |
51 |
>(rev 09) |
52 |
>03:03.0 Network controller: MYRICOM Inc. Myrinet 2000 Scalable Cluster |
53 |
>Interconnect (rev 06) |
54 |
>05:00.0 Ethernet controller: Broadcom Limited NetXtreme BCM5721 Gigabit |
55 |
>Ethernet PCI Express (rev 11) |
56 |
>06:00.0 Ethernet controller: Broadcom Limited NetXtreme BCM5721 Gigabit |
57 |
>Ethernet PCI Express (rev 11) |
58 |
>07:00.0 PCI bridge: Intel Corporation 80332 [Dobson] I/O processor |
59 |
>(A-Segment Bridge) (rev 07) |
60 |
>07:00.2 PCI bridge: Intel Corporation 80332 [Dobson] I/O processor |
61 |
>(B-Segment Bridge) (rev 07) |
62 |
>08:0e.0 RAID bus controller: Adaptec ServeRAID Controller (rev 07) |
63 |
> |
64 |
> |
65 |
> |
66 |
>emerge --info |
67 |
> |
68 |
> |
69 |
>Portage 2.3.6 (python 3.4.5-final-0, hardened/linux/amd64, gcc-5.4.0, |
70 |
>glibc-2.23-r4, 4.8.17-hardened-r2 x86_64) |
71 |
>================================================================= |
72 |
>System uname: |
73 |
>Linux-4.8.17-hardened-r2-x86_64-Intel-R-_Xeon-TM-_CPU_3.60GHz-with-gentoo-2.3 |
74 |
>KiB Mem: 8061620 total, 6539044 free |
75 |
>KiB Swap: 0 total, 0 free |
76 |
>Timestamp of repository gentoo: Mon, 07 Aug 2017 15:30:01 +0000 |
77 |
>sh bash 4.3_p48-r1 |
78 |
>ld GNU ld (Gentoo 2.28 p1.2) 2.28 |
79 |
>app-shells/bash: 4.3_p48-r1::gentoo |
80 |
>dev-lang/perl: 5.24.1-r2::gentoo |
81 |
>dev-lang/python: 2.7.12::gentoo, 3.4.5::gentoo |
82 |
>dev-util/pkgconfig: 0.28-r2::gentoo |
83 |
>sys-apps/baselayout: 2.3::gentoo |
84 |
>sys-apps/openrc: 0.28::gentoo |
85 |
>sys-apps/sandbox: 2.10-r3::gentoo |
86 |
>sys-devel/autoconf: 2.69::gentoo |
87 |
>sys-devel/automake: 1.15-r2::gentoo |
88 |
>sys-devel/binutils: 2.28-r2::gentoo |
89 |
>sys-devel/gcc: 5.4.0-r3::gentoo |
90 |
>sys-devel/gcc-config: 1.7.3::gentoo |
91 |
>sys-devel/libtool: 2.4.6-r3::gentoo |
92 |
>sys-devel/make: 4.2.1::gentoo |
93 |
>sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers) |
94 |
>sys-libs/glibc: 2.23-r4::gentoo |
95 |
>Repositories: |
96 |
> |
97 |
>gentoo |
98 |
> location: /usr/portage |
99 |
> sync-type: rsync |
100 |
> sync-uri: rsync://rsync.gentoo.org/gentoo-portage |
101 |
> priority: -1000 |
102 |
> |
103 |
>ACCEPT_KEYWORDS="amd64" |
104 |
>ACCEPT_LICENSE="* -@EULA" |
105 |
>CBUILD="x86_64-pc-linux-gnu" |
106 |
>CFLAGS="-march=core2 -msse4.1 -msse4.2 -mtune=generic -O2 -pipe" |
107 |
>CHOST="x86_64-pc-linux-gnu" |
108 |
>CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc |
109 |
>/usr/share/gnupg/qualified.txt" |
110 |
>CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf |
111 |
>/etc/gentoo-release /etc/sandbox.d /etc/terminfo" |
112 |
>CXXFLAGS="-march=core2 -msse4.1 -msse4.2 -mtune=generic -O2 -pipe" |
113 |
>DISTDIR="/usr/portage/distfiles" |
114 |
>FCFLAGS="-O2 -pipe" |
115 |
>FEATURES="assume-digests binpkg-logs config-protect-if-modified |
116 |
>distlocks |
117 |
>ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs |
118 |
>protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs |
119 |
>unmerge-orphans userfetch userpriv usersandbox usersync xattr" |
120 |
>FFLAGS="-O2 -pipe" |
121 |
>GENTOO_MIRRORS="http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ |
122 |
>ftp://mirror.csclub.uwaterloo.ca/gentoo-distfiles/" |
123 |
>LANG="en_US.utf8" |
124 |
>LDFLAGS="-Wl,-O1 -Wl,--as-needed" |
125 |
>MAKEOPTS="-j2" |
126 |
>PKGDIR="/usr/portage/packages" |
127 |
>PORTAGE_CONFIGROOT="/" |
128 |
>PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times |
129 |
>--omit-dir-times --compress --force --whole-file --delete --stats |
130 |
>--human-readable --timeout=180 --exclude=/distfiles --exclude=/local |
131 |
>--exclude=/packages --exclude=/.git" |
132 |
>PORTAGE_TMPDIR="/var/tmp" |
133 |
>USE="acl amd64 berkdb bindist bzip2 cli cracklib crypt cxx dri gdbm |
134 |
>hardened iconv ipv6 justify modules multilib ncurses nls nptl openmp |
135 |
>pam |
136 |
>pax_kernel pcre pie readline seccomp session ssl ssp tcpd unicode |
137 |
>urandom |
138 |
>xattr xtpax zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp |
139 |
>atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 |
140 |
>fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx |
141 |
>via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core |
142 |
>socache_shmcb |
143 |
>unixd actions alias auth_basic authn_alias authn_anon authn_dbm |
144 |
>authn_default authn_file authz_dbm authz_default authz_groupfile |
145 |
>authz_host |
146 |
>authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock |
147 |
>deflate |
148 |
>dir disk_cache env expires ext_filter file_cache filter headers include |
149 |
>info log_config logio mem_cache mime mime_magic negotiation rewrite |
150 |
>setenvif speling status unique_id userdir usertrack vhost_alias" |
151 |
>CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita |
152 |
>karbon |
153 |
>braindump author" COLLECTD_PLUGINS="df interface irq load memory |
154 |
>rrdtool |
155 |
>swap syslog" CPU_FLAGS_X86="mmx sse sse2" ELIBC="glibc" |
156 |
>GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt |
157 |
>gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle |
158 |
>oncore |
159 |
>rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt |
160 |
>ublox |
161 |
>ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" |
162 |
>LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb |
163 |
>ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console |
164 |
>presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" |
165 |
>PHP_TARGETS="php5-6" POSTGRES_TARGETS="postgres9_5" |
166 |
>PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" |
167 |
>RUBY_TARGETS="ruby21 ruby22" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev |
168 |
>intel |
169 |
>nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd |
170 |
>pknock |
171 |
>lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee |
172 |
>tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" |
173 |
>Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, |
174 |
>LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, |
175 |
>PORTAGE_COMPRESS_FLAGS, |
176 |
>PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON |
177 |
> |
178 |
> |
179 |
> |
180 |
>When I try to mount the partitions outside of chroot everything mounts |
181 |
>fine. Within chroot, I get a "permission denied" when trying to mount. |
182 |
>I am |
183 |
>kind of stuck because when trying to install grub, I am getting: |
184 |
> |
185 |
>grub-install /dev/sda |
186 |
>Installing for i386-pc platform. |
187 |
>grub-install: warning: disk does not exist, so falling back to |
188 |
>partition |
189 |
>device /dev/sda4. |
190 |
>grub-install: warning: disk does not exist, so falling back to |
191 |
>partition |
192 |
>device /dev/sda4. |
193 |
>grub-install: warning: disk does not exist, so falling back to |
194 |
>partition |
195 |
>device /dev/sda4. |
196 |
>grub-install: error: disk `hostdisk//dev/sda4' not found. |
197 |
> |
198 |
> |
199 |
>Your help is greatly appreciated. |
200 |
> |
201 |
>Mike |
202 |
|
203 |
Inside a chroot, mount isn't supposed to work. |
204 |
|
205 |
Mount the boot partition into the chroot path from outside the chroot: |
206 |
# mount /dev/.... /mnt/gentoo/boot |
207 |
|
208 |
Then inside the chroot, grub install should work. |
209 |
|
210 |
-- |
211 |
Joost |
212 |
-- |
213 |
Sent from my Android device with K-9 Mail. Please excuse my brevity. |