Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Starting my 'Simple Install'; I hope... :-)
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
lenbro
n00b
n00b


Joined: 11 Aug 2005
Posts: 5

PostPosted: Sun Aug 14, 2005 5:20 am    Post subject: Starting my 'Simple Install'; I hope... :-) Reply with quote

I've installed Gentoo half a dozen times, using stage1 mostly,
but this time I'm going to do a 'simple install' and use the:
2005.1 universal CD,
a stage3 tarball,
and a packages CD.

I promised me poor dear mother that if I ever gentoo'ed again I'd document it for her, and so I will.

My plan is to do most of the work from my good 'puter, ssh'd into the one I'm installing to.
I'll run `script` in the console I'm working through, in order to save the console sessions into a text file.

- by the way - the reason I'm using the ssh hookup to do the install from a second computer is that I only have one monitor to use on both 'puters, and plugging/unplugging gets old.

The victim in this case is an old:
Dell Dimension 8100 / P4 1.3GHz / 512MB RDRAM / Intel 850 chipset
with:
a 3.5" Floppy that (sometimes) works
an old Goldstar CD-ROM (32X) salvaged from the trash-bin
and a pair of aged Hard Drives:
/dev/hda is an antique IBM 4335MB
/dev/hdb is more recent, a SAMSUNG 5102MB monster...
both run at the staggering clip of 5400RPM - you can just feel the power....

Well it's 5 past midnight here in Texas, and the Pizza is just out of the oven - so I'm going to get started!
I'll keep posting off and on till I get this done.
Who knows, it might even be interesting to someone besides me mum!
Back to top
View user's profile Send private message
galenjr
Tux's lil' helper
Tux's lil' helper


Joined: 02 Aug 2004
Posts: 88
Location: Connecticut, USA

PostPosted: Sun Aug 14, 2005 8:00 am    Post subject: Reply with quote

oh a play by play...
sounds very exciting
Back to top
View user's profile Send private message
lenbro
n00b
n00b


Joined: 11 Aug 2005
Posts: 5

PostPosted: Sun Aug 14, 2005 9:05 am    Post subject: Simple Install, Part 2 Reply with quote

So, I start out by plugging my only monitor, (and keyboard and mouse), into the 'puter I want to get gentoo installed on, (I'll call the target computer "Delta").

Then I booted the Gentoo 2005.1 Universal install CD.

First thing you're asked to do is to pick a kernel and kernel options to start the install with. I picked:
Code:
:>gentoo nofirewire nokeymap noevms2 nolvm2

Because I don't have firewire on this box, and I'll be using the standard US keymap, and I'm not going to be doing any logical volume or software-raid trickery.
Hit ALT-F1 to watch the kernel do it's thing, all went well.
Hit F2 to watch the verbose messages as the system got started up, all went well.
Noticed that eth0 got recognized, so I won't have to worry about additional network setup tasks - although the small fast penguin, (gentoo), makes network setup a breeze anyway. In this case 'It just works'.

Now I'm at the command line and I want to set up a known password for root:
Code:
:>passwd root

After that, I want to check that my network isn't broke somewhere past my router, so I'll ping an old friend to make SURE it's working:
Code:
:>ping www.google.com

Yep; it's connected.

Next I want to start sshd running, so I can continue this install from the comfort of "Zebra", my good computer.
Code:
:>/etc/init.d/sshd start

Once sshd is running, I can move the monitor, (and keyboard and mouse), off the target 'puter - call it "Delta", and back onto my good 'puter - call it "Zebra"

Back on Zebra, I boot the machine to my Linux installation, open a console and get root:
Code:
:>su root

Start a transcript running to a text file to record the shell session. Not neccessary for the install, but usefull for seeing where you go wrong.... nah, that'll never happen.....
Code:
script -a /home/leonard/Desktop/gentoo_install_01.txt

Code:
:>ssh 192.168.0.103

Code:
>>cautionary notes from the ssh people<<

enter password for ssh'ing into Delta.
After assuring ssh that I really did want to make the connection, and assuring "Delta" that I really was me - by giving it the root password, I can run the install in comfort from my already set-up and tweaked computer.

One of the advantages of this is the ability to run a regular X-windows session, (KDE for me), and cut and paste commands right from the online Gentoo documentation into the remote shell for execution.
It lessons the chances of making unfortunate typo's in the delicate innards of your target machine during the install process.
My spelling is pretty gud, but accidents happen! :oops:

So next I'm going to clear my hard drives, repartition them, (don't forget to set that 'active' flag on your boot partition!), make filesystems on them, and then quit the remote shell, move the monitor, (and keyboard and mouse), back onto Delta, and reboot.
"What!", I hear you squawk, "Reboot! Whatever for? This is Linux you n00b!"
Well, yes that's true, (especially the n00b part), BUT - I'm putting reiserfs on 3 of my partitions, and the reiserfs output, from
Code:
:>mkreiserfs /dev/hd**
says to be sure to reboot after setting up a new reiserfs partition, - who am I to argue with the reiserfs people? :?:

Back in a bit with the details.




"
Back to top
View user's profile Send private message
lenbro
n00b
n00b


Joined: 11 Aug 2005
Posts: 5

PostPosted: Mon Aug 15, 2005 12:58 am    Post subject: Simple Install Part 3 Reply with quote

Well with only one minor problem, I have managed to get Gentoo installed and bootable.
In case it helps some other poor n00b, here's my /etc/fstab:
Code:
# fstab for Delta
/dev/hda1     /boot     ext2    defaults,noatime    1 2
/dev/hda6     /          reiserfs    noatime           0 1
/dev/hdb5     /usr      reiserfs    noatime           0 2
/dev/hdb6     /home    reiserfs     noatime     0 2

/dev/hda5     none      swap    sw                0 0
/dev/hdb1     none      swap    sw                0 0

/dev/fd0     /mnt/floppy     auto     noauto     0 0
/dev/cdroms/cdrom0   /mnt/cdrom     iso9660     noauto,ro     0 0

proc     /proc   proc     defaults     0 0
none     /proc     proc     defaults     0 0
none     /dev/shm     tmpfs     nodev,nosuid,noexec     0 0
shm     /dev/shm   tmpfs     nodev,nosuid,noexec     0 0


And here's the /boot/grub/grub.conf:
Code:
#/boot/grub/grub.conf for Delta
default 0
timeout 30
splashimage=(hd0,0)/grub/splash.xpm.gz

title=Gentoo Linux 2.6.12-r6-delta
root (hd0,0)
kernel /kernel-2.6.12-gentoo-r6-delta root=/dev/hda5

title=Gentoo Linux 2.6.12-r6-delta
root (hd0,0)
kernel (hd0,0)/kernel-2.6.12-gentoo-r6-delta real_root=/dev/hda5

You notice that there are two very similar entries, that's because I was having trouble getting
booted up, and I wanted to have a second entry I could edit without messing up the original.
In this case the first entry would NOT boot, and the second entry DOES boot.

The error message I was getting on trying to boot the first entry was:
Code:
kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(3,5)

At first, from some of the posts I read, I thought I had forgotten to compile support for reiserfs
into the kernel, so I went ahead and recompiled the kernel, but when it came time to reboot
I got the same message.
I read around on the forums, particularly in the grub errors area, and found a post:
https://forums.gentoo.org/viewtopic-t-122656-highlight-unable+mount+root+fs+803667.html
about making the changes you see in the second grub.conf entry, and that was all it took.
Thanks to the great forum that Gentoo always seems to have!
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