Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Installing Gentoo from a netboot: The easy way
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
suck_ma_penguin
Apprentice
Apprentice


Joined: 03 May 2004
Posts: 180

PostPosted: Fri May 07, 2004 5:32 pm    Post subject: Installing Gentoo from a netboot: The easy way Reply with quote

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:
Code:
netcardconfig


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:
Code:
startssh


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:
Code:
fdisk /dev/hda1


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 :wink: )


Last edited by suck_ma_penguin on Fri May 07, 2004 7:20 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Fri May 07, 2004 6:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
screwloose
Tux's lil' helper
Tux's lil' helper


Joined: 07 Feb 2004
Posts: 94
Location: Toon Town, Canada

PostPosted: Fri May 07, 2004 9:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
suck_ma_penguin
Apprentice
Apprentice


Joined: 03 May 2004
Posts: 180

PostPosted: Sun Jan 15, 2006 11:13 pm    Post subject: Reply with quote

*bump*
Move to tips and tricks?
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Mon Jan 16, 2006 8:51 am    Post subject: Reply with quote

Moved from Installing Gentoo to Documentation, Tips & Tricks.
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks 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