View previous topic :: View next topic |
Author |
Message |
niklas.uhrberg n00b
Joined: 19 Dec 2004 Posts: 9 Location: Sweden
|
Posted: Sun Dec 19, 2004 9:09 am Post subject: Install Gentoo on a Linux box |
|
|
I want to install Gentoo on a computer running FC3 and does not have a working CDROM.
Also, FC3 should remain on the computer which has three partitions /boot, /swap, and / on hda1, hda2 and hda3.
To install Gentoo, can I just start the computer as usual and use fdisk (or parted) to create a new partition for Gentoo. Mount it as /mnt/gentoo ( as stated in the intallation docs) and proceed from there?
Is there anything fundamentally different from this and to use traditional boot floppies, CDROM e.t.c. ?
Usually I do a network install to upgrade FC but for Gentoo I have found no documentation whatsoever on installling without a CD.
Thanks!
/Niklas |
|
Back to top |
|
|
chromex n00b
Joined: 19 Dec 2004 Posts: 3
|
Posted: Sun Dec 19, 2004 9:39 am Post subject: |
|
|
I have never done it but I did run accross this link on the install guide (http://www.gentoo.org/doc/en/altinstall.xml) which sounds like it may have your answers. Good luck. |
|
Back to top |
|
|
drzap n00b
Joined: 20 Sep 2004 Posts: 23
|
Posted: Sun Dec 19, 2004 10:45 am Post subject: |
|
|
I did this, but I did have access to a floppy disk.
However I wanted to use the same partition that the system was allready installed on, which makes it a bit more complicated.
Create the dir /gentoo-install and /gentoo
In gentoo-install I put the cd-imaga, you can perhaps mount the iso there.
I then followed the install guide except of course using /gentoo and not /mnt/gentoo when I was done I removed the folders on the old system and replaced them with the ones in /gentoo
Don't delete the /bin dir, and whenever your system stops working perhaps you should just do this first.. boot from the floppy and continue with the moving. |
|
Back to top |
|
|
mattjgalloway l33t
Joined: 16 Mar 2004 Posts: 761 Location: Coventry, UK
|
Posted: Sun Dec 19, 2004 1:04 pm Post subject: Re: Install Gentoo on a Linux box |
|
|
Why don't you just install from FC3?
Just create your new partitions and then you'll just need to chroot into the new environment. Much like installing gentoo from Knoppix. See http://www.gentoo.org/doc/en/altinstall.xml under the last section - Installing Gentoo from an existing Linux distribution - isn't that what you want? _________________ AMD64 3200+, 1024MB RAM, Gentoo Linux
MacBook Core Duo, 1024MB RAM, Leopard |
|
Back to top |
|
|
niklas.uhrberg n00b
Joined: 19 Dec 2004 Posts: 9 Location: Sweden
|
Posted: Sun Dec 19, 2004 1:53 pm Post subject: Re: Install Gentoo on a Linux box |
|
|
OK , that sounds reasonable. I went along that road but when I was to install parted on the floppy I was unable to create a minix file sstem on it. (Seems like there is no support for minix in my mkfs)
Anyway, suppose I decide to install Gentoo as the only OS on my computer and that I do not have a CDROM. What is the way to go then?
Can I for example use the tomsrt.. boot floppy and proceed from there by dowlloading the stage1 tarball?
/Niklas
mattjgalloway wrote: | Why don't you just install from FC3?
Just create your new partitions and then you'll just need to chroot into the new environment. Much like installing gentoo from Knoppix. See http://www.gentoo.org/doc/en/altinstall.xml under the last section - Installing Gentoo from an existing Linux distribution - isn't that what you want? |
|
|
Back to top |
|
|
Lennart Benschop n00b
Joined: 10 Oct 2004 Posts: 12 Location: Eindhoven, The Netherlands
|
Posted: Sun Dec 19, 2004 9:05 pm Post subject: Re: Install Gentoo on a Linux box |
|
|
niklas.uhrberg wrote: |
Anyway, suppose I decide to install Gentoo as the only OS on my computer and that I do not have a CDROM. What is the way to go then?
Can I for example use the tomsrt.. boot floppy and proceed from there by dowlloading the stage1 tarball?
|
Looks like this might work, provided the kernel on the tomsrbt floppy is reasonably recent (2.4) and it has the commands to download/unpack the stage1 tarball. Does it come with bzip for instance? What your floppy should be able to do:
tools to setup the network (ifconfig etc).
tools to partition the disk and make the file system (fdisk, mke2fs)
tools to download the tarball (wget, lynx, ftp anything).
tools to unpack the tarball (tar, bzip2)
chroot
Once you 'chroot' into the /mnt/gentoo directory, you are using only the tools that were contained in the stage1 tarball, so it should be plain sailing from there. |
|
Back to top |
|
|
niklas.uhrberg n00b
Joined: 19 Dec 2004 Posts: 9 Location: Sweden
|
Posted: Mon Dec 20, 2004 6:55 am Post subject: Re: Install Gentoo on a Linux box |
|
|
Lennart Benschop wrote: | niklas.uhrberg wrote: |
Anyway, suppose I decide to install Gentoo as the only OS on my computer and that I do not have a CDROM. What is the way to go then?
Can I for example use the tomsrt.. boot floppy and proceed from there by dowlloading the stage1 tarball?
|
Looks like this might work, provided the kernel on the tomsrbt floppy is reasonably recent (2.4) and it has the commands to download/unpack the stage1 tarball. Does it come with bzip for instance? What your floppy should be able to do:
tools to setup the network (ifconfig etc).
tools to partition the disk and make the file system (fdisk, mke2fs)
tools to download the tarball (wget, lynx, ftp anything).
tools to unpack the tarball (tar, bzip2)
chroot
Once you 'chroot' into the /mnt/gentoo directory, you are using only the tools that were contained in the stage1 tarball, so it should be plain sailing from there. |
It has ifconfig but is that sufficient to setup networking? I use ifup to actually activate the interface but the floppy does not contain ifup.
/Niklas |
|
Back to top |
|
|
racoontje Veteran
Joined: 19 Jul 2004 Posts: 1290
|
Posted: Mon Dec 20, 2004 6:57 am Post subject: |
|
|
I thought ifup was some fancy wrapper around ifconfig?
=
If I thought |
|
Back to top |
|
|
dwblas Guru
Joined: 14 Jul 2003 Posts: 525 Location: Southern California (No jokes please)
|
|
Back to top |
|
|
|