Find the answer to your Linux question:
Results 1 to 3 of 3
Hi, i'm new to linux be gental . . . I have created a new network interface eth1 (vi /etc/sysconfig-network-scripts/ifcfg-eth1). There's a reason why i did it this way, but ...
  1. #1
    Just Joined!
    Join Date
    Nov 2006
    Location
    Portsmouth
    Posts
    16

    Question CentOS freezes on Bootup

    Hi, i'm new to linux be gental . . .

    I have created a new network interface eth1 (vi /etc/sysconfig-network-scripts/ifcfg-eth1). There's a reason why i did it this way, but i wont go into that. Anyway I Rebooted and the Bootup freezes at "Bringing up interface eth1". Is there any way i can get into centOS so i can delete this file and start over? Is there an option in linux-rescue.

    Kind Regards
    Rich

  2. #2
    Trusted Penguin Roxoff's Avatar
    Join Date
    Aug 2005
    Location
    Nottingham, England
    Posts
    3,392
    When you boot up, when the grub screen appears, select the option to edit the kenel boot line arguments, you may have to press a key to get it to display the boot menu, depending on how you have it configured. The instructions are on the screen for how to get into there.

    Once you are there add a '1' or 'single' to the end of the boot line, and it'll boot up in single user mode (for maintenance). Some distros ask for the root password here, and some dont, I cant remember if CentOS does. Once you have command line access, then you can remove (or rename) the offending file and reboot normally.

    Is there any reason why you didn't use 'system-config-networks' to add this interface? It really does make life a lot easier.
    Linux user #126863 - see http://linuxcounter.net/

  3. #3
    Just Joined!
    Join Date
    Feb 2007
    Posts
    41
    How long does it freeze? Have you tried leaving it up for like 10-15 minutes?

    This should get you booted into single user mode. You should be able to make the change and then reboot.


    If you are using GRUB, use the following steps to boot into single-user mode:
    * If you have a GRUB password configured, type p and enter the password.
    * Select Red Hat Linux with the version of the kernel that you wish to boot and type e for edit. You will be presented with a list of items in the configuration file for the title you have selected.
    * Select the line that starts with kernel and type e to edit the line.

    * Go to the end of the line and type single as a separate word (press the [Spacebar] and then type single). Press [Enter] to exit edit mode.
    * Back at the GRUB screen, type b to boot into single-user mode.

    If you are using LILO, at the LILO boot prompt (if you are using the graphical LILO, you must press [Ctrl]-[x] to exit the graphical screen and go to the boot: prompt) type:

Posting Permissions

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