Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
no network installation
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
rekonrad
Apprentice
Apprentice


Joined: 01 Jun 2003
Posts: 201
Location: Winnipeg, MB

PostPosted: Fri Jun 05, 2015 6:02 pm    Post subject: no network installation Reply with quote

Im returned after quite a few years and looking forward having again a new gentoo system! My issue is that I cannot install with a wired internet connection and the minimal CD does not have my wireless driver. So I am asking if I can continue with the minimal installation (im more used to this than the live cd)and use along side it the live DVD. I'm assuming that I will then have access to all the files that would normally be downloaded through the usual installation. The next question would be, when it comes time for me to emerge certain packages such as the kernel, how do I access those packages from the DVD? What would be the command I should use?

Also I have Linux Mint and Windows 8 installed and I don't want to mess up any of these installations. I thought I would create the /boot partition on a pen drive then install grub there. Is this recommended? Thanks! (also there is no more room for that extra partition on my hard drive)
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2576

PostPosted: Fri Jun 05, 2015 6:05 pm    Post subject: Reply with quote

Use the system rescue CD. Identical instillation tools with good WIFI support.

EDIT: Or better yet, use your Mint install. If you are not messing with it there is no reason you can't use it to install Gentoo.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
rekonrad
Apprentice
Apprentice


Joined: 01 Jun 2003
Posts: 201
Location: Winnipeg, MB

PostPosted: Fri Jun 05, 2015 6:10 pm    Post subject: mint install Reply with quote

Thanks for the quick response! I will look into the rescue CD. Mint install for gentoo? I have been away for awhile! Could you point me to a link so this can be explained?

Richard
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2576

PostPosted: Fri Jun 05, 2015 6:18 pm    Post subject: Reply with quote

Just take a quick look here then install as normal.

The Handbook will work from any Linux environment, including Mint. All you need is a few core utilities (tar, cp, chroot, etc.) and just about every Linux distro has these. You may need to install chroot in Mint first if it doesn't include it.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
cwr
Veteran
Veteran


Joined: 17 Dec 2005
Posts: 1969

PostPosted: Sun Jun 07, 2015 12:29 pm    Post subject: Reply with quote

If you are already booting Mint, and want to keep it, the easiest way is to install Gentoo
from Mint and add the Gentoo kernel / root file system to the Mint grub menu.

I use the original Grub, so it's just a question of editing grub.conf, but if you are using
Grub 2 (and I think Mint does) then you need to ask here how to add your new Gentoo
installation.

Will
Back to top
View user's profile Send private message
rekonrad
Apprentice
Apprentice


Joined: 01 Jun 2003
Posts: 201
Location: Winnipeg, MB

PostPosted: Mon Jun 08, 2015 5:37 pm    Post subject: installation Reply with quote

Thanks for all your helpful replies. I don't have time to do the installation at the moment but will reply back if I have any questions. My computer is setup for family and I don't want to mess it up. So to be safe (I have made installation mistakes with Gentoo in the past....), I thought I would install grub on a pen drive which also contains my /boot partition. That way gentoo would be., for the time being, truly separate from Mint and Windows. Let me know if you think that is not wise.

Cheers

Richard
Back to top
View user's profile Send private message
cwr
Veteran
Veteran


Joined: 17 Dec 2005
Posts: 1969

PostPosted: Tue Jun 09, 2015 11:52 am    Post subject: Reply with quote

I'm pretty sure that if you are running Mint you already have Grub installed;
or can you somehow boot Mint directly from Windows?

Will
Back to top
View user's profile Send private message
rekonrad
Apprentice
Apprentice


Joined: 01 Jun 2003
Posts: 201
Location: Winnipeg, MB

PostPosted: Tue Jun 09, 2015 6:44 pm    Post subject: install from Mint Reply with quote

I decided to try installing Gentoo from Mint (not live cd but installed distro). All seemed to go fine until I tried to "emerge gentoo-sources". I got an error at "sys-devel/bc" Here is the print out:

Quote:
System uname: Linux-3.13.0-37-generic-x86_64-Intel-R-_Core-TM-_i3-4130_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem: 8114364 total, 4345616 free
KiB Swap: 8324092 total, 8324092 free
Timestamp of repository gentoo: Tue, 09 Jun 2015 18:00:01 +0000
sh bash 4.3_p33-r2
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash: 4.3_p33-r2::gentoo
dev-lang/perl: 5.20.2::gentoo
dev-lang/python: 2.7.9-r1::gentoo, 3.3.5-r1::gentoo
dev-util/pkgconfig: 0.28-r2::gentoo
sys-apps/baselayout: 2.2::gentoo
sys-apps/openrc: 0.13.11::gentoo
sys-apps/sandbox: 2.6-r1::gentoo
sys-devel/autoconf: 2.69::gentoo
sys-devel/automake: 1.14.1::gentoo
sys-devel/binutils: 2.24-r3::gentoo
sys-devel/gcc: 4.8.4::gentoo
sys-devel/gcc-config: 1.7.3::gentoo
sys-devel/libtool: 2.4.6::gentoo
sys-devel/make: 4.1-r1::gentoo
sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers)
sys-libs/glibc: 2.20-r2::gentoo
Repositories:

gentoo
location: /usr/portage
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7 -02 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=corei7 -02 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://mirror.csclub.uwaterloo.ca/gentoo-distfiles/"
LANG="en_CA.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-J3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="acl amd64 berkdb bindist bzip2 cli cracklib crypt cxx dri fortran gdbm iconv ipv6 mmx mmxext modules multilib ncurses nls nptl openmp pam pcre readline session sse sse2 ssl tcpd unicode zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="NVIDIA" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


I had assumed I put in the wrong values at CFLAGS. I googled as much time as I had. Thanks for any help!

Richard
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43221
Location: 56N 3W

PostPosted: Tue Jun 09, 2015 7:00 pm    Post subject: Reply with quote

rekonrad,

gentoo-sources requires sys-devel/bc, so portage will install that too, if you don't have it.
You didn't post the error. The information you did post will be useful though.

The failure message vill have comtained a line starting ...
The complete build log is located at .... please put that file on a pastebin site.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
rekonrad
Apprentice
Apprentice


Joined: 01 Jun 2003
Posts: 201
Location: Winnipeg, MB

PostPosted: Tue Jun 09, 2015 7:21 pm    Post subject: bc failure Reply with quote

Here is the output when the package failed:

Quote:
Please attach the following file when seeking support:
!!! /var/tmp/portage/sys-devel/bc-1.06.95/work/bc-1.06.95/config.log
econf failed
* ERROR: sys-devel/bc-1.06.95::gentoo failed (compile phase):
* (no error message)
*
* Call stack:
* ebuild.sh, line 93: Called src_compile
* environment, line 2236: Called die
* The specific snippet of code:
* econf ${myconf} || die;
*
* If you need support, post the output of `emerge --info '=sys-devel/bc-1.06.95::gentoo'`,
* the complete build log and the output of `emerge -pqv '=sys-devel/bc-1.06.95::gentoo'`.
* The complete build log is located at '/var/tmp/portage/sys-devel/bc-1.06.95/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-devel/bc-1.06.95/temp/environment'.
* Working directory: '/var/tmp/portage/sys-devel/bc-1.06.95/work/bc-1.06.95'
* S: '/var/tmp/portage/sys-devel/bc-1.06.95/work/bc-1.06.95'

>>> Failed to emerge sys-devel/bc-1.06.95, Log file:

>>> '/var/tmp/portage/sys-devel/bc-1.06.95/temp/build.log'

* Messages for package sys-devel/bc-1.06.95:

* ERROR: sys-devel/bc-1.06.95::gentoo failed (compile phase):
* (no error message)
*
* Call stack:
* ebuild.sh, line 93: Called src_compile
* environment, line 2236: Called die
* The specific snippet of code:
* econf ${myconf} || die;
*
* If you need support, post the output of `emerge --info '=sys-devel/bc-1.06.95::gentoo'`,
* the complete build log and the output of `emerge -pqv '=sys-devel/bc-1.06.95::gentoo'`.
* The complete build log is located at '/var/tmp/portage/sys-devel/bc-1.06.95/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-devel/bc-1.06.95/temp/environment'.
* Working directory: '/var/tmp/portage/sys-devel/bc-1.06.95/work/bc-1.06.95'
* S: '/var/tmp/portage/sys-devel/bc-1.06.95/work/bc-1.06.95'


I'm not sure what else I can include.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43221
Location: 56N 3W

PostPosted: Tue Jun 09, 2015 7:50 pm    Post subject: Reply with quote

rekonrad,

Code:
* ERROR: sys-devel/bc-1.06.95::gentoo failed (compile phase):
* (no error message)
is a bad sign.

Make friends with wgetpaste an put /var/tmp/portage/sys-devel/bc-1.06.95/temp/build.log on the web.
Post the URL here.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43221
Location: 56N 3W

PostPosted: Tue Jun 09, 2015 7:57 pm    Post subject: Reply with quote

rekonrad,

Heh
Code:
CFLAGS="-march=corei7 -02 -pipe"

You have numeral 0 - you need a letter Capital O.

-O2, not -02
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
rekonrad
Apprentice
Apprentice


Joined: 01 Jun 2003
Posts: 201
Location: Winnipeg, MB

PostPosted: Tue Jun 09, 2015 8:05 pm    Post subject: emerge error Reply with quote

LOL I made the same mistake on my first installation years ago - short memory.

Also I noticed different information online regarding my cflag entry for my processor which is Intel i3. Did i get it right? -march=core7
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43221
Location: 56N 3W

PostPosted: Tue Jun 09, 2015 9:27 pm    Post subject: Reply with quote

rekonrad,

Unless you want to use distcc you should use -march=native
gcc will work it out for itself.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
rekonrad
Apprentice
Apprentice


Joined: 01 Jun 2003
Posts: 201
Location: Winnipeg, MB

PostPosted: Tue Jun 09, 2015 11:04 pm    Post subject: emerge bc failure Reply with quote

Actually that didn't clear up the problem. I replaced the zero with uppercase O. Any other suggestions?
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7071

PostPosted: Wed Jun 10, 2015 3:15 am    Post subject: Re: emerge bc failure Reply with quote

rekonrad wrote:
Actually that didn't clear up the problem. I replaced the zero with uppercase O. Any other suggestions?

NeddySeagoon the wise and all mighty with known mystical powers beyond undertanding wrote:
Make friends with wgetpaste an put /var/tmp/portage/sys-devel/bc-1.06.95/temp/build.log on the web.

Dunno for you, but really i always listen to that guy...
Back to top
View user's profile Send private message
rekonrad
Apprentice
Apprentice


Joined: 01 Jun 2003
Posts: 201
Location: Winnipeg, MB

PostPosted: Wed Jun 10, 2015 4:44 pm    Post subject: bc compile fail Reply with quote

Sorry but I'm no longer chrooted into my system so no emerge wgetpaste for now. Here is the information you requested:

Quote:
 * Package: sys-devel/bc-1.06.95
 * Repository: gentoo
 * Maintainer: base-system@gentoo.org
 * USE: abi_x86_64 amd64 elibc_glibc kernel_linux readline userland_GNU
 * FEATURES: preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking bc-1.06.95.tar.bz2 to /var/tmp/portage/sys-devel/bc-1.06.95/work
