Re: [CentOS] how to separate individual logs?
On 12/1/10, John Doe wrote: > I copy/pasted the code above and it works fine... > If I indent it like mine, they are identical. > Check that ftp does not add control chars. > You run it with bash, right? > Ask your sysadmin/colegue to help you. > > JD > Sorry to forget to mention that your code was really 'The Power of cents' ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] yum-complete-transaction
Good day, Some yum instructions I do not know. Kindly some pointers please. There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them. The program yum-complete-transaction is found in the yum-utils package. This is where I am lost Thanks Johan ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Fwd: Linux, Windows AD domain, and IDs
You have a CentOS (for example) workstation that is a member of a Windows AD domain courtesy of modified smb.conf and krb5.conf files. There are, thus, no local user accounts on the linux workstation. There is a network application that benefits most (maybe even requires) the user's numerical portion of their employee ID as their linux workstation id. Thus, if I log in, my domain username might be scott12. My employee ID might be se123456. If I log into the linux workstation, I'm going to log in as scott12 along with providing my password. I type id at the shell, and am given something like scott12 (10001) for the user. How can I manage to make the id [also] equal to 123456 for user scott12 without breaking anything? Thanks for any leads. Scott ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] (SOLVED) yum-complete-transaction
Johan Scheepers wrote: > Good day, > > Some yum instructions I do not know. > Kindly some pointers please. > > There are unfinished transactions remaining. You might consider running > yum-complete-transaction first to finish them. > The program yum-complete-transaction is found in the yum-utils package. > > This is where I am lost > > Thanks > Johan > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > I found the required stuf on google. Sorry. Regards Johan ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] # chkconfig: kill at run level 3
On Fri, Dec 3, 2010 at 7:30 PM, Michael D. Berger wrote: > In the control script of my daemon in /etc/init.d?, I have > # chkconfig: 35 97 3 > > The result of this is that I have links: > /etc/rc.d/rc1.d/K03... > /etc/rc.d/rc3.d/S97... > /etc/rc.d/rc5.d/S97... > > As mentioned in a previous thread, my complex daemon throws > an exception when I shutdown. Perhaps things might be better > if I had: > /etc/rc.d/rc3.d/K03... > > Might this be a good idea? If so, how can I make it happen > automatically? Read the manual page for the "chkconfig" command, and then run: /sbin/chkconfig "scriptname" off ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] LVM change disk
1) Plan better next time 2) Use a USB drive as a temporary disk > Dear all, > I have a 4,1TB Logical volume consist of four disks with size of 2TB, > 1TB, 1TB, and 500GB. The LV currently full. I plan to change the 1Tb > disks and 500Gb disks. I plan to remove one 1TB disk or the 500GB so > that I can replace it with 2TB disk. most LVM tutorial ask to use > pvmove to move phisical extent to the new disk. The problem is that I > have no SATA port left so that I can't move PE to the new disk. How to > migrate the data safely so that I can replace the disk? Thank you in > advance > regards, > > > > > -- Jim Wildman, CISSP, RHCE j...@rossberry.com http://www.rossberry.com "Society in every state is a blessing, but Government, even in its best state, is a necessary evil; in its worst state, an intolerable one." Thomas Paine ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] LVM change disk
On Saturday 04 December 2010 02:47:15 muhammad panji wrote: > The problem is that I have no SATA port left so that I can't move PE to the > new disk. I don't see how you can solve your problem with the current setup (you need to free up space and put it somewhere but you don't have any more disks to add to the volume group as you don't have any more SATA ports left...). Two possible workarounds: Free up 500GB of space by: 1- temporarily moving the data to an external USB drive or 2- move the data to another host (thru the network) Then you can use "pvmove" to remove the 500GB drive and put the 2TB one. -- Jorge ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Fwd: Linux, Windows AD domain, and IDs
On Sat, Dec 4, 2010 at 5:41 AM, Scott Ehrlich wrote: > You have a CentOS (for example) workstation that is a member of a > Windows AD domain courtesy of modified smb.conf and krb5.conf files. > There are, thus, no local user accounts on the linux workstation. > > There is a network application that benefits most (maybe even > requires) the user's numerical portion of their employee ID as their > linux workstation id. > > Thus, if I log in, my domain username might be scott12. My employee > ID might be se123456. If I log into the linux workstation, I'm > going to log in as scott12 along with providing my password. I type > id at the shell, and am given something like scott12 (10001) for the > user. How can I manage to make the id [also] equal to 123456 for > user scott12 without breaking anything? > > Thanks for any leads. > > Scott You need to use IDMAP to do this. Have a look at the below link, specially the IDMAP storage in LDAP section. http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/idmapper.html Ryan ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] LVM change disk
On Sat, Dec 4, 2010 at 1:47 AM, muhammad panji wrote: > Dear all, > I have a 4,1TB Logical volume consist of four disks with size of 2TB, > 1TB, 1TB, and 500GB. The LV currently full. I plan to change the 1Tb > disks and 500Gb disks. I plan to remove one 1TB disk or the 500GB so > that I can replace it with 2TB disk. most LVM tutorial ask to use > pvmove to move phisical extent to the new disk. The problem is that I > have no SATA port left so that I can't move PE to the new disk. How to > migrate the data safely so that I can replace the disk? Thank you in > advance > regards, The easiest way would be to move some data off to a USB drive. The other option would be to dd copy one of the existing disks over to the 2TB disk. Then extend the LVM volume. This would require some disk swapping and careful planning. Ryan ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Fwd: Linux, Windows AD domain, and IDs
On 4 December 2010 14:34, Ryan Wagoner wrote: > You need to use IDMAP to do this. Have a look at the below link, > specially the IDMAP storage in LDAP section. Alternatively, install Windows Services for UNIX on the Active Directory box, and define each user's UID within AD. Useful if you have lots of Linux boxes. Ben ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] # chkconfig: kill at run level 3
On Sat, 4 Dec 2010, Michael D. Berger wrote: > To: centos@centos.org > From: Michael D. Berger > Subject: [CentOS] # chkconfig: kill at run level 3 > > In the control script of my daemon in /etc/init.d?, I have > # chkconfig: 35 97 3 > > The result of this is that I have links: > /etc/rc.d/rc1.d/K03... > /etc/rc.d/rc3.d/S97... > /etc/rc.d/rc5.d/S97... > > As mentioned in a previous thread, my complex daemon throws > an exception when I shutdown. Perhaps things might be better > if I had: > /etc/rc.d/rc3.d/K03... > > Might this be a good idea? If so, how can I make it happen > automatically? What I would suggest is using mc file/directory browser: cd to /etc/init.d/ create a directory called tmp-backups make a copy of all the init scripts in above directory Working in /etc/init.d/ find the start/stop script that's giving you problems. Copy it to another filename, eg (your-initials)-scriptname (That way any init scripts you add will all be in one place, starting with your initials) and easy to find. Gut the new script, and use it as a skeleton to create your own init start/stop script. Decide what you want the script to do at start time, and at stop time. Alter the parameters for when the script starts and stops, at the top of the file. Make this script run at shutdown before the main script you copied it from. You might need to add a shell conditional to prevent the script from shutting down your app straight away at boot time. Use chkconfig to automatically create the necessary start/stop files for each run level. See 'pinfo chkconfig' NAME chkconfig - updates and queries runlevel information for system services SYNOPSIS chkconfig --list [name] chkconfig --add name chkconfig --del name chkconfig [--level levels] name chkconfig [--level levels] name DESCRIPTION chkconfig provides a simple command-line tool for maintaining the /etc/rc[0-6].d directory hierarchy by relieving system administra-tors of the task of directly manipulating the numerous symbolic links in those directories. You might even be able to create a stop script without the associated start script. Each start/stop script in /etc/rc0.d - rc6.d is a symlink to the actual script in /etc/init.d/ The rc*.d start scripts have the format: @S00scriptname and the stop scripts @K00scriptname These scripts are run in ascending numeric order, so you will need to create a kill script (K00myscript) that is numbered befroe the script you want to affect. Please see this old SuSE documentation for a good description of the Linux boot process: http://linuxmafia.com/linux/suse-linux-internals/part2.html HTH Kind Regards, Keith Roberts -- In theory, theory and practice are the same; in practice they are not. This email was sent from my laptop with Centos 5.5 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Inside the Linux boot process
Interesting article from IBM on how Linux boots, with some nice graphics. http://www.ibm.com/developerworks/library/l-linuxboot/index.html Inside the Linux boot process Take a guided tour from the Master Boot Record to the first user-space application Kind Regards, Keith Roberts -- In theory, theory and practice are the same; in practice they are not. This email was sent from my laptop with Centos 5.5 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum-complete-transaction
On 12/4/10 4:20 AM, Johan Scheepers wrote: > Good day, > > Some yum instructions I do not know. > Kindly some pointers please. > > There are unfinished transactions remaining. You might consider running > yum-complete-transaction first to finish them. > The program yum-complete-transaction is found in the yum-utils package. > > This is where I am lost Just type the command (as root): yum-complete-transaction and if the program is not found, yum install yum-utils yum-complete-transaction -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum-complete-transaction
Les Mikesell wrote: > On 12/4/10 4:20 AM, Johan Scheepers wrote: >> Good day, >> >> Some yum instructions I do not know. >> Kindly some pointers please. >> >> There are unfinished transactions remaining. You might consider running >> yum-complete-transaction first to finish them. >> The program yum-complete-transaction is found in the yum-utils package. >> >> This is where I am lost > > Just type the command (as root): > > yum-complete-transaction > > and if the program is not found, > > yum install yum-utils > yum-complete-transaction > > Good day, It was not installed. Have done that. Works fine. This one is new to me. Regards Johan ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Fiddling with software RAID1 : continue working with one of two disks failing?
Hi, I'm currently experimenting with software RAID1 on a spare PC with two 40 GB hard disks. Normally, on a desktop PC with only one hard disk, I have a very simple partitioning scheme like this : /dev/hda1 80 MB/boot ext2 /dev/hda2 1 GBswap /dev/hda3 39 GB/ ext3 Here's what I'd like to do. Partition a second hard disk (say, /dev/hdb) with three partitions. Setup RAID1 like this : /dev/md0 80 MB/boot ext2 /dev/md11 GBswap /dev/md2 39 GB/ ext3 I somehow managed to get this far. Here's what I have : [r...@raymonde ~]# fdisk -l /dev/hda Disk /dev/hda: 41.1 GB, 41110142976 bytes 255 heads, 63 sectors/track, 4998 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot StartEnd Blocks Id System /dev/hda1 *1 11 88326 fd Linux raid autodetect /dev/hda2 12134 987997+ fd Linux raid autodetect /dev/hda3 135 499839070080 fd Linux raid autodetect [r...@raymonde ~]# fdisk -l /dev/hdb Disk /dev/hdb: 41.1 GB, 41110142976 bytes 16 heads, 63 sectors/track, 79656 cylinders Units = cylinders of 1008 * 512 = 516096 bytes Device Boot StartEnd Blocks Id System /dev/hdb1 *1156 78592+ fd Linux raid autodetect /dev/hdb2 157 2095 977256 fd Linux raid autodetect /dev/hdb3 2096 7965639090744 fd Linux raid autodetect During install, my /dev/md1 and /dev/md2 got somehow mixed up, which doesn't really matter : [r...@raymonde ~]# cat /etc/fstab /dev/md1/ ext3defaults1 1 /dev/md0/boot ext2defaults1 2 tmpfs /dev/shmtmpfs defaults0 0 devpts /dev/ptsdevpts gid=5,mode=620 0 0 sysfs /syssysfs defaults0 0 proc/proc procdefaults0 0 /dev/md2swapswapdefaults0 0 I wasn't sure where to install GRUB, so I chose /dev/md0. I was wondering if this setup theoretically enabled me to continue working with one disk failure. So I tried unplugging the power cord of one of my hard disks... which resulted in a "GRUB Disk Error" on boot. Question : is there a way to still run the system with either of the two disks "damaged" (in this case : unplugged)? And if so, how would I have to go about it in my setup? Cheers from the freezing South of France, Niki ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Fiddling with software RAID1 : continue working with one of two disks failing?
On 12/4/10 11:34 AM, Niki Kovacs wrote: > > I wasn't sure where to install GRUB, so I chose /dev/md0. Grub doesn't know anything about raid. It only works because each component of a RAID1 looks just like a non-raid filesystem. You should install grub on the master boot partition of both member disks. > I was wondering if this setup theoretically enabled me to continue > working with one disk failure. So I tried unplugging the power cord of > one of my hard disks... which resulted in a "GRUB Disk Error" on boot. > Question : is there a way to still run the system with either of the two > disks "damaged" (in this case : unplugged)? And if so, how would I have > to go about it in my setup? Yes, raid1 isn't bothered at all by missing members. You just have to install grub on the underlying disks as though you did not have raid. There can be some differences in the way ide/sata/scsi controllers handle a disk failure - and IDE's often hang the controller if one of two disks on the cable fails. Normally the first disk will always work if the 2nd fails, but if the first disk fails both the bios and linux have to see the same shift in positions - so even though you are installing grub on what it calls hd1, if it boots from there it will see its root at hd0,1. Worst case - just be prepared to boot a rescue disk and reinstall grub if your first disk fails. When you replace the drive and want to rebuild the mirror, just: mdadm --add /dev/md? /dev/sd?? -- Les Mikesell lesmikes...@gmail.com ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] yum-complete-transaction
On 12/04/10 18:00, Johan Scheepers wrote: > Les Mikesell wrote: >> On 12/4/10 4:20 AM, Johan Scheepers wrote: >>> Good day, >>> >>> Some yum instructions I do not know. >>> Kindly some pointers please. >>> >>> There are unfinished transactions remaining. You might consider running >>> yum-complete-transaction first to finish them. >>> The program yum-complete-transaction is found in the yum-utils package. >>> >>> This is where I am lost >> >> Just type the command (as root): >> >> yum-complete-transaction >> >> and if the program is not found, >> >> yum install yum-utils >> yum-complete-transaction >> >> > Good day, > It was not installed. > Have done that. > Works fine. > This one is new to me. > Regards > Johan So every time something new happens you need your hand held? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] LVM change disk
On 12/03/10 10:47 PM, muhammad panji wrote: > Dear all, > I have a 4,1TB Logical volume consist of four disks with size of 2TB, > 1TB, 1TB, and 500GB. The LV currently full. I plan to change the 1Tb > disks and 500Gb disks. I plan to remove one 1TB disk or the 500GB so > that I can replace it with 2TB disk. most LVM tutorial ask to use > pvmove to move phisical extent to the new disk. The problem is that I > have no SATA port left so that I can't move PE to the new disk. How to > migrate the data safely so that I can replace the disk? Thank you in > advance do you realize that if any one of those 4 miscellaneous drives fails, you lose the whole volume? got backup? if you do, then just wipe and rebuild your LVM and restore the backup. if you don't, well, you better start thinking about what you do when one of those drives fails and takes out all your data. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Fiddling with software RAID1 : continue working with one of two disks failing?
Les Mikesell a écrit : > On 12/4/10 11:34 AM, Niki Kovacs wrote: >> I wasn't sure where to install GRUB, so I chose /dev/md0. > > Grub doesn't know anything about raid. It only works because each component > of > a RAID1 looks just like a non-raid filesystem. You should install grub on > the > master boot partition of both member disks. Thanks for the quick reply. I googled a bit more about the problem... and stumbled over an excellent article in the CentOS wiki, which adresses exactly my problem: http://wiki.centos.org/HowTos/SoftwareRAIDonCentOS5 Next time I know where to look first :o) Cheers, Niki ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Fiddling with software RAID1 : continue working with one of two disks failing?
At Sat, 04 Dec 2010 18:34:26 +0100 CentOS mailing list wrote: > > Hi, > > I'm currently experimenting with software RAID1 on a spare PC with two > 40 GB hard disks. Normally, on a desktop PC with only one hard disk, I > have a very simple partitioning scheme like this : > > /dev/hda1 80 MB/boot ext2 > /dev/hda2 1 GBswap > /dev/hda3 39 GB/ ext3 > > Here's what I'd like to do. Partition a second hard disk (say, /dev/hdb) > with three partitions. Setup RAID1 like this : > > /dev/md0 80 MB/boot ext2 > /dev/md11 GBswap > /dev/md2 39 GB/ ext3 > > I somehow managed to get this far. Here's what I have : > > [r...@raymonde ~]# fdisk -l /dev/hda > > Disk /dev/hda: 41.1 GB, 41110142976 bytes > 255 heads, 63 sectors/track, 4998 cylinders > Units = cylinders of 16065 * 512 = 8225280 bytes > > Device Boot StartEnd Blocks Id System > /dev/hda1 *1 11 88326 fd Linux raid autodetect > /dev/hda2 12134 987997+ fd Linux raid autodetect > /dev/hda3 135 499839070080 fd Linux raid autodetect > > [r...@raymonde ~]# fdisk -l /dev/hdb > > Disk /dev/hdb: 41.1 GB, 41110142976 bytes > 16 heads, 63 sectors/track, 79656 cylinders > Units = cylinders of 1008 * 512 = 516096 bytes > > Device Boot StartEnd Blocks Id System > /dev/hdb1 *1156 78592+ fd Linux raid autodetect > /dev/hdb2 157 2095 977256 fd Linux raid autodetect > /dev/hdb3 2096 7965639090744 fd Linux raid autodetect > > During install, my /dev/md1 and /dev/md2 got somehow mixed up, which > doesn't really matter : > > [r...@raymonde ~]# cat /etc/fstab > /dev/md1/ ext3defaults1 1 > /dev/md0/boot ext2defaults1 2 > tmpfs /dev/shmtmpfs defaults0 0 > devpts /dev/ptsdevpts gid=5,mode=620 0 0 > sysfs /syssysfs defaults0 0 > proc/proc procdefaults0 0 > /dev/md2swapswapdefaults0 0 > > I wasn't sure where to install GRUB, so I chose /dev/md0. No, you install GRUB (or alternitively, lilo) on *both* /dev/hda AND /dev/hdb, with your root /dev/hda1. Neither grub (nor lilo) know about RAID (ditto for the BIOS). This is not a problem, since the *elements* of a RAID1 set look like 'normal' partitions with normal file systems on them. You want grub to be in the MBR of /dev/hda -- duping it in /dev/hdb's MBR allows you to boot (with degraded RAID sets) from /dev/hdb (cabled & jumpered to be /dev/hda) in the event /dev/hda dies. > > I was wondering if this setup theoretically enabled me to continue > working with one disk failure. So I tried unplugging the power cord of > one of my hard disks... which resulted in a "GRUB Disk Error" on boot. > > Question : is there a way to still run the system with either of the two > disks "damaged" (in this case : unplugged)? And if so, how would I have > to go about it in my setup? Yes, see above. Minor performance nit: Doing RAID with two IDE disks on the *same* controller is not going to buy you anything in terms of performance. I suspect this is just experimental, mostly to get the feel for how to set things up, so this is not a major issue. > > Cheers from the freezing South of France, > > Niki > > > > > > ___ > CentOS mailing list > CentOS@centos.org > http://lists.centos.org/mailman/listinfo/centos > > > -- Robert Heller -- 978-544-6933 / hel...@deepsoft.com Deepwoods Software-- http://www.deepsoft.com/ () ascii ribbon campaign -- against html e-mail /\ www.asciiribbon.org -- against proprietary attachments ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Fiddling with software RAID1 : continue working with one of two disks failing?
Robert Heller a écrit : > > Minor performance nit: Doing RAID with two IDE disks on the *same* > controller is not going to buy you anything in terms of performance. I > suspect this is just experimental, mostly to get the feel for how to set > things up, so this is not a major issue. > Yes, this *is* experimental. I'm fiddling with this on a sandbox machine just to get a grip on RAID1. Niki ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] # chkconfig: kill at run level 3
On Sat, 04 Dec 2010 15:25:47 +, Keith Roberts wrote: [...] > > Please see this old SuSE documentation for a good description of the > Linux boot process: > > http://linuxmafia.com/linux/suse-linux-internals/part2.html > [...] Will this SuSE documentation be correct for CentOS, which is RedHat? Mike. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] # chkconfig: kill at run level 3
On 12/04/10 21:42, Michael D. Berger wrote: > On Sat, 04 Dec 2010 15:25:47 +, Keith Roberts wrote: > > [...] >> >> Please see this old SuSE documentation for a good description of the >> Linux boot process: >> >> http://linuxmafia.com/linux/suse-linux-internals/part2.html >> > [...] > > Will this SuSE documentation be correct for CentOS, which is RedHat? > > Mike. > The article largely applies yes, but for the latest and greatest just checkout the start up scripts in /etc. They are not that hard to read. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] # chkconfig: kill at run level 3
On Sat, 4 Dec 2010, Michael D. Berger wrote: > To: centos@centos.org > From: Michael D. Berger > Subject: Re: [CentOS] # chkconfig: kill at run level 3 > > On Sat, 04 Dec 2010 15:25:47 +, Keith Roberts wrote: > > [...] >> >> Please see this old SuSE documentation for a good description of the >> Linux boot process: >> >> http://linuxmafia.com/linux/suse-linux-internals/part2.html >> > [...] > > Will this SuSE documentation be correct for CentOS, which is RedHat? Well I guess the answer is yes and no, depending on what you are refering to. I gave you that link specifically for the boot process and how the /etc/init.d scripts figure in the boot process. The boot process is *probably* the same for most flavours of Linux. Maybe somebody else on this list can comment on that? If you understand how these scripts work, then you will have more success at modyfying them :) The good thing about Fedora/RHEL/Centos is the chkconfig script, which does all the hard work of setting up each run-level script for you. Under SuSE a few years ago, these scripts had to be delat with by hand, IIRC. I know there was no chkconfig on the versions of SuSE I was using ~ 9.2 Kind Regards, Keith Roberts HNC CDP -- In theory, theory and practice are the same; in practice they are not. This email was sent from my laptop with Centos 5.5 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] linux boot process (was# chkconfig: kill at run level 3)
On Sat, 4 Dec 2010 20:42:02 + (UTC) "Michael D. Berger" wrote: > On Sat, 04 Dec 2010 15:25:47 +, Keith Roberts wrote: > > [...] > > > > Please see this old SuSE documentation for a good description of the > > Linux boot process: > > > > http://linuxmafia.com/linux/suse-linux-internals/part2.html > > > [...] > > Will this SuSE documentation be correct for CentOS, which is RedHat? I'm not a boot-loader expert, but CentOS uses grub and the first thing I notice about the attached article is that it talks about LILO. From what I've gathered LILO is a different animal than grub, so as far as the documentation is specific to lilo processes, I'd say no it wouldn't be correct for CentOS. However since the 'li' part of lilo stands for linux, then it may be a good general reference. But some of those more expert in the differences two will probably chime in at some point. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] linux boot process (was# chkconfig: kill at run level 3)
On Sat, 04 Dec 2010 15:58:10 +, Cia Watson wrote: [...] 04 Dec 2010 15:25:47 +, Keith Roberts wrote: >> [...] > > I'm not a boot-loader expert, but CentOS uses grub and the first thing I > notice about the attached article is that it talks about LILO. From what > I've gathered LILO is a different animal than grub, so as far as the > documentation is specific to lilo processes, I'd say no it wouldn't be > correct for CentOS. > > However since the 'li' part of lilo stands for linux, then it may be a > good general reference. But some of those more expert in the differences > two will probably chime in at some point. So where can I find a good description of how grub works in RedHat? Thanks, Mike. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] linux boot process (was# chkconfig: kill at run level 3)
On Sun, 5 Dec 2010 03:41:45 + (UTC) "Michael D. Berger" wrote: > On Sat, 04 Dec 2010 15:58:10 +, Cia Watson wrote: > [...] > 04 Dec 2010 15:25:47 +, Keith Roberts wrote: > >> > [...] > > > > I'm not a boot-loader expert, but CentOS uses grub and the first > > thing I notice about the attached article is that it talks about > > LILO. From what I've gathered LILO is a different animal than grub, > > so as far as the documentation is specific to lilo processes, I'd > > say no it wouldn't be correct for CentOS. > > > > However since the 'li' part of lilo stands for linux, then it may > > be a good general reference. But some of those more expert in the > > differences two will probably chime in at some point. > > So where can I find a good description of how grub works in RedHat? Here's some links I found doing a general search for grub redhat: http://magazine.redhat.com/2007/03/21/using-grub-to-overcome-boot-problems/ http://www.sorgonet.com/linux/grubrestore General info: http://www.gnu.org/software/grub/ This one talks about boot floppies, so it's obviously a little old :-/ http://www.troubleshooters.com/linux/grub/grub.htm http://www.linuxjournal.com/article/4622 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] linux boot process (was# chkconfig: kill at run level 3)
> I'm not a boot-loader expert, but CentOS uses grub and the first thing > I notice about the attached article is that it talks about LILO. From > what I've gathered LILO is a different animal than grub, so as far as > the documentation is specific to lilo processes, I'd say no it wouldn't > be correct for CentOS. > > However since the 'li' part of lilo stands for linux, then it may be a > good general reference. But some of those more expert in the > differences two will probably chime in at some point. for the sake of anyone reading this thread in the future... LILO was the old linux loader. it was used in the original Red Hat Linux until about 7.2. GRUB is more powerful, more flexible, supports more/newer hardware, and newer/larger file systems, etc etc. All RHEL/CentOS systems have used grub. Lilo requires boot information to be updated in the MBR each time anything changed.grub can read the grub.conf file in the /boot file system so there's no need to update it when you edit the file. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos