View Full Version : Pleas help!! Se my other post (HD enclosure?)
NotPasteurized
2007-11-02, 04:16 PM CDT
:cool: I'm posting this cause I don't know if I can use the other post, and it may be easier to read
Do I jest type mount -t ext3 /dev/sda /some/mountpoint/here in the terminal if its ext3,
O and what do I use as a mountpoint location normally...
O also maybe I should mention that the drive has a fedora OS on it including a swap, temp and other things on it as default.
I'm trying to retrieve all the info I can.
sorry I didn't mention that before.
stevea
2007-11-02, 04:51 PM CDT
:cool: I'm posting this cause I don't know if I can use the other post, and it may be easier to read
Do I jest type mount -t ext3 /dev/sda /some/mountpoint/here in the terminal if its ext3,
O and what do I use as a mountpoint location normally...
O also maybe I should mention that the drive has a fedora OS on it including a swap, temp and other things on it as default.
I'm trying to retrieve all the info I can.
sorry I didn't mention that before.
Your fedora system is *probably* set up to automount each recognized partition on a separate directory under /media. You'll have to search for the dirs using "df".
If no automount then YOU will have to creete diretories (typically under /media) and mount the partititons.
Use "fdisk -l" to see all the partitions of an inserted flash usb.
I just plugged in my big stick and I see
[root@nidula ~]# fdisk -l
Disk /dev/sda: 100.0 GB, 100030242816 bytes
.....
Disk /dev/sdb: 8320 MB, 8320974848 bytes
255 heads, 63 sectors/track, 1011 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xc3072e18
Device Boot Start End Blocks Id System
/dev/sdb1 1 255 2048256 b W95 FAT32
/dev/sdb2 256 516 2096482+ 83 Linux
/dev/sdb3 * 517 647 1052257+ 83 Linux
So I have 3 partition on the flash, /dev/sdb1 ... sdb3.
==
These automouned as
[root@nidula ~]# df --si
Filesystem Size Used Avail Use% Mounted on
...
/dev/sdb1 2.1G 559M 1.6G 27% /media/CORSAIR
/dev/sdb2 2.2G 1.7G 379M 82% /media/disk
/dev/sdb3 1.1G 35M 972M 4% /media/disk-1
The flash is made by corsair - so it chose that ats the first mount point (I didn't).
Sometimes it just chooses "disk, disk-1, disk-2, disk-3 ....
so I cannot tell you th ename th eautomounter will choose.
Be *SURE* to unmount all partitions befoe you yank the flash-stick.
NotPasteurized
2007-11-02, 05:21 PM CDT
Its actually a harddrive enclosure with a 200GB HD in it and although automount is on as you can See in the other post it wont work.
and with terminal well you can See fore your self at HD enclosure? post.
Now what do I do I'm like sort-of screwed if it wont work?
Also when I type mount -t ext3 /dev/sda/media (I get this).
[root@localhost Home]# mount -t ext3 /dev/sda/media
Usage: mount -V : print version
mount -h : print this help
mount : list mounted filesystems
mount -l : idem, including volume labels
So far the informational part. Next the mounting.
The command is `mount [-t fstype] something somewhere'.
Details found in /etc/fstab may be omitted.
mount -a [-t|-O] ... : mount all stuff from /etc/fstab
mount device : mount device at the known place
mount directory : mount known device here
mount -t type dev dir : ordinary mount command
Note that one does not really mount a device, one mounts
a filesystem (of the given type) found on the device.
One can also mount an already visible directory tree elsewhere:
mount --bind olddir newdir
or move a subtree:
mount --move olddir newdir
One can change the type of mount containing the directory dir:
mount --make-shared dir
mount --make-slave dir
mount --make-private dir
mount --make-unbindable dir
One can change the type of all the mounts in a mount subtree
containing the directory dir:
mount --make-rshared dir
mount --make-rslave dir
mount --make-rprivate dir
mount --make-runbindable dir
A device can be given by name, say /dev/hda1 or /dev/cdrom,
or by label, using -L label or by uuid, using -U uuid .
Other options: [-nfFrsvw] [-o options] [-p passwdfd].
For many more details, say man 8 mount .
Pleas any help!
NotPasteurized
2007-11-02, 06:28 PM CDT
Question OK but now HD??
OK I got that enclosure thing to start but now the only thing that came up when mounted is /boot
and not all the file system.
So whats next??
My new question...
I have added some things people have sent me to give a better picture and quoted them using >.
>I think you skipped a lot of the story somewhere along the line. Would you like to fill it in for the rest of us.
Lazlow
>(Me) I am starting a new question cause the only part of the drive I See is a single folder /boot witch is about 60.5 MB of a 200 GB HD with fedora 7 loaded on it witch I cant boot from cause I broke yum.
O and now I got a notification that may be at-least part of the problem I don't know.
It notes...
Summary
SELinux is preventing access to files with the default label, default_t.
Detailed Description
SELinux permission checks on files labeled default_t are being denied.
These files/directories have the default label on them. This can indicate a
labeling problem, especially if the files being referred to are not top
level directories. Any files/directories under standard system directories,
/usr, /var. /dev, /tmp, ..., should not be labeled with the default label.
The default label is for files/directories which do not have a label on a
parent directory. So if you create a new directory in / you might
legitimately get this label.
Allowing Access
If you want a confined domain to use these files you will probably need to
relabel the file/directory with chcon. In some cases it is just easier to
relabel the system, to relabel execute: "touch /.autorelabel; reboot"
Additional Information
Source Context system_u:system_r:cupsd_t:SystemLow-SystemHigh
Target Context system_u:object_r:default_t
Target Objects root [ dir ]
Affected RPM Packages filesystem-2.4.6-1.fc7 [target]
Policy RPM selinux-policy-2.6.4-8.fc7
Selinux Enabled True
Policy Type targeted
MLS Enabled True
Enforcing Mode Enforcing
Plugin Name plugins.default
Host Name localhost.localdomain
Platform Linux localhost.localdomain 2.6.21-1.3194.fc7 #1
SMP Wed May 23 22:35:01 EDT 2007 i686 i686
Alert Count 2
First Seen Sat 03 Nov 2007 03:13:20 AM CDT
Last Seen Sat 03 Nov 2007 03:41:00 PM CDT
Local ID cd8f0018-c6eb-4a09-acf5-7a1dadc8a6c5
Line Numbers
Raw Audit Messages
avc: denied { search } for comm="python" dev=dm-0 egid=7 euid=0
exe="/usr/bin/python" exit=-13 fsgid=7 fsuid=0 gid=7 items=0 name="root"
pid=2682 scontext=system_u:system_r:cupsd_t:s0-s0:c0.c1023 sgid=7
subj=system_u:system_r:cupsd_t:s0-s0:c0.c1023 suid=0 tclass=dir
tcontext=system_u:object_r:default_t:s0 tty=(none) uid=0
----------------------------------------------------------------------------------------
And...
Summary
SELinux is preventing access to files with the default label, default_t.
Detailed Description
SELinux permission checks on files labeled default_t are being denied.
These files/directories have the default label on them. This can indicate a
labeling problem, especially if the files being referred to are not top
level directories. Any files/directories under standard system directories,
/usr, /var. /dev, /tmp, ..., should not be labeled with the default label.
The default label is for files/directories which do not have a label on a
parent directory. So if you create a new directory in / you might
legitimately get this label.
Allowing Access
If you want a confined domain to use these files you will probably need to
relabel the file/directory with chcon. In some cases it is just easier to
relabel the system, to relabel execute: "touch /.autorelabel; reboot"
Additional Information
Source Context system_u:system_r:procmail_t
Target Context system_u:object_r:default_t
Target Objects root [ dir ]
Affected RPM Packages procmail-3.22-19.fc7
[application]filesystem-2.4.6-1.fc7 [target]
Policy RPM selinux-policy-2.6.4-8.fc7
Selinux Enabled True
Policy Type targeted
MLS Enabled True
Enforcing Mode Enforcing
Plugin Name plugins.default
Host Name localhost.localdomain
Platform Linux localhost.localdomain 2.6.21-1.3194.fc7 #1
SMP Wed May 23 22:35:01 EDT 2007 i686 i686
Alert Count 1
First Seen Sat 03 Nov 2007 03:00:02 AM CDT
Last Seen Sat 03 Nov 2007 04:54:20 PM CDT
Local ID edcf35ad-c4bf-4fa0-a079-3b358615ecbd
Line Numbers
Raw Audit Messages
avc: denied { search } for comm="procmail" dev=dm-0 egid=0 euid=0
exe="/usr/bin/procmail" exit=-13 fsgid=0 fsuid=0 gid=0 items=0 name="root"
pid=4727 scontext=system_u:system_r:procmail_t:s0 sgid=0
subj=system_u:system_r:procmail_t:s0 suid=0 tclass=dir
tcontext=system_u:object_r:default_t:s0 tty=(none) uid=0
Last edited by NotPasteurized : Today at 02:19 PM PST.
---------------------------------------------------------------------------------------------------
And...
Summary
SELinux is preventing access to files with the default label, default_t.
Detailed Description
SELinux permission checks on files labeled default_t are being denied.
These files/directories have the default label on them. This can indicate a
labeling problem, especially if the files being referred to are not top
level directories. Any files/directories under standard system directories,
/usr, /var. /dev, /tmp, ..., should not be labeled with the default label.
The default label is for files/directories which do not have a label on a
parent directory. So if you create a new directory in / you might
legitimately get this label.
Allowing Access
If you want a confined domain to use these files you will probably need to
relabel the file/directory with chcon. In some cases it is just easier to
relabel the system, to relabel execute: "touch /.autorelabel; reboot"
Additional Information
Source Context system_u:system_r:alsa_t
Target Context system_u:object_r:default_t
Target Objects root [ dir ]
Affected RPM Packages alsa-utils-1.0.14-0.5.rc2.fc7
[application]filesystem-2.4.6-1.fc7 [target]
Policy RPM selinux-policy-2.6.4-8.fc7
Selinux Enabled True
Policy Type targeted
MLS Enabled True
Enforcing Mode Enforcing
Plugin Name plugins.default
Host Name localhost.localdomain
Platform Linux localhost.localdomain 2.6.21-1.3194.fc7 #1
SMP Wed May 23 22:35:01 EDT 2007 i686 i686
Alert Count 2
First Seen Sat 03 Nov 2007 05:46:21 PM CDT
Last Seen Sat 03 Nov 2007 09:26:50 PM CDT
Local ID f4e022c7-e700-45ad-a4a2-dc1e356897ef
Line Numbers
Raw Audit Messages
avc: denied { search } for comm="alsactl" dev=dm-0 egid=0 euid=0
exe="/sbin/alsactl" exit=-13 fsgid=0 fsuid=0 gid=0 items=0 name="root" pid=9653
scontext=system_u:system_r:alsa_t:s0 sgid=0 subj=system_u:system_r:alsa_t:s0
suid=0 tclass=dir tcontext=system_u:object_r:default_t:s0 tty=(none) uid=0
I am sorry.
NotPasteurized
2007-11-04, 12:08 AM CDT
If I don't get a reply by Monday night then being in France and unable to do anything with this system fore two months I am afraid that the post will be tossed to the bottom of the forum and become useless to me and others.
I should hope that the system could be fixed by then,
But if not I shall create a new identity and most likely unsuccessfully attempt to post my question again after I get back.
PS.
If you all don't hear from me again then Iv given up.
Wayne
2007-11-04, 12:13 AM CDT
Actually, coming back under a new ID is a good way to get permanently banned form the forum.
Wayne
NotPasteurized
2007-11-04, 12:22 AM CDT
OK then I hope fore an ansur soon so my next stop after coming home isn't to by a windows OS.
Wayne
2007-11-04, 12:31 AM CDT
If you want to use Windows then please go ahead. No one is forcing you to use Fedora, the choice is yours. You can even try a different distro and we still wouldn't care. What we do ask though, is that you obey the forum rules and the Community Managers and Admins. You've already started several threads on this topic and have been asked by me not to do so, but so far you haven't listened. The people in this forum have no connection with the Fedora project, except we are users who volunteer our time to help each other out and have no obligation to supply an answer to meet someone's deadline.
Wayne
leigh123@linux
2007-11-04, 12:47 AM CDT
Question OK but now HD??
OK I got that enclosure thing to start but now the only thing that came up when mounted is /boot
and not all the file system.
So whats next??
My new question...
I have added some things people have sent me to give a better picture and quoted them using >.
>I think you skipped a lot of the story somewhere along the line. Would you like to fill it in for the rest of us.
Lazlow
>(Me) I am starting a new question cause the only part of the drive I See is a single folder /boot witch is about 60.5 MB of a 200 GB HD with fedora 7 loaded on it witch I cant boot from cause I broke yum.
O and now I got a notification that may be at-least part of the problem I don't know.
It notes...
Summary
SELinux is preventing access to files with the default label, default_t.
Detailed Description
SELinux permission checks on files labeled default_t are being denied.
These files/directories have the default label on them. This can indicate a
labeling problem, especially if the files being referred to are not top
level directories. Any files/directories under standard system directories,
/usr, /var. /dev, /tmp, ..., should not be labeled with the default label.
The default label is for files/directories which do not have a label on a
parent directory. So if you create a new directory in / you might
legitimately get this label.
Allowing Access
If you want a confined domain to use these files you will probably need to
relabel the file/directory with chcon. In some cases it is just easier to
relabel the system, to relabel execute: "touch /.autorelabel; reboot"
Additional Information
Source Context system_u:system_r:cupsd_t:SystemLow-SystemHigh
Target Context system_u:object_r:default_t
Target Objects root [ dir ]
Affected RPM Packages filesystem-2.4.6-1.fc7 [target]
Policy RPM selinux-policy-2.6.4-8.fc7
Selinux Enabled True
Policy Type targeted
MLS Enabled True
Enforcing Mode Enforcing
Plugin Name plugins.default
Host Name localhost.localdomain
Platform Linux localhost.localdomain 2.6.21-1.3194.fc7 #1
SMP Wed May 23 22:35:01 EDT 2007 i686 i686
Alert Count 2
First Seen Sat 03 Nov 2007 03:13:20 AM CDT
Last Seen Sat 03 Nov 2007 03:41:00 PM CDT
Local ID cd8f0018-c6eb-4a09-acf5-7a1dadc8a6c5
Line Numbers
Raw Audit Messages
avc: denied { search } for comm="python" dev=dm-0 egid=7 euid=0
exe="/usr/bin/python" exit=-13 fsgid=7 fsuid=0 gid=7 items=0 name="root"
pid=2682 scontext=system_u:system_r:cupsd_t:s0-s0:c0.c1023 sgid=7
subj=system_u:system_r:cupsd_t:s0-s0:c0.c1023 suid=0 tclass=dir
tcontext=system_u:object_r:default_t:s0 tty=(none) uid=0
----------------------------------------------------------------------------------------
And...
Summary
SELinux is preventing access to files with the default label, default_t.
Detailed Description
SELinux permission checks on files labeled default_t are being denied.
These files/directories have the default label on them. This can indicate a
labeling problem, especially if the files being referred to are not top
level directories. Any files/directories under standard system directories,
/usr, /var. /dev, /tmp, ..., should not be labeled with the default label.
The default label is for files/directories which do not have a label on a
parent directory. So if you create a new directory in / you might
legitimately get this label.
Allowing Access
If you want a confined domain to use these files you will probably need to
relabel the file/directory with chcon. In some cases it is just easier to
relabel the system, to relabel execute: "touch /.autorelabel; reboot"
Additional Information
Source Context system_u:system_r:procmail_t
Target Context system_u:object_r:default_t
Target Objects root [ dir ]
Affected RPM Packages procmail-3.22-19.fc7
[application]filesystem-2.4.6-1.fc7 [target]
Policy RPM selinux-policy-2.6.4-8.fc7
Selinux Enabled True
Policy Type targeted
MLS Enabled True
Enforcing Mode Enforcing
Plugin Name plugins.default
Host Name localhost.localdomain
Platform Linux localhost.localdomain 2.6.21-1.3194.fc7 #1
SMP Wed May 23 22:35:01 EDT 2007 i686 i686
Alert Count 1
First Seen Sat 03 Nov 2007 03:00:02 AM CDT
Last Seen Sat 03 Nov 2007 04:54:20 PM CDT
Local ID edcf35ad-c4bf-4fa0-a079-3b358615ecbd
Line Numbers
Raw Audit Messages
avc: denied { search } for comm="procmail" dev=dm-0 egid=0 euid=0
exe="/usr/bin/procmail" exit=-13 fsgid=0 fsuid=0 gid=0 items=0 name="root"
pid=4727 scontext=system_u:system_r:procmail_t:s0 sgid=0
subj=system_u:system_r:procmail_t:s0 suid=0 tclass=dir
tcontext=system_u:object_r:default_t:s0 tty=(none) uid=0
Last edited by NotPasteurized : Today at 02:19 PM PST.
---------------------------------------------------------------------------------------------------
And...
Summary
SELinux is preventing access to files with the default label, default_t.
Detailed Description
SELinux permission checks on files labeled default_t are being denied.
These files/directories have the default label on them. This can indicate a
labeling problem, especially if the files being referred to are not top
level directories. Any files/directories under standard system directories,
/usr, /var. /dev, /tmp, ..., should not be labeled with the default label.
The default label is for files/directories which do not have a label on a
parent directory. So if you create a new directory in / you might
legitimately get this label.
Allowing Access
If you want a confined domain to use these files you will probably need to
relabel the file/directory with chcon. In some cases it is just easier to
relabel the system, to relabel execute: "touch /.autorelabel; reboot"
Additional Information
Source Context system_u:system_r:alsa_t
Target Context system_u:object_r:default_t
Target Objects root [ dir ]
Affected RPM Packages alsa-utils-1.0.14-0.5.rc2.fc7
[application]filesystem-2.4.6-1.fc7 [target]
Policy RPM selinux-policy-2.6.4-8.fc7
Selinux Enabled True
Policy Type targeted
MLS Enabled True
Enforcing Mode Enforcing
Plugin Name plugins.default
Host Name localhost.localdomain
Platform Linux localhost.localdomain 2.6.21-1.3194.fc7 #1
SMP Wed May 23 22:35:01 EDT 2007 i686 i686
Alert Count 2
First Seen Sat 03 Nov 2007 05:46:21 PM CDT
Last Seen Sat 03 Nov 2007 09:26:50 PM CDT
Local ID f4e022c7-e700-45ad-a4a2-dc1e356897ef
Line Numbers
Raw Audit Messages
avc: denied { search } for comm="alsactl" dev=dm-0 egid=0 euid=0
exe="/sbin/alsactl" exit=-13 fsgid=0 fsuid=0 gid=0 items=0 name="root" pid=9653
scontext=system_u:system_r:alsa_t:s0 sgid=0 subj=system_u:system_r:alsa_t:s0
suid=0 tclass=dir tcontext=system_u:object_r:default_t:s0 tty=(none) uid=0
I am sorry.
Have you tried doing what it suggested and relabel
touch /.autorelabel
reboot
And if you can't run the command try adding selinux=0 to the kernel boot line using grub edit on boot up.
vBulletin® v3.7.3, Copyright ©2000-2009, Jelsoft Enterprises Ltd.