Why 2 versions?
Howdy all. Im brand spanking new to the *nix world, so please be gentle. I installed CentOS 4 on my PC the other day that I also have Windows installed on. No problems so far, I can still access both OS's. I had even configured the boot loader to boot to Windows by default to make life easier for my wife. But then I run the Up2Date OS updater. Now I have 2 different Linux versions I can run, and Windows is no longer the default.
Version 1: CentOS(2.6.9-42.0.3.EL) Version 2: Centos-4 i386(2.6.9-42.EL) I boot to either one and they both act the same. Is this normal? Is there a way to change the boot loader back to Windows default? Is there a good newbie site that is searchable to pick up on basics? |
They are the same OS but with different kernels. It appears to have updated your ernel and updated the entries on the boot loader. The update system leaves the older ones intact in case there are problems with the new kernel - that way, you can go back and fix them without having to get too esoteric :)
|
Quote:
- you have configured two bootable systems (number 2 is default): 1) Linux 2) Windows - then you update your kernel, adding another Linux kernel to the system; now the list is automatically re-created like this: 1) Linux 1 2) Linux 2 3) Windows ..and there, the default option is still 2 but it's not Windows anymore. Solution: Move the Windows section in the bootloader config (/etc/lilo.conf or /boot/grub/menu.lst depending on which on you use) to be the topmost, and set default to be the first entry (number zero I guess). Then updating the kernel, which adds new entry, won't change the default to another choice, since default is zero which is always Windows if it's the topmost. If Windows is the last entry, it's number grows by one every time a new entry is added before it, so the "default" value will be different since it's number won't change along with the wanted section that "goes downwards" every time. |
I didn't note what version I was using before the update. So how do I know which one is the updated kernel? Also, is there a way to change my boot loader back as the new kernel wiped out my settings?
|
Thats because when you upgraded your system, a newer kernel was installed. The older kernel is not routinely uninstalled just in case you have problems with the new one. If the new kernel works fine for you, then all you need to do is uninstall the old kernel by doing,
Code:
$rpm -qa | grep -i kernel Code:
#rpm -e kernel-version As for Windows being default, just edit your /boot/grub/menu.lst or /boot/grub/grub.conf and make Windows the default. Edit: I had too many tabs opened so didn't realise others had already helped out. Anyway the kernel you need to uninstall is the on ending in 2.6.9-42.EL. |
Quote:
When you updated your system, it obviously installed another kernel--and then offered you a choice. If you don't see any difference between the two, then just stay with one of them and ignore the other. To get the default back to Windows: Open a terminal and do this: Code:
su (gives you root powers) While you are looking at this file, you can also disable entries for things you do not plan to use--like that extra kernel. Just add "#" in front of each relevant line. |
This has got to be a new record---4 other replies while I was typing mine. Let's stop for air while OP catches up.....;)
|
Thanks to all! I'm booked up for the next several hours, so I'll take a crack at all this later.
As someone commented, apparently I found a good source of knowledge here, lots of replies in a short time. Thanks again! |
All times are GMT -5. The time now is 07:29 PM. |