Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gentoo from knoppix
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
jwm224
Tux's lil' helper
Tux's lil' helper


Joined: 27 May 2015
Posts: 118
Location: Pennsylvania

PostPosted: Thu May 28, 2015 11:29 pm    Post subject: gentoo from knoppix Reply with quote

This is like day 4 of constant headaches... I couldn't establish a connection from the live linux cd. So I hear people doing this install from System Rescue and Knoppix. Great! I have both. I'm halfway through the install in Knoppix. But, I need to know... I hear of all these people doing this. How do you mount the file system of the minimal install cd? I mount the cd, in the chrooted environment, but the squashfs and img files are still intact. I used:

Code:
mount -o loop path/.iso /mnt/path


No such luck. And, I can't seem to find complete intact instructions on line that work.
Code:
emerge --ask sys-kernel/gentoo-sources

throws C compiler errors without the mounted file system.

I really want this to work.

Thanks, Jay
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10589
Location: Somewhere over Atlanta, Georgia

PostPosted: Thu May 28, 2015 11:58 pm    Post subject: Reply with quote

The best answer is that you don't. The standard Handbook install doesn't require that the Live CD filesystem be mounted inside the chroot. What installation guide are you following?

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
jwm224
Tux's lil' helper
Tux's lil' helper


Joined: 27 May 2015
Posts: 118
Location: Pennsylvania

PostPosted: Fri May 29, 2015 12:20 am    Post subject: Reply with quote

Code:
http://www.linurs.org/pdf/InstallGentooUsingKnoppix.pdf


I have my own custom guide. I copied and pasted with side notes as I read the guide from this site and watched tutorials on youtube, and I added to it as I did the virtualbox install to prepare for this.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Fri May 29, 2015 12:25 am    Post subject: Reply with quote

For your first install you should follow official Gentoo Installation Handbook.

There are Gentoo users who do their own custom installs and succeed. Looking at problems you are having you should refrain from custom installs for now.
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
jwm224
Tux's lil' helper
Tux's lil' helper


Joined: 27 May 2015
Posts: 118
Location: Pennsylvania

PostPosted: Fri May 29, 2015 1:41 am    Post subject: Reply with quote

I would do great if I had a connection.
Code:
00:09.0 Network controller: Broadcom Corporation BCM4318 [AirForce One 54g] 802.11g Wireless LAN Controller (rev02)

This is what I'm working with. From what I see, this pci card needs firmware of some sort and even then, there's complications. Any solution is a good solution right now.
The official guide only started becoming customized when it wasn't working right. If there's a way around the wifi, I'd love to hear it. I could pick up this old computer, monitor and keyboard in tote and drag it down stairs to the modem and plug in, but I don't want to work downstairs for 4 hours, let alone move this dinosaur.
Back to top
View user's profile Send private message
John R. Graham
Administrator
Administrator


Joined: 08 Mar 2005
Posts: 10589
Location: Somewhere over Atlanta, Georgia

PostPosted: Fri May 29, 2015 3:27 pm    Post subject: Reply with quote

So does neither Knoppix nor SystemRescueCd give you a working network connection when initially booted (but after running the network setup scripts, of course)?

- John
_________________
I can confirm that I have received between 0 and 499 National Security Letters.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Fri May 29, 2015 7:26 pm    Post subject: Reply with quote

jwm224,

If you use some randomCD to install Gentoo you do not use the liveCD at all. The liveCD only provides a few tools that randomCD will provide too.
You do need the install media to support your network of choice unless you are prepared to use Sneakernet to get started.

That would be easy for you as you could lift all of /usr/portage out of your VirtualBox install and put it into /usr/portage on your new install.
You will also need the firmware for your BCM4318.
_________________
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
jwm224
Tux's lil' helper
Tux's lil' helper


Joined: 27 May 2015
Posts: 118
Location: Pennsylvania

PostPosted: Sat May 30, 2015 2:39 pm    Post subject: Reply with quote

I started the install with the live cd, after trying every go at the network connection. I restarted everything in knoppix. I chrooted back into the environment. The reason that
Code:
 emerge --ask sys-kernel/gentoo-sources
wasn't working is because of the settings in make.conf. I switched over to a safer setting.
Code:
CFLAGS="-march=native"

Although, it seems to be taking forever. At the same time, that my desktop is being installed, I'm running a similar install on my laptop, usuing qemu from debian, and the same cflags setting. I started:
Code:
genkernel all
last night on both at the same time. And, the laptop just finished about 15 minutes ago. But, it ran from about 11pm last night till about 10:15am this morning. And, my desktop is still running.
Do I need to tweak the cflags in the make.conf file, so things compile faster. Is that's what's happening?

Desktop:

    Asus K8S-LA motherboard
    AMD Sempon 3000+ i686 1808.112MHz
    1024 Gb DDR 400Mhz PC3200
    sata 74.4Gb wd caviar


Thanks, Jay
Back to top
View user's profile Send private message
jwm224
Tux's lil' helper
Tux's lil' helper


