Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
LiveCD not booting / 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
Senso
Apprentice
Apprentice


Joined: 17 Jun 2003
Posts: 250
Location: Montreal, Quebec

PostPosted: Sat Nov 22, 2003 9:34 pm    Post subject: LiveCD not booting / Knoppix Reply with quote

I'm already running Gentoo on 2 recent computers but I'm trying to install it on an old PII 200. Plainly, it doesn't boot when I'm using the LiveCD. I burned two of those, just to be sure (the x86 stage1-only and the full-blown set-of-2 LiveCD) to no avail.
The BIOS can boot from CD and as a matter of fact, it does boot from the Windows, FreeBSD, Knoppix and DamnSmall Linux CDs. So is there a big difference between say, Knoppix and a Gentoo LiveCD?

I removed the floopy drive to make place for a second hard drive (don't ask) so if there's a solution not involving a floppy, I'd be glad to hear it. But if the only obvious solution is to first run a boot floopy, I could replug the drive.

Thanks.


Last edited by Senso on Wed Nov 26, 2003 3:47 am; edited 1 time in total
Back to top
View user's profile Send private message
Senso
Apprentice
Apprentice


Joined: 17 Jun 2003
Posts: 250
Location: Montreal, Quebec

PostPosted: Sat Nov 22, 2003 9:59 pm    Post subject: Reply with quote

Just a thought... I have 2 ext3 partitions on that computer and I'm currently using the Knoppix bootable CD on it. Would it be possible to download an ISO of stage1, mount it and start the installation?
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Sun Nov 23, 2003 12:25 am    Post subject: Reply with quote

If you have KNOPPIX working, you don't need the Gentoo CD at all. Just download a stage tarball, open a terminal window, and follow the usual Gentoo installation instructions.
ftp://ibiblio.org/pub/Linux/distributions/gentoo/releases/x86/1.4/stages/
Back to top
View user's profile Send private message
Senso
Apprentice
Apprentice


Joined: 17 Jun 2003
Posts: 250
Location: Montreal, Quebec

PostPosted: Sun Nov 23, 2003 9:59 pm    Post subject: Reply with quote

Yes thanks, I was able to install from stage 1 using Knoppix. I had to reset the root password with sudo in order to "su -" - then I was able to run fdisk, mke2fs, emerge sync, etc.
Back to top
View user's profile Send private message
Pete_Keller
l33t
l33t


Joined: 30 Sep 2003
Posts: 664
Location: Norwich, CT USA

PostPosted: Mon Nov 24, 2003 12:49 am    Post subject: Reply with quote

Senso,

The Alternate Installation Instructions tell you to also perform a few extra steps.

Pete
_________________
I am a SIGNATURE VIRUS, help me spread - attach me to your signature file.
Back to top
View user's profile Send private message
Senso
Apprentice
Apprentice


Joined: 17 Jun 2003
Posts: 250
Location: Montreal, Quebec

PostPosted: Tue Nov 25, 2003 1:21 pm    Post subject: Reply with quote

Not good, I'm stuck. I've followed the Alternate guide but I can't "usermod -d /root -m root" - I get "usermod: cannot lock shadow password file". I'm logged in as root, I don't see where the problem is.

Also, I can't "chroot /mnt/gentoo" - I get "Illegal instruction". Since I'm using Knoppix, do I really have to create the /mnt/gentoo dir, mount all my partitions to /mnt/gentoo/usr, /mnt/gentoo/var, etc. and chroot to it? I don't know what the problem is, maybe Knoppix doesn't allow chrooting...
Back to top
View user's profile Send private message
Pete_Keller
l33t
l33t


Joined: 30 Sep 2003
Posts: 664
Location: Norwich, CT USA

PostPosted: Tue Nov 25, 2003 5:33 pm    Post subject: Reply with quote

Senso,

I do not know why you are getting the cannot lock shadow passwd file, have you tried changing root's passwd?

the Illegal instruction makes it seem that knoppix was compiled using the wrong type of cpu.

Pete
_________________
I am a SIGNATURE VIRUS, help me spread - attach me to your signature file.
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Wed Nov 26, 2003 1:51 am    Post subject: Reply with quote

Pete_Keller wrote:
the Illegal instruction makes it seem that knoppix was compiled using the wrong type of cpu.

KNOPPIX should be compiled for i386, but the stage tarball might be for the wrong CPU.
Back to top
View user's profile Send private message
Senso
Apprentice
Apprentice


Joined: 17 Jun 2003
Posts: 250
Location: Montreal, Quebec

PostPosted: Wed Nov 26, 2003 3:42 am    Post subject: Reply with quote

cyrillic wrote:
Pete_Keller wrote:
the Illegal instruction makes it seem that knoppix was compiled using the wrong type of cpu.

KNOPPIX should be compiled for i386, but the stage tarball might be for the wrong CPU.


Well, I used the i686 tarball, thought it would be ok on a PII. I'll try the x86 tarball and see if it works.
Back to top
View user's profile Send private message
Neje
n00b
n00b


Joined: 04 May 2003
Posts: 71
Location: Netherlands

PostPosted: Wed Nov 26, 2003 2:22 pm    Post subject: Reply with quote

i686 should be ok for a Pentium II, and chrooting should work (are you chrooting with "chroot /mnt/gentoo /bin/bash"?). Also, I'm often wondering why people make such a fuss in the documentation about sudo'ing and su'ing in Knoppix when there's a menu option for "Root shell" (at least, it was there the last time I checked).
_________________
"It's some kind of electronic computer."
- Tin Tin, Thunderbirds
Back to top
View user's profile Send private message
Neje
n00b
n00b


Joined: 04 May 2003
Posts: 71
Location: Netherlands

PostPosted: Wed Nov 26, 2003 3:40 pm    Post subject: Reply with quote

Quote:
Since I'm using Knoppix, do I really have to create the /mnt/gentoo dir, mount all my partitions to /mnt/gentoo/usr, /mnt/gentoo/var, etc. and chroot to it?


Just saw this.
If you have many separate partitions for your gentoo system, I think you may have to mount quite a few of them before you chroot, yeah. Especially if not mounting them causes bash to be unavailable (might be the cause of the illegal instruction).

Neje
_________________
"It's some kind of electronic computer."
- Tin Tin, Thunderbirds
Back to top
View user's profile Send private message
Senso
Apprentice
Apprentice


Joined: 17 Jun 2003
Posts: 250
Location: Montreal, Quebec

PostPosted: Wed Nov 26, 2003 4:58 pm    Post subject: Reply with quote

In any case, I've downloaded the x86 stage1 tarball instead of the i686 stage2 tarball and it works, currently doing the "emerge -u portage" phase.

About the illegal operation... I'm pretty sure the partitions were mounted correctly as I didn't change anything and it's now working with the x86 tarball. I guess it has something to do with Gentoo/Knoppix lib/binaries incompatibilities as I'm using Knoppix 3.1, not the most recent 3.3 version (doesn't boot, I guess cdrecord is doing something wrong).
By the way, 3.1 doesn't have a 'Root Shell' button, at least not when using fluxbox, that's why I had to "sudo passwd root".
Back to top
View user's profile Send private message
Neje
n00b
n00b


Joined: 04 May 2003
Posts: 71
Location: Netherlands

PostPosted: Wed Nov 26, 2003 5:26 pm    Post subject: Reply with quote

Quote:
By the way, 3.1 doesn't have a 'Root Shell' button, at least not when using fluxbox, that's why I had to "sudo passwd root".


Sorry about that, didn't mean to sound kde-centric (I'm only kde-centric when it comes to Knoppix though ;-) )

Neje
_________________
"It's some kind of electronic computer."
- Tin Tin, Thunderbirds
Back to top
View user's profile Send private message
Senso
Apprentice
Apprentice


Joined: 17 Jun 2003
Posts: 250
Location: Montreal, Quebec

PostPosted: Wed Nov 26, 2003 9:56 pm    Post subject: Reply with quote

Neje wrote:

Sorry about that, didn't mean to sound kde-centric (I'm only kde-centric when it comes to Knoppix though ;-) )
Neje


I couldn't even if I would, considering that it's a PII with a mere 64mb. :)
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