Re: more to be added when using rpm and selinux?

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

 



On Tuesday 25 January 2005 01:46, david smethurst wrote:
> sorry about the formatting, but fstab is like this:
>
> # This file is edited by fstab-sync - see 'man fstab-sync' for details
> /dev/VolGroup00/LogVol00 /                       ext3    defaults
> LABEL=/boot             /boot                   ext3    defaults
> /dev/VolGroup00/LogVol01 swap                    swap    defaults
> /dev/hda                /media/cdrecorder       auto
<aside>
curious... your CDRW drive is the primary master?
</aside>

to mount the partitions on your second drive you need to know which ones they 
are and what they contain.
as root, try
fdisk -l
which will list the partitions it can see on *all* drives in your system.
you should see two different drives - one of which is your new disk, on is 
your old one.
to find out which is which try 
df -h
(actually the -h is optional) which will show you what is currently mounted.

so if df -h included (for example) /dev/hda2 
and fdisk -l showed you partitions on both hda and hdc then hdc is your old 
disk.
you can then do one of two things.
firstly you can edit /etc/fstab and /boot/grub/grub.conf as suggested by Jeff.
secondly you can look at and change the labels on you second disk so they 
don't clash with your new system...
this you may do with e2label:
e2label /dev/hdc1
will show you the current label on /dev/hdc1
e2label /dev/hdc1 oldroot
will change it to oldroot.

as for this out put from rpm...
> > > [root@localhost qtparted]# rpm -ivh libuuid*.rpm
> > >    1:libuuid                warning: user cs does not exist - using
> > > root warning: group cs does not exist - using root
> > > ########################################### [100%]
> > > warning: user cs does not exist - using root
> > > warning: group cs does not exist - using root
> > > warning: user cs does not exist - using root
> > > warning: group cs does not exist - using root
this, incidentally, only happens if you are installing a source rpm package.
was this package called libuuid-something.src.rpm by any chance?
it will have put files into carious directories in /usr/src/redhat

HTH
Stuart
-- 
Stuart Sears RHCE, RHCX
It's sweet to be remembered, but it's often cheaper to be forgotten.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux