Hmmm rebooting on 2.6.38.7 didn't go well, and I remembered why I stuck to 2.6.38.6 so I removed it and reinstalled 2.6.33.7, and will reboot shortly.
Here's what I have done so far: (It's kinda long)
@as
[archie@localhost ~]$ df
Filesystem Size Used Avail Use% Mounted on
/dev/root 998M 16K 998M 1% /
/dev/sda5 10G 5.6G 3.9G 60% /media/PCLinuxOS
/dev/sda6 4.9G 171M 4.4G 4% /media/WWW
/dev/sda4 95G 79G 16G 84% /media/Archie
[archie@localhost ~]$ su
Password:
[root@localhost archie]# umount -a
umount: /: device is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
[root@localhost archie]# df
Filesystem Size Used Avail Use% Mounted on
/dev/root 998M 12K 998M 1% /
[root@localhost archie]# fsck -f /dev/sda5
fsck from util-linux-ng 2.18
e2fsck 1.41.14 (22-Dec-2010)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
PCLinuxOS: 202501/662256 files (0.2% non-contiguous), 1501805/2648709 blocks
[root@localhost archie]# fsck -f /dev/sda6
fsck from util-linux-ng 2.18
e2fsck 1.41.14 (22-Dec-2010)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
/lost+found not found. Create<y>? yes
Pass 4: Checking reference counts
Pass 5: Checking group summary information
WWW: ***** FILE SYSTEM WAS MODIFIED *****
WWW: 2073/320640 files (0.0% non-contiguous), 63792/1281175 blocks
[root@localhost archie]# fsck -f /dev/sda4
fsck from util-linux-ng 2.18
e2fsck 1.41.14 (22-Dec-2010)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
/lost+found not found. Create<y>? yes
Pass 4: Checking reference counts
Pass 5: Checking group summary information
Archie: ***** FILE SYSTEM WAS MODIFIED *****
Archie: 126886/12566528 files (8.9% non-contiguous), 21093984/25119635 blocks
[root@localhost archie]#
What next, Master Yoda?
@O-P
[archie@localhost ~]$ su
Password:
[root@localhost archie]# mkdir /home/my_vaio
[root@localhost archie]# mount /dev/sda5 /home/my_vaio/
[root@localhost archie]# ls -la /home/my_vaio/
total 260
drwxr-xr-x 23 root root 4096 May 30 14:19 ./
drwxr-xr-x 1 root root 4096 May 30 22:42 ../
-rw-r--r-- 1 root root 0 May 30 10:00 .autofsck
drwxr-xr-x 2 root root 4096 May 25 17:29 bin/
drwxr-xr-x 3 root root 4096 May 30 10:00 boot/
drwxr-xr-x 2 root root 4096 May 20 01:37 .config/
drwxr-xr-x 24 root root 135168 Jan 14 21:55 dev/
drwxr-xr-x 140 root root 12288 May 30 18:01 etc/
drwxr-xr-x 2 root root 4096 Jan 14 21:55 home/
drwxr-xr-x 2 root root 4096 Jan 15 02:10 initrd/
drwxr-xr-x 17 root root 12288 May 25 17:29 lib/
drwx------ 2 root root 16384 Jan 14 21:54 lost+found/
drwxrwxr-x 2 root root 4096 May 30 18:01 media/
drwxr-xr-x 3 root root 4096 Apr 20 16:37 mnt/
dr-xr-xr-x 2 root root 4096 Feb 27 14:24 net/
drwxr-xr-x 9 root root 4096 Apr 11 04:37 opt/
drwxr-xr-x 2 root root 4096 Jan 14 21:55 proc/
drwxr-xr-x 42 root root 4096 May 30 18:48 root/
drwxr-xr-x 2 root root 12288 May 20 12:35 sbin/
drwxr-xr-x 2 root root 4096 Jul 12 2010 srv/
drwxr-xr-x 2 root root 4096 Jan 14 21:55 sys/
drwxrwxrwt 62 archie vboxsf 4096 May 30 19:08 tmp/
drwxr-xr-x 14 root root 4096 May 18 19:42 usr/
drwxr-xr-x 20 root root 4096 Apr 23 13:58 var/
[root@localhost archie]# mount -o bind /proc /home/my_vaio/proc
[root@localhost archie]# chroot /home/my_vaio/
[root@localhost /]# service network start
Bringing up loopback interface: [ OK ]
Configuring wireless regulatory domain [ OK ]
Bringing up interface eth0: Device eth0 does not seem to be present, delaying initialization.
[FAILED]
Bringing up interface eth1: [ OK ]
Bringing up interface wlan0: Device wlan0 does not seem to be present, delaying initialization.
[FAILED]
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
[root@localhost /]# ifconfig
eth1 Link encap:Ethernet HWaddr 00:1A:80:1B:1D:27
inet addr:192.168.XXX.XXX Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::21a:80ff:fe1b:1d27/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6011 errors:0 dropped:0 overruns:0 frame:0
TX packets:5927 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5692644 (5.4 MiB) TX bytes:650237 (634.9 KiB)
Interrupt:16
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:4 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:240 (240.0 b) TX bytes:240 (240.0 b)
[root@localhost /]# ls -l /boot | grep vm
lrwxrwxrwx 1 root root 27 May 11 11:02 vmlinuz -> vmlinuz-2.6.38.6-pclos1.bfs
-rw-r--r-- 1 root root 2330528 May 10 15:28 vmlinuz-2.6.38.6-pclos1.bfs
[root@localhost /]# ls -l /boot | grep init
-rw------- 1 root root 0 May 30 09:59 initrd-2.6.38.6-pclos1.bfs.img
lrwxrwxrwx 1 root root 30 May 11 11:02 initrd.img -> initrd-2.6.38.6-pclos1.bfs.img
[root@localhost /]#
Here's where I removed 2.6.38.7 BFS and installed 2.6.33.7 BFS. I mounted my local repo and ...
[root@localhost RPMS.updates]# cp -v kernel*2.6.33.7-pclos6.bfs* /home/my_vaio/media/
`kernel-2.6.33.7-pclos6.bfs-1-1pclos2010.i586.rpm' -> `/home/my_vaio/media/kernel-2.6.33.7-pclos6.bfs-1-1pclos2010.i586.rpm'
`kernel-devel-2.6.33.7-pclos6.bfs-1-1pclos2010.i586.rpm' -> `/home/my_vaio/media/kernel-devel-2.6.33.7-pclos6.bfs-1-1pclos2010.i586.rpm'
[root@localhost RPMS.updates]#
... back to the chroot environment:
[root@localhost /]# mount
/dev/sda5 on / type ext4 (rw)
none on /proc type proc (rw)
none on /dev/pts type devpts (rw)
/dev/sda4 on /home type ext3 (rw)
/dev/sda6 on /var/www type ext4 (rw,noatime)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
/dev/sdb2 on /media/Archie type ext3 (rw,nosuid,nodev,uhelper=hal)
/dev/sdb1 on /media/PCLinuxOS type ext3 (rw,nosuid,nodev,uhelper=hal)
/dev/sdc1 on /media/PCLinuxOS type ext3 (rw,nosuid,nodev,uhelper=hal)
[root@localhost /]# cd /media
[root@localhost media]# ls
kernel-2.6.33.7-pclos6.bfs-1-1pclos2010.i586.rpm
kernel-devel-2.6.33.7-pclos6.bfs-1-1pclos2010.i586.rpm
[root@localhost media]# rpm -ivh *
error: failed to stat /dev/pts: No such file or directory
Preparing... ########################################### [100%]
1:kernel-2.6.33.7-pclos6.########################################### [ 50%]
INTERNAL ERROR: hd0 has no mapping in device.map (when translating (hd0,4))
MDK::Common::Various::internal_error() called from /usr/lib/libDrakX/bootloader.pm:1610
bootloader::grub2dev_and_file() called from /usr/lib/libDrakX/bootloader.pm:1619
bootloader::grub2dev() called from /usr/lib/libDrakX/bootloader.pm:245
bootloader::_may_fix_grub2dev() called from /usr/lib/libDrakX/bootloader.pm:220
bootloader::read_grub() called from /usr/lib/libDrakX/bootloader.pm:174
bootloader::read() called from /usr/sbin/bootloader-config:64
2:kernel-devel-2.6.33.7-p########################################### [100%]
[root@localhost media]#
Note the INTERNAL ERROR. At this point, I issued grub > and went by the usual find, geometry, root and setup.
[root@localhost media]# grub
Probing devices to guess BIOS drives. This may take a long time.
[root@localhost media]# nano /boot/grub/men
menu.lst menu.lst.old
[root@localhost media]# nano /boot/grub/menu.lst
[root@localhost media]#
And to simplify things, I only have 1 stanza that I changed to to the correct vmlinuz and initrd.
title PCLinuxOS
kernel (hd0,4)/boot/vmlinuz-2.6.33.7-pclos6.bfs BOOT_IMAGE=PCLinuxOS root=UUID=$
initrd (hd0,4)/boot/initrd-2.6.33.7-pclos6.bfs.img
[root@localhost media]# ls -l /boot
total 8232
-rw-rw-r-- 1 root root 440 May 20 16:14 boot.backup.sda
lrwxrwxrwx 1 root root 26 May 30 10:00 config -> config-2.6.38.6-pclos1.bfs
-rw-r--r-- 1 root root 112837 Oct 21 2010 config-2.6.33.7-pclos6.bfs
-rw-r--r-- 1 root root 126423 May 10 15:28 config-2.6.38.6-pclos1.bfs
-rw-r--r-- 1 archie archie 531968 May 30 07:07 gfxmenu
drwxr-xr-x 2 root root 4096 May 30 23:10 grub/
-rw------- 1 root root 0 May 30 09:59 initrd-2.6.38.6-pclos1.bfs.img
lrwxrwxrwx 1 root root 30 May 30 23:10 initrd.img -> initrd-2.6.38.7-pclos1.bfs.img
lrwxrwxrwx 1 root root 34 Apr 24 09:11 kernel.h -> /boot/kernel.h-2.6.38.3-pclos1.bfs
-rw-r--r-- 1 root root 1493 Apr 5 20:57 kernel.h-2.6.38.2-pclos1
-rw-r--r-- 1 root root 1493 Apr 23 20:32 kernel.h-2.6.38.2-pclos1.bfs
-rw-r--r-- 1 root root 1493 Apr 24 09:11 kernel.h-2.6.38.3-pclos1.bfs
-rw-r--r-- 1 root root 254766 Nov 5 2006 message-graphic
lrwxrwxrwx 1 root root 30 May 12 08:04 System.map -> System.map-2.6.38.6-pclos1.bfs
-rw-r--r-- 1 root root 1410936 Oct 21 2010 System.map-2.6.33.7-pclos6.bfs
-rw-r--r-- 1 root root 1565140 May 10 15:28 System.map-2.6.38.6-pclos1.bfs
-rw-rw-r-- 1 root root 256 May 7 15:03 us.klt
lrwxrwxrwx 1 root root 27 May 30 23:10 vmlinuz -> vmlinuz-2.6.38.7-pclos1.bfs
-rw-r--r-- 1 root root 2059312 Oct 21 2010 vmlinuz-2.6.33.7-pclos6.bfs
-rw-r--r-- 1 root root 2330528 May 10 15:28 vmlinuz-2.6.38.6-pclos1.bfs
[root@localhost media]#
Going for a reboot now. Two fingers crossed.