[PlanetCCRMA] redhat trouble with grub
Noah Garrett Wallach
logic at enabled.com
Thu Sep 30 13:26:01 PDT 2004
> I see. Kernels (and all other Planet CCRMA / RedHat packages) are
> installed using rpm (RedHat Package Manager) and that is what you could
> use to erase them, "rm" operates on files only.
>
> To find which packages you actually have installed that match the kernel
> you want:
>
> rpm -q -a | grep 2.4.20-31.1
>
> (rpm -q -a lists all packages installed, grep filters the ones that
> match the string that follows).
>
> That should list a bunch of packages, at least the kernel itself and
> the alsa driver kernel modules packages specific to that kernel.
>
> To erase them do:
>
> rpm -e --nodeps kernel-... alsa-driver-...
> (replace the kernel- and alsa-driver- with the ones listed in the
> previous command).
>
> Now, I'm using the "--nodeps" option which you normally don't want to
> use because other installed packages in Planet CCRMA rely on having the
> alsa driver installed. If you try to erase without --deps rpm will
> complain. But using it means we leave the dependencies "broken" (that
> is, there is a package needed by other packages that is not
> installed). To reinstall the kernel and fix things you will need to
> do a:
>
> apt-get -f install
>
> That should reinstall the missing packages.
> Save the output so that we know what happened...
fernando,
thanks so much for your assistance. I was able to get the CCRMA kernel
installed just fine now. I see its been added to the grub.conf. When booting
with Red Hat Enterprise Linux WS (2.4.20-31.1.caps.rh90.ccrmasmp) kernel -
I finding the broadcom corp NetXtreme BCM5788 Gigabit Ethernet card is being
asked to be removed and it appears that I dont have networking capabilities.
and
swap space is not mountable since the drive devices are different. should I
change /dev/sda3 to /dev/hdc3 or is there a way to use a different /etc/fstab
depending on the kernel I am loading?
--- current /etc/fstab ---
[root at dhcp-183-1-168-192 root]# cat /etc/fstab
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/sda3 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom udf,iso9660
noauto,owner,kudzu,ro 0 0
--- snip ---
but the device names are:
---- snip ---
[root at dhcp-183-1-168-192 etc]# cat /root/it2
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/hdc2 151723100 5329644 138686276 4% /
/dev/hdc1 101089 45959 49911 48% /boot
none 515120 0 515120 0% /dev/shm
--- snip ---
output from removal and reinstallation of the kernel
--- snip ---
[root at dhcp-183-1-168-192 boot]# rpm -q -a | grep 2.4.20-31.1
kernel-source-2.4.20-31.1.caps.rh90.ccrma
midishare-kernel-2.4.20-31.1.caps.rh90.ccrma-1.86-4.rh90.ccrma
midishare-kernel-smp-2.4.20-31.1.caps.rh90.ccrma-1.86-4.rh90.ccrma
[root at dhcp-183-1-168-192 boot]#
[root at dhcp-183-1-168-192 boot]# apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
alsa-kernel-2.4.20-31.1.caps.rh90.ccrma
alsa-kernel-smp-2.4.20-31.1.caps.rh90.ccrma kernel#2.4.20-31.1.caps.rh90.ccrma
kernel-smp#2.4.20-31.1.caps.rh90.ccrma
The following NEW packages will be installed:
alsa-kernel-2.4.20-31.1.caps.rh90.ccrma
alsa-kernel-smp-2.4.20-31.1.caps.rh90.ccrma kernel#2.4.20-31.1.caps.rh90.ccrma
kernel-smp#2.4.20-31.1.caps.rh90.ccrma
0 packages upgraded, 4 newly installed, 0 removed and 18 not upgraded.
Need to get 0B/31.1MB of archives.
After unpacking 72.4MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Executing RPM (-ivh)...
warning:
/var/cache/apt/archives/kernel-smp#2.4.20-31.1.caps.rh90.ccrma_2.4.20-31.1.caps.rh90.ccrma_i686.rpm:
V3 DSA signature: NOKEY, key ID 68d9802a
Preparing... ########################################### [100%]
1:kernel-smp ########################################### [ 50%]
2:kernel ########################################### [100%]
Executing RPM (-Uvh)...
warning:
/var/cache/apt/archives/alsa-kernel-2.4.20-31.1.caps.rh90.ccrma_1.0.4-1.cvs.rh90.ccrma_i686.rpm:
V3 DSA signature: NOKEY, key ID 68d9802a
Preparing... ########################################### [100%]
1:alsa-kernel-2.4.20-31.1########################################### [ 50%]
2:alsa-kernel-smp-2.4.20-########################################### [100%]
[root at dhcp-183-1-168-192 root]#
--- snip ---
cheers,
noah
>
> -- Fernando
>
> _______________________________________________
> PlanetCCRMA mailing list
> PlanetCCRMA at ccrma.stanford.edu
> http://ccrma-mail.stanford.edu/mailman/listinfo/planetccrma
More information about the PlanetCCRMA
mailing list