>>> Source unpacked in /var/tmp/portage/sys-devel/bc-1.06.95/work
>>> Compiling source in /var/tmp/portage/sys-devel/bc-1.06.95/work/bc-1.06.95 ...
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --with-readline --without-libedit
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for bison... bison -y
checking for a BSD-compatible install... /usr/bin/install -c
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking whether make sets $(MAKE)... (cached) yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for unistd.h... (cached) yes
checking lib.h usability... no
checking lib.h presence... no
checking for lib.h... no
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking for ptrdiff_t... yes
checking for vprintf... yes
checking for _doprnt... no
checking for isgraph... yes
checking for setvbuf... yes
checking for fstat... yes
checking for strtol... yes
checking for tparm in -lncurses... yes
checking for readline in -lreadline... yes
checking readline/readline.h usability... yes
checking readline/readline.h presence... yes
checking for readline/readline.h... yes
Using the readline library.
Adding GCC specific compile flags.
configure: creating ./config.status
config.status: creating Makefile
config.status: creating bc/Makefile
config.status: creating dc/Makefile
config.status: creating doc/Makefile
config.status: creating doc/texi-ver.incl
config.status: creating lib/Makefile
config.status: creating config.h
config.status: executing depfiles commands
make -J3
make: invalid option -- 'J'
make: invalid option -- '3'
Usage: make [options] [target] ...
Options:
-b, -m Ignored for compatibility.
-B, --always-make Unconditionally make all targets.
-C DIRECTORY, --directory=DIRECTORY
Change to DIRECTORY before doing anything.
-d Print lots of debugging information.
--debug[=FLAGS] Print various types of debugging information.
-e, --environment-overrides
Environment variables override makefiles.
--eval=STRING Evaluate STRING as a makefile statement.
-f FILE, --file=FILE, --makefile=FILE
Read FILE as a makefile.
-h, --help Print this message and exit.
-i, --ignore-errors Ignore errors from recipes.
-I DIRECTORY, --include-dir=DIRECTORY
Search DIRECTORY for included makefiles.
-j [N], --jobs[=N] Allow N jobs at once; infinite jobs with no arg.
-k, --keep-going Keep going when some targets can't be made.
-l [N], --load-average[=N], --max-load[=N]
Don't start multiple jobs unless load is below N.
-L, --check-symlink-times Use the latest mtime between symlinks and target.
-n, --just-print, --dry-run, --recon
Don't actually run any recipe; just print them.
-o FILE, --old-file=FILE, --assume-old=FILE
Consider FILE to be very old and don't remake it.
-O[TYPE], --output-sync[=TYPE]
Synchronize output of parallel jobs by TYPE.
-p, --print-data-base Print make's internal database.
-q, --question Run no recipe; exit status says if up to date.
-r, --no-builtin-rules Disable the built-in implicit rules.
-R, --no-builtin-variables Disable the built-in variable settings.
-s, --silent, --quiet Don't echo recipes.
-S, --no-keep-going, --stop
Turns off -k.
-t, --touch Touch targets instead of remaking them.
--trace Print tracing information.
-v, --version Print the version number of make and exit.
-w, --print-directory Print the current directory.
--no-print-directory Turn off -w, even if it was turned on implicitly.
-W FILE, --what-if=FILE, --new-file=FILE, --assume-new=FILE
Consider FILE to be infinitely new.
--warn-undefined-variables Warn when an undefined variable is referenced.

This program built for x86_64-pc-linux-gnu
Report bugs to <bug-make@gnu.org>
emake failed
* ERROR: sys-devel/bc-1.06.95::gentoo failed (compile phase):
* (no error message)
*
* Call stack:
* ebuild.sh, line 93: Called src_compile
* environment, line 2231: Called die
* The specific snippet of code:
* emake || die
*
* If you need support, post the output of `emerge --info '=sys-devel/bc-1.06.95::gentoo'`,
* the complete build log and the output of `emerge -pqv '=sys-devel/bc-1.06.95::gentoo'`.
* The complete build log is located at '/var/tmp/portage/sys-devel/bc-1.06.95/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-devel/bc-1.06.95/temp/environment'.
* Working directory: '/var/tmp/portage/sys-devel/bc-1.06.95/work/bc-1.06.95'
* S: '/var/tmp/portage/sys-devel/bc-1.06.95/work/bc-1.06.95'


Thanks
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43221
Location: 56N 3W

PostPosted: Wed Jun 10, 2015 5:39 pm    Post subject: Reply with quote

rekonrad,

Code:
make -J3


Everything in your favour is agaist you today. -J3 <> -j3
The lowercase j is required.

make wrote:
-j [N], --jobs[=N] Allow N jobs at once; infinite jobs with no arg.

_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
rekonrad
Apprentice
Apprentice


Joined: 01 Jun 2003
Posts: 201
Location: Winnipeg, MB

PostPosted: Wed Jun 10, 2015 7:03 pm    Post subject: j3 Reply with quote

Thanks a lot! It worked.
Back to top
View user's profile Send private message
rekonrad
Apprentice
Apprentice


Joined: 01 Jun 2003
Posts: 201
Location: Winnipeg, MB

PostPosted: Wed Jun 10, 2015 10:51 pm    Post subject: new installation Reply with quote

Well, all has gone fairly well until I reached configuring the boot loader. I had earlier assigned the /boot directory to /dev/sdc which is a removable pen drive. Now I asked grub2 to be installed on that drive so when I boot up my computer and the pen drive is attached - voila - I get gentoo. I'm known infamously as a tinkerer in my household and known for breaking things that aren't broken:) So that's why I want this gentoo installation to be completely (for now anyway) separate from the grub install on my /dev/sda which contains Mint and Windows.

Anyway, it seems grub doesn't like to be installed on ext2. What are my options now? I was thinking I could reformat the drive to ext3 but then I'd have to extract stage 3 somewhere and copy the contents of /boot there also including the kernel information. But I'm thinking I've got to get the permissions right? Thanks for your help!

Richard
Back to top
View user's profile Send private message
cwr
Veteran
Veteran


Joined: 17 Dec 2005
Posts: 1969

PostPosted: Thu Jun 11, 2015 11:33 am    Post subject: Reply with quote

Grub (at least Grub original, and I can't see that Grub2 will be different) works fine on ext2.
There's no point in using a journalling file system for /boot.

You'll have to google as to how to install grub on a removable drive. I still think that adding
a Gentoo entry to your Mint grub.conf would be easier.

Will
Back to top
View user's profile Send private message
rekonrad
Apprentice
Apprentice


Joined: 01 Jun 2003
Posts: 201
Location: Winnipeg, MB

PostPosted: Thu Jun 11, 2015 3:44 pm    Post subject: grub and additional Reply with quote

Thanks for your help and support. I can't remember ever getting better support on any other distro.

I've done sudo update-grub on mint - pretty simple! One more thing - I've gone beyond the usual emerge recommendations according to the handbook. So I'm installing nvidia drivers etc via chroot. After that I thought I'd do firefox so that I have a X environment plus hopefully a successuful wireless conncection (I looked this up) when I reboot. This is ok?

Richard
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43221
Location: 56N 3W

PostPosted: Thu Jun 11, 2015 5:34 pm    Post subject: Reply with quote

rekonrad,

Heh, thats like switching on and tuning for maximum smoke. It works if everything is right.
if it doesn't work you have a huge problem space to search to find the issue.

Compiling like this is harmless, when it comes to putting the bits together Gentoo works best if you build on what you know works.

That means boot to the command line and test xorg - without the nVida driver. vesa will do nicely for testing.
Next, add your window manager of choice OR the nVidia driver but not both together.
Lastly add tho other one.

If you feel lucky and want to tune for maximum smoke, go ahead, your hardware will not be harmed.
When it fails, sympathy will be minimal and your helpers will be asking you to perform the steps I have just outlined.

Enjoy your Gentoo.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
rekonrad
Apprentice
Apprentice


Joined: 01 Jun 2003
Posts: 201
Location: Winnipeg, MB

PostPosted: Thu Jun 11, 2015 7:40 pm    Post subject: booting.... Reply with quote

Well I tried to boot from the new grub entry and got something like "unable to find /boot/[kernel]". I pressed "e" on the entry to see what was written in the grub file and I remember
Quote:
root=Hd0, msdos4

Sorry I'm going by memory because I'm not sure how to find the grub log on Mint. I did google and found the "dmesg" command though that has a ton of information and I'm not sure how much of it is relevant. To recap, I installed the boot partition for gentoo on my flash drive. fstab entries are good and I formatted the drive ext2. Gentoo is on /dev/sda4 and the flash drive is /dev/sdc. So what to do now....:(
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43221
Location: 56N 3W

PostPosted: Thu Jun 11, 2015 7:56 pm    Post subject: Reply with quote

rekonrad,

To boot from USB, you will need to tell your BIOS to do that. It will likely change your HHD discovery order too.

Often the USB will become /dev/sda regardless of what it was during the install and all the others move down one.
This is ugly to fix by conventional means.

Code:
root=Hd0, msdos4
is a hint to grub that your root filesystem is in the fourth partition on the first hard drive discovered by the BIOS.
We need to see the kernel line from grub, to know what you asked it to do.

There is no grub log as there is no writeable space until root has been mounted read/write. By that time, grub has long gone.

If you really really want to have /boot an USB and your other hard drives moving around you have three choices.
1. Mount root by filesystem UUID
2. Mount root by filesystem Label
3. Mount root by PARTUUID.
They all cope with things moving around. 1 and 2 require the use of an initrd as you need the userspace mount command to mount root. It you use a label, its your problem to ensure that
a) its unique
b) the filesystem type supports lables

3. does not require an initrd as the kernel can read PARTUUIDs for itself.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum