Re: kickstart question
Jerry Geis wrote: > I have a couple lines like: > > part / --ondisk=sda --fstype ext3 --size=20000 --asprimary > part swap --ondisk=sda --size=4000 --asprimary > part /home --ondisk=sda --fstype ext3 --size=1 --asprimary --grow > > in my kickstart file. > > Is there a way to have 1 kickstart file that works for hda and sda > both??? > > So I would like to have 1 kickstart file that works for either a hda > install or sda install. > Thanks, > Jerry > > _______________________________________________ > CentOS mailing list > CentOS@... > http://lists.centos.org/mailman/listinfo/centos > Jerry, see the attached example of my partitioning %pre script i use for all my builds. hope it helps. Ben(Continue reading)
No module named snack
Hi everyone--I'm back on the list after some time not managing any Centos machines. It's good to be back.
I'm trying to switch a server from sendmail to postfix. It's Centos 4.6. I installed postfix and system-switch-mail. When I run system-switch-mail, I get
Traceback (most recent call last):
File "/usr/sbin/system-switch-mail", line 89, in <module>
main()
File "/usr/sbin/system-switch-mail", line 76, in main
from switchmail_tui import mainDialog
File "/usr/share/system-switch-mail/switchmail_tui.py", line 36, in <module>
from snack import *
ImportError: No module named snack
"Snack" appears to be a python module provided by a package called newt, which is installed:
# rpm -qf /usr/lib/python2.3/site-packages/snack.py
newt-0.51.6-9.rhel4
What am I doing wrong?
Thanks a lot,
Matt
_______________________________________________ CentOS mailing list CentOS@... http://lists.centos.org/mailman/listinfo/centos
Boot disk changes from /dev/sda during install to /dev/sdb on first boot
CentOS 4.6 x86_64, Dell PE2950 with DRAC5, onboard SAS RAID 1, 2 arrays. After booting installed system, /dev/sda exists but does not appear to be a hard disk. fdisk -l displays nothing for sda. CentOS is on /dev/sdb and the second RAID 1 array is now /dev/sdc. It's been suggested (in the Dell Linux mailing list) that it is related to the virtual CD device of the DRAC. But why would it change after install? Is it perhaps a difference in drivers that are available in the installer vs. the live kernel? How can I find out what /dev/sda is? Any way to force the drive order from the CentOS side? No relevant options that I have found in BIOS or RAID setup. bash-3.00# ls -l /dev/sd* brw-rw---- 1 root disk 8, 0 Apr 29 05:15 /dev/sda brw-rw---- 1 root disk 8, 16 Apr 29 05:15 /dev/sdb brw-rw---- 1 root disk 8, 17 Apr 29 05:15 /dev/sdb1 brw-rw---- 1 root disk 8, 18 Apr 29 05:15 /dev/sdb2 brw-rw---- 1 root disk 8, 19 Apr 29 05:15 /dev/sdb3 brw-rw---- 1 root disk 8, 32 Apr 29 05:15 /dev/sdc /dev/cdrom points at /dev/hda mount /dev/sda /mnt yeilds 'No medium found' When virtual CD media is connected via DRAC, it is found at /dev/cdrom1 which links to /dev/scd0 -- -- Jeff
RE: Boot disk changes from /dev/sda during install to /dev/sdb on first boot
>It's been suggested (in the Dell Linux mailing list) that it is
>related to the virtual CD device of the DRAC.
As far as I know, it is. I recall something about it emulating a
usb drive so it could be hot plugged with a new "disc" if you will.
>But why would it change after install? Is it perhaps a difference in drivers that are
>available in the installer vs. the live kernel?
How did you install out of curiosity?
>How can I find out what /dev/sda is? Any way to force the drive order
>from the CentOS side? No relevant options that I have found in BIOS or
>RAID setup.
What info do you get when you cat some of the /sys/block/sd{a b}/ files after its booted?
jlc
Re: Boot disk changes from /dev/sda during install to /dev/sdb on first boot
On Thu, May 1, 2008 at 12:51 AM, Joseph L. Casale <jcasale@...> wrote: > >It's been suggested (in the Dell Linux mailing list) that it is > >related to the virtual CD device of the DRAC. > > As far as I know, it is. I recall something about it emulating a > usb drive so it could be hot plugged with a new "disc" if you will. > > > >But why would it change after install? Is it perhaps a difference in drivers that are > >available in the installer vs. the live kernel? > > How did you install out of curiosity? DRAC Virtual CD (full CentOS disk 1 of 4) in one instance, Virtual CD with http install in another. > > > >How can I find out what /dev/sda is? Any way to force the drive order > >from the CentOS side? No relevant options that I have found in BIOS or > >RAID setup. > > What info do you get when you cat some of the /sys/block/sd{a b}/ files after its booted? removable = 1, size = 0 among others. > > jlc > _______________________________________________ > CentOS mailing list > CentOS@... > http://lists.centos.org/mailman/listinfo/centos > -- -- Jeff
CentOS 4.5 - mounting remote windows fileserver using smb or cifs
Hi I need to mount a windows share on a CentOS 4.5 box running stock kernel etc - I have tried using cifs and also smbfs My fstab looks like //share/name /mount/point smbfs username=user,password=password,uid=useridhere 0 0 or the same using cifs When i try and mount that i get the following errors depending on the share type smbfs: mount_data version 1919251317 is not supported CIFS VFS: cifs_mount failed w/return code = -22 i would have thought that cifs was the way forward but any ideas? These use creds are being used on an ancient 7.3 box and they work fine thanks
Re: CentOS 4.5 - mounting remote windows fileserver using smb or cifs
This works for me... In /etc/fstab:- //share/name /mount/point cifs _netdev,credentials=/etc/samba/cred.txt 0 0 In the credentials file:- username=your-windows-user password=XXXXXXXXXXX Make sure the credentials file is owned by root and only readable by root. Regards, Ian Tom Brown wrote: > Hi > > I need to mount a windows share on a CentOS 4.5 box running stock > kernel etc - I have tried using cifs and also smbfs > > My fstab looks like > > //share/name /mount/point smbfs > username=user,password=password,uid=useridhere 0 0 > > or the same using cifs > > When i try and mount that i get the following errors depending on the > share type > > smbfs: mount_data version 1919251317 is not supported > > CIFS VFS: cifs_mount failed w/return code = -22 > > i would have thought that cifs was the way forward but any ideas? > These use creds are being used on an ancient 7.3 box and they work fine > > thanks > > > > > > _______________________________________________ > CentOS mailing list > CentOS@... > http://lists.centos.org/mailman/listinfo/centos >
RE: DVD reader: Hardware problem or OS glitch?
On 29 April 2008, "John" <jses2 ATgmail.com> wrote: >Message: 42 > Date: Tue, 29 Apr 2008 17:43:43 -0400 > Message-ID: <006901c8aa42$1a387450$0700a8c0 at ethan27> >Also please post you fstab and mtab files. It may be helpful in pointing out > the problem. Also have you run yum update on the machine? (fstab and mtab files posted previously) I ran "yum update". The box is now 100% up to date. The problem did not go away. On CentOS 5, the Teac DV-516D DVD/CD reader can mount a CD, without any problem. However, it sees a DVD as blank. On Windows XP, it works perfectly, with CD and DVD media. I sent an email to Teac Tech Support, asking for the URL where I could download their Diagnostics for the drive and got this reply: >Unfortunately, no diagnostics are available as checking the read capabilities within >Windows XP is most than acceptable. If the drive does not work properly within >Windows or any other PC, then the drive needs to be repaired or replaced. Disappointing and I will probably never purchase Teac components again. The box is dual boot (WinXP & CentOS 5). Years ago, I purchased SystemSuite 4. I installed that and ran their generic diagnostics on the Teac DVD/CD reader and it passed. I am not positive the Teac drive is working perfectly, but I have a high level of confidence in it. My belief is that somewhere, there is either no support for the Teac DV-516D in CentOS 5, or, that something required to automount a DVD in it is not configured properly. It can mount a CD without any problem.
Re: CentOS 4.5 - mounting remote windows fileserver using smb or cifs
On Thu, May 1, 2008 at 2:22 AM, Tom Brown <tom@...> wrote: > Hi > > I need to mount a windows share on a CentOS 4.5 box running stock kernel > etc - I have tried using cifs and also smbfs > > My fstab looks like > > //share/name /mount/point smbfs > username=user,password=password,uid=useridhere 0 0 > > or the same using cifs > > When i try and mount that i get the following errors depending on the share > type > > smbfs: mount_data version 1919251317 is not supported > > CIFS VFS: cifs_mount failed w/return code = -22 > > i would have thought that cifs was the way forward but any ideas? These use > creds are being used on an ancient 7.3 box and they work fine This wiki page may help you: http://wiki.centos.org/TipsAndTricks/WindowsShares Akemi
RSS Feed