View previous topic :: View next topic |
Author |
Message |
suck_ma_penguin Apprentice


Joined: 03 May 2004 Posts: 180
|
Posted: Fri May 07, 2004 5:32 pm Post subject: Installing Gentoo from a netboot: The easy way |
|
|
How to Install gentoo from a network boot.
This is useful to those with difficult PCMCIA laptops, no CDROM drive, or just any masochist who thinks its a good way to spend a weekend (believe me it's not)
What you need:
PC with a bootable ethernet card or etherboot floppy. This will be called PC1
Second PC with either 2 CDROM drives or another linux install
The above PC must either have two network cards or be connected to a router and a switch. This will be called PC2
Gentoo stage tarball
Knoppix LiveCD 3.3
What to do:
Read sections 1 - 2.b of the install guide (ignore the bit about the liveCDs)
1. Copy the stage you want to install (see installation guide for details about stages) to PC2's Hard Disk (or a CDROM if PC2 has 2 CDROM drives)
2. Boot knoppix on PC2
3. Configure your network on knoppix:
4. On knoppix run:
Code: | /etc/init.d/knoppix-terminalserver |
and fill out the options on the gui; thinks to check:
DHCP IP range: you can leave this as the default value
Kernel Modules: Make sure your network card is selected
Other options: uncheck secure and squid proxy server, check the other two
5. On knoppix run:
6.Plug PC1 into the network (via either a switch/router or a crossover cable to PC2's second network card).
7. Enter PC1's BIOS and make sure LAN/etherboot is first in the boot priorities list. Or insert etherboot floppy (I dont know how to make one of these, you will have to find out for yourself, or wait til I edit)
8. Boot PC1 (there are several kernel options that knoppix accepts. I had to disable pcmcia for my laptop to boot, but you will have to find out what works for you. It's just a case of suck it and see)
Read sections 4 and 5a of the install guide.
9. Prepare PC1's Hard Disk using the fdisk command:
10. On PC2, mount the medium upon which your stage tarballs are located (i.e HDD or CDROM):
Code: | mount /dev/hda1 /mnt/medium/ |
11. On PC1, mount your root partition:
Code: | mount /dev/hda1 /mnt/gentoo/ |
12. On PC1 use the command:
Code: | scp /path/to/stage.tar.bz2 /mnt/gentoo |
13. untar the stage tarball and follow the install instructions from stage 5e onwards. NB some commands (i.e mirrorselect) are only on the gentoo livecd. Ignore this. You will also have to make your own resolv.conf (it really isn't hard )
Last edited by suck_ma_penguin on Fri May 07, 2004 7:20 pm; edited 1 time in total |
|
Back to top |
|
 |
NeddySeagoon Administrator


Joined: 05 Jul 2003 Posts: 44195 Location: 56N 3W
|
Posted: Fri May 07, 2004 6:49 pm Post subject: |
|
|
suck_ma_penguin,
For readers without a bootable ethernet card use PC2 to build the etherboot package (theres no ebuild) and make a floppy disc that boots PC1 via ethernet. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
 |
screwloose Tux's lil' helper


Joined: 07 Feb 2004 Posts: 94 Location: Toon Town, Canada
|
Posted: Fri May 07, 2004 9:52 pm Post subject: |
|
|
This looks alot easier than than the PXE method on The Gentoo Linux alternative installation method HOWTO which I was attempting last night. If I don't get it going the other way tonight I'll try it with the Knoppix disc that you described.
Laptops without external drives can be such a pain in the ass sometimes..... _________________ If something can go wrong it probably already has. You just don't know it yet. ~Henry's Modified version of Murphy's Law |
|
Back to top |
|
 |
suck_ma_penguin Apprentice


Joined: 03 May 2004 Posts: 180
|
Posted: Sun Jan 15, 2006 11:13 pm Post subject: |
|
|
*bump*
Move to tips and tricks? |
|
Back to top |
|
 |
Maedhros Bodhisattva


Joined: 14 Apr 2004 Posts: 5511 Location: Durham, UK
|
Posted: Mon Jan 16, 2006 8:51 am Post subject: |
|
|
Moved from Installing Gentoo to Documentation, Tips & Tricks. _________________ No-one's more important than the earthworm. |
|
Back to top |
|
 |
|