Joined: 27 May 2015
Posts: 118
Location: Pennsylvania

PostPosted: Sat May 30, 2015 9:58 pm    Post subject: Reply with quote

(solved) It was the cflags.

Knoppix is going good as a mediator. Just adding the grub now.
Back to top
View user's profile Send private message
davidm
Guru
Guru


Joined: 26 Apr 2009
Posts: 557
Location: US

PostPosted: Sat May 30, 2015 11:07 pm    Post subject: Reply with quote

That's the downside of genkernel. Especially on older hardware. It takes forever to compile. I'd recommend doing a custom kernel next time. It might take some hacking to get the right drivers and options but you tend to get a lot of help with that from folks on the forums. :) Then after you do it once or twice it becomes very easy and saves you lots of compile time in the future.
Back to top
View user's profile Send private message
jwm224
Tux's lil' helper
Tux's lil' helper


Joined: 27 May 2015
Posts: 118
Location: Pennsylvania

PostPosted: Sun May 31, 2015 5:04 am    Post subject: Reply with quote

Sounds like a plan. My obsession with figuring things out will eventually land me in that chair, I'm sure.
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2678

PostPosted: Sun May 31, 2015 7:05 am    Post subject: Reply with quote

A custom kernel is actually about half an hour worth of reading and building, if you are following good documentation that is. http://kernel-seeds.org/ has the best how to so you don't need to spend a month reading the man pages to do 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
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sun May 31, 2015 10:17 am    Post subject: Reply with quote

jwm224,

This 10 year old post is sill valid today.
As The Doctor pointed out, Pappy said it better than me.
_________________
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
jwm224
Tux's lil' helper
Tux's lil' helper


Joined: 27 May 2015
Posts: 118
Location: Pennsylvania

PostPosted: Mon Jun 01, 2015 1:12 am    Post subject: Reply with quote

I book marked them both for operation overload.
Back to top
View user's profile Send private message
davidm
Guru
Guru


Joined: 26 Apr 2009
Posts: 557
Location: US

PostPosted: Mon Jun 01, 2015 2:36 am    Post subject: Reply with quote

jwm224 wrote:
Sounds like a plan. My obsession with figuring things out will eventually land me in that chair, I'm sure.


Yes, it sounds harder than it really is. And since you already have a working genkernel you can just use that as a backup should your attempt go wrong. Simply keep it listed in grub while trying to figure it out. :)
Back to top
View user's profile Send private message
mrbassie
l33t
l33t


Joined: 31 May 2013
Posts: 772
Location: over here

PostPosted: Mon Jun 01, 2015 5:16 pm    Post subject: Reply with quote

jwm224 wrote:
I book marked them both for operation overload.


If you want a minimal kernel I'd recommend stripping down in increments, do everything you can in general setup, build and test before moving onto processor types an features and so on.
You'll lose hair trying to track an issue down if you blitz every category one after the other and then build. The documentation inside make menuconfig leaves a little to be desired.

Keep your genkernel in the meantime as davidm says.

Also just wanted to say Pappy's instructions are invaluable (although things have changed a little since he wrote them, most of it is the same and as a general rule of thumb, the new stuff you don't need).
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Mon Jun 01, 2015 5:35 pm    Post subject: Reply with quote

For minimal config
Code:
     "make allnoconfig" Create a ./.config file by setting symbol
                        values to 'n' as much as possible.
or
Code:
     "make localmodconfig" Create a config based on current config and
                           loaded modules (lsmod). Disables any module
                           option that is not needed for the loaded modules.

_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
mrbassie
l33t
l33t


Joined: 31 May 2013
Posts: 772
Location: over here

PostPosted: Mon Jun 01, 2015 6:06 pm    Post subject: Reply with quote

Jaglover wrote:
For minimal config
Code:
     "make allnoconfig" Create a ./.config file by setting symbol
                        values to 'n' as much as possible.
or
Code:
     "make localmodconfig" Create a config based on current config and
                           loaded modules (lsmod). Disables any module
                           option that is not needed for the loaded modules.



Huh, I never knew about allnoconfig.

EDIT: Ok, I'm glad I didn't. That's too minimal.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 8291
Location: Saint Amant, Acadiana

PostPosted: Mon Jun 01, 2015 6:17 pm    Post subject: Reply with quote

For everybody interested, there is a file called README in the kernel source directory. Can anybody figure out why they used this weird combination of letters to name this file?
_________________
My Gentoo installation notes.
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
mrbassie
l33t
l33t


Joined: 31 May 2013
Posts: 772
Location: over here

PostPosted: Tue Jun 02, 2015 7:41 am    Post subject: Reply with quote

Jaglover wrote:
For everybody interested, there is a file called README in the kernel source directory. Can anybody figure out why they used this weird combination of letters to name this file?


Is it an anagram?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Tue Jun 02, 2015 5:10 pm    Post subject: Reply with quote

Jaglover,

Its an immediate mode opcode ?
_________________
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
Page 1 of 1

 
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