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

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

 



On Tue, 2005-01-25 at 19:43 +0000, Stuart Sears wrote:
> 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?
this is because all hdd are sata

> </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.
/dev/sda is the booting drive now and /dev/sdb is the old drive
> you can then do one of two things.
> firstly you can edit /etc/fstab and /boot/grub/grub.conf as suggested by Jeff.
wasnt game to try this in case i errored it
> 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/sdb1 oldboot
e2label /dev/sdb2 oldroot
/dev/sdb3 is the swap and should be ok if left?
> 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?
this is correct also, trying to solve dependencies again!
> it will have put files into carious directories in /usr/src/redhat
thanks very much stuart
everything should be ok on next boot
thanks again
david

> 
> 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