Page 2 of 4 FirstFirst 1234 LastLast
Results 16 to 30 of 58
  1. #16
    Joined
    Jan 2006
    Location
    central,IL
    Age
    51
    Posts
    204

    Re: gonna install CentOS

    well now ive really boogered it up.
    updated the kernel and i must have updated to the wrong one which is the
    2.6.9-42ELsmp kernel and i think i need the EL kernel since now i cant boot into windows at all
    onry
    email

    my heat

    work PC epox mf570sli-pro AMD 5000 x2, 2GB patriot 6400
    2 evga 8600GT-SC in SLI 1-120GB HDD and 1 500GB HDD 400watt agi psu

  2. #17
    Joined
    Apr 2001
    Location
    Los Angeles
    Posts
    21,104

    Re: gonna install CentOS

    Quote Originally Posted by onry View Post
    well now ive really boogered it up.
    updated the kernel and i must have updated to the wrong one which is the
    2.6.9-42ELsmp kernel and i think i need the EL kernel since now i cant boot into windows at all
    onry
    Why can't you boot into Windows?
    Because it is not on the boot menu, because it doesn't start when you choose it from the boot menu, or because there is no longer any boot menu, or something else?

  3. #18
    Joined
    Jan 2006
    Location
    central,IL
    Age
    51
    Posts
    204

    Re: gonna install CentOS

    when i hit enter that usually put me into the boot menu it boots straight to centos with no option for winbloze any more LOL
    onry
    email

    my heat

    work PC epox mf570sli-pro AMD 5000 x2, 2GB patriot 6400
    2 evga 8600GT-SC in SLI 1-120GB HDD and 1 500GB HDD 400watt agi psu

  4. #19
    Joined
    Jan 2006
    Location
    central,IL
    Age
    51
    Posts
    204

    Re: gonna install CentOS

    would the kernel that i need work if i went in and deleted the ELsmp kernel?
    email

    my heat

    work PC epox mf570sli-pro AMD 5000 x2, 2GB patriot 6400
    2 evga 8600GT-SC in SLI 1-120GB HDD and 1 500GB HDD 400watt agi psu

  5. #20
    Joined
    Apr 2001
    Location
    Los Angeles
    Posts
    21,104

    Re: gonna install CentOS

    Best to wait for one of the guys familiar with Centos to lead you through it.

    All you need to do is edit the bootloader. But I don't know if you are using lilo or grub or what. I think you mentioned grub earlier. You just need to edit the file that you see at startup. That file is /boot/grub/menu.lst, it is relatively simple once you look at the file and see how it works. You can edit it directly, if you know what you ar doing. But there is probably a friendly gui utility for this in something like the System section of the "Start" menu. From there you can probably get it to add Windows again semi-automagically. Again, a Centos user should advise for that, but you can go take a look.

    If you get desperate for Windows, you can always boot to an install CD, and go to the repair console, and FIXBOOT. After that, when you want to try again, you can use any live CD and go back and fix the Centos boot loader and re-install grub.


    edit:
    Instructions for a lot of this boot loader kind of stuff just from the command line is in the links in saikees' sig: http://forums.pcper.com/member.php?f...oster&t=362993
    Last edited by Senor Panadero; 11-01-2006 at 10:35 PM.

  6. #21
    Joined
    Oct 2001
    Location
    Southern Ontario
    Age
    45
    Posts
    13,194

    Re: gonna install CentOS

    Your Windows partition should be fine. All you've done is tried to install a new kernel to CentOS. Normally installing new kernels shouldn't affect GRUB at all. But I think CentOS has tried to give you the option of booting the new kernel or the old kernel. Hence CentOS has gone in and modified GRUB's settings (the /boot/grub/grub.conf file). And somehow this messed up GRUB's settings that were used to boot into Windows.

    The new kernel really has nothing to do with you not booting into Windows. So I wouldn't try to uninstall it to fix your Windows issue. I don't know what the EL kernel is, and I don't know if it'll provide you with anything that you need. But it is not stopping you from starting Windows.

    If you can post the contents of your grub.conf file you currently have and possibly any grub.conf~ (files that end in ~ usually are backup files and may show us what was changed), we should be able to get you back up and running.
    Last edited by Spankin Partier; 11-01-2006 at 11:14 PM.

  7. #22
    Joined
    Oct 2001
    Location
    Southern Ontario
    Age
    45
    Posts
    13,194

    Re: gonna install CentOS

    Ok, I think I know what EL is. I think it just stands for Enterprise Linux as in Redhat Enterprise Linux. If that's the case, then this kernel is just their standard SMP (multi processor / multi core) kernel used on Redhat based systems. The question then becomes which version were you running before, and is this a newer or older kernel?

  8. #23
    Joined
    Jan 2006
    Location
    central,IL
    Age
    51
    Posts
    204

    Re: gonna install CentOS

    spankin when i boot up it shows that im using the ELsmp kernel
    ill see if i can find the grub/config file and post it for you
    email

    my heat

    work PC epox mf570sli-pro AMD 5000 x2, 2GB patriot 6400
    2 evga 8600GT-SC in SLI 1-120GB HDD and 1 500GB HDD 400watt agi psu

  9. #24
    Joined
    Jan 2006
    Location
    central,IL
    Age
    51
    Posts
    204

    Re: gonna install CentOS

    # Automatically generated make config: don't edit
    # Linux kernel version: 2.6.9-42.0.3.ELsmp
    # Fri Oct 6 06:17:45 2006
    #
    CONFIG_X86=y
    CONFIG_MMU=y
    CONFIG_UID16=y
    CONFIG_GENERIC_ISA_DMA=y
    CONFIG_GENERIC_IOMAP=y

    #
    # Code maturity level options
    #
    CONFIG_EXPERIMENTAL=y
    CONFIG_CLEAN_COMPILE=y

    #
    # General setup
    #
    CONFIG_LOCALVERSION=""
    CONFIG_SWAP=y
    CONFIG_SYSVIPC=y
    CONFIG_POSIX_MQUEUE=y
    CONFIG_BSD_PROCESS_ACCT=y
    # CONFIG_BSD_PROCESS_ACCT_V3 is not set
    CONFIG_SYSCTL=y
    im not sure if this is the right one or not but maybe it might help

    tried to get into the grub config file but it wont let me look at it LOL
    Last edited by onry; 11-02-2006 at 12:24 AM. Reason: more info
    email

    my heat

    work PC epox mf570sli-pro AMD 5000 x2, 2GB patriot 6400
    2 evga 8600GT-SC in SLI 1-120GB HDD and 1 500GB HDD 400watt agi psu

  10. #25
    Joined
    Jul 2001
    Location
    UK
    Age
    51
    Posts
    20,229

    Re: gonna install CentOS

    First up, you need to be root to view grub.conf.

    To do this, first become the root user using the "su -" command, and then we can use a text editor to open grub.conf. So, from a terminal/shell (like a dos box), notice we use the full path to the file we want to open:

    Code:
    $ su -
    Password:
    [root@Jessie ~]# gedit /boot/grub/grub.conf
    Be careful though, you now have the file open as the root user. Any changes you make could bugger your system!!! If you just want to view the contents of the file, we could use the "cat" command to output it to the terminal:

    Code:
    $ su -
    Password:
    [root@Jessie ~]# cat /boot/grub/grub.conf | more
    Here we also pipe (|) the output through 'more' so we can press the spacebar to scroll the screen - useful if it's a large file!

    EL kernel is Enterprise Linux, as Spanky said. The smp kernel is for dual processors/dual cores, so I suspect that's what you want (I'm not an expert there as I'm still single-core challenged!).

    If you take a look here you'll find the CentOS Plus repository (for i386):

    http://mirror.centos.org/centos/4/centosplus/i386/RPMS/

    The README says:

    http://mirror.centos.org/centos/4/centosplus/Readme.txt
    ----------------------------------
    kernel-2.6.x-x.x.x.xxx.plus.c4
    ----------------------------------
    This is a kernel that has many of the options and modules turned on which
    are turned off by default in the upstream providers kernels. A list of
    some of the items that this Kernel includes are:

    File Systems:
    NTFS (read and write)
    XFS (read and write)
    JFS (read and write)
    ReiserFS (read and write)
    UFS {BSD default FS} (read only)
    BeOS FS (read only)
    AFS (read only)

    Hardware Modules:
    All USB
    All Firewire
    All SCSI
    Video4 Linux and all Video, Audio and Radio modules

    IPX, DECNET, netware file mount support, ability to write to a Windows
    Dynamic Partition. There are other items as well. See this link for
    the actual config files used to build the latest unsupported kernel:

    http://mirror.centos.org/centos/4/do...l-unsupported/
    So these kernels support read/write for NTFS (along with a LOT of other things you may or may not want!)

    However, I'd be VERY careful with NTFS writing from Linux. This is still something in development and has the possibility to screw your NTFS partition. This is why I suggested the FAT32 route as it's tried and tested and no risk

    OK, there's a lot of info here, so take it slow

  11. #26
    Joined
    Jul 2001
    Location
    UK
    Age
    51
    Posts
    20,229

    Linux 101 - becoming root

    Quote Originally Posted by Ned Slider View Post
    First up, you need to be root to view grub.conf.

    To do this, first become the root user using the "su -" command... <snip>
    Time for a quick lesson (Linux 101) on the root user

    Nearly anything you want to do on Linux, administration wise will require you to be the root user. The root user is a bit like administrator on Windows, except that on Linux we NEVER routinely run as the root user for security reasons. The root user has FULL control over the whole system and can do ANYTHING. We only become root when we have to - ie, when we want to do something that requires root privileges.

    So, how do we become "root". Well, the first thing we NEVER do is log out and log back in to the GUI as root. NEVER!

    Instead, we open a shell/terminal window, and we use the "su -" command. su means switch user, and normally takes the form of:

    Code:
    su - username
    If we don't specify a username, by default the root user is assumed, hence why we can just use "su -" instead of "su - root", but the later will work just as well.

    So now we're root, how do we do what we want to do. Well, once you're an expert you'll use the command line, but beginners like the GUI tools, so we can still use them. At the root prompt, you can launch any applications from the command line as root. So, to launch your favourite text editor (gedit, kedit nedit etc) you just type that command. You can then use the text editor to open any file, read it, make changes, all as root

    For file management, you can launch your file manager as root. I use KDE, so I'd launch "konqueror" simply by typing this at the command prompt (I suspect gnome users can do the same with nautilus). Again, you can now perform file management tasks as the root user from the comfort of a GUI.

    When you've finished doing whatever it was you needed to do as root, just type exit at the prompt and it will log you out of root and back to being a normal user.

    This way of working may seem strange, or even restrictive at first, but it's the basis of all security within Linux and is one of the main reasons Linux isn't afflicted with viruses/malware to the same extent as Windows.

    Hope that all makes perfect sense
    Last edited by Ned Slider; 11-02-2006 at 05:42 AM.

  12. #27
    Joined
    Jan 2006
    Location
    central,IL
    Age
    51
    Posts
    204

    Re: gonna install CentOS

    ok here is what i found in my grub.conf file
    default=1
    timeout=5
    splashimage=(hd0,1)/boot/grub/splash.xpm.gz
    hiddenmenu
    title CentOS (2.6.9-42.0.3.EL)
    root (hd0,1)
    kernel /boot/vmlinuz-2.6.9-42.0.3.EL ro root=LABEL=/ rhgb quiet
    initrd /boot/initrd-2.6.9-42.0.3.EL.img
    title CentOS (2.6.9-42.0.3.ELsmp)
    root (hd0,1)
    kernel /boot/vmlinuz-2.6.9-42.0.3.ELsmp ro root=LABEL=/ rhgb quiet
    initrd /boot/initrd-2.6.9-42.0.3.ELsmp.img
    title CentOS-4 i386 (2.6.9-42.ELsmp)
    root (hd0,1)
    kernel /boot/vmlinuz-2.6.9-42.ELsmp ro root=LABEL=/ rhgb quiet
    initrd /boot/initrd-2.6.9-42.ELsmp.img
    title CentOS-4 i386-up (2.6.9-42.EL)
    root (hd0,1)
    kernel /boot/vmlinuz-2.6.9-42.EL ro root=LABEL=/ rhgb quiet
    initrd /boot/initrd-2.6.9-42.EL.img
    title Other
    rootnoverify (hd0,0)
    chainloader +1
    email

    my heat

    work PC epox mf570sli-pro AMD 5000 x2, 2GB patriot 6400
    2 evga 8600GT-SC in SLI 1-120GB HDD and 1 500GB HDD 400watt agi psu

  13. #28
    Joined
    Oct 2001
    Location
    Southern Ontario
    Age
    45
    Posts
    13,194

    Re: gonna install CentOS

    There's was a setting called hiddenmenu that makes you press Esc inorder to choose which OS you'd like to boot. I'd delete that line if I was you. Change your grub.conf file to be what I've posted below.

    Then to boot into Windows, you'll have to choose the fifth option, "Other".

    Code:
    default=1
    timeout=5
    splashimage=(hd0,1)/boot/grub/splash.xpm.gz
    
    title CentOS (2.6.9-42.0.3.EL)
    root (hd0,1)
    kernel /boot/vmlinuz-2.6.9-42.0.3.EL ro root=LABEL=/ rhgb quiet
    initrd /boot/initrd-2.6.9-42.0.3.EL.img
    
    title CentOS (2.6.9-42.0.3.ELsmp)
    root (hd0,1)
    kernel /boot/vmlinuz-2.6.9-42.0.3.ELsmp ro root=LABEL=/ rhgb quiet
    initrd /boot/initrd-2.6.9-42.0.3.ELsmp.img
    
    title CentOS-4 i386 (2.6.9-42.ELsmp)
    root (hd0,1)
    kernel /boot/vmlinuz-2.6.9-42.ELsmp ro root=LABEL=/ rhgb quiet
    initrd /boot/initrd-2.6.9-42.ELsmp.img
    
    title CentOS-4 i386-up (2.6.9-42.EL)
    root (hd0,1)
    kernel /boot/vmlinuz-2.6.9-42.EL ro root=LABEL=/ rhgb quiet
    initrd /boot/initrd-2.6.9-42.EL.img
    
    title Other
    rootnoverify (hd0,0)
    chainloader +1

  14. #29
    Joined
    Jan 2006
    Location
    central,IL
    Age
    51
    Posts
    204

    Re: gonna install CentOS

    well i edited the config file
    went to reboot ..........
    forgot i had the install DVD in the rom and ended up reinstallin centOS LOL

    good news its all fixed roflmao.
    onry
    email

    my heat

    work PC epox mf570sli-pro AMD 5000 x2, 2GB patriot 6400
    2 evga 8600GT-SC in SLI 1-120GB HDD and 1 500GB HDD 400watt agi psu

  15. #30
    Joined
    Jul 2001
    Location
    UK
    Age
    51
    Posts
    20,229

    Re: gonna install CentOS

    Quote Originally Posted by onry View Post
    well i edited the config file
    went to reboot ..........
    forgot i had the install DVD in the rom and ended up reinstallin centOS LOL

    good news its all fixed roflmao.
    onry
    ROTFL

    Well, they say you don't really know Linux until you've installed it at least 20 times, so only 18 more to go

    Anyway, welcome to Linux

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •