Weblog entry #1 for ronin42

Installing Debian
Posted by ronin42 on Mon 1 Jan 2007 at 11:49
Tags: none.
Greetings from Japan.
Akemashite Omedeto Gozaimasu (Happy New Year 2007)
I have tried installing Debian before but had no luck until now.
I'm using 3.1 Sarge rlease 4.
I installed it on my Alienware laptop and that wen much smoother than installing it on my Shuttle X or my home built AMD.
I'm downloading "Etch" as I type this so I can burn those ISO's and attempt to load that. It should have the proper Kernel fixin's for my deskside so I can get the NIC up and running and see what a test release in Debian is like.

I have worked on previous distros, Slackware and the 52 3.5" floppies, then Red Hat, SuSe, back to Red Hat and now to Debian.
I must say it appears to be the most workable "out of the box" distro.

I am currently trying to rebuild my kernel on the laptop so I can play with Parallels virtual workstation. I need a 2.6.8 or higher kernel and Sarge R4 is 2.4.x.
So far it was the easiest kernel rebuild I have done but I got a kernel panic on reboot. The error told me that "root"=boot was missing or something cryptic like that. I rebooted into the older kernel and started poking around.
I have been looking for a good example menu.lst file as an example. Everything seems to be in place except no initrd-img~ file for the new kernel build. I didn't thing I would get one with a hand built kernel but with the original install since the initrd file is the RAM disk file. I'll have to read up on that.

Building X on the laptop and installing different packages has been easy with apt-get. I don't have "hidden" dependency errors like I used to get with RH.
Those that sneak up on you after you later when you thing you have everything installed.
Well enough for now.......

 

Comments on this Entry

Posted by dkg (216.254.xx.xx) on Tue 2 Jan 2007 at 23:39
[ Send Message | View dkg's Scratchpad | View Weblogs ]
You wrote:
I need a 2.6.8 or higher kernel and Sarge R4 is 2.4.x.
But 2.6.8 is actually available as a stock debian kernel under sarge as well. You can install it with:
apt-get install kernel-image-2.6-686
(replace -686 with -k7 or -386 depending on your processor, and append a -smp if you intend to use a multi-processor box.

On etch, the kernel tracker package name is linux-image-2.6-686, since debian is moving to allow for non-Linux kernels in the future.

As for fixing the instructions to your bootloader, i'm assuming that you're using grub. If you are using stock debian kernels (which you probably should unless you know why you need something else), the simplest way to handle this is with update-grub. Just make sure you have the following two lines in /etc/kernel-img.conf:

postinst_hook = update-grub
postrm_hook = update-grub
If you've already written a custom /boot/grub/menu.lst, it might not be set up properly for your system. Just move it out of the way, and ask the debian packages to generate one for you:
mv -i /boot/grub/menu.lst /boot/grub/menu.list.orig
update-grub

[ Parent | Reply to this comment ]

Posted by ronin42 (219.110.xx.xx) on Wed 3 Jan 2007 at 01:55
[ Send Message | View ronin42's Scratchpad | View Weblogs ]
ej
Hello dkg, thanks for the info it pointed me in the right direction.
I also missed some key items like mkinitrd and update-grub which were needed.
I haven't built a kernel in a long time so my notes are old and only for SuSe and RH.
I did get the kernel built and now searching for fix's to sound and my KVM mouse connection.

I have noticed one frustration that still abounds, ATI video cards not working well for Xorg. I'll have to move to a Nvidia card again.

[ Parent | Reply to this comment ]

User Login

Username:

Password:

[ Advanced Login ]

Register Account

Quick Site Search