more to be added when using rpm and selinux?
david smethurst
davidjs at netspace.net.au
Tue Jan 25 01:46:23 UTC 2005
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
1 1
LABEL=/boot /boot ext3 defaults
1 2
none /dev/pts devpts gid=5,mode=620
0 0
none /dev/shm tmpfs defaults
0 0
none /proc proc defaults
0 0
none /sys sysfs defaults
0 0
/dev/VolGroup00/LogVol01 swap swap defaults
0 0
/dev/hda /media/cdrecorder auto
pamconsole,fscontext=system_u:object_r:removable_t,exec,noauto,managed 0
0
/dev/fd0 /media/floppy auto
pamconsole,fscontext=system_u:object_r:removable_t,exec,noauto,managed 0
0
this means, i think, i only have one drive /dev/VolGroup00/LogVol00
which has / and swap (/LogVo101) may be on the other drive?
ihave no understanding of this volgroup thing at all!
i could of set it up wrong in the first place but i had to removed my
other drive for fc3 to run in, it doesnt like its geom_
here is a copy of mount:
[root at localhost ~]# mount
/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
usbfs on /proc/bus/usb type usbfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
[root at localhost ~]#
i know the second drive is attached because i see it fail on each
startup.
ok slowly now what would i need to do to mount this second drive?
thanks
david
On Sun, 2005-01-23 at 23:41 -0600, Jeff Vian wrote:
> On Mon, 2005-01-24 at 16:20 +1100, david smethurst wrote:
> > hiall, again
> > im at a loss as to what all this means:
> >
> > [root at 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
> > [root at localhost qtparted]#
> >
> >
> > im trying to get some of the dependencies to get qtparted installed on
> > my 64bit because im too stupid to be able to figger-out how to access my
> > original drive which still has fc2 on it and cant be mounted because of
> > the same mount point names,
> > but now i just cant solve all the dependencies required.
> > i might attach it as a usb and see what that does>
> > or just ghost this new fc3 installation across and lose all the data ive
> > been trying to keep thats on fc2 disk.
> > thanks
>
> easy solution for the problem with identical disk labels -- don't use
> them in fstab.
>
> to fix that do the following.
>
> # mount
> will give you something like this that (mostly) maps labels to
> partitions
>
> [root at goliath ~]# mount
> /dev/hda2 on / type ext3 (rw)
> /dev/hda1 on /boot type ext3 (rw)
> /dev/hda3 on /home type ext3 (rw)
> /dev/hda5 on /opt type ext3 (rw)
>
> now look in /etc/fstab to find out which filesystems are mounted by
> label. Usually you will see LABEL=/ and LABEL=/boot and maybe more.
>
> replace only that part of the line with the device equivalent.
> With mine that means replacing LABEL=/ with /dev/hda2 and similar
> for /boot and /dev/hda1
>
> Finally you edit /boot/grub/grub.conf and replace the root=LABEL=/ with
> root=/dev/hda2.
>
> Now you can attach the other drive and reboot without getting the label
> conflicts that prevent booting.
>
> HTH
>
> > david
> >
>
More information about the users
mailing list