[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: unable to upgrade past kernel2.6.7 with SATA RAID



Yuk, I went through that ordeal a few months back.  Off of the top of my
head I had to do this:

1) Compile a new kernel without initrd.  (I would have done this anyway
because I have a fixed-frequency monitor so I want framebuffer as early as
possible during bootup). I used kernel-package to make a deb package..

2) Booted up from a knoppix CD. Since you use LVM Ubuntu would probably be a
better choice.

3) Mounted my old root and other partitions below it. IIRC knoppix made the
fstab entry a nodev mount, so edit /etc/fstab to make sure that this doesn't
happen.

4) Used pivot_root to make the HD root into my working root. You could
probably use chroot to do this.

5) Installed the kernel image from the deb. If you already have the  kernel
image in place than this is when you would run lilo or update-grub. This is
also a good time to edit /etc/fstab and anything else that is looking for
/dev/hd*,

6) Rebooted and crossed fingers.

I am probably leaving some critical stuff out here, but hopefully this will
get you going in the right direction.

dt

-- 
Dave Thayer           | Whenever you read a good book, it's like the 
Denver, Colorado USA  | author is right there, in the room talking to 
dave@thayer-boyle.com | you, which is why I don't like to read 
                      | good books. - Jack Handey "Deep Thoughts"



Reply to: